net.minecraft.world.entity.animal

public class Rabbit

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

ban
net.minecraft.world.entity.animal.Rabbit
net.minecraft.class_1463
net.minecraft.entity.passive.RabbitEntity
net.minecraft.entity.passive.RabbitEntity
net.minecraft.server.v1_16_R2.EntityRabbit

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bo
DATA_TYPE_ID
field_6852
RABBIT_TYPE
field_184773_bv
private static final ResourceLocation
bp
KILLER_BUNNY
field_6846
KILLER_BUNNY
field_200611_bx
private int
bq
jumpTicks
field_6851
jumpTicks
field_175540_bm
private int
br
jumpDuration
field_6849
jumpDuration
field_175535_bn
private boolean
bs
wasOnGround
field_6850
lastOnGround
field_175537_bp
private int
bt
jumpDelayTicks
field_6848
ticksUntilJump
field_175538_bq
private int
bu
moreCarrotTicks
field_6847
moreCarrotTicks
field_175541_bs

Constructor summary

ModifierConstructor
public (EntityType<? extends Rabbit> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected float
dI()
getJumpPower()
method_6106()
getJumpVelocity()
func_175134_bD()
protected void
dJ()
jumpFromGround()
method_6043()
jump()
func_70664_aZ()
jump()
public void
i(double arg0)
setSpeedModifier(double arg0)
method_6606(double arg0)
setSpeed(double speed)
func_175515_b(double arg0)
public void
o(boolean arg0)
setJumping(boolean arg0)
method_6100(boolean arg0)
setJumping(boolean arg0)
func_70637_d(boolean arg0)
setJumping(boolean arg0)
public void
eK()
startJumping()
method_6618()
startJump()
func_184770_cZ()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
N()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
public boolean
aN()
canSpawnSprintParticle()
method_27298()
shouldSpawnSprintingParticles()
func_230269_aK_()
private void
b(double arg0, double arg1)
facePoint(double arg0, double arg1)
method_6616(double arg0, double arg1)
lookTowards(double x, double z)
func_175533_a(double arg0, double arg1)
private void
eO()
enableJumpControl()
method_6611()
method_6611()
func_175518_cr()
private void
eU()
disableJumpControl()
method_6621()
method_6621()
func_175520_cs()
private void
eV()
setLandingDelay()
method_6608()
doScheduleJump()
func_175530_ct()
private void
eW()
checkLandingDelay()
method_6619()
scheduleJump()
func_175517_cu()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
public static AttributeSupplier$Builder
eL()
createAttributes()
method_26892()
createRabbitAttributes()
func_234224_eJ_()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
protected SoundEvent
eM()
getJumpSound()
method_6615()
getJumpSound()
func_184771_da()
getSoundJump()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(aph arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
public boolean
B(apx arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
attackEntity(Entity arg0)
public SoundSource
ct()
getSoundSource()
method_5634()
getSoundCategory()
func_184176_by()
getSoundCategory()
public boolean
a(aph arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
private boolean
b(blu arg0)
isTemptingItem(Item arg0)
method_6614(class_1792 arg0)
isBreedingItem(Item item)
func_175525_a(Item arg0)
public Rabbit
b(aag arg0, apv arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_6620(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public boolean
k(bly arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
public int
eN()
getRabbitType()
method_6610()
getRabbitType()
func_175531_cl()
getRabbitType()
public void
t(int arg0)
setRabbitType(int arg0)
method_6617(int arg0)
setRabbitType(int rabbitType)
func_175529_r(int arg0)
setRabbitType(int arg0)
public SpawnGroupData
a(bsh arg0, aop arg1, aqm arg2, aqz arg3, md arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
private int
a(brv arg0)
getRandomRabbitType(LevelAccessor arg0)
method_6622(class_1936 arg0)
chooseType(WorldAccess world)
func_213610_a(IWorld arg0)
public static boolean
c(aqb<ban> arg0, brv arg1, aqm arg2, fx arg3, Random arg4)
checkRabbitSpawnRules(EntityType<Rabbit> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20669(class_1299<class_1463> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random arg4)
func_223321_c(EntityType<RabbitEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
private boolean
eX()
wantsMoreFood()
method_6607()
wantsCarrots()
func_175534_cv()
public float
y(float arg0)
getJumpCompletion(float arg0)
method_6605(float arg0)
getJumpProgress(float delta)
func_175521_o(float arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)
public Vec3
ce()
getLeashOffset()
method_29919()
method_29919()
func_241205_ce_()