Class FishEntity

All Implemented Interfaces:
Bucketable, CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
PufferfishEntity, SchoolingFishEntity

public abstract class FishEntity extends WaterCreatureEntity implements Bucketable
Mappings:
Namespace Name
official bdu
intermediary net/minecraft/class_1422
named net/minecraft/entity/passive/FishEntity
  • Field Details

    • FROM_BUCKET

      private static final TrackedData<Boolean> FROM_BUCKET
      Mappings:
      Namespace Name Mixin selector
      official b Lbdu;b:Lwf;
      intermediary field_6730 Lnet/minecraft/class_1422;field_6730:Lnet/minecraft/class_2940;
      named FROM_BUCKET Lnet/minecraft/entity/passive/FishEntity;FROM_BUCKET:Lnet/minecraft/entity/data/TrackedData;
  • Constructor Details

    • FishEntity

      public FishEntity(EntityType<? extends FishEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Latf;<init>(Latj;Lbwp;)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

    • getActiveEyeHeight

      protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Latt;b(Lauf;Latg;)F
      intermediary method_18394 Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
      named getActiveEyeHeight Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
    • createFishAttributes

      public static DefaultAttributeContainer.Builder createFishAttributes()
      Mappings:
      Namespace Name Mixin selector
      official n Lbdu;n()Laut$a;
      intermediary method_26879 Lnet/minecraft/class_1422;method_26879()Lnet/minecraft/class_5132$class_5133;
      named createFishAttributes Lnet/minecraft/entity/passive/FishEntity;createFishAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • cannotDespawn

      public boolean cannotDespawn()
      Overrides:
      cannotDespawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official O Latv;O()Z
      intermediary method_17326 Lnet/minecraft/class_1308;method_17326()Z
      named cannotDespawn Lnet/minecraft/entity/mob/MobEntity;cannotDespawn()Z
    • canSpawn

      public static boolean canSpawn(EntityType<? extends FishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official b Lbdu;b(Latj;Lbwq;Latx;Lgg;Ljava/util/Random;)Z
      intermediary method_20662 Lnet/minecraft/class_1422;method_20662(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
      named canSpawn Lnet/minecraft/entity/passive/FishEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
    • canImmediatelyDespawn

      public boolean canImmediatelyDespawn(double distanceSquared)
      Overrides:
      canImmediatelyDespawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official h Latv;h(D)Z
      intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
    • getLimitPerChunk

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

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Latf;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • isFromBucket

      public boolean isFromBucket()
      Specified by:
      isFromBucket in interface Bucketable
      Mappings:
      Namespace Name Mixin selector
      official p Lbdz;p()Z
      intermediary method_6453 Lnet/minecraft/class_5761;method_6453()Z
      named isFromBucket Lnet/minecraft/entity/Bucketable;isFromBucket()Z
    • setFromBucket

      public void setFromBucket(boolean fromBucket)
      Specified by:
      setFromBucket in interface Bucketable
      Mappings:
      Namespace Name Mixin selector
      official v Lbdz;v(Z)V
      intermediary method_6454 Lnet/minecraft/class_5761;method_6454(Z)V
      named setFromBucket Lnet/minecraft/entity/Bucketable;setFromBucket(Z)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Latf;b(Lna;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lna;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • initGoals

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

      protected EntityNavigation createNavigation(World world)
      Overrides:
      createNavigation in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbwp;)Lbbz;
      intermediary method_5965 Lnet/minecraft/class_1308;method_5965(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1408;
      named createNavigation Lnet/minecraft/entity/mob/MobEntity;createNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/pathing/EntityNavigation;
    • travel

      public void travel(Vec3d movementInput)
      Overrides:
      travel in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official g Latt;g(Ldna;)V
      intermediary method_6091 Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
      named travel Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official u_ Latt;u_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • interactMob

      protected ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Latv;b(Lbkd;Larz;)Lasa;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • copyDataToStack

      public void copyDataToStack(ItemStack stack)
      Specified by:
      copyDataToStack in interface Bucketable
      Mappings:
      Namespace Name Mixin selector
      official l Lbdz;l(Lbqp;)V
      intermediary method_6455 Lnet/minecraft/class_5761;method_6455(Lnet/minecraft/class_1799;)V
      named copyDataToStack Lnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/item/ItemStack;)V
    • copyDataFromNbt

      public void copyDataFromNbt(NbtCompound nbt)
      Specified by:
      copyDataFromNbt in interface Bucketable
      Mappings:
      Namespace Name Mixin selector
      official c Lbdz;c(Lna;)V
      intermediary method_35170 Lnet/minecraft/class_5761;method_35170(Lnet/minecraft/class_2487;)V
      named copyDataFromNbt Lnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getBucketedSound

      public SoundEvent getBucketedSound()
      Specified by:
      getBucketedSound in interface Bucketable
      Mappings:
      Namespace Name Mixin selector
      official t Lbdz;t()Lafd;
      intermediary method_35171 Lnet/minecraft/class_5761;method_35171()Lnet/minecraft/class_3414;
      named getBucketedSound Lnet/minecraft/entity/Bucketable;getBucketedSound()Lnet/minecraft/sound/SoundEvent;
    • hasSelfControl

      protected boolean hasSelfControl()
      Mappings:
      Namespace Name Mixin selector
      official fv Lbdu;fv()Z
      intermediary method_6456 Lnet/minecraft/class_1422;method_6456()Z
      named hasSelfControl Lnet/minecraft/entity/passive/FishEntity;hasSelfControl()Z
    • getFlopSound

      protected abstract SoundEvent getFlopSound()
      Mappings:
      Namespace Name Mixin selector
      official fw Lbdu;fw()Lafd;
      intermediary method_6457 Lnet/minecraft/class_1422;method_6457()Lnet/minecraft/class_3414;
      named getFlopSound Lnet/minecraft/entity/passive/FishEntity;getFlopSound()Lnet/minecraft/sound/SoundEvent;
    • getSwimSound

      protected SoundEvent getSwimSound()
      Overrides:
      getSwimSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aA Latf;aA()Lafd;
      intermediary method_5737 Lnet/minecraft/class_1297;method_5737()Lnet/minecraft/class_3414;
      named getSwimSound Lnet/minecraft/entity/Entity;getSwimSound()Lnet/minecraft/sound/SoundEvent;
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState blockState)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Latf;b(Lgg;Lcks;)V
      intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V