YUNG's Better Mineshafts (Fabric)

YUNG's Better Mineshafts (Fabric)

17M Downloads

[1.12.2] Unable to use Chisel blocks when FoamFix is present

TCreopargh opened this issue · 1 comments

commented

This is my variants.json:
https://paste.ubuntu.com/p/Bc5TjydDQv/

But this doesn't work, and I can see this in logs:

[21:56:28] [Server thread/ERROR] [bettermineshafts]: variants.json: Encountered error while attempting to apply property variation=1 to block 工业方块: java.lang.IllegalArgumentException: Can not set final net.minecraft.util.BlockRenderLayer field team.chisel.common.block.BlockCarvable.layer to pl.asie.foamfix.common.FoamyBlockState
[21:56:28] [Server thread/ERROR] [bettermineshafts]: Error loading Better Mineshafts variants.json file: com.google.gson.JsonSyntaxException: duplicate key: chisel:technical[variation=0]
[21:56:28] [Server thread/ERROR] [bettermineshafts]: Using default configuration...
[21:56:28] [Server thread/ERROR] [bettermineshafts]: variants.json: Encountered error while attempting to apply property variation=1 to block 工业方块: java.lang.IllegalArgumentException: Can not set final net.minecraft.util.BlockRenderLayer field team.chisel.common.block.BlockCarvable.layer to pl.asie.foamfix.common.FoamyBlockState
[21:56:28] [Server thread/ERROR] [bettermineshafts]: Error loading Better Mineshafts variants.json file: com.google.gson.JsonSyntaxException: duplicate key: chisel:technical[variation=0]
[21:56:28] [Server thread/ERROR] [bettermineshafts]: Using default configuration...

Looks like it can't set the blockstate of chisel's blocks and defaulted the blockstate to 0, which causes the keys to duplicate.

commented

Sorry, I was never able to figure this one out. I dropped support for 1.12 so gonna be closing this issue.