public class MCEntityLiving extends MCEntityLivingBase implements crafttweaker.api.entity.IEntityLiving
Constructor and Description |
---|
MCEntityLiving(net.minecraft.entity.EntityLiving entity) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeLeashedTo(crafttweaker.api.player.IPlayer player) |
boolean |
canBeSteered() |
boolean |
canPickUpLoot() |
boolean |
canSpawnHere() |
void |
clearLeashed(boolean sendPacket,
boolean dropLead) |
void |
enablePersistence() |
crafttweaker.api.entity.IEntityLivingBase |
getAttackTarget() |
crafttweaker.api.entity.IEntity |
getLeashedToEntity() |
int |
getMaxSpawnedInChunk() |
float |
getRenderSizeModifier() |
int |
getTalkInterval() |
boolean |
isAIDisabled() |
boolean |
isColliding() |
boolean |
isLeashed() |
boolean |
isLeftHanded() |
boolean |
isNoDespawnRequired() |
void |
playLivingSound() |
void |
setAIDisabled(boolean isAIDisabled) |
void |
setAttackTarget(crafttweaker.api.entity.IEntityLivingBase attackTarget) |
void |
setCanPickUpLoot(boolean canPickUpLoot) |
void |
setDropChance(crafttweaker.api.entity.IEntityEquipmentSlot slot,
float chance) |
void |
setLeashedToEntity(crafttweaker.api.entity.IEntity entity,
boolean sendAttachNotification) |
void |
setLeftHanded(boolean isLeftHanded) |
void |
setMoveForward(float moveForward) |
void |
setMoveStrafing(float moveStrafing) |
void |
setMoveVertical(float moveVertical) |
void |
spawnExplosionParticle() |
addPotionEffect, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, getActivePotionEffect, getActivePotionEffects, getAIMoveSpeed, getArrowCountInEntity, getAttackingEntity, getAttribute, getHealth, getHeldItemMainHand, getHeldItemOffHand, getItemInSlot, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getMaxHealth, getRevengeTarget, getTotalArmorValue, hasItemInSlot, heal, isChild, isOnLadder, isPotionActive, isPotionEffectApplicable, isUndead, knockBack, onDeath, onLivingUpdate, setAIMoveSpeed, setArrowCountInEntity, setHealth, setItemToSlot, setLastAttackedEntity, setRevengeTarger
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
addPotionEffect, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, getActivePotionEffect, getActivePotionEffects, getAIMoveSpeed, getArrowCountInEntity, getAttackingEntity, getAttribute, getHealth, getHeldItemMainHand, getHeldItemOffHand, getItemInSlot, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getMaxHealth, getRevengeTarget, getTotalArmorValue, hasItemInSlot, heal, isChild, isOnLadder, isPotionActive, isPotionEffectApplicable, isUndead, knockBack, onDeath, onLivingUpdate, setAIMoveSpeed, setArrowCountInEntity, setHealth, setItemToSlot, setLastAttackedEntity, setRevengeTarger
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 crafttweaker.api.entity.IEntityLivingBase getAttackTarget()
getAttackTarget
in interface crafttweaker.api.entity.IEntityLiving
public void setAttackTarget(crafttweaker.api.entity.IEntityLivingBase attackTarget)
setAttackTarget
in interface crafttweaker.api.entity.IEntityLiving
public int getTalkInterval()
getTalkInterval
in interface crafttweaker.api.entity.IEntityLiving
public void playLivingSound()
playLivingSound
in interface crafttweaker.api.entity.IEntityLiving
public void spawnExplosionParticle()
spawnExplosionParticle
in interface crafttweaker.api.entity.IEntityLiving
public void setMoveForward(float moveForward)
setMoveForward
in interface crafttweaker.api.entity.IEntityLiving
public void setMoveVertical(float moveVertical)
setMoveVertical
in interface crafttweaker.api.entity.IEntityLiving
public void setMoveStrafing(float moveStrafing)
setMoveStrafing
in interface crafttweaker.api.entity.IEntityLiving
public boolean canSpawnHere()
canSpawnHere
in interface crafttweaker.api.entity.IEntityLiving
public boolean isColliding()
isColliding
in interface crafttweaker.api.entity.IEntityLiving
public float getRenderSizeModifier()
getRenderSizeModifier
in interface crafttweaker.api.entity.IEntityLiving
public int getMaxSpawnedInChunk()
getMaxSpawnedInChunk
in interface crafttweaker.api.entity.IEntityLiving
public boolean canBeSteered()
canBeSteered
in interface crafttweaker.api.entity.IEntityLiving
public void setDropChance(crafttweaker.api.entity.IEntityEquipmentSlot slot, float chance)
setDropChance
in interface crafttweaker.api.entity.IEntityLiving
public boolean canPickUpLoot()
canPickUpLoot
in interface crafttweaker.api.entity.IEntityLiving
public void setCanPickUpLoot(boolean canPickUpLoot)
setCanPickUpLoot
in interface crafttweaker.api.entity.IEntityLiving
public void enablePersistence()
enablePersistence
in interface crafttweaker.api.entity.IEntityLiving
public boolean isNoDespawnRequired()
isNoDespawnRequired
in interface crafttweaker.api.entity.IEntityLiving
public void clearLeashed(boolean sendPacket, boolean dropLead)
clearLeashed
in interface crafttweaker.api.entity.IEntityLiving
public boolean canBeLeashedTo(crafttweaker.api.player.IPlayer player)
canBeLeashedTo
in interface crafttweaker.api.entity.IEntityLiving
public boolean isLeashed()
isLeashed
in interface crafttweaker.api.entity.IEntityLiving
public crafttweaker.api.entity.IEntity getLeashedToEntity()
getLeashedToEntity
in interface crafttweaker.api.entity.IEntityLiving
public void setLeashedToEntity(crafttweaker.api.entity.IEntity entity, boolean sendAttachNotification)
setLeashedToEntity
in interface crafttweaker.api.entity.IEntityLiving
public boolean isAIDisabled()
isAIDisabled
in interface crafttweaker.api.entity.IEntityLiving
public void setAIDisabled(boolean isAIDisabled)
setAIDisabled
in interface crafttweaker.api.entity.IEntityLiving
public boolean isLeftHanded()
isLeftHanded
in interface crafttweaker.api.entity.IEntityLiving
public void setLeftHanded(boolean isLeftHanded)
setLeftHanded
in interface crafttweaker.api.entity.IEntityLiving