Class PortableGridSettingsUpdateMessage

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

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

    • ID

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

    • PortableGridSettingsUpdateMessage

      public PortableGridSettingsUpdateMessage(int viewType, int sortingDirection, int sortingType, int searchBoxMode, int size, int tabSelected, int tabPage)
  • Method Details

    • decode

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

      public static void handle(PortableGridSettingsUpdateMessage 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