Class TadpoleEntity

All Implemented Interfaces:
Bucketable, CommandOutput, Nameable, EntityLike

public class TadpoleEntity extends FishEntity
Mappings:
Namespace Name
official brg
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 Lbrg;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 Lbrg;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 Lbrg;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 Lbrg;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 Lbrg;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 Lbrg;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> Lbdr;<init>(Lbdv;Lcjw;)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 Lbei;a(Lcjw;)Lbnm;
      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 dE Lbeg;dE()Lbfd$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 Lbeg;a(Lcom/mojang/serialization/Dynamic;)Lbfd;
      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 dD Lbeg;dD()Lbfd;
      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 fN Lbpl;fN()Laln;
      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 U Lbei;U()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 fO Lbrg;fO()Lbfi$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 b_ Lbeg;b_()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 has 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 Lbdr;b(Lqp;)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 has 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 Lbdr;a(Lqp;)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 Lbei;r()Laln;
      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 Lbeg;c(Lbcz;)Laln;
      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 c_ Lbeg;c_()Laln;
      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 Lbei;b(Lbwp;Lbcl;)Lbcm;
      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 S Lbei;S()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 p Lbpq;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
      Overrides:
      setFromBucket in class FishEntity
      Mappings:
      Namespace Name Mixin selector
      official v Lbpq;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 Lbpq;m(Lcdt;)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 Lbpq;c(Lqp;)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 Lbpq;b()Lcdt;
      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 Lbpq;t()Laln;
      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 Lbrg;n(Lcdt;)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 Lbrg;a(Lbwp;Lcdt;)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 Lbrg;b(Lbwp;Lcdt;)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 fP Lbrg;fP()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 Lbrg;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 Lbrg;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 fQ Lbrg;fQ()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 fR Lbrg;fR()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 dR Lbeg;dR()Z
      intermediary method_6054 Lnet/minecraft/class_1309;method_6054()Z
      named shouldDropXp Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z