Class SchoolingFishEntity

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

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

    • leader

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

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

    • SchoolingFishEntity

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

    • initGoals

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

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

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

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

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

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

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

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

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

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

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbfh;l()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • hasOtherFishInGroup

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

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

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

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

      @Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfz;a(Lcmx;Lbdw;Lbgb;Lbgr;Lre;)Lbgr;
      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_2487;)Lnet/minecraft/class_1315;
      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/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;