Uses of Enum Class
com.hypixel.hytale.server.spawning.SpawnTestResult
Packages that use SpawnTestResult
Package
Description
-
Uses of SpawnTestResult in com.hypixel.hytale.server.npc
Methods in com.hypixel.hytale.server.npc that return SpawnTestResultModifier and TypeMethodDescriptionNPCPlugin.spawnNPCWithColumnProbe(Store<EntityStore> store, String npcType, String groupType, World world, int worldBlockX, int worldBlockZ, double yHint, Rotation3fc rotation) Spawns an NPC using column probing (SpawningContext.set(World, double, double, double)thenSpawningContext.canSpawn()), for cases where an exact pose is blocked but a nearby column may fit (including ground placement for walkers).NPCPlugin.spawnNPCWithColumnProbe(Store<EntityStore> store, String npcType, String groupType, World world, int worldBlockX, int worldBlockZ, double yHint, Rotation3fc rotation, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn) Spawns an NPC using column probing, with an optional post-spawn callback.NPCPlugin.spawnNPCWithSpaceValidation(Store<EntityStore> store, String npcType, String groupType, org.joml.Vector3dc position, Rotation3fc rotation) Called to spawn and return an NPC entity in the given world if the NPC can fit at the supplied exact position.NPCPlugin.spawnNPCWithSpaceValidation(Store<EntityStore> store, String npcType, String groupType, org.joml.Vector3dc position, Rotation3fc rotation, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn) Called to spawn and return an NPC entity in the given world if the NPC can fit at the supplied exact position, with an optional post-spawn callback.NPCPlugin.spawnNPCWithSpaceValidation(Store<EntityStore> store, String npcType, String groupType, org.joml.Vector3dc position, Rotation3fc rotation, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn, boolean cubeBlockersOnly, boolean centerHitbox) -
Uses of SpawnTestResult in com.hypixel.hytale.server.npc.movement.controllers.builders
Methods in com.hypixel.hytale.server.npc.movement.controllers.builders that return SpawnTestResultModifier and TypeMethodDescriptionBuilderMotionControllerDive.canSpawn(SpawningContext context) BuilderMotionControllerFly.canSpawn(SpawningContext context) BuilderMotionControllerMap.canSpawn(SpawningContext context) BuilderMotionControllerWalk.canSpawn(SpawningContext context) -
Uses of SpawnTestResult in com.hypixel.hytale.server.npc.role.builders
Methods in com.hypixel.hytale.server.npc.role.builders that return SpawnTestResultModifier and TypeMethodDescriptionBuilderRole.canSpawn(SpawningContext context) BuilderRoleVariant.canSpawn(SpawningContext spawningContext) -
Uses of SpawnTestResult in com.hypixel.hytale.server.spawning
Subclasses with type arguments of type SpawnTestResult in com.hypixel.hytale.server.spawningMethods in com.hypixel.hytale.server.spawning that return SpawnTestResultModifier and TypeMethodDescriptionISpawnable.canSpawn(SpawningContext context) Called to test whether this spawnable class type is spawnable regarding the given contextSpawningContext.canSpawn()Determine if an NPC could spawn at a given location, performing both block and entity overlap tests.SpawningContext.canSpawn(boolean testOverlapBlocks, boolean testOverlapEntities) Determine if an NPC could spawn at a given location.static SpawnTestResultReturns the enum constant of this class with the specified name.static SpawnTestResult[]SpawnTestResult.values()Returns an array containing the constants of this enum class, in the order they are declared.