public static class SpawnedTracker.SpawnedData
extends java.lang.Object
Constructor and Description |
---|
SpawnedData(net.minecraft.entity.Entity entity) |
SpawnedData(java.util.UUID uuid,
net.minecraft.util.RegistryKey<net.minecraft.world.World> dim,
net.minecraft.util.math.BlockPos location) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.Entity |
getEntity() |
java.util.UUID |
getEntityId() |
net.minecraft.util.math.BlockPos |
getSpawnLocation() |
net.minecraft.world.server.ServerWorld |
getWorld() |
boolean |
isStillAlive() |
public SpawnedData(net.minecraft.entity.Entity entity)
public SpawnedData(java.util.UUID uuid, net.minecraft.util.RegistryKey<net.minecraft.world.World> dim, net.minecraft.util.math.BlockPos location)
public java.util.UUID getEntityId()
public net.minecraft.util.math.BlockPos getSpawnLocation()
@Nullable public net.minecraft.world.server.ServerWorld getWorld()
@Nullable public net.minecraft.entity.Entity getEntity()
public boolean isStillAlive()