Class GridClearPacket
java.lang.Object
com.refinedmods.refinedstorage.common.support.packet.s2c.GridClearPacket
- All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload
public class GridClearPacket
extends Object
implements net.minecraft.network.protocol.common.custom.CustomPacketPayload
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
net.minecraft.network.protocol.common.custom.CustomPacketPayload.FallbackProvider<B extends net.minecraft.network.FriendlyByteBuf>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.TypeAndCodec<B extends net.minecraft.network.FriendlyByteBuf,
T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload> -
Field Summary
Modifier and TypeFieldDescriptionstatic final GridClearPacket
static final net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type
<GridClearPacket> static final net.minecraft.network.codec.StreamCodec
<net.minecraft.network.RegistryFriendlyByteBuf, GridClearPacket> -
Method Summary
Modifier and TypeMethodDescriptionstatic void
handle
(PacketContext ctx) net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type
<? extends net.minecraft.network.protocol.common.custom.CustomPacketPayload> type()
-
Field Details
-
INSTANCE
-
PACKET_TYPE
public static final net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<GridClearPacket> PACKET_TYPE -
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,GridClearPacket> STREAM_CODEC
-
-
Method Details
-
handle
-
type
public net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<? extends net.minecraft.network.protocol.common.custom.CustomPacketPayload> type()- Specified by:
type
in interfacenet.minecraft.network.protocol.common.custom.CustomPacketPayload
-