Class TadpoleEntity

All Implemented Interfaces:
Attackable, Bucketable, DataTracked, EquipmentHolder, Targeter, ScoreHolder, CommandOutput, Nameable, EntityLike

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

    • MAX_TADPOLE_AGE

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

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

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

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

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

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

    • TadpoleEntity

      public TadpoleEntity(EntityType<? extends FishEntity> 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> Lbsv;<init>(Lbtb;Ldbz;)V
  • Method Details

    • createNavigation

      protected EntityNavigation createNavigation(World world)
      Overrides:
      createNavigation in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      named createNavigation Lnet/minecraft/entity/mob/MobEntity;createNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/pathing/EntityNavigation;
      intermediary method_5965 Lnet/minecraft/class_1308;method_5965(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1408;
      official b Lbts;b(Ldbz;)Lcdc;
    • createBrainProfile

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

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

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

      protected SoundEvent getFlopSound()
      Specified by:
      getFlopSound in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      named getFlopSound Lnet/minecraft/entity/passive/FishEntity;getFlopSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6457 Lnet/minecraft/class_1422;method_6457()Lnet/minecraft/class_3414;
      official gr Lcfd;gr()Lavz;
    • mobTick

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

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

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

      public void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Overrides:
      writeCustomDataToNbt in class FishEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      official b Lbsv;b(Lus;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readCustomDataFromNbt in class FishEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      official a Lbsv;a(Lus;)V
    • getAmbientSound

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

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

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

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      official b Lbts;b(Lcmy;Lbqu;)Lbqv;
    • sendAiDebugData

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

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

      public void setFromBucket(boolean fromBucket)
      Specified by:
      setFromBucket in interface Bucketable
      Overrides:
      setFromBucket in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      named setFromBucket Lnet/minecraft/entity/Bucketable;setFromBucket(Z)V
      intermediary method_6454 Lnet/minecraft/class_5761;method_6454(Z)V
      official w Lcfi;w(Z)V
    • copyDataToStack

      public void copyDataToStack(ItemStack stack)
      Specified by:
      copyDataToStack in interface Bucketable
      Overrides:
      copyDataToStack in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      named copyDataToStack Lnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/item/ItemStack;)V
      intermediary method_6455 Lnet/minecraft/class_5761;method_6455(Lnet/minecraft/class_1799;)V
      official n Lcfi;n(Lcuq;)V
    • copyDataFromNbt

      public void copyDataFromNbt(NbtCompound nbt)
      Specified by:
      copyDataFromNbt in interface Bucketable
      Overrides:
      copyDataFromNbt in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      named copyDataFromNbt Lnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_35170 Lnet/minecraft/class_5761;method_35170(Lnet/minecraft/class_2487;)V
      official c Lcfi;c(Lus;)V
    • getBucketItem

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

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

      private boolean isFrogFood(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named isFrogFood Lnet/minecraft/entity/passive/TadpoleEntity;isFrogFood(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_41399 Lnet/minecraft/class_7110;method_41399(Lnet/minecraft/class_1799;)Z
      official o Lchd;o(Lcuq;)Z
    • eatSlimeBall

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

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

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

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

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

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

      private int getTicksUntilGrowth()
      Mappings:
      Namespace Name Mixin selector
      named getTicksUntilGrowth Lnet/minecraft/entity/passive/TadpoleEntity;getTicksUntilGrowth()I
      intermediary method_41398 Lnet/minecraft/class_7110;method_41398()I
      official gv Lchd;gv()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
      named shouldDropXp Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z
      intermediary method_6054 Lnet/minecraft/class_1309;method_6054()Z
      official eh Lbtq;eh()Z