Package net.minecraft.entity.item
Class ArmorStandEntity
- java.lang.Object
-
- net.minecraftforge.common.capabilities.CapabilityProvider<Entity>
-
- net.minecraft.entity.Entity
-
- net.minecraft.entity.LivingEntity
-
- net.minecraft.entity.item.ArmorStandEntity
-
- All Implemented Interfaces:
ICommandSource
,INameable
,ICapabilityProvider
,ICapabilitySerializable<CompoundNBT>
,IForgeEntity
,INBTSerializable<CompoundNBT>
public class ArmorStandEntity extends LivingEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.IMoveCallback
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.LivingEntity
animationPosition, animationSpeed, animationSpeedOld, animStep, animStepO, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, deathScore, deathTime, fallFlyTicks, flyingSpeed, hurtDir, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, lyHeadRot, noActionTime, oAttackAnim, oRun, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
-
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 Constructor Description ArmorStandEntity(EntityType<? extends ArmorStandEntity> p_i50225_1_, World p_i50225_2_)
ArmorStandEntity(World p_i45855_1_, double p_i45855_2_, double p_i45855_4_, double p_i45855_6_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAdditionalSaveData(CompoundNBT p_213281_1_)
boolean
attackable()
private void
brokenByAnything(DamageSource p_213816_1_)
private void
brokenByPlayer(DamageSource p_213815_1_)
boolean
canTakeItem(ItemStack p_213365_1_)
private void
causeDamage(DamageSource p_213817_1_, float p_213817_2_)
protected void
defineSynchedData()
protected void
doPush(Entity p_82167_1_)
java.lang.Iterable<ItemStack>
getArmorSlots()
Rotations
getBodyPose()
private EquipmentSlotType
getClickedSlot(Vector3d p_190772_1_)
protected SoundEvent
getDeathSound()
EntitySize
getDimensions(Pose p_213305_1_)
private EntitySize
getDimensionsMarker(boolean p_242330_1_)
protected SoundEvent
getFallDamageSound(int p_184588_1_)
java.lang.Iterable<ItemStack>
getHandSlots()
Rotations
getHeadPose()
protected SoundEvent
getHurtSound(DamageSource p_184601_1_)
ItemStack
getItemBySlot(EquipmentSlotType p_184582_1_)
Rotations
getLeftArmPose()
Rotations
getLeftLegPose()
Vector3d
getLightProbePosition(float p_241842_1_)
HandSide
getMainArm()
double
getMyRidingOffset()
PushReaction
getPistonPushReaction()
Rotations
getRightArmPose()
Rotations
getRightLegPose()
protected float
getStandingEyeHeight(Pose p_213348_1_, EntitySize p_213348_2_)
void
handleEntityEvent(byte p_70103_1_)
private boolean
hasPhysics()
boolean
hurt(DamageSource p_70097_1_, float p_70097_2_)
boolean
ignoreExplosion()
ActionResultType
interactAt(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_)
boolean
isAffectedByPotions()
boolean
isBaby()
private boolean
isDisabled(EquipmentSlotType p_184796_1_)
boolean
isEffectiveAi()
boolean
isMarker()
boolean
isNoBasePlate()
boolean
isPickable()
boolean
isPushable()
boolean
isShowArms()
boolean
isSmall()
void
kill()
void
onSyncedDataUpdated(DataParameter<?> p_184206_1_)
private void
playBrokenSound()
protected void
pushEntities()
void
readAdditionalSaveData(CompoundNBT p_70037_1_)
private void
readPose(CompoundNBT p_175416_1_)
void
refreshDimensions()
private byte
setBit(byte p_184797_1_, int p_184797_2_, boolean p_184797_3_)
void
setBodyPose(Rotations p_175424_1_)
void
setHeadPose(Rotations p_175415_1_)
void
setInvisible(boolean p_82142_1_)
void
setItemSlot(EquipmentSlotType p_184201_1_, ItemStack p_184201_2_)
void
setLeftArmPose(Rotations p_175405_1_)
void
setLeftLegPose(Rotations p_175417_1_)
private void
setMarker(boolean p_181027_1_)
private void
setNoBasePlate(boolean p_175426_1_)
void
setRightArmPose(Rotations p_175428_1_)
void
setRightLegPose(Rotations p_175427_1_)
private void
setShowArms(boolean p_175413_1_)
boolean
setSlot(int p_174820_1_, ItemStack p_174820_2_)
private void
setSmall(boolean p_175420_1_)
void
setYBodyRot(float p_181013_1_)
void
setYHeadRot(float p_70034_1_)
boolean
shouldRenderAtSqrDistance(double p_70112_1_)
private void
showBreakingParticles()
boolean
skipAttackInteraction(Entity p_85031_1_)
private boolean
swapItem(PlayerEntity p_226529_1_, EquipmentSlotType p_226529_2_, ItemStack p_226529_3_, Hand p_226529_4_)
void
thunderHit(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_)
void
tick()
protected float
tickHeadTurn(float p_110146_1_, float p_110146_2_)
void
travel(Vector3d p_213352_1_)
protected void
updateInvisibilityStatus()
private CompoundNBT
writePose()
-
Methods inherited from class net.minecraft.entity.LivingEntity
actuallyHurt, addEffect, aiStep, animateHurt, areAllEffectsAmbient, baseTick, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canAttackType, canBeAffected, canBreatheUnderwater, canSee, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createLootContext, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doHurtTarget, dropAllDeathLoot, dropCustomDeathLoot, dropEquipment, dropExperience, dropFromLootTable, eat, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAddEntityPacket, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getExperienceReward, getEyeHeight, getFallFlyingTicks, getFeetBlockState, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTable, getMainHandItem, getMaxHealth, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSoundVolume, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, heal, hurtArmor, hurtCurrentlyUsedShield, increaseAirSupply, invalidateCaps, isAffectedByFluids, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, jumpInLiquid, knockback, lerpHeadTo, lerpTo, lookAt, makeBrain, markHurt, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onItemPickup, onLeaveCombat, onSoulSpeedBlock, outOfWorld, playBlockFallSound, playEquipSound, playHurtSound, push, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideableUnderWater, rideTick, serverAiStep, setAbsorptionAmount, setArrowCount, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSpeed, setSprinting, setStingerCount, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, spawnSoulSpeedParticle, startAutoSpinAttack, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, triggerItemUseEffects, tryAddSoulSpeed, updateEffectVisibility, updateSwingTime
-
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, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMotionDirection, getName, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPermissionLevel, getPersistentData, getPickRadius, 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, interact, 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, remove, remove, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSwimming, setUUID, setViewScale, shouldBlockExplode, shouldInformAdmins, shouldRender, showVehicleHealth, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportTo, teleportToWithTicket, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, 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
-
DEFAULT_HEAD_POSE
private static final Rotations DEFAULT_HEAD_POSE
-
DEFAULT_BODY_POSE
private static final Rotations DEFAULT_BODY_POSE
-
DEFAULT_LEFT_ARM_POSE
private static final Rotations DEFAULT_LEFT_ARM_POSE
-
DEFAULT_RIGHT_ARM_POSE
private static final Rotations DEFAULT_RIGHT_ARM_POSE
-
DEFAULT_LEFT_LEG_POSE
private static final Rotations DEFAULT_LEFT_LEG_POSE
-
DEFAULT_RIGHT_LEG_POSE
private static final Rotations DEFAULT_RIGHT_LEG_POSE
-
MARKER_DIMENSIONS
private static final EntitySize MARKER_DIMENSIONS
-
BABY_DIMENSIONS
private static final EntitySize BABY_DIMENSIONS
-
DATA_CLIENT_FLAGS
public static final DataParameter<java.lang.Byte> DATA_CLIENT_FLAGS
-
DATA_HEAD_POSE
public static final DataParameter<Rotations> DATA_HEAD_POSE
-
DATA_BODY_POSE
public static final DataParameter<Rotations> DATA_BODY_POSE
-
DATA_LEFT_ARM_POSE
public static final DataParameter<Rotations> DATA_LEFT_ARM_POSE
-
DATA_RIGHT_ARM_POSE
public static final DataParameter<Rotations> DATA_RIGHT_ARM_POSE
-
DATA_LEFT_LEG_POSE
public static final DataParameter<Rotations> DATA_LEFT_LEG_POSE
-
DATA_RIGHT_LEG_POSE
public static final DataParameter<Rotations> DATA_RIGHT_LEG_POSE
-
RIDABLE_MINECARTS
private static final java.util.function.Predicate<Entity> RIDABLE_MINECARTS
-
handItems
private final NonNullList<ItemStack> handItems
-
armorItems
private final NonNullList<ItemStack> armorItems
-
invisible
private boolean invisible
-
lastHit
public long lastHit
-
disabledSlots
private int disabledSlots
-
headPose
private Rotations headPose
-
bodyPose
private Rotations bodyPose
-
leftArmPose
private Rotations leftArmPose
-
rightArmPose
private Rotations rightArmPose
-
leftLegPose
private Rotations leftLegPose
-
rightLegPose
private Rotations rightLegPose
-
-
Constructor Detail
-
ArmorStandEntity
public ArmorStandEntity(EntityType<? extends ArmorStandEntity> p_i50225_1_, World p_i50225_2_)
-
ArmorStandEntity
public ArmorStandEntity(World p_i45855_1_, double p_i45855_2_, double p_i45855_4_, double p_i45855_6_)
-
-
Method Detail
-
refreshDimensions
public void refreshDimensions()
- Overrides:
refreshDimensions
in classEntity
-
hasPhysics
private boolean hasPhysics()
-
isEffectiveAi
public boolean isEffectiveAi()
- Overrides:
isEffectiveAi
in classLivingEntity
-
defineSynchedData
protected void defineSynchedData()
- Overrides:
defineSynchedData
in classLivingEntity
-
getHandSlots
public java.lang.Iterable<ItemStack> getHandSlots()
- Overrides:
getHandSlots
in classEntity
-
getArmorSlots
public java.lang.Iterable<ItemStack> getArmorSlots()
- Specified by:
getArmorSlots
in classLivingEntity
-
getItemBySlot
public ItemStack getItemBySlot(EquipmentSlotType p_184582_1_)
- Specified by:
getItemBySlot
in classLivingEntity
-
setItemSlot
public void setItemSlot(EquipmentSlotType p_184201_1_, ItemStack p_184201_2_)
- Specified by:
setItemSlot
in classLivingEntity
-
setSlot
public boolean setSlot(int p_174820_1_, ItemStack p_174820_2_)
-
canTakeItem
public boolean canTakeItem(ItemStack p_213365_1_)
- Overrides:
canTakeItem
in classLivingEntity
-
addAdditionalSaveData
public void addAdditionalSaveData(CompoundNBT p_213281_1_)
- Overrides:
addAdditionalSaveData
in classLivingEntity
-
readAdditionalSaveData
public void readAdditionalSaveData(CompoundNBT p_70037_1_)
- Overrides:
readAdditionalSaveData
in classLivingEntity
-
readPose
private void readPose(CompoundNBT p_175416_1_)
-
writePose
private CompoundNBT writePose()
-
isPushable
public boolean isPushable()
- Overrides:
isPushable
in classLivingEntity
-
doPush
protected void doPush(Entity p_82167_1_)
- Overrides:
doPush
in classLivingEntity
-
pushEntities
protected void pushEntities()
- Overrides:
pushEntities
in classLivingEntity
-
interactAt
public ActionResultType interactAt(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_)
- Overrides:
interactAt
in classEntity
-
getClickedSlot
private EquipmentSlotType getClickedSlot(Vector3d p_190772_1_)
-
isDisabled
private boolean isDisabled(EquipmentSlotType p_184796_1_)
-
swapItem
private boolean swapItem(PlayerEntity p_226529_1_, EquipmentSlotType p_226529_2_, ItemStack p_226529_3_, Hand p_226529_4_)
-
hurt
public boolean hurt(DamageSource p_70097_1_, float p_70097_2_)
- Overrides:
hurt
in classLivingEntity
-
handleEntityEvent
public void handleEntityEvent(byte p_70103_1_)
- Overrides:
handleEntityEvent
in classLivingEntity
-
shouldRenderAtSqrDistance
public boolean shouldRenderAtSqrDistance(double p_70112_1_)
- Overrides:
shouldRenderAtSqrDistance
in classEntity
-
showBreakingParticles
private void showBreakingParticles()
-
causeDamage
private void causeDamage(DamageSource p_213817_1_, float p_213817_2_)
-
brokenByPlayer
private void brokenByPlayer(DamageSource p_213815_1_)
-
brokenByAnything
private void brokenByAnything(DamageSource p_213816_1_)
-
playBrokenSound
private void playBrokenSound()
-
tickHeadTurn
protected float tickHeadTurn(float p_110146_1_, float p_110146_2_)
- Overrides:
tickHeadTurn
in classLivingEntity
-
getStandingEyeHeight
protected float getStandingEyeHeight(Pose p_213348_1_, EntitySize p_213348_2_)
- Overrides:
getStandingEyeHeight
in classLivingEntity
-
getMyRidingOffset
public double getMyRidingOffset()
- Overrides:
getMyRidingOffset
in classEntity
-
travel
public void travel(Vector3d p_213352_1_)
- Overrides:
travel
in classLivingEntity
-
setYBodyRot
public void setYBodyRot(float p_181013_1_)
- Overrides:
setYBodyRot
in classLivingEntity
-
setYHeadRot
public void setYHeadRot(float p_70034_1_)
- 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_82142_1_)
- 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
public PushReaction getPistonPushReaction()
- Overrides:
getPistonPushReaction
in classEntity
-
setSmall
private void setSmall(boolean p_175420_1_)
-
isSmall
public boolean isSmall()
-
setShowArms
private void setShowArms(boolean p_175413_1_)
-
isShowArms
public boolean isShowArms()
-
setNoBasePlate
private void setNoBasePlate(boolean p_175426_1_)
-
isNoBasePlate
public boolean isNoBasePlate()
-
setMarker
private void setMarker(boolean p_181027_1_)
-
isMarker
public boolean isMarker()
-
setBit
private byte setBit(byte p_184797_1_, int p_184797_2_, boolean p_184797_3_)
-
setHeadPose
public void setHeadPose(Rotations p_175415_1_)
-
setBodyPose
public void setBodyPose(Rotations p_175424_1_)
-
setLeftArmPose
public void setLeftArmPose(Rotations p_175405_1_)
-
setRightArmPose
public void setRightArmPose(Rotations p_175428_1_)
-
setLeftLegPose
public void setLeftLegPose(Rotations p_175417_1_)
-
setRightLegPose
public void setRightLegPose(Rotations p_175427_1_)
-
getHeadPose
public Rotations getHeadPose()
-
getBodyPose
public Rotations getBodyPose()
-
getLeftArmPose
public Rotations getLeftArmPose()
-
getRightArmPose
public Rotations getRightArmPose()
-
getLeftLegPose
public Rotations getLeftLegPose()
-
getRightLegPose
public Rotations getRightLegPose()
-
isPickable
public boolean isPickable()
- Overrides:
isPickable
in classLivingEntity
-
skipAttackInteraction
public boolean skipAttackInteraction(Entity p_85031_1_)
- Overrides:
skipAttackInteraction
in classEntity
-
getMainArm
public HandSide getMainArm()
- Specified by:
getMainArm
in classLivingEntity
-
getFallDamageSound
protected SoundEvent getFallDamageSound(int p_184588_1_)
- Overrides:
getFallDamageSound
in classLivingEntity
-
getHurtSound
@Nullable protected SoundEvent getHurtSound(DamageSource p_184601_1_)
- Overrides:
getHurtSound
in classLivingEntity
-
getDeathSound
@Nullable protected SoundEvent getDeathSound()
- Overrides:
getDeathSound
in classLivingEntity
-
thunderHit
public void thunderHit(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_)
- Overrides:
thunderHit
in classEntity
-
isAffectedByPotions
public boolean isAffectedByPotions()
- Overrides:
isAffectedByPotions
in classLivingEntity
-
onSyncedDataUpdated
public void onSyncedDataUpdated(DataParameter<?> p_184206_1_)
- Overrides:
onSyncedDataUpdated
in classLivingEntity
-
attackable
public boolean attackable()
- Overrides:
attackable
in classLivingEntity
-
getDimensions
public EntitySize getDimensions(Pose p_213305_1_)
- Overrides:
getDimensions
in classLivingEntity
-
getDimensionsMarker
private EntitySize getDimensionsMarker(boolean p_242330_1_)
-
getLightProbePosition
public Vector3d getLightProbePosition(float p_241842_1_)
- Overrides:
getLightProbePosition
in classEntity
-
-