public abstract class MixinEntityLiving extends MixinEntityLivingBase implements org.spongepowered.api.entity.living.Agent
_combatTracker, attackingPlayer, deathTime, entityLivingToAttack, hurtTime, lastActiveTarget, lastDamage, lastKilledTarget, maxHurtResistantTime, maxHurtTime, potionsNeedUpdate
dataWatcher, fallDistance, fire, fireResistance, height, hurtResistantTime, inWater, isDead, motionX, motionY, motionZ, onGround, posX, posY, posZ, prevPosX, prevPosY, prevPosZ, rand, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, width, worldObj
Constructor and Description |
---|
MixinEntityLiving() |
Modifier and Type | Method and Description |
---|---|
void |
callLeashEvent(net.minecraft.entity.player.EntityPlayer playerIn,
org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> ci,
net.minecraft.item.ItemStack itemstack) |
void |
callUnleashEvent(boolean sendPacket,
boolean dropLead,
org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) |
boolean |
getCanPickupItems() |
abstract net.minecraft.entity.Entity |
getLeashedToEntity() |
Optional<org.spongepowered.api.entity.Entity> |
getLeashHolder() |
abstract boolean |
isAIDisabled() |
boolean |
isAiEnabled() |
boolean |
isLeashed() |
void |
onSetAttackTarget(net.minecraft.entity.EntityLivingBase targetEntity,
org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) |
void |
setAiEnabled(boolean aiEnabled) |
void |
setCanPickupItems(boolean canPickupItems) |
void |
setLeashed(boolean leashed) |
abstract void |
setLeashedToEntity(net.minecraft.entity.Entity entityIn,
boolean sendAttachNotification) |
void |
setLeashHolder(org.spongepowered.api.entity.Entity entity) |
protected abstract void |
setNoAI(boolean p_94061_1_) |
addPotionEffect, addPotionEffect, addPotionEffects, attackEntityFrom, clearActivePotions, damageD, getActivePotionEffects, getCustomName, getEntityAttribute, getEquipmentInSlot, getEyeHeightD, getEyeLocation, getHealth, getHealthD, getInvulnerabilityTicks, getLastActiveTarget, getLastAttacker, getLastAttackerAPI, getLastDamage, getLastKilledTarget, getMaxAir, getMaxHealth, getMaxHealthD, getMaxInvulnerabilityTicks, getPotionEffects, getRemainingAir, getTeamRepresentation, hasPotionEffect, isAPIInvisible, isCustomNameVisible, isPotionActive, onCollideWithNearbyEntities, onDeathSendEntityState, onSetRevengeTarget, readFromNbt, removePotionEffect, removePotionEffect, setAPIInvisible, setCurrentItemOrArmor, setCustomName, setCustomNameVisible, setHealth, setHealthD, setInvulnerabilityTicks, setLastAttacker, setLastAttacker, setLastDamage, setMaxAir, setMaxHealth, setMaxInvulnerabilityTicks, setRemainingAir, writeToNbt
copy, createSnapshot, getAir, getAlwaysRenderNameTag, getBaseVehicle, getContainers, getCustomNameTag, getEyeHeight, getFlag, getLocation, getPosition, getRotation, getScale, getSpongeCreator, getTeleportVehicle, getTransform, getType, getUniqueId, getUniqueID, getVelocity, getWorld, isLoaded, isOnGround, isRemoved, isTeleporting, mountEntity, onGetEyeHeight, onMoveEntity, onReadFromNBT, onSetSize, onWriteToNBT, remove, setAir, setAlwaysRenderNameTag, setCustomNameTag, setDead, setEyeHeight, setFlag, setIsTeleporting, setLocation, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setPassenger, setPosition, setRawData, setRotation, setScale, setTeleportVehicle, setTransform, setVehicle, setVelocity, shadow$setRotation, supplyVanillaManipulators, teleportEntity, toContainer, transferToWorld, transferToWorld, validateRawData, writeToNBT
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHealthData, getMortalData
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
getActivatedTick, getActivationType, getDefaultActivationState, getSpongeData, inactiveTick, setActivatedTick
public abstract boolean isAIDisabled()
protected abstract void setNoAI(boolean p_94061_1_)
public abstract net.minecraft.entity.Entity getLeashedToEntity()
public abstract void setLeashedToEntity(net.minecraft.entity.Entity entityIn, boolean sendAttachNotification)
public boolean isAiEnabled()
public void setAiEnabled(boolean aiEnabled)
public boolean isLeashed()
public void setLeashed(boolean leashed)
public Optional<org.spongepowered.api.entity.Entity> getLeashHolder()
public void setLeashHolder(@Nullable org.spongepowered.api.entity.Entity entity)
public boolean getCanPickupItems()
public void setCanPickupItems(boolean canPickupItems)
public void callLeashEvent(net.minecraft.entity.player.EntityPlayer playerIn, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> ci, net.minecraft.item.ItemStack itemstack)
public void callUnleashEvent(boolean sendPacket, boolean dropLead, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
public void onSetAttackTarget(net.minecraft.entity.EntityLivingBase targetEntity, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)