use of forestry.core.network.packets.PacketGuiUpdateEntity in project ForestryMC by ForestryMC.
the class ContainerMinecartBeehouse method detectAndSendChanges.
@Override
public void detectAndSendChanges() {
super.detectAndSendChanges();
int beeProgress = entity.getBeekeepingLogic().getBeeProgressPercent();
if (this.beeProgress != beeProgress) {
this.beeProgress = beeProgress;
IForestryPacketClient packet = new PacketGuiUpdateEntity(entity, entity);
sendPacketToListeners(packet);
}
}
Aggregations