Started by
DragoKane
on
Topic category: Advanced modding
I tried to make some custom code for Block Entity Renderer and there some issues with this code
protected void onContentsChanged(int slot) {
setChanged();
if(!level.isClientSide()) {
ModMessages.sendToClients(new ItemStackSyncS2CPacket(this, worldPosition));
}
}
Edited by DragoKane on Sat, 04/22/2023 - 18:42