Class EntityWither

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

    public class EntityWither
    extends EntityMob
    implements IBossDisplayData, IRangedAttackMob
    + 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

      • EntityWither

        public EntityWither​(World worldIn)
    • Method Detail

      • 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
      • getLivingSound

        protected java.lang.String getLivingSound()
        + Returns the sound this mob makes while it's alive.
        Overrides:
        getLivingSound in class EntityLiving
      • 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
      • onLivingUpdate

        public void onLivingUpdate()
        + Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
        Overrides:
        onLivingUpdate in class EntityMob
      • func_181033_a

        public static boolean func_181033_a​(Block parBlock)
      • func_82206_m

        public void func_82206_m()
      • setInWeb

        public void setInWeb()
        + Sets the Entity inside a web block.
        Overrides:
        setInWeb in class Entity
      • getTotalArmorValue

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

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

        protected void despawnEntity()
        + Makes the entity despawn if requirements are reached
        Overrides:
        despawnEntity in class EntityLiving
      • func_82207_a

        public float func_82207_a​(int parInt1)
      • func_82210_r

        public float func_82210_r​(int parInt1)
      • getInvulTime

        public int getInvulTime()
      • setInvulTime

        public void setInvulTime​(int parInt1)
      • getWatchedTargetId

        public int getWatchedTargetId​(int parInt1)
        + Returns the target entity ID if present, or -1 if not @param par1 The target offset, should be from 0-2
      • updateWatchedTargetId

        public void updateWatchedTargetId​(int targetOffset,
                                          int newId)
        + Updates the target entity ID
      • isArmored

        public boolean isArmored()
        + Returns whether the wither is armored with its boss armor or not by checking whether its health is below half of its maximum.
      • mountEntity

        public void mountEntity​(Entity var1)
        + Called when a player mounts an entity. e.g. mounts a pig, mounts a boat.
        Overrides:
        mountEntity in class EntityLivingBase