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 world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason)
static boolean
ForgeEventFactory.canEntitySpawnSpawner(Mob entity, Level world, float x, float y, float z, BaseSpawner spawner)
static boolean
ForgeEventFactory.doSpecialSpawn(Mob entity, Level world, float x, float y, float z, BaseSpawner spawner, MobSpawnType spawnReason)
-
Uses of BaseSpawner in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate BaseSpawner
LivingSpawnEvent.CheckSpawn.spawner
private 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, Level world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason)