public class ArmorStandEntity extends LivingEntity
Modifier and Type | Field and Description |
---|---|
static DataParameter<Rotations> |
BODY_ROTATION |
static DataParameter<Rotations> |
HEAD_ROTATION |
static DataParameter<Rotations> |
LEFT_ARM_ROTATION |
static DataParameter<Rotations> |
LEFT_LEG_ROTATION |
long |
punchCooldown |
static DataParameter<Rotations> |
RIGHT_ARM_ROTATION |
static DataParameter<Rotations> |
RIGHT_LEG_ROTATION |
static DataParameter<java.lang.Byte> |
STATUS |
activeItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, 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, randomYawVelocity, 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, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, world
field_213139_a_
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, canAttack, canAttack, canBeRiddenInWater, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, clearBedPosition, createBrain, createSpawnPacket, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, determineNextAir, dismountEntity, dropInventory, dropLoot, dropSpecialItems, fall, findAmmo, frostWalk, func_213314_bj, func_213343_cS, func_213344_a, func_213346_cF, func_213363_a, func_213371_e, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributes, getBedDirection, getBedPosition, getBlockState, getBrain, getCapability, getCombatTracker, getCreatureAttribute, getDrinkSound, getEatSound, getExperiencePoints, getEyeHeight, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getMaxHealth, getRenderScale, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getVisibilityMultiplier, getWaterSlowDown, getYaw, handleFluidJump, handleFluidSneak, hasItemInSlot, heal, isActiveItemStackBlocking, isAlive, isElytraFlying, isEntityInsideOpaqueBlock, isEntityUndead, isHandActive, isMovementBlocked, isOnLadder, isPlayer, isPotionActive, isPotionApplicable, isSleeping, isSpinAttacking, jump, knockBack, livingTick, lookAt, markPotionsDirty, markVelocityChanged, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onFoodEaten, onItemPickup, onItemUseFinish, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, playHurtSound, registerAttributes, remove, removeActivePotionEffect, removePotionEffect, resetActiveHand, resetPotionEffectMetadata, sendBreakAnimation, sendBreakAnimation, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setAIMoveSpeed, setArrowCountInEntity, setBedPosition, setHeadRotation, setHealth, setHeldItem, setIdleTime, setJumping, setLastAttackedEntity, setLivingFlag, setPartying, setPositionAndRotationDirect, setRevengeTarget, setSprinting, shouldRiderFaceForward, spawnDrops, spinAttack, startSleeping, startSpinAttack, stopActiveHand, stopRiding, swingArm, updateArmSwingProgress, updateEntityActionState, updateFallState, updateItemUse, updatePotionEffects, updateRidden, updateSpinAttack, wakeUp
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, areEyesInFluid, areEyesInFluid, awardKillScore, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canTriggerWalking, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, detach, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, func_213286_i, func_213296_b, func_213300_bk, func_213312_b, func_213320_d, func_213324_a, func_223307_a, func_223308_g, func_223310_a, func_223314_ad, getAbsoluteMotion, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getBoundingBox, getBoundingBox, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFlag, getForward, getHeight, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionVec, getPositionVector, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getScoreboardName, getServer, getSoundCategory, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeleportDirection, getType, getUniqueID, getVectorForRotation, getWidth, handleFluidAcceleration, handlePistonMovement, handleSneakMovement, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCustomNameVisible, 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, isSwimming, isWet, makeFlySound, move, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillEntity, onRemovedFromWorld, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, read, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFlag, setGlowing, setInLava, setInvulnerable, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldRenderSneaking, 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
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
public long punchCooldown
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
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 func_213365_e(ItemStack p_213365_1_)
func_213365_e
in class LivingEntity
public void writeAdditional(CompoundNBT compound)
writeAdditional
in class LivingEntity
public void readAdditional(CompoundNBT compound)
readAdditional
in class LivingEntity
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
protected EquipmentSlotType getClickedSlot(Vec3d p_190772_1_)
public boolean isDisabled(EquipmentSlotType slotIn)
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
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
public boolean isSmall()
public boolean getShowArms()
public boolean hasNoBasePlate()
public boolean hasMarker()
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 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