Class PacketSyncHackSimulationUpdate

java.lang.Object
me.desht.pneumaticcraft.common.network.LocationIntPacket
me.desht.pneumaticcraft.common.network.PacketSyncHackSimulationUpdate

public class PacketSyncHackSimulationUpdate extends LocationIntPacket
Received on: CLIENT Sent by the server periodically while a Security Station hack is in progress, and when either side has just won, to keep the client up-to-date. Client also runs the simulation (dead reckoning), but needs to be updated by the server every so often to keep the display accurate.
  • Constructor Details

    • PacketSyncHackSimulationUpdate

      public PacketSyncHackSimulationUpdate(SecurityStationBlockEntity te)
    • PacketSyncHackSimulationUpdate

      public PacketSyncHackSimulationUpdate(net.minecraft.network.FriendlyByteBuf buffer)
  • Method Details

    • toBytes

      public void toBytes(net.minecraft.network.FriendlyByteBuf buffer)
      Overrides:
      toBytes in class LocationIntPacket
    • handle

      public void handle(Supplier<net.minecraftforge.network.NetworkEvent.Context> ctx)