Class PositionSource
java.lang.Object
com.github.retrooper.packetevents.protocol.world.positionsource.PositionSource
- Direct Known Subclasses:
BlockPositionSource
,EntityPositionSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PositionSource
decode
(NBT nbt, ClientVersion version) static NBT
encode
(PositionSource source, ClientVersion version) static <T extends PositionSource>
NBTencode
(T source, PositionSourceType<T> type, ClientVersion version) getType()
-
Field Details
-
Constructor Details
-
Method Details
-
decode
-
encode
-
encode
public static <T extends PositionSource> NBT encode(T source, PositionSourceType<T> type, ClientVersion version) -
getType
-