Class RabbitEntity

All Implemented Interfaces:
class_3893, EntityCategoryProvider, Nameable

public class RabbitEntity extends AnimalEntity
Mappings:
Namespace Name
official akd
intermediary net/minecraft/class_2623
named net/minecraft/entity/passive/RabbitEntity
  • Field Details

    • field_14618

      private static final TrackedData<Integer> field_14618
      Mappings:
      Namespace Name Mixin selector
      official bC Lakd;bC:Lor;
      intermediary field_14618 Lnet/minecraft/class_2623;field_14618:Lnet/minecraft/class_2921;
      named field_14618 Lnet/minecraft/entity/passive/RabbitEntity;field_14618:Lnet/minecraft/entity/data/TrackedData;
    • field_16926

      private static final Identifier field_16926
      Mappings:
      Namespace Name Mixin selector
      official bD Lakd;bD:Lpc;
      intermediary field_16926 Lnet/minecraft/class_2623;field_16926:Lnet/minecraft/class_1653;
      named field_16926 Lnet/minecraft/entity/passive/RabbitEntity;field_16926:Lnet/minecraft/util/Identifier;
    • jumpTicks

      private int jumpTicks
      Mappings:
      Namespace Name Mixin selector
      official bE Lakd;bE:I
      intermediary field_11978 Lnet/minecraft/class_2623;field_11978:I
      named jumpTicks Lnet/minecraft/entity/passive/RabbitEntity;jumpTicks:I
    • jumpDuration

      private int jumpDuration
      Mappings:
      Namespace Name Mixin selector
      official bG Lakd;bG:I
      intermediary field_11979 Lnet/minecraft/class_2623;field_11979:I
      named jumpDuration Lnet/minecraft/entity/passive/RabbitEntity;jumpDuration:I
    • lastOnGround

      private boolean lastOnGround
      Mappings:
      Namespace Name Mixin selector
      official bH Lakd;bH:Z
      intermediary field_11981 Lnet/minecraft/class_2623;field_11981:Z
      named lastOnGround Lnet/minecraft/entity/passive/RabbitEntity;lastOnGround:Z
    • ticksUntilJump

      private int ticksUntilJump
      Mappings:
      Namespace Name Mixin selector
      official bI Lakd;bI:I
      intermediary field_11982 Lnet/minecraft/class_2623;field_11982:I
      named ticksUntilJump Lnet/minecraft/entity/passive/RabbitEntity;ticksUntilJump:I
    • moreCarrotTicks

      private int moreCarrotTicks
      Mappings:
      Namespace Name Mixin selector
      official bJ Lakd;bJ:I
      intermediary field_11984 Lnet/minecraft/class_2623;field_11984:I
      named moreCarrotTicks Lnet/minecraft/entity/passive/RabbitEntity;moreCarrotTicks:I
  • Constructor Details

    • RabbitEntity

      public RabbitEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laxy;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lafb;n()V
      intermediary method_13087 Lnet/minecraft/class_871;method_13087()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • getJumpVelocity

      protected float getJumpVelocity()
      Overrides:
      getJumpVelocity in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cG Lafa;cG()F
      intermediary method_10978 Lnet/minecraft/class_1699;method_10978()F
      named getJumpVelocity Lnet/minecraft/entity/LivingEntity;getJumpVelocity()F
    • jump

      protected void jump()
      Overrides:
      jump in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cH Lafa;cH()V
      intermediary method_2612 Lnet/minecraft/class_1699;method_2612()V
      named jump Lnet/minecraft/entity/LivingEntity;jump()V
    • getJumpProgress

      @Environment(CLIENT) public float getJumpProgress(float delta)
      Mappings:
      Namespace Name Mixin selector
      official v Lakd;v(F)F
      intermediary method_11091 Lnet/minecraft/class_2623;method_11091(F)F
      named getJumpProgress Lnet/minecraft/entity/passive/RabbitEntity;getJumpProgress(F)F
    • setSpeed

      public void setSpeed(double speed)
      Mappings:
      Namespace Name Mixin selector
      official c Lakd;c(D)V
      intermediary method_11078 Lnet/minecraft/class_2623;method_11078(D)V
      named setSpeed Lnet/minecraft/entity/passive/RabbitEntity;setSpeed(D)V
    • setJumping

      public void setJumping(boolean jumping)
      Overrides:
      setJumping in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official o Lafa;o(Z)V
      intermediary method_6141 Lnet/minecraft/class_1699;method_6141(Z)V
      named setJumping Lnet/minecraft/entity/LivingEntity;setJumping(Z)V
    • method_13120

      public void method_13120()
      Mappings:
      Namespace Name Mixin selector
      official dy Lakd;dy()V
      intermediary method_13120 Lnet/minecraft/class_2623;method_13120()V
      named method_13120 Lnet/minecraft/entity/passive/RabbitEntity;method_13120()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Laer;x_()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • mobTick

      public void mobTick()
      Overrides:
      mobTick in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official J Lafb;J()V
      intermediary method_2633 Lnet/minecraft/class_871;method_2633()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • attemptSprintingParticles

      public void attemptSprintingParticles()
      Overrides:
      attemptSprintingParticles in class Entity
      Mappings:
      Namespace Name Mixin selector
      official av Laer;av()V
      intermediary method_10929 Lnet/minecraft/class_864;method_10929()V
      named attemptSprintingParticles Lnet/minecraft/entity/Entity;attemptSprintingParticles()V
    • lookTowards

      private void lookTowards(double x, double z)
      Mappings:
      Namespace Name Mixin selector
      official b Lakd;b(DD)V
      intermediary method_11073 Lnet/minecraft/class_2623;method_11073(DD)V
      named lookTowards Lnet/minecraft/entity/passive/RabbitEntity;lookTowards(DD)V
    • method_11086

      private void method_11086()
      Mappings:
      Namespace Name Mixin selector
      official dB Lakd;dB()V
      intermediary method_11086 Lnet/minecraft/class_2623;method_11086()V
      named method_11086 Lnet/minecraft/entity/passive/RabbitEntity;method_11086()V
    • method_11087

      private void method_11087()
      Mappings:
      Namespace Name Mixin selector
      official dC Lakd;dC()V
      intermediary method_11087 Lnet/minecraft/class_2623;method_11087()V
      named method_11087 Lnet/minecraft/entity/passive/RabbitEntity;method_11087()V
    • method_11088

      private void method_11088()
      Mappings:
      Namespace Name Mixin selector
      official dH Lakd;dH()V
      intermediary method_11088 Lnet/minecraft/class_2623;method_11088()V
      named method_11088 Lnet/minecraft/entity/passive/RabbitEntity;method_11088()V
    • method_11089

      private void method_11089()
      Mappings:
      Namespace Name Mixin selector
      official dI Lakd;dI()V
      intermediary method_11089 Lnet/minecraft/class_2623;method_11089()V
      named method_11089 Lnet/minecraft/entity/passive/RabbitEntity;method_11089()V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lafa;k()V
      intermediary method_2651 Lnet/minecraft/class_1699;method_2651()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bZ Lafa;bZ()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laer;b(Lgy;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lgy;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_13121

      protected SoundEvent method_13121()
      Mappings:
      Namespace Name Mixin selector
      official dz Lakd;dz()Lwi;
      intermediary method_13121 Lnet/minecraft/class_2623;method_13121()Lnet/minecraft/class_2926;
      named method_13121 Lnet/minecraft/entity/passive/RabbitEntity;method_13121()Lnet/minecraft/client/sound/SoundEvent;
    • ambientSound

      protected SoundEvent ambientSound()
      Overrides:
      ambientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official D Lafb;D()Lwi;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;
      named ambientSound Lnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource damageSource)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lafa;d(Laea;)Lwi;
      intermediary method_15060 Lnet/minecraft/class_1699;method_15060(Lnet/minecraft/class_856;)Lnet/minecraft/class_2926;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cs Lafa;cs()Lwi;
      intermediary method_13049 Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;
      named deathSound Lnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official B Lafa;B(Laer;)Z
      intermediary method_2671 Lnet/minecraft/class_1699;method_2671(Lnet/minecraft/class_864;)Z
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
    • getSoundCategory

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bV Laer;bV()Lwk;
      intermediary method_12992 Lnet/minecraft/class_864;method_12992()Lnet/minecraft/class_2153;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/client/sound/SoundCategory;
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Laea;F)Z
      intermediary method_2499 Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • getLootTableId

      @Nullable protected Identifier getLootTableId()
      Overrides:
      getLootTableId in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official G Lafb;G()Lpc;
      intermediary method_13074 Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;
      named getLootTableId Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
    • method_11076

      private boolean method_11076(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lakd;a(Lata;)Z
      intermediary method_11076 Lnet/minecraft/class_2623;method_11076(Lnet/minecraft/class_1069;)Z
      named method_11076 Lnet/minecraft/entity/passive/RabbitEntity;method_11076(Lnet/minecraft/item/Item;)Z
    • breed

      public RabbitEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lakd;b(Laeo;)Lakd;
      intermediary method_11079 Lnet/minecraft/class_2623;method_11079(Lnet/minecraft/class_862;)Lnet/minecraft/class_2623;
      named breed Lnet/minecraft/entity/passive/RabbitEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/RabbitEntity;
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official f Lajq;f(Late;)Z
      intermediary method_2853 Lnet/minecraft/class_942;method_2853(Lnet/minecraft/class_1071;)Z
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
    • getRabbitType

      public int getRabbitType()
      Mappings:
      Namespace Name Mixin selector
      official dA Lakd;dA()I
      intermediary method_11083 Lnet/minecraft/class_2623;method_11083()I
      named getRabbitType Lnet/minecraft/entity/passive/RabbitEntity;getRabbitType()I
    • setRabbitType

      public void setRabbitType(int type)
      Mappings:
      Namespace Name Mixin selector
      official p Lakd;p(I)V
      intermediary method_11092 Lnet/minecraft/class_2623;method_11092(I)V
      named setRabbitType Lnet/minecraft/entity/passive/RabbitEntity;setRabbitType(I)V
    • initialize

      @Nullable public EntityData initialize(LocalDifficulty difficulty, @Nullable EntityData entityData, @Nullable NbtCompound nbt)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Ladj;Lafj;Lgy;)Lafj;
      intermediary method_6156 Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;Lnet/minecraft/class_322;)Lnet/minecraft/class_1700;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
    • method_13122

      private int method_13122()
      Mappings:
      Namespace Name Mixin selector
      official dJ Lakd;dJ()I
      intermediary method_13122 Lnet/minecraft/class_2623;method_13122()I
      named method_13122 Lnet/minecraft/entity/passive/RabbitEntity;method_13122()I
    • method_15652

      public boolean method_15652(IWorld iWorld, boolean bool)
      Overrides:
      method_15652 in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Laxz;Z)Z
      intermediary method_15652 Lnet/minecraft/class_871;method_15652(Lnet/minecraft/class_3598;Z)Z
      named method_15652 Lnet/minecraft/entity/mob/MobEntity;method_15652(Lnet/minecraft/world/IWorld;Z)Z
    • wantsCarrots

      private boolean wantsCarrots()
      Mappings:
      Namespace Name Mixin selector
      official dK Lakd;dK()Z
      intermediary method_11090 Lnet/minecraft/class_2623;method_11090()Z
      named wantsCarrots Lnet/minecraft/entity/passive/RabbitEntity;wantsCarrots()Z
    • handleStatus

      @Environment(CLIENT) public void handleStatus(byte status)
      Overrides:
      handleStatus in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(B)V
      intermediary method_2485 Lnet/minecraft/class_864;method_2485(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V