Class RabbitEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider

public class RabbitEntity extends AnimalEntity
Mappings:
Namespace Name
official wd
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 bw Lwd;bw:Lkf;
      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;
    • jumpTicks

      private int jumpTicks
      Mappings:
      Namespace Name Mixin selector
      official bx Lwd;bx: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 by Lwd;by: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 bA Lwd;bA: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 bB Lwd;bB: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 bC Lwd;bC: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> Lrr;<init>(Laht;)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 r Lsb;r()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 ch Lsa;ch()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 ci Lsa;ci()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 r Lwd;r(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 Lwd;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 k Lsa;k(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 da Lwd;da()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 i Lrr;i()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 M Lsb;M()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 al Lrr;al()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 a Lwd;a(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 de Lwd;de()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 di Lwd;di()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 dj Lwd;dj()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 dk Lwd;dk()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 n Lsa;n()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 bB Lsa;bB()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 Lrr;b(Ldq;)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 Lrr;a(Ldq;)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 db Lwd;db()Lng;
      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 G Lsb;G()Lng;
      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;
    • method_13048

      protected SoundEvent method_13048()
      Overrides:
      method_13048 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bS Lsa;bS()Lng;
      intermediary method_13048 Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;
      named method_13048 Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bT Lsa;bT()Lng;
      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 LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official B Lsa;B(Lrr;)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 bA Lrr;bA()Lni;
      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 Lrr;a(Lrc;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 J Lsb;J()Lkl;
      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 Lwd;a(Lado;)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 Lwd;b(Lro;)Lwd;
      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(@Nullable ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official e Lvw;e(Ladq;)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 dc Lwd;dc()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 l Lwd;l(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 data)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsb;a(Lql;Lsd;)Lsd;
      intermediary method_6156 Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;)Lnet/minecraft/class_1700;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
    • method_13122

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

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

      protected void method_11085()
      Mappings:
      Namespace Name Mixin selector
      official dd Lwd;dd()V
      intermediary method_11085 Lnet/minecraft/class_2623;method_11085()V
      named method_11085 Lnet/minecraft/entity/passive/RabbitEntity;method_11085()V
    • handleStatus

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

      public void onTrackedDataSet(TrackedData<?> data)
      Overrides:
      onTrackedDataSet in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lrr;a(Lkf;)V
      intermediary method_12974 Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V