Topic category: Help with Minecraft modding (Java Edition)
Hi there !
I'm working on some blocks detector mod.
I have one error on my procedure but I can't relly figure out the problem:
Fabric Loom: 1.0.18
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix.
> Task :compileJava
C:\Users\olivier\MCreatorWorkspaces\ore_detector\src\main\java\net\mcreator\oredetector\procedures\OREDETECTORRIGHTCLICKEDONBLOCKProcedure.java:71: error: incompatible types: ResourceLocation cannot be converted to String
&& (world.getBlockState(new BlockPos(x, posY, z))).is(BlockTags.create(new ResourceLocation(((namespace + ":" + "ores_coal")).toLowerCase(java.util.Locale.ENGLISH))))) {
Can someone help me with this one ? Thanks in advance
This seems like a bug in the fabric plugin. Best you open bug report at https://github.com/Goldorion/Fabric-Generator-MCreator/issues
Damn ! ok then, thanks for the answer !