Class AddFakePlayerPacket
-
- All Implemented Interfaces:
-
net.minecraft.network.protocol.common.custom.CustomPacketPayload
public final class AddFakePlayerPacket extends WrappedCodecPacket<AddFakePlayerPacket, String>
-
-
Field Summary
Fields Modifier and Type Field Description private final ResourceLocation
id
private final CustomPacketPayload.Type<AddFakePlayerPacket>
packetType
private Wrapped<String>
data
private final Codec<Wrapped<String>>
codec
-
Constructor Summary
Constructors Constructor Description AddFakePlayerPacket()
-
Method Summary
Modifier and Type Method Description ResourceLocation
getId()
Unit
handleUnwrapped(String data, IPayloadContext cx)
The packet handler. AddFakePlayerPacket
factory()
-
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()
-
handleUnwrapped
Unit handleUnwrapped(String data, IPayloadContext cx)
The packet handler.
-
factory
AddFakePlayerPacket factory()
-
-
-
-