Contents
Class SpawnWrapper<T extends NPCSpawn>
java.lang.Object
com.hypixel.hytale.server.spawning.wrappers.SpawnWrapper<T>
- Direct Known Subclasses:
BeaconSpawnWrapper, WorldSpawnWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEnableSafeSpawning(int roleIndex) it.unimi.dsi.fastutil.ints.Int2ObjectMap<RoleSpawnParameters> getRoles()getSpawn()it.unimi.dsi.fastutil.ints.IntSetgetSpawnBlockSet(int roleIndex) intgetSpawnFluidTag(int roleIndex) intbooleanhasInvalidNPC(String name) booleanshouldDespawn(World world, WorldTimeResource timeManager) booleanspawnParametersMatch(ComponentAccessor<EntityStore> componentAccessor) booleanwithinLightRange(SpawningContext spawningContext)
-
Constructor Details
-
SpawnWrapper
-
-
Method Details
-
getSpawn
-
getRoles
-
getSpawnBlockSet
@Nullable public it.unimi.dsi.fastutil.ints.IntSet getSpawnBlockSet(int roleIndex) -
getSpawnFluidTag
public int getSpawnFluidTag(int roleIndex) -
getSpawnIndex
public int getSpawnIndex() -
getLightRangePredicate
-
getEnableSafeSpawning
public boolean getEnableSafeSpawning(int roleIndex) -
hasInvalidNPC
-
spawnParametersMatch
-
shouldDespawn
-
withinLightRange
-