Class EntityCreeper

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

    public class EntityCreeper
    extends EntityMob
    + 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

      • EntityCreeper

        public EntityCreeper​(World worldIn)
    • Method Detail

      • getMaxFallHeight

        public int getMaxFallHeight()
        + The maximum height from where the entity is alowed to jump (used in pathfinder)
        Overrides:
        getMaxFallHeight in class EntityLiving
      • writeEntityToNBT

        public void writeEntityToNBT​(NBTTagCompound nbttagcompound)
        + (abstract) Protected helper method to write subclass entity data to NBT.
        Overrides:
        writeEntityToNBT in class EntityLiving
      • readEntityFromNBT

        public void readEntityFromNBT​(NBTTagCompound nbttagcompound)
        + (abstract) Protected helper method to read subclass entity data from NBT.
        Overrides:
        readEntityFromNBT in class EntityLiving
      • onUpdate

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

        protected java.lang.String getHurtSound()
        + Returns the sound this mob makes when it is hurt.
        Overrides:
        getHurtSound in class EntityMob
      • getDeathSound

        protected java.lang.String getDeathSound()
        + Returns the sound this mob makes on death.
        Overrides:
        getDeathSound in class EntityMob
      • getPowered

        public boolean getPowered()
        + Returns true if the creeper is powered by a lightning bolt.
      • getCreeperFlashIntensity

        public float getCreeperFlashIntensity​(float parFloat1)
        + Params: (Float)Render tick. Returns the intensity of the creeper's flash when it is ignited.
      • getCreeperState

        public int getCreeperState()
        + Returns the current state of creeper, -1 is idle, 1 is 'in fuse'
      • setCreeperState

        public void setCreeperState​(int state)
        + Sets the state of creeper, -1 to idle and 1 to be 'in fuse'
      • interact

        protected boolean interact​(EntityPlayer entityplayer)
        + Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.
        Overrides:
        interact in class EntityLiving
      • hasIgnited

        public boolean hasIgnited()
      • ignite

        public void ignite()
      • isAIEnabled

        public boolean isAIEnabled()
        + Returns true if the newer Entity AI code should be run
      • func_175493_co

        public void func_175493_co()