use of forestry.core.network.packets.PacketGuiUpdate in project ForestryMC by ForestryMC.
the class ContainerPlanter method detectAndSendChanges.
@Override
public void detectAndSendChanges() {
super.detectAndSendChanges();
PacketGuiUpdate packet = new PacketGuiUpdate(tile);
sendPacketToListeners(packet);
}
use of forestry.core.network.packets.PacketGuiUpdate in project ForestryMC by ForestryMC.
the class ContainerAlveary method detectAndSendChanges.
@Override
public void detectAndSendChanges() {
super.detectAndSendChanges();
int beeProgress = tile.getBeekeepingLogic().getBeeProgressPercent();
if (this.beeProgress != beeProgress) {
this.beeProgress = beeProgress;
IForestryPacketClient packet = new PacketGuiUpdate(tile);
sendPacketToListeners(packet);
}
}
use of forestry.core.network.packets.PacketGuiUpdate in project ForestryMC by ForestryMC.
the class ContainerEnginePeat method detectAndSendChanges.
@Override
public void detectAndSendChanges() {
super.detectAndSendChanges();
PacketGuiUpdate packet = new PacketGuiUpdate(tile);
sendPacketToListeners(packet);
}
use of forestry.core.network.packets.PacketGuiUpdate in project ForestryMC by ForestryMC.
the class ContainerFarm method detectAndSendChanges.
@Override
public void detectAndSendChanges() {
super.detectAndSendChanges();
PacketGuiUpdate packet = new PacketGuiUpdate(tile);
sendPacketToListeners(packet);
}
use of forestry.core.network.packets.PacketGuiUpdate in project ForestryMC by ForestryMC.
the class ContainerBeeHousing method detectAndSendChanges.
@Override
public void detectAndSendChanges() {
super.detectAndSendChanges();
int beeProgress = tile.getBeekeepingLogic().getBeeProgressPercent();
if (this.beeProgress != beeProgress) {
this.beeProgress = beeProgress;
IForestryPacketClient packet = new PacketGuiUpdate(tile);
sendPacketToListeners(packet);
}
}
Aggregations