Class OpenConfigMenuPacket
-
- All Implemented Interfaces:
-
net.minecraft.network.protocol.common.custom.CustomPacketPayload
public final class OpenConfigMenuPacket extends WrappedCodecPacket<OpenConfigMenuPacket, ResourceLocation>
-
-
Field Summary
Fields Modifier and Type Field Description private final ResourceLocationidprivate final CustomPacketPayload.Type<OpenConfigMenuPacket>packetTypeprivate Wrapped<ResourceLocation>dataprivate final Codec<Wrapped<ResourceLocation>>codec
-
Constructor Summary
Constructors Constructor Description OpenConfigMenuPacket()
-
Method Summary
Modifier and Type Method Description ResourceLocationgetId()OpenConfigMenuPacketfactory()UnithandleUnwrapped(ResourceLocation data, IPayloadContext cx)The packet handler. -
Methods inherited from class dev.wendigodrip.thebrokenscript.api.network.CodecPacket
getCodec, getData, getPacketType, handle, of, read, setData, type, write -
Methods inherited from class dev.wendigodrip.thebrokenscript.api.network.WrappedCodecPacket
handle, of -
Methods inherited from class net.minecraft.network.protocol.common.custom.CustomPacketPayload
toVanillaClientbound, toVanillaServerbound -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getId
ResourceLocation getId()
-
factory
OpenConfigMenuPacket factory()
-
handleUnwrapped
Unit handleUnwrapped(ResourceLocation data, IPayloadContext cx)
The packet handler.
-
-
-
-