Recycler GUI now syncs "crafting" progress with client (#2385). Thanks to vhd

This commit is contained in:
vhd 2021-04-12 14:24:51 +03:00 committed by GitHub
parent 5fb8ec1bfa
commit 584e822fa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,6 @@ public class RecyclerBlockEntity extends GenericMachineBlockEntity implements Bu
return new ScreenHandlerBuilder("recycler").player(player.inventory).inventory().hotbar().addInventory()
.blockEntity(this).slot(0, 55, 45, RecyclerBlockEntity::canRecycle)
.outputSlot(1, 101, 45).energySlot(2, 8, 72).syncEnergyValue()
.addInventory().create(this, syncID);
.syncCrafterValue().addInventory().create(this, syncID);
}
}