public class MCEntityLivingSpawnEvent
extends java.lang.Object
implements crafttweaker.api.event.EntityLivingSpawnEvent
Modifier and Type | Class and Description |
---|---|
static class |
MCEntityLivingSpawnEvent.MCEntityLivingExtendedSpawnEvent |
static class |
MCEntityLivingSpawnEvent.MCEntityLivingSpecialSpawnEvent |
Modifier and Type | Field and Description |
---|---|
protected net.minecraftforge.event.entity.living.LivingSpawnEvent |
event |
Constructor and Description |
---|
MCEntityLivingSpawnEvent(net.minecraftforge.event.entity.living.LivingSpawnEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
allow() |
void |
deny() |
crafttweaker.api.entity.IEntityLivingBase |
getEntityLivingBase() |
crafttweaker.api.world.IWorld |
getWorld() |
float |
getX() |
float |
getY() |
float |
getZ() |
void |
pass() |
public MCEntityLivingSpawnEvent(net.minecraftforge.event.entity.living.LivingSpawnEvent event)
public crafttweaker.api.world.IWorld getWorld()
getWorld
in interface crafttweaker.api.event.EntityLivingSpawnEvent
public float getX()
getX
in interface crafttweaker.api.event.EntityLivingSpawnEvent
public float getY()
getY
in interface crafttweaker.api.event.EntityLivingSpawnEvent
public float getZ()
getZ
in interface crafttweaker.api.event.EntityLivingSpawnEvent
public void allow()
allow
in interface crafttweaker.api.event.EntityLivingSpawnEvent
public void deny()
deny
in interface crafttweaker.api.event.EntityLivingSpawnEvent
public void pass()
pass
in interface crafttweaker.api.event.EntityLivingSpawnEvent
public crafttweaker.api.entity.IEntityLivingBase getEntityLivingBase()
getEntityLivingBase
in interface crafttweaker.api.event.ILivingEvent