I run git clone https://github.com/T145/ElementalCreepers, and chmod +x gradlew and ./gradlew build. It failed with the following message:
recolic@RECOLICPC ~/t/ElementalCreepers (master)> ./gradlew build
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
> Configure project :
This mapping 'stable_39' was designed for MC 1.12! Use at your own peril.
#################################################
ForgeGradle 2.3-SNAPSHOT-ee3e3df
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP
http://modcoderpack.com
by: Searge, ProfMobius, R4wk, ZeuX
Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
Found AccessTransformer: elementalcreepers_at.cfg
Version string 'v4.3.3.29.ge62e7c4' does not match SemVer specification
You should try SemVer : http://semver.org/
> Task :compileJava FAILED
/home/recolic/tmp/ElementalCreepers/build/sources/main/java/T145/elementalcreepers/lib/MutableVec3d.java:66: error: cannot find symbol
return setPos(x + facing.getFrontOffsetX() * n, y + facing.getFrontOffsetY() * n, z + facing.getFrontOffsetZ() * n);
^
symbol: method getFrontOffsetX()
location: variable facing of type EnumFacing
/home/recolic/tmp/ElementalCreepers/build/sources/main/java/T145/elementalcreepers/lib/MutableVec3d.java:66: error: cannot find symbol
return setPos(x + facing.getFrontOffsetX() * n, y + facing.getFrontOffsetY() * n, z + facing.getFrontOffsetZ() * n);
^
symbol: method getFrontOffsetY()
location: variable facing of type EnumFacing
/home/recolic/tmp/ElementalCreepers/build/sources/main/java/T145/elementalcreepers/lib/MutableVec3d.java:66: error: cannot find symbol
return setPos(x + facing.getFrontOffsetX() * n, y + facing.getFrontOffsetY() * n, z + facing.getFrontOffsetZ() * n);
^
symbol: method getFrontOffsetZ()
location: variable facing of type EnumFacing
/home/recolic/tmp/ElementalCreepers/build/sources/main/java/T145/elementalcreepers/entities/EntityDemolitionCreeper.java:37: error: cannot find symbol
block.onBlockDestroyedByExplosion(world, MUTABLE_POS, SIMPLE_EXPLOSION);
^
symbol: method onBlockDestroyedByExplosion(World,MutableBlockPos,Explosion)
location: variable block of type Block
/home/recolic/tmp/ElementalCreepers/build/sources/main/java/T145/elementalcreepers/entities/EntityDarkCreeper.java:44: error: cannot find symbol
block.onBlockDestroyedByExplosion(world, MUTABLE_POS, SIMPLE_EXPLOSION);
^
symbol: method onBlockDestroyedByExplosion(World,MutableBlockPos,Explosion)
location: variable block of type Block
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 26s
7 actionable tasks: 4 executed, 3 up-to-date
recolic@RECOLICPC ~/t/ElementalCreepers (master) [1]>
Environment
OS: Linux RECOLICPC 4.18.6-arch1-1-ARCH #1 SMP PREEMPT Wed Sep 5 11:54:09 UTC 2018 x86_64 GNU/Linux
OpenJDK: I'm using java 1.8.0_181 but I'm not sure if gradle provides its own jdk.
Full Forge version: -
Mod version: git e62e7c45e043d44506527e62320944e5eda578ce
This is only happening b/c the source code isn't up-to-date w/ the mappings. After setting up the workspace, just open up your editor and fix all of the errors by renaming the old method names to their new names.
Error Details
I run
git clone https://github.com/T145/ElementalCreepers
, andchmod +x gradlew
and./gradlew build
. It failed with the following message:Environment