Class EntityItemFrame

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

    public class EntityItemFrame
    extends EntityHanging
    + 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

      • EntityItemFrame

        public EntityItemFrame​(World worldIn)
    • Method Detail

      • attackEntityFrom

        public boolean attackEntityFrom​(DamageSource damagesource,
                                        float f)
        + Called when the entity is attacked.
        Overrides:
        attackEntityFrom 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
      • onBroken

        public void onBroken​(Entity entity)
        + Called when this entity is broken. Entity parameter may be null.
        Specified by:
        onBroken in class EntityHanging
      • dropItemOrSelf

        public void dropItemOrSelf​(Entity parEntity,
                                   boolean parFlag)
      • getDisplayedItem

        public ItemStack getDisplayedItem()
      • setDisplayedItem

        public void setDisplayedItem​(ItemStack parItemStack)
      • getRotation

        public int getRotation()
        + Return the rotation of the item currently on this frame.
      • setItemRotation

        public void setItemRotation​(int parInt1)
      • interactFirst

        public boolean interactFirst​(EntityPlayer entityplayer)
        + First layer of player interaction
        Overrides:
        interactFirst in class Entity
      • func_174866_q

        public int func_174866_q()