public class MCEntityLivingBase extends MCEntity implements crafttweaker.api.entity.IEntityLivingBase
Constructor and Description |
---|
MCEntityLivingBase(net.minecraft.entity.EntityLivingBase entity) |
Modifier and Type | Method and Description |
---|---|
void |
addPotionEffect(crafttweaker.api.potions.IPotionEffect potionEffect) |
boolean |
canBreatheUnderwater() |
boolean |
canEntityBeSeen(crafttweaker.api.entity.IEntity other) |
void |
clearActivePotions() |
crafttweaker.api.potions.IPotionEffect |
getActivePotionEffect(crafttweaker.api.potions.IPotion potion) |
java.util.List<crafttweaker.api.potions.IPotionEffect> |
getActivePotionEffects() |
float |
getAIMoveSpeed() |
int |
getArrowCountInEntity() |
crafttweaker.api.entity.IEntityLivingBase |
getAttackingEntity() |
crafttweaker.api.entity.attribute.IEntityAttributeInstance |
getAttribute(java.lang.String name) |
float |
getHealth() |
crafttweaker.api.item.IItemStack |
getHeldItemMainHand() |
crafttweaker.api.item.IItemStack |
getHeldItemOffHand() |
crafttweaker.api.item.IItemStack |
getItemInSlot(crafttweaker.api.entity.IEntityEquipmentSlot slot) |
crafttweaker.api.entity.IEntityLivingBase |
getLastAttackedEntity() |
int |
getLastAttackedEntityTime() |
crafttweaker.api.damage.IDamageSource |
getLastDamageSource() |
float |
getMaxHealth() |
crafttweaker.api.entity.IEntityLivingBase |
getRevengeTarget() |
int |
getTotalArmorValue() |
boolean |
hasItemInSlot(crafttweaker.api.entity.IEntityEquipmentSlot slot) |
void |
heal(float amount) |
boolean |
isChild() |
boolean |
isOnLadder() |
boolean |
isPotionActive(crafttweaker.api.potions.IPotion potion) |
boolean |
isPotionEffectApplicable(crafttweaker.api.potions.IPotionEffect potionEffect) |
boolean |
isUndead() |
void |
knockBack(crafttweaker.api.entity.IEntity entity,
float strength,
double xRatio,
double zRatio) |
void |
onDeath(crafttweaker.api.damage.IDamageSource source) |
void |
onLivingUpdate() |
void |
setAIMoveSpeed(float speed) |
void |
setArrowCountInEntity(int arrows) |
void |
setHealth(float amount) |
void |
setItemToSlot(crafttweaker.api.entity.IEntityEquipmentSlot slot,
crafttweaker.api.item.IItemStack itemStack) |
void |
setLastAttackedEntity(crafttweaker.api.entity.IEntityLivingBase entity) |
void |
setRevengeTarger(crafttweaker.api.entity.IEntityLivingBase target) |
addTag, alwaysRenderNameTag, attackEntityFrom, canBeAttackedWithItem, canBeCollidedWith, canBePushed, canPassengerSteer, canRiderInteract, canTrample, dismountRidingEntity, doesTriggerPressurePlate, dropItem, equals, extinguish, getAir, getArmorInventoryList, getControllingPassenger, getCustomName, getDefinition, getDimension, getDisplayName, getDistanceSqToEntity, getEquipmentAndArmor, getEyeHight, getHeldEquipment, getID, getInternal, getLookingDirection, getLowestRidingEntity, getMaxFallHeight, getMaxInPortalTime, getMotionX, getMotionY, getMotionZ, getNBT, getParts, getPassengers, getPassengersRecursive, getPickedResult, getPortalCooldown, getPosition3f, getPosX, getPosY, getPosZ, getRayTrace, getRayTrace, getRidingEntity, getRotationPitch, getRotationYaw, getServer, getTags, getTeam, getWorld, getX, getY, getZ, hasCustomName, hasNoGravity, isAlive, isBeingRidden, isBoss, isBurning, isEntityEqual, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInsideOfMaterial, isInsideOpaqueBlock, isInvisible, isInvulnerable, isInvulnerableTo, isInWater, isOnSameTeam, isOutsideBorder, isOverWater, isPassenger, isPushedByWater, isRiding, isRidingSameEntity, isSilent, isSneaking, isSprinting, isWet, onEntityUpdate, onKillCommand, onUpdate, removePassengers, removeTag, setAir, setAlwaysRenderNameTag, setCustomName, setDead, setDimension, setFire, setGlowing, setID, setInvisible, setInvulnerable, setInWeb, setMotionX, setMotionY, setMotionZ, setNoGravity, setOutsideBorder, setPosition, setPosX, setPosY, setPosZ, setRotationPitch, setRotationYaw, setSilent, setSneaking, setSprinting, setToLocationFrom, setWorld, shouldRiderDismountInWater, shouldRiderSit, spawnRunningParticles, toString, update
getPosition, sendMessage
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addTag, alwaysRenderNameTag, attackEntityFrom, canBeAttackedWithItem, canBeCollidedWith, canBePushed, canPassengerSteer, canRiderInteract, canTrample, dismountRidingEntity, doesTriggerPressurePlate, dropItem, extinguish, getAir, getArmorInventoryList, getControllingPassenger, getCustomName, getDefinition, getDimension, getDistanceSqToEntity, getEquipmentAndArmor, getEyeHight, getHeldEquipment, getID, getInternal, getLookingDirection, getLowestRidingEntity, getMaxFallHeight, getMaxInPortalTime, getMotionX, getMotionY, getMotionZ, getNBT, getParts, getPassengers, getPassengersRecursive, getPickedResult, getPortalCooldown, getPosition3f, getPosX, getPosY, getPosZ, getRayTrace, getRayTrace, getRidingEntity, getRotationPitch, getRotationYaw, getTags, getTeam, getX, getY, getZ, hasCustomName, hasNoGravity, isAlive, isBeingRidden, isBoss, isBurning, isEntityEqual, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInsideOfMaterial, isInsideOpaqueBlock, isInvisible, isInvulnerable, isInvulnerableTo, isInWater, isOnSameTeam, isOutsideBorder, isOverWater, isPassenger, isPushedByWater, isRiding, isRidingSameEntity, isSilent, isSneaking, isSprinting, isWet, onEntityUpdate, onKillCommand, onUpdate, removePassengers, removeTag, setAir, setAlwaysRenderNameTag, setCustomName, setDead, setDimension, setFire, setGlowing, setID, setInvisible, setInvulnerable, setInWeb, setMotionX, setMotionY, setMotionZ, setNoGravity, setOutsideBorder, setPosition, setPosX, setPosY, setPosZ, setRotationPitch, setRotationYaw, setSilent, setSneaking, setSprinting, setToLocationFrom, setWorld, shouldRiderDismountInWater, shouldRiderSit, spawnRunningParticles, update
public MCEntityLivingBase(net.minecraft.entity.EntityLivingBase entity)
public boolean canBreatheUnderwater()
canBreatheUnderwater
in interface crafttweaker.api.entity.IEntityLivingBase
public boolean isPotionActive(crafttweaker.api.potions.IPotion potion)
isPotionActive
in interface crafttweaker.api.entity.IEntityLivingBase
public float getHealth()
getHealth
in interface crafttweaker.api.entity.IEntityLivingBase
public void setHealth(float amount)
setHealth
in interface crafttweaker.api.entity.IEntityLivingBase
public boolean isChild()
isChild
in interface crafttweaker.api.entity.IEntityLivingBase
public void clearActivePotions()
clearActivePotions
in interface crafttweaker.api.entity.IEntityLivingBase
public boolean isUndead()
isUndead
in interface crafttweaker.api.entity.IEntityLivingBase
public void heal(float amount)
heal
in interface crafttweaker.api.entity.IEntityLivingBase
public float getMaxHealth()
getMaxHealth
in interface crafttweaker.api.entity.IEntityLivingBase
public crafttweaker.api.item.IItemStack getHeldItemMainHand()
getHeldItemMainHand
in interface crafttweaker.api.entity.IEntityLivingBase
public crafttweaker.api.item.IItemStack getHeldItemOffHand()
getHeldItemOffHand
in interface crafttweaker.api.entity.IEntityLivingBase
public crafttweaker.api.entity.attribute.IEntityAttributeInstance getAttribute(java.lang.String name)
getAttribute
in interface crafttweaker.api.entity.IEntityLivingBase
public crafttweaker.api.entity.IEntityLivingBase getRevengeTarget()
getRevengeTarget
in interface crafttweaker.api.entity.IEntityLivingBase
public void setRevengeTarger(crafttweaker.api.entity.IEntityLivingBase target)
setRevengeTarger
in interface crafttweaker.api.entity.IEntityLivingBase
public crafttweaker.api.entity.IEntityLivingBase getLastAttackedEntity()
getLastAttackedEntity
in interface crafttweaker.api.entity.IEntityLivingBase
public void setLastAttackedEntity(crafttweaker.api.entity.IEntityLivingBase entity)
setLastAttackedEntity
in interface crafttweaker.api.entity.IEntityLivingBase
public int getLastAttackedEntityTime()
getLastAttackedEntityTime
in interface crafttweaker.api.entity.IEntityLivingBase
public java.util.List<crafttweaker.api.potions.IPotionEffect> getActivePotionEffects()
getActivePotionEffects
in interface crafttweaker.api.entity.IEntityLivingBase
public crafttweaker.api.potions.IPotionEffect getActivePotionEffect(crafttweaker.api.potions.IPotion potion)
getActivePotionEffect
in interface crafttweaker.api.entity.IEntityLivingBase
public boolean isPotionEffectApplicable(crafttweaker.api.potions.IPotionEffect potionEffect)
isPotionEffectApplicable
in interface crafttweaker.api.entity.IEntityLivingBase
public crafttweaker.api.damage.IDamageSource getLastDamageSource()
getLastDamageSource
in interface crafttweaker.api.entity.IEntityLivingBase
public void onDeath(crafttweaker.api.damage.IDamageSource source)
onDeath
in interface crafttweaker.api.entity.IEntityLivingBase
public void knockBack(crafttweaker.api.entity.IEntity entity, float strength, double xRatio, double zRatio)
knockBack
in interface crafttweaker.api.entity.IEntityLivingBase
public boolean isOnLadder()
isOnLadder
in interface crafttweaker.api.entity.IEntityLivingBase
public int getTotalArmorValue()
getTotalArmorValue
in interface crafttweaker.api.entity.IEntityLivingBase
public crafttweaker.api.entity.IEntityLivingBase getAttackingEntity()
getAttackingEntity
in interface crafttweaker.api.entity.IEntityLivingBase
public int getArrowCountInEntity()
getArrowCountInEntity
in interface crafttweaker.api.entity.IEntityLivingBase
public void setArrowCountInEntity(int arrows)
setArrowCountInEntity
in interface crafttweaker.api.entity.IEntityLivingBase
public float getAIMoveSpeed()
getAIMoveSpeed
in interface crafttweaker.api.entity.IEntityLivingBase
public void setAIMoveSpeed(float speed)
setAIMoveSpeed
in interface crafttweaker.api.entity.IEntityLivingBase
public void onLivingUpdate()
onLivingUpdate
in interface crafttweaker.api.entity.IEntityLivingBase
public boolean canEntityBeSeen(crafttweaker.api.entity.IEntity other)
canEntityBeSeen
in interface crafttweaker.api.entity.IEntityLivingBase
public void addPotionEffect(crafttweaker.api.potions.IPotionEffect potionEffect)
addPotionEffect
in interface crafttweaker.api.entity.IEntityLivingBase
public void setItemToSlot(crafttweaker.api.entity.IEntityEquipmentSlot slot, crafttweaker.api.item.IItemStack itemStack)
setItemToSlot
in interface crafttweaker.api.entity.IEntityLivingBase
public boolean hasItemInSlot(crafttweaker.api.entity.IEntityEquipmentSlot slot)
hasItemInSlot
in interface crafttweaker.api.entity.IEntityLivingBase
public crafttweaker.api.item.IItemStack getItemInSlot(crafttweaker.api.entity.IEntityEquipmentSlot slot)
getItemInSlot
in interface crafttweaker.api.entity.IEntityLivingBase