Class EntityMagmaCube

  • All Implemented Interfaces:
    IMob, IAnimals, org.teavm.jso.JSObject

    public class EntityMagmaCube
    extends EntitySlime
    + 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

      • EntityMagmaCube

        public EntityMagmaCube​(World worldIn)
    • Method Detail

      • getCanSpawnHere

        public boolean getCanSpawnHere()
        + Checks if the entity's current position is a valid location to spawn this entity.
        Overrides:
        getCanSpawnHere in class EntitySlime
      • isNotColliding

        public boolean isNotColliding()
        + Checks that the entity is not colliding with any blocks / liquids
        Overrides:
        isNotColliding in class EntityLiving
      • getTotalArmorValue

        public int getTotalArmorValue()
        + Returns the current armor value as determined by a call to InventoryPlayer.getTotalArmorValue
        Overrides:
        getTotalArmorValue in class EntityLivingBase
      • getBrightness

        public float getBrightness​(float var1)
        + Gets how bright this entity is.
        Overrides:
        getBrightness in class Entity
      • dropFewItems

        protected void dropFewItems​(boolean var1,
                                    int i)
        + Drop 0-2 items of this living's type
        Overrides:
        dropFewItems in class EntityLiving
      • isBurning

        public boolean isBurning()
        + Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
        Overrides:
        isBurning in class Entity
      • getJumpDelay

        protected int getJumpDelay()
        + Gets the amount of time the slime needs to wait between jumps.
        Overrides:
        getJumpDelay in class EntitySlime
      • jump

        protected void jump()
        + Causes this entity to do an upwards motion (jumping).
        Overrides:
        jump in class EntitySlime
      • canDamagePlayer

        protected boolean canDamagePlayer()
        + Indicates weather the slime is able to damage the player (based upon the slime's size)
        Overrides:
        canDamagePlayer in class EntitySlime
      • getAttackStrength

        protected int getAttackStrength()
        + Gets the amount of damage dealt to the player when "attacked" by the slime.
        Overrides:
        getAttackStrength in class EntitySlime
      • getJumpSound

        protected java.lang.String getJumpSound()
        + Returns the name of the sound played when the slime jumps.
        Overrides:
        getJumpSound in class EntitySlime
      • makesSoundOnLand

        protected boolean makesSoundOnLand()
        + Returns true if the slime makes a sound when it lands after a jump (based upon the slime's size)
        Overrides:
        makesSoundOnLand in class EntitySlime