Class GameProtocols
java.lang.Object
net.minecraft.network.protocol.game.GameProtocols
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleUnboundProtocol<ClientGamePacketListener, RegistryFriendlyByteBuf> static final CodecModifier<RegistryFriendlyByteBuf, ServerboundSetCreativeModeSlotPacket, GameProtocols.Context> static final UnboundProtocol<ServerGamePacketListener, RegistryFriendlyByteBuf, GameProtocols.Context> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
HAS_INFINITE_MATERIALS
public static final CodecModifier<RegistryFriendlyByteBuf, ServerboundSetCreativeModeSlotPacket, GameProtocols.Context> HAS_INFINITE_MATERIALS -
SERVERBOUND_TEMPLATE
public static final UnboundProtocol<ServerGamePacketListener, RegistryFriendlyByteBuf, GameProtocols.Context> SERVERBOUND_TEMPLATE -
CLIENTBOUND_TEMPLATE
public static final SimpleUnboundProtocol<ClientGamePacketListener, RegistryFriendlyByteBuf> CLIENTBOUND_TEMPLATE
-
-
Constructor Details
-
GameProtocols
public GameProtocols()
-