Skip to content

Commit

Permalink
battletowersfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ukmojb authored Jul 15, 2023
0 parents commit aa97c15
Show file tree
Hide file tree
Showing 100 changed files with 4,084 additions and 0 deletions.
117 changes: 117 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net/' }
mavenCentral()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
}
}

apply plugin: 'net.minecraftforge.gradle'
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = "${version}"
group = 'atomicstryker.battletowers'
archivesBaseName = 'battletowersfix'

sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.

minecraft {
mappings channel: 'snapshot', version: '20171103-1.12'
runs {
client {
workingDirectory project.file('run')

// Recommended logging data for a userdev environment
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'

// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'

args '--username', 'wdcftgg'
}

server {

// Recommended logging data for a userdev environment
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'

// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'
}
}
}



repositories {

}

dependencies {

minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2860'

}

// Example for how to get properties into the manifest for reading by the runtime..
jar {
manifest {
attributes([
"Specification-Title": "battletowers",
"Specification-Vendor": "wdcftgg",
"Specification-Version": "1", // We are version 1 of ourselves
"Implementation-Title": project.name,
"Implementation-Version": "${version}",
"Implementation-Vendor" :"wdcftgg",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
}
}

processResources{
// this will ensure that this task is redone when the versions change.
inputs.property "version", "${version}"
inputs.property "mcversion", "1.12.2"

// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'

// replace version and mcversion
expand 'version':"${version}", 'mcversion':"1.12.2"
}

// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}

// Example configuration to allow publishing using the maven-publish task
// This is the preferred method to reobfuscate your jar file
jar.finalizedBy('reobfJar')
// However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing
//publish.dependsOn('reobfJar')

publishing {
publications {
mavenJava(MavenPublication) {
artifact jar
}
}
repositories {
maven {
url "file:///${project.projectDir}/mcmodsrepo"
}
}
}

sourceSets {
main {
output.resourcesDir = output.classesDir
}
}
2 changes: 2 additions & 0 deletions build/classes/java/main/assets/battletowers/lang/de_DE.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
entity.BattleTowers.Battletower Golem.name=Kampfturm-Golem
entity.Battletower Golem.name=Kampfturm-Golem
3 changes: 3 additions & 0 deletions build/classes/java/main/assets/battletowers/lang/en_US.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
entity.BattleTowers.Battletower Golem.name=Battletower Golem
entity.Battletower Golem.name=Battletower Golem
Battletowers.guardian=A Battletower's Guardian has fallen! Without it's power, the Tower will collapse...
2 changes: 2 additions & 0 deletions build/classes/java/main/assets/battletowers/lang/ru_RU.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
entity.BattleTowers.Battletower Golem.name=Голем боевой башни
entity.Battletower Golem.name=Голем боевой башни
2 changes: 2 additions & 0 deletions build/classes/java/main/assets/battletowers/lang/tr_TR.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
entity.BattleTowers.Battletower Golem.name=Savaş Kulesi Golemi
entity.Battletower Golem.name=Savaş Kulesi Golemi
6 changes: 6 additions & 0 deletions build/classes/java/main/assets/battletowers/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"pack": {
"pack_format": 1,
"description": "Forge Mod Defaults"
}
}
53 changes: 53 additions & 0 deletions build/classes/java/main/assets/battletowers/sounds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"golem": {
"category": "hostile",
"sounds": [
"battletowers:golem"
]
},
"golemawaken": {
"category": "hostile",
"sounds": [
"battletowers:golemawaken"
]
},
"golemcharge": {
"category": "hostile",
"sounds": [
"battletowers:golemcharge1",
"battletowers:golemcharge2"
]
},
"golemdeath": {
"category": "hostile",
"sounds": [
"battletowers:golemdeath"
]
},
"golemhurt": {
"category": "hostile",
"sounds": [
"battletowers:golemhurt1",
"battletowers:golemhurt2"
]
},
"golemspecial": {
"category": "hostile",
"sounds": [
"battletowers:golemspecial1",
"battletowers:golemspecial2"
]
},
"towerbreakstart": {
"category": "hostile",
"sounds": [
"battletowers:towerbreakstart"
]
},
"towercrumble": {
"category": "hostile",
"sounds": [
"battletowers:towercrumble"
]
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit aa97c15

Please sign in to comment.