Better Furnaces Reforged

Better Furnaces Reforged

552k Downloads

1.16.5 Server crash with BetterFurnaces 1.1.2

cc004 opened this issue ยท 1 comments

commented

partial log:

java.lang.NoSuchMethodError: 'boolean net.minecraft.util.registry.DefaultedRegistry.func_212607_c(net.minecraft.util.ResourceLocation)'
	at net.minecraft.tileentity.TileEntity.handler$bbb000$loadStatic(TileEntity.java:1529) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:itemblacklist.mixins.json:TileEntityMixin,pl:mixin:APP:immersiveengineering.mixins.json:accessors.TileEntityAccess,pl:mixin:APP:betterfurnaces-common.mixins.json:BlockEntityMixin,pl:mixin:APP:architectury.mixins.json:MixinBlockEntity,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.tileentity.TileEntity.func_235657_b_(TileEntity.java) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:itemblacklist.mixins.json:TileEntityMixin,pl:mixin:APP:immersiveengineering.mixins.json:accessors.TileEntityAccess,pl:mixin:APP:betterfurnaces-common.mixins.json:BlockEntityMixin,pl:mixin:APP:architectury.mixins.json:MixinBlockEntity,pl:mixin:A,pl:runtimedistcleaner:A}

if ((blockState.getBlock() instanceof SmeltingBlock || Registry.BLOCK.containsKey(id)) && !opt.isPresent()) {

the method net.minecraft.util.registry.DefaultedRegistry.containsKey doesn't work on servers

          It looks like this is caused by the file "ItemExistsLootCondition" and specifically the 34th line, containsKey() is a sided method and only works on the client side, so it causes a crash when run on a server. I had the same problem, but only once I moved everything to a local server. I figure the two people above are also having this issue on a server as well, but hopefully this helps make it easy for the devs to fix the issue!

Originally posted by @Mario90900 in MoonflowerTeam/anchor#3 (comment)

commented

Thanks for reporting this crash, and practically solving it for me.
It will be fixed in the 1.16.5-1.1.3 version