Class EntitySpider

  • All Implemented Interfaces:
    IMob, IAnimals, org.teavm.jso.JSObject
    Direct Known Subclasses:
    EntityCaveSpider

    public class EntitySpider
    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

      • EntitySpider

        public EntitySpider​(World worldIn)
    • Method Detail

      • getMountedYOffset

        public double getMountedYOffset()
        + Returns the Y offset from the entity's position for any entity riding this one.
        Overrides:
        getMountedYOffset in class Entity
      • 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
      • dropFewItems

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

        public boolean isOnLadder()
        + returns true if this entity is by a ladder, false otherwise
        Overrides:
        isOnLadder in class EntityLivingBase
      • setInWeb

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

        public boolean isBesideClimbableBlock()
        + Returns true if the WatchableObject (Byte) is 0x01 otherwise returns false. The WatchableObject is updated using setBesideClimableBlock.
      • setBesideClimbableBlock

        public void setBesideClimbableBlock​(boolean parFlag)
        + Updates the WatchableObject (Byte) created in entityInit(), setting it to 0x01 if par1 is true or 0x00 if it is false.
      • onInitialSpawn

        public IEntityLivingData onInitialSpawn​(DifficultyInstance difficultyinstance,
                                                IEntityLivingData ientitylivingdata)
        + Called only once on an entity when first time spawned, via egg, mob spawner, natural spawning etc, but not called when entity is reloaded from nbt. Mainly used for initializing attributes and inventory
        Overrides:
        onInitialSpawn in class EntityLiving