Class EntityArmorStand

  • All Implemented Interfaces:
    org.teavm.jso.JSObject

    public class EntityArmorStand
    extends EntityLivingBase
    + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Constructor Detail

      • EntityArmorStand

        public EntityArmorStand​(World worldIn)
      • EntityArmorStand

        public EntityArmorStand​(World worldIn,
                                double posX,
                                double posY,
                                double posZ)
    • Method Detail

      • isServerWorld

        public boolean isServerWorld()
        + Returns whether the entity is in a server world
        Overrides:
        isServerWorld in class EntityLivingBase
      • setCurrentItemOrArmor

        public void setCurrentItemOrArmor​(int i,
                                          ItemStack itemstack)
        + Sets the held item, or an armor slot. Slot 0 is held item. Slot 1-4 is armor. Params: Item, slot
        Specified by:
        setCurrentItemOrArmor in class EntityLivingBase
      • canBePushed

        public boolean canBePushed()
        + Returns true if this entity should push and be pushed by other entities when colliding.
        Overrides:
        canBePushed in class EntityLivingBase
      • interactAt

        public boolean interactAt​(EntityPlayer entityplayer,
                                  Vec3 vec3)
        + New version of interactWith that includes vector information on where precisely the player targeted.
        Overrides:
        interactAt in class Entity
      • isInRangeToRenderDist

        public boolean isInRangeToRenderDist​(double d0)
        + Checks if the entity is in range to render by using the past in distance and comparing it to its average edge length * 64 * renderDistanceWeight Args: distance
        Overrides:
        isInRangeToRenderDist in class Entity
      • moveEntityWithHeading

        public void moveEntityWithHeading​(float f,
                                          float f1)
        + Moves the entity based on the specified heading. Args: strafe, forward
        Overrides:
        moveEntityWithHeading in class EntityLivingBase
      • onUpdate

        public void onUpdate()
        + Called to update the entity's position/logic.
        Overrides:
        onUpdate in class EntityLivingBase
      • updatePotionMetadata

        protected void updatePotionMetadata()
        + Clears potion metadata values if the entity has no potion effects. Otherwise, updates potion effect color, ambience, and invisibility metadata values
        Overrides:
        updatePotionMetadata in class EntityLivingBase
      • setInvisible

        public void setInvisible​(boolean flag)
        Overrides:
        setInvisible in class Entity
      • isChild

        public boolean isChild()
        + If Animal, checks if the age timer is negative
        Overrides:
        isChild in class EntityLivingBase
      • isSmall

        public boolean isSmall()
      • hasNoGravity

        public boolean hasNoGravity()
      • getShowArms

        public boolean getShowArms()
      • hasNoBasePlate

        public boolean hasNoBasePlate()
      • func_181026_s

        public boolean func_181026_s()
      • setHeadRotation

        public void setHeadRotation​(Rotations parRotations)
      • setBodyRotation

        public void setBodyRotation​(Rotations parRotations)
      • setLeftArmRotation

        public void setLeftArmRotation​(Rotations parRotations)
      • setRightArmRotation

        public void setRightArmRotation​(Rotations parRotations)
      • setLeftLegRotation

        public void setLeftLegRotation​(Rotations parRotations)
      • setRightLegRotation

        public void setRightLegRotation​(Rotations parRotations)
      • getHeadRotation

        public Rotations getHeadRotation()
      • getBodyRotation

        public Rotations getBodyRotation()
      • getLeftArmRotation

        public Rotations getLeftArmRotation()
      • getRightArmRotation

        public Rotations getRightArmRotation()
      • getLeftLegRotation

        public Rotations getLeftLegRotation()
      • getRightLegRotation

        public Rotations getRightLegRotation()
      • canBeCollidedWith

        public boolean canBeCollidedWith()
        + Returns true if other Entities should be prevented from moving through this Entity.
        Overrides:
        canBeCollidedWith in class EntityLivingBase