Class EntityWaterMob

    • Constructor Detail

      • EntityWaterMob

        public EntityWaterMob​(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 EntityLiving
      • isNotColliding

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

        public int getTalkInterval()
        + Get number of ticks, at least during which the living entity will be silent.
        Overrides:
        getTalkInterval in class EntityLiving
      • canDespawn

        protected boolean canDespawn()
        + Determines if an entity can be despawned, used on idle far away entities
        Overrides:
        canDespawn in class EntityLiving
      • onEntityUpdate

        public void onEntityUpdate()
        + Gets called every tick from main Entity class
        Overrides:
        onEntityUpdate in class EntityLiving