Uses of Class
net.minecraft.world.level.BaseSpawner
Package
Description
-
Uses of BaseSpawner in net.minecraft.world.entity.vehicle
-
Uses of BaseSpawner in net.minecraft.world.level.block.entity
-
Uses of BaseSpawner in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic int
ForgeHooks.canEntitySpawn
(Mob entity, LevelAccessor world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason) -
Uses of BaseSpawner in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic net.minecraftforge.eventbus.api.Event.Result
ForgeEventFactory.canEntitySpawn
(Mob entity, LevelAccessor level, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason) static boolean
ForgeEventFactory.canEntitySpawnSpawner
(Mob entity, Level level, float x, float y, float z, BaseSpawner spawner) Deprecated, for removal: This API element is subject to removal in a future version.static boolean
ForgeEventFactory.doSpecialSpawn
(Mob entity, LevelAccessor level, float x, float y, float z, BaseSpawner spawner, MobSpawnType spawnReason) static boolean
ForgeEventFactory.doSpecialSpawn
(Mob entity, Level level, float x, float y, float z, BaseSpawner spawner, MobSpawnType spawnReason) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of BaseSpawner in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate final BaseSpawner
LivingSpawnEvent.CheckSpawn.spawner
private final BaseSpawner
LivingSpawnEvent.SpecialSpawn.spawner
Modifier and TypeMethodDescriptionLivingSpawnEvent.CheckSpawn.getSpawner()
LivingSpawnEvent.SpecialSpawn.getSpawner()
ModifierConstructorDescriptionCheckSpawn
(Mob entity, LevelAccessor world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason) CheckSpawn is fired when an Entity is about to be spawned.SpecialSpawn
(Mob entity, LevelAccessor world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason) SpecialSpawn
(Mob entity, Level world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason) Deprecated, for removal: This API element is subject to removal in a future version.