Class TadpoleEntity

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

public class TadpoleEntity extends FishEntity
Mappings:
Namespace Name
named net/minecraft/entity/passive/TadpoleEntity
intermediary net/minecraft/class_7110
official cjt
  • 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 a Lcjt;a:I
    • WIDTH

      public static final float WIDTH
      See Also:
      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 b Lcjt;b:F
    • HEIGHT

      public static final float HEIGHT
      See Also:
      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 c Lcjt;c: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 bZ Lcjt;bZ: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 ca Lcjt;ca: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 cb Lcjt;cb: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> Lbvj;<init>(Lbvq;Ldhh;)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 Lbwh;b(Ldhh;)Lcfr;
    • 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 ed Lbwf;ed()Lbxh$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 Lbwf;a(Lcom/mojang/serialization/Dynamic;)Lbxh;
    • 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 ec Lbwf;ec()Lbxh;
    • 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 go Lchs;go()Laxe;
    • mobTick

      protected void mobTick(ServerWorld world)
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)V
      official a Lbwh;a(Lash;)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 gp Lcjt;gp()Lbxm$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 d_ Lbwf;d_()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 Lbvj;b(Lux;)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 Lbvj;a(Lux;)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 u Lbwh;u()Laxe;
    • 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 e Lbwf;e(Lbtz;)Laxe;
    • 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_ Lbwf;o_()Laxe;
    • 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 Lbwh;b(Lcpw;Lbth;)Lbti;
    • 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 Lbwh;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 p Lchy;p()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 x Lchy;x(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 i Lchy;i(Lcxo;)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 h Lchy;h(Lux;)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 X_ Lchy;X_()Lcxo;
    • 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 t Lchy;t()Laxe;
    • 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 j Lcjt;j(Lcxo;)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 Lcjt;a(Lcpw;Lcxo;)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 Lcjt;b(Lcpw;Lcxo;)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 gq Lcjt;gq()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 b Lcjt;b(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 c Lcjt;c(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 gr Lcjt;gr()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 gs Lcjt;gs()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 en Lbwf;en()Z