Class PacketNotifyBlockUpdate

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

public class PacketNotifyBlockUpdate extends LocationIntPacket
Received on: CLIENT Sent by server when a block is dropped by shift-wrenching it, rotated by wrenching it, or if a pneumatic BE explodes due to overpressure. This happens server-side (block updates are triggered on the server), but the client needs to know too so that neighbouring cached block shapes (pressure tubes especially, but potentially anything) can be recalculated.
  • Constructor Details

    • PacketNotifyBlockUpdate

      public PacketNotifyBlockUpdate(net.minecraft.core.BlockPos pos)
    • PacketNotifyBlockUpdate

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

    • handle

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