Interface PlatformPacketAdapter<W,P,I,E>
public interface PlatformPacketAdapter<W,P,I,E>
-
Method Summary
Modifier and TypeMethodDescription@NotNull OutboundPacket<W, P, I, E> createAnimationPacket(@NotNull EntityAnimation animation) @NotNull OutboundPacket<W, P, I, E> createCustomPayloadPacket(@NotNull String channelId, byte[] payload) <T,O> @NotNull OutboundPacket <W, P, I, E> createEntityMetaPacket(@NotNull EntityMetadataFactory<T, O> metadata, T value) @NotNull OutboundPacket<W, P, I, E> @NotNull OutboundPacket<W, P, I, E> @NotNull OutboundPacket<W, P, I, E> createEquipmentPacket(@NotNull ItemSlot slot, I item) @NotNull OutboundPacket<W, P, I, E> createPlayerInfoPacket(@NotNull PlayerInfoAction action) @NotNull OutboundPacket<W, P, I, E> createRotationPacket(float yaw, float pitch) void
-
Method Details
-
createEntitySpawnPacket
-
createEntityRemovePacket
-
createPlayerInfoPacket
@NotNull @NotNull OutboundPacket<W,P, createPlayerInfoPacketI, E> (@NotNull @NotNull PlayerInfoAction action) -
createRotationPacket
-
createAnimationPacket
@NotNull @NotNull OutboundPacket<W,P, createAnimationPacketI, E> (@NotNull @NotNull EntityAnimation animation) -
createEquipmentPacket
-
createCustomPayloadPacket
-
createEntityMetaPacket
@NotNull <T,O> @NotNull OutboundPacket<W,P, createEntityMetaPacketI, E> (@NotNull @NotNull EntityMetadataFactory<T, O> metadata, @NotNull T value) -
initialize
-