Class ArmorStand
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.decoration.ArmorStand
- All Implemented Interfaces:
CommandSource
,Attackable
,EntityAccess
,Nameable
,ICapabilityProvider
,ICapabilityProviderImpl<Entity>
,ICapabilitySerializable<CompoundTag>
,IForgeEntity
,IForgeLivingEntity
,INBTSerializable<CompoundTag>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntity
LivingEntity.Fallsounds
Nested classes/interfaces inherited from class net.minecraft.world.entity.Entity
Entity.MoveFunction, Entity.MovementEmission, Entity.RemovalReason
Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>
private static final EntityDimensions
private Rotations
private static final double
static final int
static final int
static final int
static final int
static final EntityDataAccessor<Rotations>
static final EntityDataAccessor<Byte>
static final EntityDataAccessor<Rotations>
static final EntityDataAccessor<Rotations>
static final EntityDataAccessor<Rotations>
static final EntityDataAccessor<Rotations>
static final EntityDataAccessor<Rotations>
private static final Rotations
private static final Rotations
private static final Rotations
private static final Rotations
private static final Rotations
private static final Rotations
static final int
static final int
private int
private static final boolean
private static final double
private final NonNullList<ItemStack>
private static final double
private Rotations
private boolean
long
private Rotations
private Rotations
private static final double
private static final EntityDimensions
private Rotations
private Rotations
static final int
Fields inherited from class net.minecraft.world.entity.LivingEntity
animStep, animStepO, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BASE_GRAVITY, DEFAULT_EYE_HEIGHT, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, lyHeadRot, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, USE_ITEM_INTERVAL, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
Fields inherited from class net.minecraft.world.entity.Entity
BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOld
Fields inherited from interface net.minecraft.commands.CommandSource
NULL
-
Constructor Summary
ConstructorDescriptionArmorStand
(EntityType<? extends ArmorStand> p_31553_, Level p_31554_) ArmorStand
(Level p_31556_, double p_31557_, double p_31558_, double p_31559_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalSaveData
(CompoundTag p_31619_) boolean
private void
brokenByAnything
(DamageSource p_31654_) private void
brokenByPlayer
(DamageSource p_31647_) boolean
boolean
canTakeItem
(ItemStack p_31638_) private void
causeDamage
(DamageSource p_31649_, float p_31650_) protected void
protected void
private EquipmentSlot
getClickedSlot
(Vec3 p_31660_) protected SoundEvent
getDimensions
(Pose p_31587_) private EntityDimensions
getDimensionsMarker
(boolean p_31684_) protected SoundEvent
getHurtSound
(DamageSource p_31636_) getItemBySlot
(EquipmentSlot p_31612_) getLightProbePosition
(float p_31665_) double
protected float
getStandingEyeHeight
(Pose p_31614_, EntityDimensions p_31615_) void
handleEntityEvent
(byte p_31568_) private boolean
boolean
hurt
(DamageSource p_31579_, float p_31580_) boolean
interactAt
(Player p_31594_, Vec3 p_31595_, InteractionHand p_31596_) boolean
boolean
isBaby()
private boolean
isDisabled
(EquipmentSlot p_31627_) boolean
boolean
boolean
isMarker()
boolean
boolean
boolean
boolean
boolean
isSmall()
void
kill()
void
onSyncedDataUpdated
(EntityDataAccessor<?> p_31602_) private void
protected void
void
readAdditionalSaveData
(CompoundTag p_31600_) private void
readPose
(CompoundTag p_31658_) void
private byte
setBit
(byte p_31570_, int p_31571_, boolean p_31572_) void
setBodyPose
(Rotations p_31617_) void
setHeadPose
(Rotations p_31598_) void
setInvisible
(boolean p_31663_) void
setItemSlot
(EquipmentSlot p_31584_, ItemStack p_31585_) void
setLeftArmPose
(Rotations p_31624_) void
setLeftLegPose
(Rotations p_31640_) private void
setMarker
(boolean p_31682_) void
setNoBasePlate
(boolean p_31679_) void
setRightArmPose
(Rotations p_31629_) void
setRightLegPose
(Rotations p_31652_) void
setShowArms
(boolean p_31676_) private void
setSmall
(boolean p_31604_) void
setYBodyRot
(float p_31670_) void
setYHeadRot
(float p_31668_) boolean
shouldRenderAtSqrDistance
(double p_31574_) private void
boolean
skipAttackInteraction
(Entity p_31687_) private boolean
swapItem
(Player p_31589_, EquipmentSlot p_31590_, ItemStack p_31591_, InteractionHand p_31592_) void
thunderHit
(ServerLevel p_31576_, LightningBolt p_31577_) void
tick()
protected float
tickHeadTurn
(float p_31644_, float p_31645_) void
protected void
private CompoundTag
Methods inherited from class net.minecraft.world.entity.LivingEntity
actuallyHurt, addEffect, addEffect, aiStep, animateHurt, areAllEffectsAmbient, baseTick, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canAttackType, canBeAffected, canBeSeenAsEnemy, canBreatheUnderwater, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doHurtTarget, dropAllDeathLoot, dropCustomDeathLoot, dropEquipment, dropExperience, dropFromLootTable, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getExperienceReward, getEyeHeight, getFallFlyingTicks, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTable, getLootTableSeed, getMainHandItem, getMaxHealth, getMeleeAttackReferencePosition, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSoundVolume, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, invalidateCaps, isAffectedByFluids, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, jumpInLiquid, knockback, lerpHeadTo, lerpTo, lookAt, makeBrain, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, playBlockFallSound, playHurtSound, push, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideTick, sendEffectToPassengers, serverAiStep, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSpeed, setSprinting, setStingerCount, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed
Methods inherited from class net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkBelowWorld, checkDespawn, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getBoundingBoxForPose, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensionsForge, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPassengersRidingOffset, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, interact, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isInFluidType, isInFluidType, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, showVehicleHealth, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCaps
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.commands.CommandSource
alwaysAccepts
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeHeightForge, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoating
Methods inherited from interface net.minecraftforge.common.extensions.IForgeLivingEntity
canDrownInFluidType, canSwimInFluidType, jumpInFluid, moveInFluid, self, sinkInFluid
-
Field Details
-
WOBBLE_TIME
public static final int WOBBLE_TIME- See Also:
-
ENABLE_ARMS
private static final boolean ENABLE_ARMS- See Also:
-
DEFAULT_HEAD_POSE
-
DEFAULT_BODY_POSE
-
DEFAULT_LEFT_ARM_POSE
-
DEFAULT_RIGHT_ARM_POSE
-
DEFAULT_LEFT_LEG_POSE
-
DEFAULT_RIGHT_LEG_POSE
-
MARKER_DIMENSIONS
-
BABY_DIMENSIONS
-
FEET_OFFSET
private static final double FEET_OFFSET- See Also:
-
CHEST_OFFSET
private static final double CHEST_OFFSET- See Also:
-
LEGS_OFFSET
private static final double LEGS_OFFSET- See Also:
-
HEAD_OFFSET
private static final double HEAD_OFFSET- See Also:
-
DISABLE_TAKING_OFFSET
public static final int DISABLE_TAKING_OFFSET- See Also:
-
DISABLE_PUTTING_OFFSET
public static final int DISABLE_PUTTING_OFFSET- See Also:
-
CLIENT_FLAG_SMALL
public static final int CLIENT_FLAG_SMALL- See Also:
-
CLIENT_FLAG_SHOW_ARMS
public static final int CLIENT_FLAG_SHOW_ARMS- See Also:
-
CLIENT_FLAG_NO_BASEPLATE
public static final int CLIENT_FLAG_NO_BASEPLATE- See Also:
-
CLIENT_FLAG_MARKER
public static final int CLIENT_FLAG_MARKER- See Also:
-
DATA_CLIENT_FLAGS
-
DATA_HEAD_POSE
-
DATA_BODY_POSE
-
DATA_LEFT_ARM_POSE
-
DATA_RIGHT_ARM_POSE
-
DATA_LEFT_LEG_POSE
-
DATA_RIGHT_LEG_POSE
-
RIDABLE_MINECARTS
-
handItems
-
armorItems
-
invisible
private boolean invisible -
lastHit
public long lastHit -
disabledSlots
private int disabledSlots -
headPose
-
bodyPose
-
leftArmPose
-
rightArmPose
-
leftLegPose
-
rightLegPose
-
-
Constructor Details
-
ArmorStand
-
ArmorStand
-
-
Method Details
-
refreshDimensions
public void refreshDimensions()- Overrides:
refreshDimensions
in classEntity
-
hasPhysics
private boolean hasPhysics() -
isEffectiveAi
public boolean isEffectiveAi()- Overrides:
isEffectiveAi
in classEntity
-
defineSynchedData
protected void defineSynchedData()- Overrides:
defineSynchedData
in classLivingEntity
-
getHandSlots
- Overrides:
getHandSlots
in classEntity
-
getArmorSlots
- Specified by:
getArmorSlots
in classLivingEntity
-
getItemBySlot
- Specified by:
getItemBySlot
in classLivingEntity
-
setItemSlot
- Specified by:
setItemSlot
in classLivingEntity
-
canTakeItem
- Overrides:
canTakeItem
in classLivingEntity
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classLivingEntity
-
readAdditionalSaveData
- Overrides:
readAdditionalSaveData
in classLivingEntity
-
readPose
-
writePose
-
isPushable
public boolean isPushable()- Overrides:
isPushable
in classLivingEntity
-
doPush
- Overrides:
doPush
in classLivingEntity
-
pushEntities
protected void pushEntities()- Overrides:
pushEntities
in classLivingEntity
-
interactAt
- Overrides:
interactAt
in classEntity
-
getClickedSlot
-
isDisabled
-
swapItem
private boolean swapItem(Player p_31589_, EquipmentSlot p_31590_, ItemStack p_31591_, InteractionHand p_31592_) -
hurt
- Overrides:
hurt
in classLivingEntity
-
handleEntityEvent
public void handleEntityEvent(byte p_31568_) - Overrides:
handleEntityEvent
in classLivingEntity
-
shouldRenderAtSqrDistance
public boolean shouldRenderAtSqrDistance(double p_31574_) - Overrides:
shouldRenderAtSqrDistance
in classEntity
-
showBreakingParticles
private void showBreakingParticles() -
causeDamage
-
brokenByPlayer
-
brokenByAnything
-
playBrokenSound
private void playBrokenSound() -
tickHeadTurn
protected float tickHeadTurn(float p_31644_, float p_31645_) - Overrides:
tickHeadTurn
in classLivingEntity
-
getStandingEyeHeight
- Overrides:
getStandingEyeHeight
in classLivingEntity
-
getMyRidingOffset
public double getMyRidingOffset()- Overrides:
getMyRidingOffset
in classEntity
-
travel
- Overrides:
travel
in classLivingEntity
-
setYBodyRot
public void setYBodyRot(float p_31670_) - Overrides:
setYBodyRot
in classLivingEntity
-
setYHeadRot
public void setYHeadRot(float p_31668_) - Overrides:
setYHeadRot
in classLivingEntity
-
tick
public void tick()- Overrides:
tick
in classLivingEntity
-
updateInvisibilityStatus
protected void updateInvisibilityStatus()- Overrides:
updateInvisibilityStatus
in classLivingEntity
-
setInvisible
public void setInvisible(boolean p_31663_) - Overrides:
setInvisible
in classEntity
-
isBaby
public boolean isBaby()- Overrides:
isBaby
in classLivingEntity
-
kill
public void kill()- Overrides:
kill
in classLivingEntity
-
ignoreExplosion
public boolean ignoreExplosion()- Overrides:
ignoreExplosion
in classEntity
-
getPistonPushReaction
- Overrides:
getPistonPushReaction
in classEntity
-
isIgnoringBlockTriggers
public boolean isIgnoringBlockTriggers()- Overrides:
isIgnoringBlockTriggers
in classEntity
-
setSmall
private void setSmall(boolean p_31604_) -
isSmall
public boolean isSmall() -
setShowArms
public void setShowArms(boolean p_31676_) -
isShowArms
public boolean isShowArms() -
setNoBasePlate
public void setNoBasePlate(boolean p_31679_) -
isNoBasePlate
public boolean isNoBasePlate() -
setMarker
private void setMarker(boolean p_31682_) -
isMarker
public boolean isMarker() -
setBit
private byte setBit(byte p_31570_, int p_31571_, boolean p_31572_) -
setHeadPose
-
setBodyPose
-
setLeftArmPose
-
setRightArmPose
-
setLeftLegPose
-
setRightLegPose
-
getHeadPose
-
getBodyPose
-
getLeftArmPose
-
getRightArmPose
-
getLeftLegPose
-
getRightLegPose
-
isPickable
public boolean isPickable()- Overrides:
isPickable
in classLivingEntity
-
skipAttackInteraction
- Overrides:
skipAttackInteraction
in classEntity
-
getMainArm
- Specified by:
getMainArm
in classLivingEntity
-
getFallSounds
- Overrides:
getFallSounds
in classLivingEntity
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
-
thunderHit
- Overrides:
thunderHit
in classEntity
-
isAffectedByPotions
public boolean isAffectedByPotions()- Overrides:
isAffectedByPotions
in classLivingEntity
-
onSyncedDataUpdated
- Overrides:
onSyncedDataUpdated
in classLivingEntity
-
attackable
public boolean attackable()- Overrides:
attackable
in classLivingEntity
-
getDimensions
- Overrides:
getDimensions
in classLivingEntity
-
getDimensionsMarker
-
getLightProbePosition
- Overrides:
getLightProbePosition
in classEntity
-
getPickResult
- Overrides:
getPickResult
in classEntity
-
canBeSeenByAnyone
public boolean canBeSeenByAnyone()- Overrides:
canBeSeenByAnyone
in classLivingEntity
-