PacketEntityNode

sealed interface PacketEntityNode<M : EntityMetadata>

A PacketEntity or a passenger of a PacketEntity.

Type Parameters

M

the metadata API type for this entity.

Inheritors

Properties

Link copied to clipboard

The mutable equipment of this node.

Link copied to clipboard
abstract val id: Int

The entity id used in packets for this entity.

Link copied to clipboard
abstract val metadata: M

The mutable metadata of this entity.

Link copied to clipboard
abstract val passengers: List<PacketEntityNode<*>>

The direct passengers mounted on this entity.

Link copied to clipboard
abstract val uuid: UUID

The UUID used in packets for this entity.