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 Summary
-
Constructor Summary
ConstructorDescriptionPortableGridSettingsUpdateMessage
(int viewType, int sortingDirection, int sortingType, int searchBoxMode, int size, int tabSelected, int tabPage) -
Method Summary
Modifier and TypeMethodDescriptiondecode
(net.minecraft.network.FriendlyByteBuf buf) static void
handle
(PortableGridSettingsUpdateMessage message, net.neoforged.neoforge.network.handling.PlayPayloadContext ctx) net.minecraft.resources.ResourceLocation
id()
void
write
(net.minecraft.network.FriendlyByteBuf buf)
-
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
-
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 interfacenet.minecraft.network.protocol.common.custom.CustomPacketPayload
-
id
public net.minecraft.resources.ResourceLocation id()- Specified by:
id
in interfacenet.minecraft.network.protocol.common.custom.CustomPacketPayload
-