Class SchoolingFishEntity

All Implemented Interfaces:
Attackable, Bucketable, DataTracked, EquipmentHolder, Targeter, ScoreHolder, CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
CodEntity, SalmonEntity, TropicalFishEntity

public abstract class SchoolingFishEntity extends FishEntity
Mappings:
Namespace Name
named net/minecraft/entity/passive/SchoolingFishEntity
intermediary net/minecraft/class_1425
official cer
  • Field Details

    • leader

      Mappings:
      Namespace Name Mixin selector
      named leader Lnet/minecraft/entity/passive/SchoolingFishEntity;leader:Lnet/minecraft/entity/passive/SchoolingFishEntity;
      intermediary field_6734 Lnet/minecraft/class_1425;field_6734:Lnet/minecraft/class_1425;
      official b Lcer;b:Lcer;
    • groupSize

      private int groupSize
      Mappings:
      Namespace Name Mixin selector
      named groupSize Lnet/minecraft/entity/passive/SchoolingFishEntity;groupSize:I
      intermediary field_6733 Lnet/minecraft/class_1425;field_6733:I
      official c Lcer;c:I
  • Constructor Details

    • SchoolingFishEntity

      public SchoolingFishEntity(EntityType<? extends SchoolingFishEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbsh;<init>(Lbsn;Ldcg;)V
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      official z Lbte;z()V
    • getLimitPerChunk

      public int getLimitPerChunk()
      Overrides:
      getLimitPerChunk in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      named getLimitPerChunk Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
      intermediary method_5945 Lnet/minecraft/class_1308;method_5945()I
      official af Lbte;af()I
    • getMaxGroupSize

      public int getMaxGroupSize()
      Mappings:
      Namespace Name Mixin selector
      named getMaxGroupSize Lnet/minecraft/entity/passive/SchoolingFishEntity;getMaxGroupSize()I
      intermediary method_6465 Lnet/minecraft/class_1425;method_6465()I
      official gp Lcer;gp()I
    • hasSelfControl

      protected boolean hasSelfControl()
      Overrides:
      hasSelfControl in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      named hasSelfControl Lnet/minecraft/entity/passive/FishEntity;hasSelfControl()Z
      intermediary method_6456 Lnet/minecraft/class_1422;method_6456()Z
      official gn Lcep;gn()Z
    • hasLeader

      public boolean hasLeader()
      Mappings:
      Namespace Name Mixin selector
      named hasLeader Lnet/minecraft/entity/passive/SchoolingFishEntity;hasLeader()Z
      intermediary method_6470 Lnet/minecraft/class_1425;method_6470()Z
      official gq Lcer;gq()Z
    • joinGroupOf

      public SchoolingFishEntity joinGroupOf(SchoolingFishEntity groupLeader)
      Mappings:
      Namespace Name Mixin selector
      named joinGroupOf Lnet/minecraft/entity/passive/SchoolingFishEntity;joinGroupOf(Lnet/minecraft/entity/passive/SchoolingFishEntity;)Lnet/minecraft/entity/passive/SchoolingFishEntity;
      intermediary method_6461 Lnet/minecraft/class_1425;method_6461(Lnet/minecraft/class_1425;)Lnet/minecraft/class_1425;
      official a Lcer;a(Lcer;)Lcer;
    • leaveGroup

      public void leaveGroup()
      Mappings:
      Namespace Name Mixin selector
      named leaveGroup Lnet/minecraft/entity/passive/SchoolingFishEntity;leaveGroup()V
      intermediary method_6466 Lnet/minecraft/class_1425;method_6466()V
      official gr Lcer;gr()V
    • increaseGroupSize

      private void increaseGroupSize()
      Mappings:
      Namespace Name Mixin selector
      named increaseGroupSize Lnet/minecraft/entity/passive/SchoolingFishEntity;increaseGroupSize()V
      intermediary method_6462 Lnet/minecraft/class_1425;method_6462()V
      official gw Lcer;gw()V
    • decreaseGroupSize

      private void decreaseGroupSize()
      Mappings:
      Namespace Name Mixin selector
      named decreaseGroupSize Lnet/minecraft/entity/passive/SchoolingFishEntity;decreaseGroupSize()V
      intermediary method_6459 Lnet/minecraft/class_1425;method_6459()V
      official gx Lcer;gx()V
    • canHaveMoreFishInGroup

      public boolean canHaveMoreFishInGroup()
      Mappings:
      Namespace Name Mixin selector
      named canHaveMoreFishInGroup Lnet/minecraft/entity/passive/SchoolingFishEntity;canHaveMoreFishInGroup()Z
      intermediary method_6469 Lnet/minecraft/class_1425;method_6469()Z
      official gs Lcer;gs()Z
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to WaterCreatureEntity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official l Lbsh;l()V
    • hasOtherFishInGroup

      public boolean hasOtherFishInGroup()
      Mappings:
      Namespace Name Mixin selector
      named hasOtherFishInGroup Lnet/minecraft/entity/passive/SchoolingFishEntity;hasOtherFishInGroup()Z
      intermediary method_6467 Lnet/minecraft/class_1425;method_6467()Z
      official gt Lcer;gt()Z
    • isCloseEnoughToLeader

      public boolean isCloseEnoughToLeader()
      Mappings:
      Namespace Name Mixin selector
      named isCloseEnoughToLeader Lnet/minecraft/entity/passive/SchoolingFishEntity;isCloseEnoughToLeader()Z
      intermediary method_6464 Lnet/minecraft/class_1425;method_6464()Z
      official gu Lcer;gu()Z
    • moveTowardLeader

      public void moveTowardLeader()
      Mappings:
      Namespace Name Mixin selector
      named moveTowardLeader Lnet/minecraft/entity/passive/SchoolingFishEntity;moveTowardLeader()V
      intermediary method_6463 Lnet/minecraft/class_1425;method_6463()V
      official gv Lcer;gv()V
    • pullInOtherFish

      public void pullInOtherFish(Stream<? extends SchoolingFishEntity> fish)
      Mappings:
      Namespace Name Mixin selector
      named pullInOtherFish Lnet/minecraft/entity/passive/SchoolingFishEntity;pullInOtherFish(Ljava/util/stream/Stream;)V
      intermediary method_6468 Lnet/minecraft/class_1425;method_6468(Ljava/util/stream/Stream;)V
      official a Lcer;a(Ljava/util/stream/Stream;)V
    • initialize

      @Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
      intermediary method_5943 Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;)Lnet/minecraft/class_1315;
      official a Lbte;a(Ldcv;Lbqf;Lbtg;Lbtv;)Lbtv;