Class EntitySquid

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

    public class EntitySquid
    extends EntityWaterMob
    + 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)
    • Field Detail

      • squidPitch

        public float squidPitch
      • prevSquidPitch

        public float prevSquidPitch
      • squidYaw

        public float squidYaw
      • prevSquidYaw

        public float prevSquidYaw
      • squidRotation

        public float squidRotation
      • prevSquidRotation

        public float prevSquidRotation
      • tentacleAngle

        public float tentacleAngle
      • lastTentacleAngle

        public float lastTentacleAngle
    • Constructor Detail

      • EntitySquid

        public EntitySquid​(World worldIn)
    • Method Detail

      • 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 EntityLivingBase
      • getDeathSound

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

        protected float getSoundVolume()
        + Returns the volume for the sounds this mob makes.
        Overrides:
        getSoundVolume in class EntityLivingBase
      • canTriggerWalking

        protected boolean canTriggerWalking()
        + returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to prevent them from trampling crops
        Overrides:
        canTriggerWalking 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
      • isInWater

        public boolean isInWater()
        + Checks if this entity is inside water (if inWater field is true as a result of handleWaterMovement() returning true)
        Overrides:
        isInWater in class Entity
      • 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 EntityLivingBase
      • moveEntityWithHeading

        public void moveEntityWithHeading​(float var1,
                                          float var2)
        + Moves the entity based on the specified heading. Args: strafe, forward
        Overrides:
        moveEntityWithHeading in class EntityLivingBase
      • getCanSpawnHere

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

        public void func_175568_b​(float randomMotionVecXIn,
                                  float randomMotionVecYIn,
                                  float randomMotionVecZIn)
      • func_175567_n

        public boolean func_175567_n()