Package net.minecraft.entity
Class LivingEntity
- java.lang.Object
-
- net.minecraftforge.common.capabilities.CapabilityProvider<Entity>
-
- net.minecraft.entity.Entity
-
- net.minecraft.entity.LivingEntity
-
- All Implemented Interfaces:
ICommandSource,INameable,ICapabilityProvider,ICapabilitySerializable<CompoundNBT>,IForgeEntity,INBTSerializable<CompoundNBT>
- Direct Known Subclasses:
ArmorStandEntity,MobEntity,PlayerEntity
public abstract class LivingEntity extends Entity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.IMoveCallback
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.Entity
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, ENTITY_COUNTER, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, LOGGER, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, portalTime, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld
-
Fields inherited from interface net.minecraft.command.ICommandSource
NULL
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLivingEntity(EntityType<? extends LivingEntity> p_i48577_1_, World p_i48577_2_)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidactuallyHurt(DamageSource p_70665_1_, float p_70665_2_)voidaddAdditionalSaveData(CompoundNBT p_213281_1_)private voidaddEatEffect(ItemStack p_213349_1_, World p_213349_2_, LivingEntity p_213349_3_)booleanaddEffect(EffectInstance p_195064_1_)voidaiStep()voidanimateHurt()static booleanareAllEffectsAmbient(java.util.Collection<EffectInstance> p_184593_0_)booleanattackable()voidbaseTick()protected voidblockedByShield(LivingEntity p_213371_1_)protected voidblockUsingShield(LivingEntity p_190629_1_)protected Brain.BrainCodec<?>brainProvider()private voidbreakItem(ItemStack p_70669_1_)voidbroadcastBreakEvent(EquipmentSlotType p_213361_1_)voidbroadcastBreakEvent(Hand p_213334_1_)voidcalculateEntityAnimation(LivingEntity p_233629_1_, boolean p_233629_2_)protected intcalculateFallDamage(float p_225508_1_, float p_225508_2_)booleancanAttack(LivingEntity p_213336_1_)booleancanAttack(LivingEntity p_213344_1_, EntityPredicate p_213344_2_)booleancanAttackType(EntityType<?> p_213358_1_)booleancanBeAffected(EffectInstance p_70687_1_)booleancanBreatheUnderwater()booleancanSee(Entity p_70685_1_)booleancanSpawnSoulSpeedParticle()booleancanStandOnFluid(Fluid p_230285_1_)booleancanTakeItem(ItemStack p_213365_1_)booleancauseFallDamage(float p_225503_1_, float p_225503_2_)protected voidcheckAutoSpinAttack(AxisAlignedBB p_204801_1_, AxisAlignedBB p_204801_2_)private booleancheckBedExists()protected voidcheckFallDamage(double p_184231_1_, boolean p_184231_3_, BlockState p_184231_4_, BlockPos p_184231_5_)private booleancheckTotemDeathProtection(DamageSource p_190628_1_)voidclearSleepingPos()private java.util.Map<EquipmentSlotType,ItemStack>collectEquipmentChanges()protected voidcompleteUsingItem()static AttributeModifierMap.MutableAttributecreateLivingAttributes()protected LootContext.BuildercreateLootContext(boolean p_213363_1_, DamageSource p_213363_2_)protected voidcreateWitherRose(LivingEntity p_226298_1_)booleancurePotionEffects(ItemStack curativeItem)Removes all potion effects that have curativeItem as a curative item for its effectprotected intdecreaseAirSupply(int p_70682_1_)protected voiddefineSynchedData()private voiddetectEquipmentUpdates()voiddie(DamageSource p_70645_1_)private voiddismountVehicle(Entity p_233628_1_)protected voiddoAutoAttackOnTouch(LivingEntity p_204804_1_)booleandoHurtTarget(Entity p_70652_1_)protected voiddoPush(Entity p_82167_1_)protected voiddropAllDeathLoot(DamageSource p_213345_1_)protected voiddropCustomDeathLoot(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_)protected voiddropEquipment()protected voiddropExperience()protected voiddropFromLootTable(DamageSource p_213354_1_, boolean p_213354_2_)ItemStackeat(World p_213357_1_, ItemStack p_213357_2_)private static byteentityEventForEquipmentBreak(EquipmentSlotType p_213350_0_)voidforceAddEffect(EffectInstance p_233646_1_)floatgetAbsorptionAmount()java.util.Collection<EffectInstance>getActiveEffects()java.util.Map<Effect,EffectInstance>getActiveEffectsMap()IPacket<?>getAddEntityPacket()floatgetArmorCoverPercentage()abstract java.lang.Iterable<ItemStack>getArmorSlots()intgetArmorValue()intgetArrowCount()floatgetAttackAnim(float p_70678_1_)ModifiableAttributeInstancegetAttribute(Attribute p_110148_1_)doublegetAttributeBaseValue(Attribute p_233638_1_)AttributeModifierManagergetAttributes()doublegetAttributeValue(Attribute p_233637_1_)DirectiongetBedOrientation()protected floatgetBlockSpeedFactor()AxisAlignedBBgetBoundingBoxForCulling()Brain<?>getBrain()<T> LazyOptional<T>getCapability(Capability<T> capability, Direction facing)Retrieves the Optional handler for the capability requested on the specific side.CombatTrackergetCombatTracker()private intgetCurrentSwingDuration()protected floatgetDamageAfterArmorAbsorb(DamageSource p_70655_1_, float p_70655_2_)protected floatgetDamageAfterMagicAbsorb(DamageSource p_70672_1_, float p_70672_2_)protected SoundEventgetDeathSound()EntitySizegetDimensions(Pose p_213305_1_)com.google.common.collect.ImmutableList<Pose>getDismountPoses()protected SoundEventgetDrinkingSound(ItemStack p_213351_1_)SoundEventgetEatingSound(ItemStack p_213353_1_)EffectInstancegetEffect(Effect p_70660_1_)protected intgetExperienceReward(PlayerEntity p_70693_1_)protected floatgetEyeHeight(Pose p_213316_1_, EntitySize p_213316_2_)protected SoundEventgetFallDamageSound(int p_184588_1_)intgetFallFlyingTicks()BlockStategetFeetBlockState()Vector3dgetFluidFallingAdjustedMovement(double p_233626_1_, boolean p_233626_3_, Vector3d p_233626_4_)private floatgetFrictionInfluencedSpeed(float p_213335_1_)floatgetHealth()protected SoundEventgetHurtSound(DamageSource p_184601_1_)abstract ItemStackgetItemBySlot(EquipmentSlotType p_184582_1_)ItemStackgetItemInHand(Hand p_184586_1_)protected floatgetJumpPower()LivingEntitygetKillCredit()private ItemStackgetLastArmorItem(EquipmentSlotType p_241346_1_)java.util.Optional<BlockPos>getLastClimbablePos()DamageSourcegetLastDamageSource()private ItemStackgetLastHandItem(EquipmentSlotType p_241347_1_)LivingEntitygetLastHurtByMob()intgetLastHurtByMobTimestamp()LivingEntitygetLastHurtMob()intgetLastHurtMobTimestamp()AxisAlignedBBgetLocalBoundsForPose(Pose p_233648_1_)ResourceLocationgetLootTable()abstract HandSidegetMainArm()ItemStackgetMainHandItem()floatgetMaxHealth()CreatureAttributegetMobType()intgetNoActionTime()ItemStackgetOffhandItem()ItemStackgetProjectile(ItemStack p_213356_1_)java.util.RandomgetRandom()protected Vector3dgetRelativePortalPosition(Direction.Axis p_241839_1_, TeleportationRepositioner.Result p_241839_2_)floatgetScale()java.util.Optional<BlockPos>getSleepingPos()protected floatgetSoundVolume()floatgetSpeed()protected floatgetStandingEyeHeight(Pose p_213348_1_, EntitySize p_213348_2_)intgetStingerCount()floatgetSwimAmount(float p_205015_1_)intgetTicksUsingItem()HandgetUsedItemHand()ItemStackgetUseItem()intgetUseItemRemainingTicks()floatgetViewYRot(float p_195046_1_)doublegetVisibilityPercent(Entity p_213340_1_)protected floatgetVoicePitch()protected floatgetWaterSlowDown()floatgetYHeadRot()protected voidgoDownInWater()voidhandleEntityEvent(byte p_70103_1_)private voidhandleEquipmentChanges(java.util.Map<EquipmentSlotType,ItemStack> p_241344_1_)private voidhandleHandSwap(java.util.Map<EquipmentSlotType,ItemStack> p_241342_1_)private Vector3dhandleOnClimbable(Vector3d p_213362_1_)Vector3dhandleRelativeFrictionAndCalculateMovement(Vector3d p_233633_1_, float p_233633_2_)booleanhasEffect(Effect p_70644_1_)booleanhasItemInSlot(EquipmentSlotType p_190630_1_)voidheal(float p_70691_1_)booleanhurt(DamageSource p_70097_1_, float p_70097_2_)protected voidhurtArmor(DamageSource p_230294_1_, float p_230294_2_)protected voidhurtCurrentlyUsedShield(float p_184590_1_)protected intincreaseAirSupply(int p_207300_1_)protected voidinvalidateCaps()protected booleanisAffectedByFluids()booleanisAffectedByPotions()booleanisAlive()protected booleanisAlwaysExperienceDropper()booleanisAutoSpinAttack()booleanisBaby()booleanisBlocking()private booleanisDamageSourceBlocked(DamageSource p_184583_1_)booleanisDeadOrDying()booleanisEffectiveAi()booleanisFallFlying()booleanisHolding(java.util.function.Predicate<Item> p_233634_1_)booleanisHolding(Item p_233631_1_)protected booleanisImmobile()booleanisInvertedHealAndHarm()booleanisInWall()booleanisPickable()booleanisPushable()booleanisSensitiveToWater()booleanisSleeping()booleanisSuppressingSlidingDownLadder()booleanisUsingItem()booleanisVisuallySwimming()protected voidjumpFromGround()protected voidjumpInLiquid(ITag<Fluid> p_180466_1_)voidkill()voidknockback(float p_233627_1_, double p_233627_2_, double p_233627_4_)voidlerpHeadTo(float p_208000_1_, int p_208000_2_)voidlerpTo(double p_180426_1_, double p_180426_3_, double p_180426_5_, float p_180426_7_, float p_180426_8_, int p_180426_9_, boolean p_180426_10_)voidlookAt(EntityAnchorArgument.Type p_200602_1_, Vector3d p_200602_2_)protected Brain<?>makeBrain(com.mojang.serialization.Dynamic<?> p_213364_1_)protected voidmarkHurt()protected voidonChangedBlock(BlockPos p_184594_1_)booleanonClimbable()protected voidonEffectAdded(EffectInstance p_70670_1_)protected voidonEffectRemoved(EffectInstance p_70688_1_)protected voidonEffectUpdated(EffectInstance p_70695_1_, boolean p_70695_2_)voidonEnterCombat()voidonItemPickup(ItemEntity p_233630_1_)voidonLeaveCombat()protected booleanonSoulSpeedBlock()voidonSyncedDataUpdated(DataParameter<?> p_184206_1_)protected voidoutOfWorld()protected voidplayBlockFallSound()protected voidplayEquipSound(ItemStack p_184606_1_)protected voidplayHurtSound(DamageSource p_184581_1_)voidpush(Entity p_70108_1_)protected voidpushEntities()booleanrandomTeleport(double p_213373_1_, double p_213373_3_, double p_213373_5_, boolean p_213373_7_)voidreadAdditionalSaveData(CompoundNBT p_70037_1_)voidreleaseUsingItem()booleanremoveAllEffects()booleanremoveEffect(Effect p_195063_1_)EffectInstanceremoveEffectNoUpdate(Effect p_184596_1_)protected voidremoveEffectParticles()protected voidremoveSoulSpeed()static Vector3dresetForwardDirectionOfRelativePortalPosition(Vector3d p_242288_0_)booleanrideableUnderWater()voidrideTick()protected voidserverAiStep()voidsetAbsorptionAmount(float p_110149_1_)voidsetArrowCount(int p_85034_1_)voidsetHealth(float p_70606_1_)voidsetItemInHand(Hand p_184611_1_, ItemStack p_184611_2_)abstract voidsetItemSlot(EquipmentSlotType p_184201_1_, ItemStack p_184201_2_)voidsetJumping(boolean p_70637_1_)private voidsetLastArmorItem(EquipmentSlotType p_241343_1_, ItemStack p_241343_2_)private voidsetLastHandItem(EquipmentSlotType p_241345_1_, ItemStack p_241345_2_)voidsetLastHurtByMob(LivingEntity p_70604_1_)voidsetLastHurtByPlayer(PlayerEntity p_230246_1_)voidsetLastHurtMob(Entity p_130011_1_)protected voidsetLivingEntityFlag(int p_204802_1_, boolean p_204802_2_)voidsetNoActionTime(int p_213332_1_)voidsetOnGround(boolean p_230245_1_)private voidsetPosToBed(BlockPos p_213370_1_)voidsetRecordPlayingNearby(BlockPos p_191987_1_, boolean p_191987_2_)voidsetSleepingPos(BlockPos p_213369_1_)voidsetSpeed(float p_70659_1_)voidsetSprinting(boolean p_70031_1_)voidsetStingerCount(int p_226300_1_)voidsetYBodyRot(float p_181013_1_)voidsetYHeadRot(float p_70034_1_)protected booleanshouldDropExperience()protected booleanshouldDropLoot()protected booleanshouldRemoveSoulSpeed(BlockState p_230295_1_)booleanshouldRiderFaceForward(PlayerEntity player)Returns true if the entity's rider (EntityPlayer) should face forward when mounted.booleanshouldShowName()private booleanshouldTriggerItemUseEffects()private voidspawnItemParticles(ItemStack p_195062_1_, int p_195062_2_)protected voidspawnSoulSpeedParticle()voidstartAutoSpinAttack(int p_204803_1_)voidstartSleeping(BlockPos p_213342_1_)voidstartUsingItem(Hand p_184598_1_)voidstopRiding()voidstopSleeping()voidstopUsingItem()private voidswapHandItems()voidswing(Hand p_184609_1_)voidswing(Hand p_226292_1_, boolean p_226292_2_)voidtake(Entity p_71001_1_, int p_71001_2_)voidtick()protected voidtickDeath()protected voidtickEffects()protected floattickHeadTurn(float p_110146_1_, float p_110146_2_)private booleantrapdoorUsableAsLadder(BlockPos p_184604_1_, BlockState p_184604_2_)voidtravel(Vector3d p_213352_1_)protected voidtriggerItemUseEffects(ItemStack p_226293_1_, int p_226293_2_)protected voidtryAddSoulSpeed()protected voidupdateEffectVisibility()private voidupdateFallFlying()protected voidupdateInvisibilityStatus()private voidupdateSwimAmount()protected voidupdateSwingTime()private voidupdatingUsingItem()-
Methods inherited from class net.minecraft.entity.Entity
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkDespawn, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBoundingBox, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHandSlots, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMotionDirection, getMyRidingOffset, getName, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getY, getY, getZ, getZ, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killed, lavaHurt, lerpMotion, limitPistonMovement, load, makeFlySound, makeStuckInBlock, maybeBackOffFromEdge, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playerTouch, playFlySound, playSound, playStepSound, playSwimSound, position, positionRider, processPortalCooldown, push, reapplyPosition, refreshDimensions, remove, remove, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSlot, setSwimming, setUUID, setViewScale, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateInWaterStateAndDoWaterCurrentPushing, updateSwimming
-
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
-
Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getDimensionsForge, getEntity, getEyeHeightForge, getParts, getPickedResult, isMultipartEntity, serializeNBT, shouldRiderSit
-
-
-
-
Field Detail
-
SPEED_MODIFIER_SPRINTING_UUID
private static final java.util.UUID SPEED_MODIFIER_SPRINTING_UUID
-
SPEED_MODIFIER_SOUL_SPEED_UUID
private static final java.util.UUID SPEED_MODIFIER_SOUL_SPEED_UUID
-
SLOW_FALLING_ID
private static final java.util.UUID SLOW_FALLING_ID
-
SPEED_MODIFIER_SPRINTING
private static final AttributeModifier SPEED_MODIFIER_SPRINTING
-
SLOW_FALLING
private static final AttributeModifier SLOW_FALLING
-
DATA_LIVING_ENTITY_FLAGS
protected static final DataParameter<java.lang.Byte> DATA_LIVING_ENTITY_FLAGS
-
DATA_HEALTH_ID
private static final DataParameter<java.lang.Float> DATA_HEALTH_ID
-
DATA_EFFECT_COLOR_ID
private static final DataParameter<java.lang.Integer> DATA_EFFECT_COLOR_ID
-
DATA_EFFECT_AMBIENCE_ID
private static final DataParameter<java.lang.Boolean> DATA_EFFECT_AMBIENCE_ID
-
DATA_ARROW_COUNT_ID
private static final DataParameter<java.lang.Integer> DATA_ARROW_COUNT_ID
-
DATA_STINGER_COUNT_ID
private static final DataParameter<java.lang.Integer> DATA_STINGER_COUNT_ID
-
SLEEPING_POS_ID
private static final DataParameter<java.util.Optional<BlockPos>> SLEEPING_POS_ID
-
SLEEPING_DIMENSIONS
protected static final EntitySize SLEEPING_DIMENSIONS
-
attributes
private final AttributeModifierManager attributes
-
combatTracker
private final CombatTracker combatTracker
-
activeEffects
private final java.util.Map<Effect,EffectInstance> activeEffects
-
lastHandItemStacks
private final NonNullList<ItemStack> lastHandItemStacks
-
lastArmorItemStacks
private final NonNullList<ItemStack> lastArmorItemStacks
-
swinging
public boolean swinging
-
swingingArm
public Hand swingingArm
-
swingTime
public int swingTime
-
removeArrowTime
public int removeArrowTime
-
removeStingerTime
public int removeStingerTime
-
hurtTime
public int hurtTime
-
hurtDuration
public int hurtDuration
-
hurtDir
public float hurtDir
-
deathTime
public int deathTime
-
oAttackAnim
public float oAttackAnim
-
attackAnim
public float attackAnim
-
attackStrengthTicker
protected int attackStrengthTicker
-
animationSpeedOld
public float animationSpeedOld
-
animationSpeed
public float animationSpeed
-
animationPosition
public float animationPosition
-
invulnerableDuration
public final int invulnerableDuration
- See Also:
- Constant Field Values
-
timeOffs
public final float timeOffs
-
rotA
public final float rotA
-
yBodyRot
public float yBodyRot
-
yBodyRotO
public float yBodyRotO
-
yHeadRot
public float yHeadRot
-
yHeadRotO
public float yHeadRotO
-
flyingSpeed
public float flyingSpeed
-
lastHurtByPlayer
@Nullable protected PlayerEntity lastHurtByPlayer
-
lastHurtByPlayerTime
protected int lastHurtByPlayerTime
-
dead
protected boolean dead
-
noActionTime
protected int noActionTime
-
oRun
protected float oRun
-
run
protected float run
-
animStep
protected float animStep
-
animStepO
protected float animStepO
-
rotOffs
protected float rotOffs
-
deathScore
protected int deathScore
-
lastHurt
protected float lastHurt
-
jumping
protected boolean jumping
-
xxa
public float xxa
-
yya
public float yya
-
zza
public float zza
-
lerpSteps
protected int lerpSteps
-
lerpX
protected double lerpX
-
lerpY
protected double lerpY
-
lerpZ
protected double lerpZ
-
lerpYRot
protected double lerpYRot
-
lerpXRot
protected double lerpXRot
-
lyHeadRot
protected double lyHeadRot
-
lerpHeadSteps
protected int lerpHeadSteps
-
effectsDirty
private boolean effectsDirty
-
lastHurtByMob
@Nullable private LivingEntity lastHurtByMob
-
lastHurtByMobTimestamp
private int lastHurtByMobTimestamp
-
lastHurtMob
private LivingEntity lastHurtMob
-
lastHurtMobTimestamp
private int lastHurtMobTimestamp
-
speed
private float speed
-
noJumpDelay
private int noJumpDelay
-
absorptionAmount
private float absorptionAmount
-
useItem
protected ItemStack useItem
-
useItemRemaining
protected int useItemRemaining
-
fallFlyTicks
protected int fallFlyTicks
-
lastPos
private BlockPos lastPos
-
lastClimbablePos
private java.util.Optional<BlockPos> lastClimbablePos
-
lastDamageSource
private DamageSource lastDamageSource
-
lastDamageStamp
private long lastDamageStamp
-
autoSpinAttackTicks
protected int autoSpinAttackTicks
-
swimAmount
private float swimAmount
-
swimAmountO
private float swimAmountO
-
brain
protected Brain<?> brain
-
handlers
private final LazyOptional<?>[] handlers
-
-
Constructor Detail
-
LivingEntity
protected LivingEntity(EntityType<? extends LivingEntity> p_i48577_1_, World p_i48577_2_)
-
-
Method Detail
-
getBrain
public Brain<?> getBrain()
-
brainProvider
protected Brain.BrainCodec<?> brainProvider()
-
makeBrain
protected Brain<?> makeBrain(com.mojang.serialization.Dynamic<?> p_213364_1_)
-
canAttackType
public boolean canAttackType(EntityType<?> p_213358_1_)
-
defineSynchedData
protected void defineSynchedData()
- Specified by:
defineSynchedDatain classEntity
-
createLivingAttributes
public static AttributeModifierMap.MutableAttribute createLivingAttributes()
-
checkFallDamage
protected void checkFallDamage(double p_184231_1_, boolean p_184231_3_, BlockState p_184231_4_, BlockPos p_184231_5_)- Overrides:
checkFallDamagein classEntity
-
canBreatheUnderwater
public boolean canBreatheUnderwater()
-
getSwimAmount
public float getSwimAmount(float p_205015_1_)
-
canSpawnSoulSpeedParticle
public boolean canSpawnSoulSpeedParticle()
-
spawnSoulSpeedParticle
protected void spawnSoulSpeedParticle()
-
onSoulSpeedBlock
protected boolean onSoulSpeedBlock()
-
getBlockSpeedFactor
protected float getBlockSpeedFactor()
- Overrides:
getBlockSpeedFactorin classEntity
-
shouldRemoveSoulSpeed
protected boolean shouldRemoveSoulSpeed(BlockState p_230295_1_)
-
removeSoulSpeed
protected void removeSoulSpeed()
-
tryAddSoulSpeed
protected void tryAddSoulSpeed()
-
onChangedBlock
protected void onChangedBlock(BlockPos p_184594_1_)
-
isBaby
public boolean isBaby()
-
getScale
public float getScale()
-
isAffectedByFluids
protected boolean isAffectedByFluids()
-
rideableUnderWater
public boolean rideableUnderWater()
- Overrides:
rideableUnderWaterin classEntity
-
tickDeath
protected void tickDeath()
-
shouldDropExperience
protected boolean shouldDropExperience()
-
shouldDropLoot
protected boolean shouldDropLoot()
-
decreaseAirSupply
protected int decreaseAirSupply(int p_70682_1_)
-
increaseAirSupply
protected int increaseAirSupply(int p_207300_1_)
-
getExperienceReward
protected int getExperienceReward(PlayerEntity p_70693_1_)
-
isAlwaysExperienceDropper
protected boolean isAlwaysExperienceDropper()
-
getRandom
public java.util.Random getRandom()
-
getLastHurtByMob
@Nullable public LivingEntity getLastHurtByMob()
-
getLastHurtByMobTimestamp
public int getLastHurtByMobTimestamp()
-
setLastHurtByPlayer
public void setLastHurtByPlayer(@Nullable PlayerEntity p_230246_1_)
-
setLastHurtByMob
public void setLastHurtByMob(@Nullable LivingEntity p_70604_1_)
-
getLastHurtMob
@Nullable public LivingEntity getLastHurtMob()
-
getLastHurtMobTimestamp
public int getLastHurtMobTimestamp()
-
setLastHurtMob
public void setLastHurtMob(Entity p_130011_1_)
-
getNoActionTime
public int getNoActionTime()
-
setNoActionTime
public void setNoActionTime(int p_213332_1_)
-
playEquipSound
protected void playEquipSound(ItemStack p_184606_1_)
-
addAdditionalSaveData
public void addAdditionalSaveData(CompoundNBT p_213281_1_)
- Specified by:
addAdditionalSaveDatain classEntity
-
readAdditionalSaveData
public void readAdditionalSaveData(CompoundNBT p_70037_1_)
- Specified by:
readAdditionalSaveDatain classEntity
-
tickEffects
protected void tickEffects()
-
updateInvisibilityStatus
protected void updateInvisibilityStatus()
-
getVisibilityPercent
public double getVisibilityPercent(@Nullable Entity p_213340_1_)
-
canAttack
public boolean canAttack(LivingEntity p_213336_1_)
-
canAttack
public boolean canAttack(LivingEntity p_213344_1_, EntityPredicate p_213344_2_)
-
areAllEffectsAmbient
public static boolean areAllEffectsAmbient(java.util.Collection<EffectInstance> p_184593_0_)
-
removeEffectParticles
protected void removeEffectParticles()
-
removeAllEffects
public boolean removeAllEffects()
-
getActiveEffects
public java.util.Collection<EffectInstance> getActiveEffects()
-
getActiveEffectsMap
public java.util.Map<Effect,EffectInstance> getActiveEffectsMap()
-
hasEffect
public boolean hasEffect(Effect p_70644_1_)
-
getEffect
@Nullable public EffectInstance getEffect(Effect p_70660_1_)
-
addEffect
public boolean addEffect(EffectInstance p_195064_1_)
-
canBeAffected
public boolean canBeAffected(EffectInstance p_70687_1_)
-
forceAddEffect
public void forceAddEffect(EffectInstance p_233646_1_)
-
isInvertedHealAndHarm
public boolean isInvertedHealAndHarm()
-
removeEffectNoUpdate
@Nullable public EffectInstance removeEffectNoUpdate(@Nullable Effect p_184596_1_)
-
removeEffect
public boolean removeEffect(Effect p_195063_1_)
-
onEffectAdded
protected void onEffectAdded(EffectInstance p_70670_1_)
-
onEffectUpdated
protected void onEffectUpdated(EffectInstance p_70695_1_, boolean p_70695_2_)
-
onEffectRemoved
protected void onEffectRemoved(EffectInstance p_70688_1_)
-
heal
public void heal(float p_70691_1_)
-
getHealth
public float getHealth()
-
setHealth
public void setHealth(float p_70606_1_)
-
isDeadOrDying
public boolean isDeadOrDying()
-
hurt
public boolean hurt(DamageSource p_70097_1_, float p_70097_2_)
-
blockUsingShield
protected void blockUsingShield(LivingEntity p_190629_1_)
-
blockedByShield
protected void blockedByShield(LivingEntity p_213371_1_)
-
checkTotemDeathProtection
private boolean checkTotemDeathProtection(DamageSource p_190628_1_)
-
getLastDamageSource
@Nullable public DamageSource getLastDamageSource()
-
playHurtSound
protected void playHurtSound(DamageSource p_184581_1_)
-
isDamageSourceBlocked
private boolean isDamageSourceBlocked(DamageSource p_184583_1_)
-
breakItem
private void breakItem(ItemStack p_70669_1_)
-
die
public void die(DamageSource p_70645_1_)
-
createWitherRose
protected void createWitherRose(@Nullable LivingEntity p_226298_1_)
-
dropAllDeathLoot
protected void dropAllDeathLoot(DamageSource p_213345_1_)
-
dropEquipment
protected void dropEquipment()
-
dropExperience
protected void dropExperience()
-
dropCustomDeathLoot
protected void dropCustomDeathLoot(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_)
-
getLootTable
public ResourceLocation getLootTable()
-
dropFromLootTable
protected void dropFromLootTable(DamageSource p_213354_1_, boolean p_213354_2_)
-
createLootContext
protected LootContext.Builder createLootContext(boolean p_213363_1_, DamageSource p_213363_2_)
-
knockback
public void knockback(float p_233627_1_, double p_233627_2_, double p_233627_4_)
-
getHurtSound
@Nullable protected SoundEvent getHurtSound(DamageSource p_184601_1_)
-
getDeathSound
@Nullable protected SoundEvent getDeathSound()
-
getFallDamageSound
protected SoundEvent getFallDamageSound(int p_184588_1_)
-
getDrinkingSound
protected SoundEvent getDrinkingSound(ItemStack p_213351_1_)
-
getEatingSound
public SoundEvent getEatingSound(ItemStack p_213353_1_)
-
setOnGround
public void setOnGround(boolean p_230245_1_)
- Overrides:
setOnGroundin classEntity
-
getLastClimbablePos
public java.util.Optional<BlockPos> getLastClimbablePos()
-
onClimbable
public boolean onClimbable()
-
getFeetBlockState
public BlockState getFeetBlockState()
-
trapdoorUsableAsLadder
private boolean trapdoorUsableAsLadder(BlockPos p_184604_1_, BlockState p_184604_2_)
-
causeFallDamage
public boolean causeFallDamage(float p_225503_1_, float p_225503_2_)- Overrides:
causeFallDamagein classEntity
-
calculateFallDamage
protected int calculateFallDamage(float p_225508_1_, float p_225508_2_)
-
playBlockFallSound
protected void playBlockFallSound()
-
animateHurt
public void animateHurt()
- Overrides:
animateHurtin classEntity
-
getArmorValue
public int getArmorValue()
-
hurtArmor
protected void hurtArmor(DamageSource p_230294_1_, float p_230294_2_)
-
hurtCurrentlyUsedShield
protected void hurtCurrentlyUsedShield(float p_184590_1_)
-
getDamageAfterArmorAbsorb
protected float getDamageAfterArmorAbsorb(DamageSource p_70655_1_, float p_70655_2_)
-
getDamageAfterMagicAbsorb
protected float getDamageAfterMagicAbsorb(DamageSource p_70672_1_, float p_70672_2_)
-
actuallyHurt
protected void actuallyHurt(DamageSource p_70665_1_, float p_70665_2_)
-
getCombatTracker
public CombatTracker getCombatTracker()
-
getKillCredit
@Nullable public LivingEntity getKillCredit()
-
getMaxHealth
public final float getMaxHealth()
-
getArrowCount
public final int getArrowCount()
-
setArrowCount
public final void setArrowCount(int p_85034_1_)
-
getStingerCount
public final int getStingerCount()
-
setStingerCount
public final void setStingerCount(int p_226300_1_)
-
getCurrentSwingDuration
private int getCurrentSwingDuration()
-
swing
public void swing(Hand p_184609_1_)
-
swing
public void swing(Hand p_226292_1_, boolean p_226292_2_)
-
handleEntityEvent
public void handleEntityEvent(byte p_70103_1_)
- Overrides:
handleEntityEventin classEntity
-
swapHandItems
private void swapHandItems()
-
outOfWorld
protected void outOfWorld()
- Overrides:
outOfWorldin classEntity
-
updateSwingTime
protected void updateSwingTime()
-
getAttribute
@Nullable public ModifiableAttributeInstance getAttribute(Attribute p_110148_1_)
-
getAttributeValue
public double getAttributeValue(Attribute p_233637_1_)
-
getAttributeBaseValue
public double getAttributeBaseValue(Attribute p_233638_1_)
-
getAttributes
public AttributeModifierManager getAttributes()
-
getMobType
public CreatureAttribute getMobType()
-
getMainHandItem
public ItemStack getMainHandItem()
-
getOffhandItem
public ItemStack getOffhandItem()
-
isHolding
public boolean isHolding(Item p_233631_1_)
-
isHolding
public boolean isHolding(java.util.function.Predicate<Item> p_233634_1_)
-
hasItemInSlot
public boolean hasItemInSlot(EquipmentSlotType p_190630_1_)
-
getArmorSlots
public abstract java.lang.Iterable<ItemStack> getArmorSlots()
- Overrides:
getArmorSlotsin classEntity
-
getItemBySlot
public abstract ItemStack getItemBySlot(EquipmentSlotType p_184582_1_)
-
setItemSlot
public abstract void setItemSlot(EquipmentSlotType p_184201_1_, ItemStack p_184201_2_)
- Overrides:
setItemSlotin classEntity
-
getArmorCoverPercentage
public float getArmorCoverPercentage()
-
setSprinting
public void setSprinting(boolean p_70031_1_)
- Overrides:
setSprintingin classEntity
-
getSoundVolume
protected float getSoundVolume()
-
getVoicePitch
protected float getVoicePitch()
-
isImmobile
protected boolean isImmobile()
-
dismountVehicle
private void dismountVehicle(Entity p_233628_1_)
-
shouldShowName
public boolean shouldShowName()
- Overrides:
shouldShowNamein classEntity
-
getJumpPower
protected float getJumpPower()
-
jumpFromGround
protected void jumpFromGround()
-
goDownInWater
protected void goDownInWater()
-
getWaterSlowDown
protected float getWaterSlowDown()
-
canStandOnFluid
public boolean canStandOnFluid(Fluid p_230285_1_)
-
travel
public void travel(Vector3d p_213352_1_)
-
calculateEntityAnimation
public void calculateEntityAnimation(LivingEntity p_233629_1_, boolean p_233629_2_)
-
handleRelativeFrictionAndCalculateMovement
public Vector3d handleRelativeFrictionAndCalculateMovement(Vector3d p_233633_1_, float p_233633_2_)
-
getFluidFallingAdjustedMovement
public Vector3d getFluidFallingAdjustedMovement(double p_233626_1_, boolean p_233626_3_, Vector3d p_233626_4_)
-
getFrictionInfluencedSpeed
private float getFrictionInfluencedSpeed(float p_213335_1_)
-
getSpeed
public float getSpeed()
-
setSpeed
public void setSpeed(float p_70659_1_)
-
doHurtTarget
public boolean doHurtTarget(Entity p_70652_1_)
-
detectEquipmentUpdates
private void detectEquipmentUpdates()
-
collectEquipmentChanges
@Nullable private java.util.Map<EquipmentSlotType,ItemStack> collectEquipmentChanges()
-
handleHandSwap
private void handleHandSwap(java.util.Map<EquipmentSlotType,ItemStack> p_241342_1_)
-
handleEquipmentChanges
private void handleEquipmentChanges(java.util.Map<EquipmentSlotType,ItemStack> p_241344_1_)
-
getLastArmorItem
private ItemStack getLastArmorItem(EquipmentSlotType p_241346_1_)
-
setLastArmorItem
private void setLastArmorItem(EquipmentSlotType p_241343_1_, ItemStack p_241343_2_)
-
getLastHandItem
private ItemStack getLastHandItem(EquipmentSlotType p_241347_1_)
-
setLastHandItem
private void setLastHandItem(EquipmentSlotType p_241345_1_, ItemStack p_241345_2_)
-
tickHeadTurn
protected float tickHeadTurn(float p_110146_1_, float p_110146_2_)
-
aiStep
public void aiStep()
-
isSensitiveToWater
public boolean isSensitiveToWater()
-
updateFallFlying
private void updateFallFlying()
-
serverAiStep
protected void serverAiStep()
-
pushEntities
protected void pushEntities()
-
checkAutoSpinAttack
protected void checkAutoSpinAttack(AxisAlignedBB p_204801_1_, AxisAlignedBB p_204801_2_)
-
doPush
protected void doPush(Entity p_82167_1_)
-
doAutoAttackOnTouch
protected void doAutoAttackOnTouch(LivingEntity p_204804_1_)
-
startAutoSpinAttack
public void startAutoSpinAttack(int p_204803_1_)
-
isAutoSpinAttack
public boolean isAutoSpinAttack()
-
stopRiding
public void stopRiding()
- Overrides:
stopRidingin classEntity
-
lerpTo
public void lerpTo(double p_180426_1_, double p_180426_3_, double p_180426_5_, float p_180426_7_, float p_180426_8_, int p_180426_9_, boolean p_180426_10_)
-
lerpHeadTo
public void lerpHeadTo(float p_208000_1_, int p_208000_2_)- Overrides:
lerpHeadToin classEntity
-
setJumping
public void setJumping(boolean p_70637_1_)
-
onItemPickup
public void onItemPickup(ItemEntity p_233630_1_)
-
take
public void take(Entity p_71001_1_, int p_71001_2_)
-
canSee
public boolean canSee(Entity p_70685_1_)
-
getViewYRot
public float getViewYRot(float p_195046_1_)
- Overrides:
getViewYRotin classEntity
-
getAttackAnim
public float getAttackAnim(float p_70678_1_)
-
isEffectiveAi
public boolean isEffectiveAi()
-
isPickable
public boolean isPickable()
- Overrides:
isPickablein classEntity
-
isPushable
public boolean isPushable()
- Overrides:
isPushablein classEntity
-
getYHeadRot
public float getYHeadRot()
- Overrides:
getYHeadRotin classEntity
-
setYHeadRot
public void setYHeadRot(float p_70034_1_)
- Overrides:
setYHeadRotin classEntity
-
setYBodyRot
public void setYBodyRot(float p_181013_1_)
- Overrides:
setYBodyRotin classEntity
-
getRelativePortalPosition
protected Vector3d getRelativePortalPosition(Direction.Axis p_241839_1_, TeleportationRepositioner.Result p_241839_2_)
- Overrides:
getRelativePortalPositionin classEntity
-
resetForwardDirectionOfRelativePortalPosition
public static Vector3d resetForwardDirectionOfRelativePortalPosition(Vector3d p_242288_0_)
-
getAbsorptionAmount
public float getAbsorptionAmount()
-
setAbsorptionAmount
public void setAbsorptionAmount(float p_110149_1_)
-
onEnterCombat
public void onEnterCombat()
-
onLeaveCombat
public void onLeaveCombat()
-
updateEffectVisibility
protected void updateEffectVisibility()
-
getMainArm
public abstract HandSide getMainArm()
-
isUsingItem
public boolean isUsingItem()
-
getUsedItemHand
public Hand getUsedItemHand()
-
updatingUsingItem
private void updatingUsingItem()
-
shouldTriggerItemUseEffects
private boolean shouldTriggerItemUseEffects()
-
updateSwimAmount
private void updateSwimAmount()
-
setLivingEntityFlag
protected void setLivingEntityFlag(int p_204802_1_, boolean p_204802_2_)
-
startUsingItem
public void startUsingItem(Hand p_184598_1_)
-
onSyncedDataUpdated
public void onSyncedDataUpdated(DataParameter<?> p_184206_1_)
- Overrides:
onSyncedDataUpdatedin classEntity
-
lookAt
public void lookAt(EntityAnchorArgument.Type p_200602_1_, Vector3d p_200602_2_)
-
triggerItemUseEffects
protected void triggerItemUseEffects(ItemStack p_226293_1_, int p_226293_2_)
-
spawnItemParticles
private void spawnItemParticles(ItemStack p_195062_1_, int p_195062_2_)
-
completeUsingItem
protected void completeUsingItem()
-
getUseItem
public ItemStack getUseItem()
-
getUseItemRemainingTicks
public int getUseItemRemainingTicks()
-
getTicksUsingItem
public int getTicksUsingItem()
-
releaseUsingItem
public void releaseUsingItem()
-
stopUsingItem
public void stopUsingItem()
-
isBlocking
public boolean isBlocking()
-
isSuppressingSlidingDownLadder
public boolean isSuppressingSlidingDownLadder()
-
isFallFlying
public boolean isFallFlying()
-
isVisuallySwimming
public boolean isVisuallySwimming()
- Overrides:
isVisuallySwimmingin classEntity
-
getFallFlyingTicks
public int getFallFlyingTicks()
-
randomTeleport
public boolean randomTeleport(double p_213373_1_, double p_213373_3_, double p_213373_5_, boolean p_213373_7_)
-
isAffectedByPotions
public boolean isAffectedByPotions()
-
attackable
public boolean attackable()
-
setRecordPlayingNearby
public void setRecordPlayingNearby(BlockPos p_191987_1_, boolean p_191987_2_)
-
canTakeItem
public boolean canTakeItem(ItemStack p_213365_1_)
-
getAddEntityPacket
public IPacket<?> getAddEntityPacket()
- Specified by:
getAddEntityPacketin classEntity
-
getDimensions
public EntitySize getDimensions(Pose p_213305_1_)
- Overrides:
getDimensionsin classEntity
-
getDismountPoses
public com.google.common.collect.ImmutableList<Pose> getDismountPoses()
-
getLocalBoundsForPose
public AxisAlignedBB getLocalBoundsForPose(Pose p_233648_1_)
-
getSleepingPos
public java.util.Optional<BlockPos> getSleepingPos()
-
setSleepingPos
public void setSleepingPos(BlockPos p_213369_1_)
-
clearSleepingPos
public void clearSleepingPos()
-
isSleeping
public boolean isSleeping()
-
startSleeping
public void startSleeping(BlockPos p_213342_1_)
-
setPosToBed
private void setPosToBed(BlockPos p_213370_1_)
-
checkBedExists
private boolean checkBedExists()
-
stopSleeping
public void stopSleeping()
-
getBedOrientation
@Nullable public Direction getBedOrientation()
-
getEyeHeight
protected final float getEyeHeight(Pose p_213316_1_, EntitySize p_213316_2_)
- Overrides:
getEyeHeightin classEntity
-
getStandingEyeHeight
protected float getStandingEyeHeight(Pose p_213348_1_, EntitySize p_213348_2_)
-
addEatEffect
private void addEatEffect(ItemStack p_213349_1_, World p_213349_2_, LivingEntity p_213349_3_)
-
entityEventForEquipmentBreak
private static byte entityEventForEquipmentBreak(EquipmentSlotType p_213350_0_)
-
broadcastBreakEvent
public void broadcastBreakEvent(EquipmentSlotType p_213361_1_)
-
broadcastBreakEvent
public void broadcastBreakEvent(Hand p_213334_1_)
-
curePotionEffects
public boolean curePotionEffects(ItemStack curativeItem)
Removes all potion effects that have curativeItem as a curative item for its effect- Parameters:
curativeItem- The itemstack we are using to cure potion effects
-
shouldRiderFaceForward
public boolean shouldRiderFaceForward(PlayerEntity player)
Returns true if the entity's rider (EntityPlayer) should face forward when mounted. currently only used in vanilla code by pigs.- Parameters:
player- The player who is riding the entity.- Returns:
- If the player should orient the same direction as this entity.
-
getCapability
public <T> LazyOptional<T> getCapability(Capability<T> capability, @Nullable Direction facing)
Description copied from interface:ICapabilityProviderRetrieves the Optional handler for the capability requested on the specific side. The return value CAN be the same for multiple faces. Modders are encouraged to cache this value, using the listener capabilities of the Optional to be notified if the requested capability get lost.- Specified by:
getCapabilityin interfaceICapabilityProvider- Overrides:
getCapabilityin classCapabilityProvider<Entity>- Returns:
- The requested an optional holding the requested capability.
-
invalidateCaps
protected void invalidateCaps()
- Overrides:
invalidateCapsin classCapabilityProvider<Entity>
-
getBoundingBoxForCulling
public AxisAlignedBB getBoundingBoxForCulling()
- Overrides:
getBoundingBoxForCullingin classEntity
-
-