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 ChunkSnapshot
chunk()
int
id()
@NotNull InstanceSnapshot
instance()
@NotNull Collection
<@NotNull EntitySnapshot> @NotNull Pos
position()
@NotNull EntityType
type()
@NotNull UUID
uuid()
@Nullable EntitySnapshot
vehicle()
@NotNull Vec
velocity()
@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
-