Class TadpoleEntity

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

public class TadpoleEntity extends FishEntity
Mappings:
Namespace Name
official bzq
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 Lbzq;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 Lbzq;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 Lbzq;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 Lbzq;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 bT Lbzq;bT: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 bU Lbzq;bU: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> Lblv;<init>(Lblz;Lctp;)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 b Lbmn;b(Lctp;)Lbvv;
      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 dP Lbml;dP()Lbnl$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 Lbml;a(Lcom/mojang/serialization/Dynamic;)Lbnl;
      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 dO Lbml;dO()Lbnl;
      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 gf Lbxv;gf()Larr;
      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 Z Lbmn;Z()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 gg Lbzq;gg()Lbnq$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 d_ Lbml;d_()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)
      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
      official b Lblv;b(Lsn;)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)
      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
      official a Lblv;a(Lsn;)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 y Lbmn;y()Larr;
      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 d Lbml;d(Lbkt;)Larr;
      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 n_ Lbml;n_()Larr;
      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 Lbmn;b(Lcfi;Lbka;)Lbkb;
      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 Y Lbmn;Y()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 w Lbya;w()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 w Lbya;w(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 l Lbya;l(Lcmy;)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 Lbya;c(Lsn;)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 Lbya;b()Lcmy;
      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 A Lbya;A()Larr;
      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 m Lbzq;m(Lcmy;)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 Lbzq;a(Lcfi;Lcmy;)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 Lbzq;b(Lcfi;Lcmy;)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 gh Lbzq;gh()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 c Lbzq;c(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 s Lbzq;s(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 gi Lbzq;gi()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 gj Lbzq;gj()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 ec Lbml;ec()Z
      intermediary method_6054 Lnet/minecraft/class_1309;method_6054()Z
      named shouldDropXp Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z