Topic category: Help with Minecraft modding (Java Edition)
Console :
Executing Gradle task: build
Build info: MCreator 2021.1.18117, forge-1.12.2, 64-bit, 16326 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.12.2-14.23.5.2855_mapped_snapshot_20171003-1.12
> Task :compileJava
C:\Users\I5 6500 Kaby Lake\MCreatorWorkspaces\xploria\src\main\java\net\mcreator\xploria\procedure\ProcedureTorchitemrightclicked.java:64: error: package ItemTorchWall does not exist world.setBlockState(new BlockPos((int) x, (int) y, (int) (z - 1)), ItemTorchWall.block.getDefaultState(), 3);
^
C:\Users\I5 6500 Kaby Lake\MCreatorWorkspaces\xploria\src\main\java\net\mcreator\xploria\procedure\ProcedureTorchitemrightclicked.java:84: error: package ItemTorchWall does not exist world.setBlockState(new BlockPos((int) x, (int) y, (int) (z + 1)), ItemTorchWall.block.getDefaultState(), 3);
^
C:\Users\I5 6500 Kaby Lake\MCreatorWorkspaces\xploria\src\main\java\net\mcreator\xploria\procedure\ProcedureTorchitemrightclicked.java:104: error: package ItemTorchWall does not exist world.setBlockState(new BlockPos((int) (x - 1), (int) y, (int) z), ItemTorchWall.block.getDefaultState(), 3);
^
C:\Users\I5 6500 Kaby Lake\MCreatorWorkspaces\xploria\src\main\java\net\mcreator\xploria\procedure\ProcedureTorchitemrightclicked.java:124: error: package ItemTorchWall does not exist world.setBlockState(new BlockPos((int) (x + 1), (int) y, (int) z), ItemTorchWall.block.getDefaultState(), 3);
^
Users\I5 6500 Kaby Lake\MCreatorWorkspaces\xploria\src\main\java\net\mcreator\xploria\procedure\ProcedureTorchwhenneighborblockchanges.java:121: error: package ItemTorchFloor does not exist } else if (((world.getBlockState(new BlockPos((int) x, (int) y, (int) z))).getBlock() == ItemTorchFloor.block.getDefaultState().getBlock())) {
^
5 errors
> Task :compileJava FAILED
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:c…
BUILD FAILED in 7s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 12 seconds
I try all but not work.
We could start with, what are you even trying to do?
I try to make a special torch but the procedur don t work so i test to fix this in check knowledge basic, The most common solution, and all of solution but don t work
It say "Execution failed for task ':compileJava'."