You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\(path)\dummymod\src\main\java\net\mcreator\dummymod\procedures\DummyBlockUpdateTickProcedure.java:45: error: cannot find symbol
if ((world.getBlockState(BlockPos.containing(x + 1, y + 0, z + 0))).is(TagKey.create(Registry.BLOCK_REGISTRY, new ResourceLocation("dummymod:dummytag"))) == false) {
^
symbol: variable BLOCK_REGISTRY
location: interface Registry
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
TheCrafters001
changed the title
Fail to compile on symbol: variable BLOCK_REGISTRY
[Bug] Fail to compile on symbol: variable BLOCK_REGISTRY
Aug 19, 2023
Issue description
When I try to write a function that tries to replace a block, but ignore a tag, it causes a compile error.
How to reproduce this issue?
Operating system
Windows
Details
MCreator Version: 2023.2
Generator: fabric-1.20.1 (Version 1.9.6)
Example workspace
Link to zipped example workspace
Logs
Issue tracker rule checks (please read carefully)
The text was updated successfully, but these errors were encountered: