Class GridItemGridScrollMessage

java.lang.Object
com.refinedmods.refinedstorage.network.grid.GridItemGridScrollMessage
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class GridItemGridScrollMessage extends Object implements net.minecraft.network.protocol.common.custom.CustomPacketPayload
  • Field Details

    • ID

      public static final net.minecraft.resources.ResourceLocation ID
  • Constructor Details

    • GridItemGridScrollMessage

      public GridItemGridScrollMessage(@Nullable UUID id, boolean shift, boolean up)
  • Method Details

    • decode

      public static GridItemGridScrollMessage decode(net.minecraft.network.FriendlyByteBuf buf)
    • handle

      public static void handle(GridItemGridScrollMessage message, net.neoforged.neoforge.network.handling.PlayPayloadContext ctx)
    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      write in interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
    • id

      public net.minecraft.resources.ResourceLocation id()
      Specified by:
      id in interface net.minecraft.network.protocol.common.custom.CustomPacketPayload