Class ConfigureZapperPacket

java.lang.Object
com.simibubi.create.foundation.networking.SimplePacketBase
com.simibubi.create.content.curiosities.zapper.ConfigureZapperPacket
Direct Known Subclasses:
ConfigureWorldshaperPacket

public abstract class ConfigureZapperPacket extends SimplePacketBase
  • Field Details

    • hand

      protected net.minecraft.world.InteractionHand hand
    • pattern

      protected PlacementPatterns pattern
  • Constructor Details

    • ConfigureZapperPacket

      public ConfigureZapperPacket(net.minecraft.world.InteractionHand hand, PlacementPatterns pattern)
    • ConfigureZapperPacket

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

    • write

      public void write(net.minecraft.network.FriendlyByteBuf buffer)
      Specified by:
      write in class SimplePacketBase
    • handle

      public void handle(Supplier<net.minecraftforge.network.NetworkEvent.Context> context)
      Specified by:
      handle in class SimplePacketBase
    • configureZapper

      public abstract void configureZapper(net.minecraft.world.item.ItemStack stack)