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, hashCode, 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, onGround, onKillCommand, onUpdate, removePassengers, removeTag, setAir, setAlwaysRenderNameTag, setCustomName, setDead, setDimension, setFire, setGlowing, setID, setInvisible, setInvulnerable, setInWeb, setMotionX, setMotionY, setMotionZ, setNoGravity, setOutsideBorder, setPosition, setPosition3f, setPosX, setPosY, setPosZ, setRotationPitch, setRotationYaw, setSilent, setSneaking, setSprinting, setToLocationFrom, setWorld, shouldRiderDismountInWater, shouldRiderSit, spawnRunningParticles, toString, updategetPosition, sendMessageclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddTag, 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, onGround, onKillCommand, onUpdate, removePassengers, removeTag, setAir, setAlwaysRenderNameTag, setCustomName, setDead, setDimension, setFire, setGlowing, setID, setInvisible, setInvulnerable, setInWeb, setMotionX, setMotionY, setMotionZ, setNBT, setNoGravity, setOutsideBorder, setPosition, setPosition3f, setPosX, setPosY, setPosZ, setRotationPitch, setRotationYaw, setSilent, setSneaking, setSprinting, setToLocationFrom, setWorld, shouldRiderDismountInWater, shouldRiderSit, spawnRunningParticles, updatepublic MCEntityLivingBase(net.minecraft.entity.EntityLivingBase entity)
public boolean canBreatheUnderwater()
canBreatheUnderwater in interface crafttweaker.api.entity.IEntityLivingBasepublic boolean isPotionActive(crafttweaker.api.potions.IPotion potion)
isPotionActive in interface crafttweaker.api.entity.IEntityLivingBasepublic float getHealth()
getHealth in interface crafttweaker.api.entity.IEntityLivingBasepublic void setHealth(float amount)
setHealth in interface crafttweaker.api.entity.IEntityLivingBasepublic boolean isChild()
isChild in interface crafttweaker.api.entity.IEntityLivingBasepublic void clearActivePotions()
clearActivePotions in interface crafttweaker.api.entity.IEntityLivingBasepublic boolean isUndead()
isUndead in interface crafttweaker.api.entity.IEntityLivingBasepublic void heal(float amount)
heal in interface crafttweaker.api.entity.IEntityLivingBasepublic float getMaxHealth()
getMaxHealth in interface crafttweaker.api.entity.IEntityLivingBasepublic crafttweaker.api.item.IItemStack getHeldItemMainHand()
getHeldItemMainHand in interface crafttweaker.api.entity.IEntityLivingBasepublic crafttweaker.api.item.IItemStack getHeldItemOffHand()
getHeldItemOffHand in interface crafttweaker.api.entity.IEntityLivingBasepublic crafttweaker.api.entity.attribute.IEntityAttributeInstance getAttribute(java.lang.String name)
getAttribute in interface crafttweaker.api.entity.IEntityLivingBasepublic crafttweaker.api.entity.IEntityLivingBase getRevengeTarget()
getRevengeTarget in interface crafttweaker.api.entity.IEntityLivingBasepublic void setRevengeTarger(crafttweaker.api.entity.IEntityLivingBase target)
setRevengeTarger in interface crafttweaker.api.entity.IEntityLivingBasepublic crafttweaker.api.entity.IEntityLivingBase getLastAttackedEntity()
getLastAttackedEntity in interface crafttweaker.api.entity.IEntityLivingBasepublic void setLastAttackedEntity(crafttweaker.api.entity.IEntityLivingBase entity)
setLastAttackedEntity in interface crafttweaker.api.entity.IEntityLivingBasepublic int getLastAttackedEntityTime()
getLastAttackedEntityTime in interface crafttweaker.api.entity.IEntityLivingBasepublic java.util.List<crafttweaker.api.potions.IPotionEffect> getActivePotionEffects()
getActivePotionEffects in interface crafttweaker.api.entity.IEntityLivingBasepublic crafttweaker.api.potions.IPotionEffect getActivePotionEffect(crafttweaker.api.potions.IPotion potion)
getActivePotionEffect in interface crafttweaker.api.entity.IEntityLivingBasepublic boolean isPotionEffectApplicable(crafttweaker.api.potions.IPotionEffect potionEffect)
isPotionEffectApplicable in interface crafttweaker.api.entity.IEntityLivingBasepublic crafttweaker.api.damage.IDamageSource getLastDamageSource()
getLastDamageSource in interface crafttweaker.api.entity.IEntityLivingBasepublic void onDeath(crafttweaker.api.damage.IDamageSource source)
onDeath in interface crafttweaker.api.entity.IEntityLivingBasepublic void knockBack(crafttweaker.api.entity.IEntity entity,
float strength,
double xRatio,
double zRatio)
knockBack in interface crafttweaker.api.entity.IEntityLivingBasepublic boolean isOnLadder()
isOnLadder in interface crafttweaker.api.entity.IEntityLivingBasepublic int getTotalArmorValue()
getTotalArmorValue in interface crafttweaker.api.entity.IEntityLivingBasepublic crafttweaker.api.entity.IEntityLivingBase getAttackingEntity()
getAttackingEntity in interface crafttweaker.api.entity.IEntityLivingBasepublic int getArrowCountInEntity()
getArrowCountInEntity in interface crafttweaker.api.entity.IEntityLivingBasepublic void setArrowCountInEntity(int arrows)
setArrowCountInEntity in interface crafttweaker.api.entity.IEntityLivingBasepublic float getAIMoveSpeed()
getAIMoveSpeed in interface crafttweaker.api.entity.IEntityLivingBasepublic void setAIMoveSpeed(float speed)
setAIMoveSpeed in interface crafttweaker.api.entity.IEntityLivingBasepublic void onLivingUpdate()
onLivingUpdate in interface crafttweaker.api.entity.IEntityLivingBasepublic boolean canEntityBeSeen(crafttweaker.api.entity.IEntity other)
canEntityBeSeen in interface crafttweaker.api.entity.IEntityLivingBasepublic void addPotionEffect(crafttweaker.api.potions.IPotionEffect potionEffect)
addPotionEffect in interface crafttweaker.api.entity.IEntityLivingBasepublic void setItemToSlot(crafttweaker.api.entity.IEntityEquipmentSlot slot,
crafttweaker.api.item.IItemStack itemStack)
setItemToSlot in interface crafttweaker.api.entity.IEntityLivingBasepublic boolean hasItemInSlot(crafttweaker.api.entity.IEntityEquipmentSlot slot)
hasItemInSlot in interface crafttweaker.api.entity.IEntityLivingBasepublic crafttweaker.api.item.IItemStack getItemInSlot(crafttweaker.api.entity.IEntityEquipmentSlot slot)
getItemInSlot in interface crafttweaker.api.entity.IEntityLivingBase