Package | Description |
---|---|
net.minecraft.entity.item.minecart | |
net.minecraft.tileentity | |
net.minecraftforge.common | |
net.minecraftforge.event | |
net.minecraftforge.event.entity.living |
Modifier and Type | Field and Description |
---|---|
private AbstractSpawner |
SpawnerMinecartEntity.mobSpawnerLogic |
Modifier and Type | Field and Description |
---|---|
private AbstractSpawner |
MobSpawnerTileEntity.spawnerLogic |
Modifier and Type | Method and Description |
---|---|
AbstractSpawner |
MobSpawnerTileEntity.getSpawnerBaseLogic() |
Modifier and Type | Method and Description |
---|---|
static int |
ForgeHooks.canEntitySpawn(MobEntity entity,
IWorld world,
double x,
double y,
double z,
AbstractSpawner spawner,
SpawnReason spawnReason) |
Modifier and Type | Method and Description |
---|---|
static net.minecraftforge.eventbus.api.Event.Result |
ForgeEventFactory.canEntitySpawn(MobEntity entity,
IWorld world,
double x,
double y,
double z,
AbstractSpawner spawner,
SpawnReason spawnReason) |
static boolean |
ForgeEventFactory.canEntitySpawnSpawner(MobEntity entity,
World world,
float x,
float y,
float z,
AbstractSpawner spawner) |
static boolean |
ForgeEventFactory.doSpecialSpawn(MobEntity entity,
World world,
float x,
float y,
float z,
AbstractSpawner spawner,
SpawnReason spawnReason) |
Modifier and Type | Field and Description |
---|---|
private AbstractSpawner |
LivingSpawnEvent.CheckSpawn.spawner |
private AbstractSpawner |
LivingSpawnEvent.SpecialSpawn.spawner |
Modifier and Type | Method and Description |
---|---|
AbstractSpawner |
LivingSpawnEvent.CheckSpawn.getSpawner() |
AbstractSpawner |
LivingSpawnEvent.SpecialSpawn.getSpawner() |
Constructor and Description |
---|
CheckSpawn(MobEntity entity,
IWorld world,
double x,
double y,
double z,
AbstractSpawner spawner,
SpawnReason spawnReason)
CheckSpawn is fired when an Entity is about to be spawned.
|
SpecialSpawn(MobEntity entity,
World world,
double x,
double y,
double z,
AbstractSpawner spawner,
SpawnReason spawnReason) |