Class SpawnedTracker.SpawnedData
java.lang.Object
com.pixelmonmod.pixelmon.spawning.SpawnedTracker.SpawnedData
- Enclosing class:
- SpawnedTracker
Created by Jay113355 on 2/2/2021.
-
Constructor Summary
ConstructorDescriptionSpawnedData
(UUID uuid, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dim, net.minecraft.core.BlockPos location) SpawnedData
(net.minecraft.world.entity.Entity entity) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.Entity
net.minecraft.core.BlockPos
net.minecraft.server.level.ServerLevel
getWorld()
boolean
-
Constructor Details
-
SpawnedData
public SpawnedData(net.minecraft.world.entity.Entity entity) -
SpawnedData
public SpawnedData(UUID uuid, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dim, net.minecraft.core.BlockPos location)
-
-
Method Details
-
getEntityId
-
getSpawnLocation
public net.minecraft.core.BlockPos getSpawnLocation() -
getWorld
@Nullable public net.minecraft.server.level.ServerLevel getWorld() -
getEntity
@Nullable public net.minecraft.world.entity.Entity getEntity() -
isStillAlive
public boolean isStillAlive()
-