Class BlockPositionSource
java.lang.Object
com.github.retrooper.packetevents.protocol.world.positionsource.PositionSource
com.github.retrooper.packetevents.protocol.world.positionsource.builtin.BlockPositionSource
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.world.positionsource.PositionSource
type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockPositionSource
decodeSource
(NBTCompound compound, ClientVersion version) static void
encodeSource
(BlockPositionSource source, ClientVersion version, NBTCompound compound) getPos()
static BlockPositionSource
read
(PacketWrapper<?> wrapper) void
static void
write
(PacketWrapper<?> wrapper, BlockPositionSource source) Methods inherited from class com.github.retrooper.packetevents.protocol.world.positionsource.PositionSource
decode, encode, encode, getType
-
Constructor Details
-
BlockPositionSource
-
-
Method Details
-
read
-
write
-
decodeSource
-
encodeSource
public static void encodeSource(BlockPositionSource source, ClientVersion version, NBTCompound compound) -
getPos
-
setPos
-