Package net.minestom.server.snapshot
Interface EntitySnapshot
- All Superinterfaces:
Snapshot,TagReadable
- All Known Subinterfaces:
PlayerSnapshot
- All Known Implementing Classes:
SnapshotImpl.Entity,SnapshotImpl.Player
public sealed interface EntitySnapshot
extends Snapshot, TagReadable
permits PlayerSnapshot, SnapshotImpl.Entity
-
Method Summary
Modifier and TypeMethodDescription@NotNull ChunkSnapshotchunk()intid()@NotNull InstanceSnapshotinstance()@NotNull Collection<@NotNull EntitySnapshot> @NotNull Posposition()@NotNull EntityTypetype()@NotNull UUIDuuid()@Nullable EntitySnapshotvehicle()@NotNull Vecvelocity()@NotNull Collection<@NotNull PlayerSnapshot> viewers()Methods inherited from interface net.minestom.server.tag.TagReadable
getTag, hasTag
-
Method Details
-
type
-
uuid
-
id
int id() -
position
-
velocity
-
instance
-
chunk
-
viewers
-
passengers
-
vehicle
-