Class TadpoleEntity

All Implemented Interfaces:
Bucketable, CommandOutput, Nameable, EntityLike

public class TadpoleEntity extends FishEntity
Mappings:
Namespace Name
official bnw
intermediary net/minecraft/class_7110
named net/minecraft/entity/passive/TadpoleEntity
  • Field Details

    • MAX_TADPOLE_AGE

      public static int MAX_TADPOLE_AGE
      Mappings:
      Namespace Name Mixin selector
      official b Lbnw;b:I
      intermediary field_37496 Lnet/minecraft/class_7110;field_37496:I
      named MAX_TADPOLE_AGE Lnet/minecraft/entity/passive/TadpoleEntity;MAX_TADPOLE_AGE:I
    • WIDTH

      public static float WIDTH
      Mappings:
      Namespace Name Mixin selector
      official c Lbnw;c:F
      intermediary field_39302 Lnet/minecraft/class_7110;field_39302:F
      named WIDTH Lnet/minecraft/entity/passive/TadpoleEntity;WIDTH:F
    • HEIGHT

      public static float HEIGHT
      Mappings:
      Namespace Name Mixin selector
      official d Lbnw;d:F
      intermediary field_39303 Lnet/minecraft/class_7110;field_39303:F
      named HEIGHT Lnet/minecraft/entity/passive/TadpoleEntity;HEIGHT:F
    • SENSORS

      protected static final ImmutableList<SensorType<? extends Sensor<? super TadpoleEntity>>> SENSORS
      Mappings:
      Namespace Name Mixin selector
      official e Lbnw;e:Lcom/google/common/collect/ImmutableList;
      intermediary field_37497 Lnet/minecraft/class_7110;field_37497:Lcom/google/common/collect/ImmutableList;
      named SENSORS Lnet/minecraft/entity/passive/TadpoleEntity;SENSORS:Lcom/google/common/collect/ImmutableList;
    • MEMORY_MODULES

      protected static final ImmutableList<MemoryModuleType<?>> MEMORY_MODULES
      Mappings:
      Namespace Name Mixin selector
      official bX Lbnw;bX:Lcom/google/common/collect/ImmutableList;
      intermediary field_37498 Lnet/minecraft/class_7110;field_37498:Lcom/google/common/collect/ImmutableList;
      named MEMORY_MODULES Lnet/minecraft/entity/passive/TadpoleEntity;MEMORY_MODULES:Lcom/google/common/collect/ImmutableList;
    • tadpoleAge

      private int tadpoleAge
      Mappings:
      Namespace Name Mixin selector
      official bY Lbnw;bY:I
      intermediary field_37499 Lnet/minecraft/class_7110;field_37499:I
      named tadpoleAge Lnet/minecraft/entity/passive/TadpoleEntity;tadpoleAge:I
  • Constructor Details

    • TadpoleEntity

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

    • createNavigation

      protected EntityNavigation createNavigation(World world)
      Overrides:
      createNavigation in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbh;a(Lcga;)Lbkf;
      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;
    • createBrainProfile

      protected Brain.Profile<TadpoleEntity> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dA Lbbf;dA()Lbca$b;
      intermediary method_28306 Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
      named createBrainProfile Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
    • deserializeBrain

      protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic)
      Overrides:
      deserializeBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbf;a(Lcom/mojang/serialization/Dynamic;)Lbca;
      intermediary method_18867 Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
      named deserializeBrain Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
    • getBrain

      public Brain<TadpoleEntity> getBrain()
      Overrides:
      getBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dz Lbbf;dz()Lbca;
      intermediary method_18868 Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
      named getBrain Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
    • getFlopSound

      protected SoundEvent getFlopSound()
      Specified by:
      getFlopSound in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official fL Lbme;fL()Lajd;
      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;
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official T Lbbh;T()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • createTadpoleAttributes

      public static DefaultAttributeContainer.Builder createTadpoleAttributes()
      Mappings:
      Namespace Name Mixin selector
      official fM Lbnw;fM()Lbcf$a;
      intermediary method_41395 Lnet/minecraft/class_7110;method_41395()Lnet/minecraft/class_5132$class_5133;
      named createTadpoleAttributes Lnet/minecraft/entity/passive/TadpoleEntity;createTadpoleAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbbf;w_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbaq;b(Lpj;)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 FishEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(Lpj;)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
    • getAmbientSound

      @Nullable protected @Nullable SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbbh;r()Lajd;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      @Nullable protected @Nullable SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbbf;c(Lazz;)Lajd;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      @Nullable protected @Nullable SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Lbbf;x_()Lajd;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • interactMob

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbbh;b(Lbtf;Lazl;)Lazm;
      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;
    • sendAiDebugData

      protected void sendAiDebugData()
      Overrides:
      sendAiDebugData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official R Lbbh;R()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
    • isFromBucket

      public boolean isFromBucket()
      Specified by:
      isFromBucket in interface Bucketable
      Overrides:
      isFromBucket in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official q Lbmj;q()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
      Overrides:
      setFromBucket in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official v Lbmj;v(Z)V
      intermediary method_6454 Lnet/minecraft/class_5761;method_6454(Z)V
      named setFromBucket Lnet/minecraft/entity/Bucketable;setFromBucket(Z)V
    • copyDataToStack

      public void copyDataToStack(ItemStack stack)
      Specified by:
      copyDataToStack in interface Bucketable
      Overrides:
      copyDataToStack in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lbmj;m(Lcaa;)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
      Overrides:
      copyDataFromNbt in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbmj;c(Lpj;)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
    • getBucketItem

      public ItemStack getBucketItem()
      Mappings:
      Namespace Name Mixin selector
      official b Lbmj;b()Lcaa;
      intermediary method_6452 Lnet/minecraft/class_5761;method_6452()Lnet/minecraft/class_1799;
      named getBucketItem Lnet/minecraft/entity/Bucketable;getBucketItem()Lnet/minecraft/item/ItemStack;
    • getBucketFillSound

      public SoundEvent getBucketFillSound()
      Specified by:
      getBucketFillSound in interface Bucketable
      Overrides:
      getBucketFillSound in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official t Lbmj;t()Lajd;
      intermediary method_35171 Lnet/minecraft/class_5761;method_35171()Lnet/minecraft/class_3414;
      named getBucketFillSound Lnet/minecraft/entity/Bucketable;getBucketFillSound()Lnet/minecraft/sound/SoundEvent;
    • isSlimeBall

      private boolean isSlimeBall(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official n Lbnw;n(Lcaa;)Z
      intermediary method_41399 Lnet/minecraft/class_7110;method_41399(Lnet/minecraft/class_1799;)Z
      named isSlimeBall Lnet/minecraft/entity/passive/TadpoleEntity;isSlimeBall(Lnet/minecraft/item/ItemStack;)Z
    • eatSlimeBall

      private void eatSlimeBall(PlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnw;a(Lbtf;Lcaa;)V
      intermediary method_41391 Lnet/minecraft/class_7110;method_41391(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      named eatSlimeBall Lnet/minecraft/entity/passive/TadpoleEntity;eatSlimeBall(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
    • decrementItem

      private void decrementItem(PlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Lbnw;b(Lbtf;Lcaa;)V
      intermediary method_41393 Lnet/minecraft/class_7110;method_41393(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      named decrementItem Lnet/minecraft/entity/passive/TadpoleEntity;decrementItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
    • getTadpoleAge

      private int getTadpoleAge()
      Mappings:
      Namespace Name Mixin selector
      official fN Lbnw;fN()I
      intermediary method_41396 Lnet/minecraft/class_7110;method_41396()I
      named getTadpoleAge Lnet/minecraft/entity/passive/TadpoleEntity;getTadpoleAge()I
    • increaseAge

      private void increaseAge(int seconds)
      Mappings:
      Namespace Name Mixin selector
      official b Lbnw;b(I)V
      intermediary method_41392 Lnet/minecraft/class_7110;method_41392(I)V
      named increaseAge Lnet/minecraft/entity/passive/TadpoleEntity;increaseAge(I)V
    • setTadpoleAge

      private void setTadpoleAge(int tadpoleAge)
      Mappings:
      Namespace Name Mixin selector
      official c Lbnw;c(I)V
      intermediary method_41394 Lnet/minecraft/class_7110;method_41394(I)V
      named setTadpoleAge Lnet/minecraft/entity/passive/TadpoleEntity;setTadpoleAge(I)V
    • growUp

      private void growUp()
      Mappings:
      Namespace Name Mixin selector
      official fO Lbnw;fO()V
      intermediary method_41397 Lnet/minecraft/class_7110;method_41397()V
      named growUp Lnet/minecraft/entity/passive/TadpoleEntity;growUp()V
    • getTicksUntilGrowth

      private int getTicksUntilGrowth()
      Mappings:
      Namespace Name Mixin selector
      official fP Lbnw;fP()I
      intermediary method_41398 Lnet/minecraft/class_7110;method_41398()I
      named getTicksUntilGrowth Lnet/minecraft/entity/passive/TadpoleEntity;getTicksUntilGrowth()I
    • shouldDropXp

      public boolean shouldDropXp()
      Returns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.

      If shouldAlwaysDropXp() returns true, this check is disregarded.

      Overrides:
      shouldDropXp in class LivingEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official dN Lbbf;dN()Z
      intermediary method_6054 Lnet/minecraft/class_1309;method_6054()Z
      named shouldDropXp Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z