public class ArmorStandEntity extends LivingEntity
Entity.IMoveCallback
activeItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, beeStingRemovalCooldown, brain, dead, deathTime, ENTITY_GRAVITY, hurtTime, idleTime, interpTargetHeadYaw, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, interpTicksHead, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, NAMETAG_DISTANCE, newPosRotationIncrements, onGroundSpeedFactor, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, SLEEPING_SIZE, spinAttackDuration, SWIM_SPEED, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180
addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inLava, inPortal, inWater, isAirBorne, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, world
DUMMY
Constructor and Description |
---|
ArmorStandEntity(EntityType<? extends ArmorStandEntity> p_i50225_1_,
World p_i50225_2_) |
ArmorStandEntity(World worldIn,
double posX,
double posY,
double posZ) |
addPotionEffect, applyArmorCalculations, applyEntityCollision, applyPotionDamageCalculations, areAllPotionsAmbient, attackEntityAsMob, attemptTeleport, baseTick, blockUsingShield, calculateFallDamage, canAttack, canAttack, canAttack, canBeRiddenInWater, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, clearBedPosition, constructKnockBackVector, createBrain, createSpawnPacket, createWitherRose, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, determineNextAir, dropExperience, dropInventory, dropLoot, dropSpecialItems, findAmmo, frostWalk, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorCoverPercentage, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributes, getBedDirection, getBedPosition, getBeeStingCount, getBlockState, getBrain, getCapability, getCombatTracker, getCreatureAttribute, getDrinkSound, getEatSound, getExperiencePoints, getEyeHeight, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getLootContextBuilder, getLootTableResourceLocation, getMaxHealth, getRenderScale, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getVisibilityMultiplier, getWaterSlowDown, getYaw, handleFluidJump, handleFluidSneak, hasItemInSlot, heal, isActiveItemStackBlocking, isActualySwimming, isAlive, isElytraFlying, isEntityInsideOpaqueBlock, isEntityUndead, isHandActive, isMovementBlocked, isOnLadder, isPlayer, isPotionActive, isPotionApplicable, isSleeping, isSpinAttacking, isSuppressingSlidingDownLadder, jump, knockBack, livingTick, lookAt, markPotionsDirty, markVelocityChanged, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onFoodEaten, onItemPickup, onItemUseFinish, onLivingFall, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, playFallSound, playHurtSound, registerAttributes, remove, removeActivePotionEffect, removePotionEffect, resetActiveHand, resetPotionEffectMetadata, sendBreakAnimation, sendBreakAnimation, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setAIMoveSpeed, setArrowCountInEntity, setBedPosition, setBeeStingCount, setHeadRotation, setHealth, setHeldItem, setIdleTime, setJumping, setLastAttackedEntity, setLivingFlag, setPartying, setPositionAndRotationDirect, setRevengeTarget, setSprinting, shouldRiderFaceForward, spawnDrops, spinAttack, startSleeping, startSpinAttack, stopActiveHand, stopRiding, swing, swingArm, triggerItemUseEffects, updateArmSwingProgress, updateEntityActionState, updateFallState, updatePotionEffects, updateRidden, updateSpinAttack, wakeUp
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, areEyesInFluid, areEyesInFluid, awardKillScore, calculateUpVector, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canTriggerWalking, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkDespawn, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, detach, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceSetPosition, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPositionVector, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getProfessionName, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getScoreboardName, getSelfAndPassengers, getServer, getSoundCategory, getSpeedFactor, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeamColor, getTeleportDirection, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, handleFluidAcceleration, handlePistonMovement, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, horizontalMag, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isGlowing, isImmuneToFire, isInLava, isInRangeToRender3d, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, makeFlySound, maybeBackOffFromEdge, move, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillEntity, onRemovedFromWorld, pick, playFlySound, playSound, playStepSound, playSwimSound, positionRider, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, read, recenterBoundingBox, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, repositionDirectPassengers, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFireTimer, setFlag, setGlowing, setInLava, setInvulnerable, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRawPosition, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, teleportKeepLoaded, toString, updatePassenger, updatePortal, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeId
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSit
getCapability
private static final Rotations DEFAULT_HEAD_ROTATION
private static final Rotations DEFAULT_BODY_ROTATION
private static final Rotations DEFAULT_LEFTARM_ROTATION
private static final Rotations DEFAULT_RIGHTARM_ROTATION
private static final Rotations DEFAULT_LEFTLEG_ROTATION
private static final Rotations DEFAULT_RIGHTLEG_ROTATION
public static final DataParameter<java.lang.Byte> STATUS
public static final DataParameter<Rotations> HEAD_ROTATION
public static final DataParameter<Rotations> BODY_ROTATION
public static final DataParameter<Rotations> LEFT_ARM_ROTATION
public static final DataParameter<Rotations> RIGHT_ARM_ROTATION
public static final DataParameter<Rotations> LEFT_LEG_ROTATION
public static final DataParameter<Rotations> RIGHT_LEG_ROTATION
private static final java.util.function.Predicate<Entity> IS_RIDEABLE_MINECART
private final NonNullList<ItemStack> handItems
private final NonNullList<ItemStack> armorItems
private boolean canInteract
public long punchCooldown
private int disabledSlots
private Rotations headRotation
private Rotations bodyRotation
private Rotations leftArmRotation
private Rotations rightArmRotation
private Rotations leftLegRotation
private Rotations rightLegRotation
public ArmorStandEntity(EntityType<? extends ArmorStandEntity> p_i50225_1_, World p_i50225_2_)
public ArmorStandEntity(World worldIn, double posX, double posY, double posZ)
public void recalculateSize()
recalculateSize
in class Entity
private boolean func_213814_A()
public boolean isServerWorld()
isServerWorld
in class LivingEntity
protected void registerData()
registerData
in class LivingEntity
public java.lang.Iterable<ItemStack> getHeldEquipment()
getHeldEquipment
in class Entity
public java.lang.Iterable<ItemStack> getArmorInventoryList()
getArmorInventoryList
in class LivingEntity
public ItemStack getItemStackFromSlot(EquipmentSlotType slotIn)
getItemStackFromSlot
in class LivingEntity
public void setItemStackToSlot(EquipmentSlotType slotIn, ItemStack stack)
setItemStackToSlot
in class LivingEntity
public boolean replaceItemInInventory(int inventorySlot, ItemStack itemStackIn)
replaceItemInInventory
in class Entity
public boolean canPickUpItem(ItemStack itemstackIn)
canPickUpItem
in class LivingEntity
public void writeAdditional(CompoundNBT compound)
writeAdditional
in class LivingEntity
public void readAdditional(CompoundNBT compound)
readAdditional
in class LivingEntity
private void readPose(CompoundNBT tagCompound)
private CompoundNBT writePose()
public boolean canBePushed()
canBePushed
in class LivingEntity
protected void collideWithEntity(Entity entityIn)
collideWithEntity
in class LivingEntity
protected void collideWithNearbyEntities()
collideWithNearbyEntities
in class LivingEntity
public ActionResultType applyPlayerInteraction(PlayerEntity player, Vec3d vec, Hand hand)
applyPlayerInteraction
in class Entity
private EquipmentSlotType getClickedSlot(Vec3d p_190772_1_)
private boolean isDisabled(EquipmentSlotType slotIn)
private boolean func_226529_a_(PlayerEntity p_226529_1_, EquipmentSlotType p_226529_2_, ItemStack p_226529_3_, Hand p_226529_4_)
public boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom
in class LivingEntity
public void handleStatusUpdate(byte id)
handleStatusUpdate
in class LivingEntity
public boolean isInRangeToRenderDist(double distance)
isInRangeToRenderDist
in class Entity
private void playParticles()
private void func_213817_e(DamageSource p_213817_1_, float p_213817_2_)
private void func_213815_f(DamageSource p_213815_1_)
private void func_213816_g(DamageSource p_213816_1_)
private void playBrokenSound()
protected float updateDistance(float p_110146_1_, float p_110146_2_)
updateDistance
in class LivingEntity
protected float getStandingEyeHeight(Pose poseIn, EntitySize sizeIn)
getStandingEyeHeight
in class LivingEntity
public double getYOffset()
getYOffset
in class Entity
public void travel(Vec3d p_213352_1_)
travel
in class LivingEntity
public void setRenderYawOffset(float offset)
setRenderYawOffset
in class LivingEntity
public void setRotationYawHead(float rotation)
setRotationYawHead
in class LivingEntity
public void tick()
tick
in class LivingEntity
protected void updatePotionMetadata()
updatePotionMetadata
in class LivingEntity
public void setInvisible(boolean invisible)
setInvisible
in class Entity
public boolean isChild()
isChild
in class LivingEntity
public void onKillCommand()
onKillCommand
in class LivingEntity
public boolean isImmuneToExplosions()
isImmuneToExplosions
in class Entity
public PushReaction getPushReaction()
getPushReaction
in class Entity
private void setSmall(boolean small)
public boolean isSmall()
private void setShowArms(boolean showArms)
public boolean getShowArms()
private void setNoBasePlate(boolean noBasePlate)
public boolean hasNoBasePlate()
private void setMarker(boolean marker)
public boolean hasMarker()
private byte setBit(byte p_184797_1_, int p_184797_2_, boolean p_184797_3_)
public void setHeadRotation(Rotations vec)
public void setBodyRotation(Rotations vec)
public void setLeftArmRotation(Rotations vec)
public void setRightArmRotation(Rotations vec)
public void setLeftLegRotation(Rotations vec)
public void setRightLegRotation(Rotations vec)
public Rotations getHeadRotation()
public Rotations getBodyRotation()
public Rotations getLeftArmRotation()
public Rotations getRightArmRotation()
public Rotations getLeftLegRotation()
public Rotations getRightLegRotation()
public boolean canBeCollidedWith()
canBeCollidedWith
in class LivingEntity
public boolean hitByEntity(Entity entityIn)
hitByEntity
in class Entity
public HandSide getPrimaryHand()
getPrimaryHand
in class LivingEntity
protected SoundEvent getFallSound(int heightIn)
getFallSound
in class LivingEntity
@Nullable protected SoundEvent getHurtSound(DamageSource damageSourceIn)
getHurtSound
in class LivingEntity
@Nullable protected SoundEvent getDeathSound()
getDeathSound
in class LivingEntity
public void onStruckByLightning(LightningBoltEntity lightningBolt)
onStruckByLightning
in class Entity
public boolean canBeHitWithPotion()
canBeHitWithPotion
in class LivingEntity
public void notifyDataManagerChange(DataParameter<?> key)
notifyDataManagerChange
in class LivingEntity
public boolean attackable()
attackable
in class LivingEntity
public EntitySize getSize(Pose poseIn)
getSize
in class LivingEntity