net.minecraft.world.entity.animal

public class Rabbit

extends Animal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

beq
net.minecraft.world.entity.animal.Rabbit
net.minecraft.class_1463
net.minecraft.entity.passive.RabbitEntity
net.minecraft.src.C_887_
net.minecraft.world.entity.animal.EntityRabbit

Field summary

Modifier and TypeField
public static final double
bT
STROLL_SPEED_MOD
field_30356
field_30356
f_149016_
public static final double
bU
BREED_SPEED_MOD
field_30357
field_30357
f_149017_
public static final double
bW
FOLLOW_SPEED_MOD
field_30358
field_30358
f_149018_
public static final double
bX
FLEE_SPEED_MOD
field_30359
ESCAPE_SPEED
f_149019_
public static final double
bY
ATTACK_SPEED_MOD
field_30360
field_30360
f_149020_
private static final EntityDataAccessor<Integer>
ci
DATA_TYPE_ID
field_6852
RABBIT_TYPE
f_29647_
public static final int
bZ
TYPE_BROWN
field_30361
BROWN_TYPE
f_149021_
public static final int
ca
TYPE_WHITE
field_30362
WHITE_TYPE
f_149022_
public static final int
cb
TYPE_BLACK
field_30363
BLACK_TYPE
f_149023_
public static final int
cc
TYPE_WHITE_SPLOTCHED
field_30364
WHITE_SPOTTED_TYPE
f_149024_
public static final int
cd
TYPE_GOLD
field_30365
GOLD_TYPE
f_149025_
public static final int
ce
TYPE_SALT
field_30366
SALT_TYPE
f_149026_
public static final int
cf
TYPE_EVIL
field_30367
KILLER_BUNNY_TYPE
f_149027_
private static final ResourceLocation
cj
KILLER_BUNNY
field_6846
KILLER_BUNNY
f_29648_
public static final int
cg
EVIL_ATTACK_POWER
field_30368
field_30368
f_149028_
public static final int
ch
EVIL_ARMOR_VALUE
field_30369
field_30369
f_149029_
private static final int
ck
MORE_CARROTS_DELAY
field_30370
field_30370
f_149030_
private int
cl
jumpTicks
field_6851
jumpTicks
f_29649_
private int
cm
jumpDuration
field_6849
jumpDuration
f_29650_
private boolean
cn
wasOnGround
field_6850
lastOnGround
f_29651_
private int
co
jumpDelayTicks
field_6848
ticksUntilJump
f_29652_
int
cp
moreCarrotTicks
field_6847
moreCarrotTicks
f_29653_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
protected float
er()
getJumpPower()
method_6106()
getJumpVelocity()
m_6118_()
protected void
et()
jumpFromGround()
method_6043()
jump()
m_6135_()
jump()
public float
z(float arg0)
getJumpCompletion(float arg0)
method_6605(float arg0)
getJumpProgress(float delta)
m_29735_(float arg0)
public void
i(double arg0)
setSpeedModifier(double arg0)
method_6606(double arg0)
setSpeed(double speed)
m_29725_(double arg0)
public void
q(boolean arg0)
setJumping(boolean arg0)
method_6100(boolean arg0)
setJumping(boolean arg0)
m_6862_(boolean arg0)
setJumping(boolean arg0)
public void
p()
startJumping()
method_6618()
startJump()
m_29716_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public void
eY()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
mobTick()
public boolean
aV()
canSpawnSprintParticle()
method_27298()
shouldSpawnSprintingParticles()
m_5843_()
private void
b(double arg0, double arg1)
facePoint(double arg0, double arg1)
method_6616(double arg0, double arg1)
lookTowards(double x, double z)
m_29686_(double p_29688_, double arg1)
private void
fy()
enableJumpControl()
method_6611()
method_6611()
m_29720_()
private void
fE()
disableJumpControl()
method_6621()
method_6621()
m_29721_()
private void
fF()
setLandingDelay()
method_6608()
doScheduleJump()
m_29722_()
private void
fG()
checkLandingDelay()
method_6619()
scheduleJump()
m_29723_()
public void
u_()
aiStep()
method_6007()
tickMovement()
m_8107_()
movementTick()
public static AttributeSupplier$Builder
t()
createAttributes()
method_26892()
createRabbitAttributes()
m_29717_()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
protected SoundEvent
fw()
getJumpSound()
method_6615()
getJumpSound()
m_29718_()
getSoundJump()
protected SoundEvent
q()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
public boolean
z(atg arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
attackEntity(Entity arg0)
public SoundSource
cJ()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
getSoundCategory()
private static boolean
m(bqq arg0)
isTemptingItem(ItemStack arg0)
method_6614(class_1799 arg0)
isTempting(ItemStack stack)
m_149037_(C_1391_ p_149038_)
public Rabbit
b(abr arg0, ate arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6620(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149036_, C_141062_ arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public boolean
n(bqq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
isBreedItem(ItemStack arg0)
public int
fx()
getRabbitType()
method_6610()
getRabbitType()
m_29719_()
getRabbitType()
public void
u(int arg0)
setRabbitType(int arg0)
method_6617(int arg0)
setRabbitType(int rabbitType)
m_29733_(int arg0)
setRabbitType(int arg0)
public SpawnGroupData
a(bxe arg0, arz arg1, aty arg2, aum arg3, na 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, NbtCompound arg4)
m_6518_(C_1618_ p_29679_, C_469_ p_29680_, C_529_ p_29681_, C_542_ p_29682_, C_4917_ arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
private int
a(bwr arg0)
getRandomRabbitType(LevelAccessor arg0)
method_6622(class_1936 arg0)
chooseType(WorldAccess world)
m_29675_(C_1598_ arg0)
public static boolean
c(atk<beq> arg0, bwr arg1, aty arg2, gg 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)
m_29698_(C_513_<C_887_> p_29699_, C_1598_ p_29700_, C_529_ p_29701_, C_4675_ p_29702_, Random p_29703_)
boolean
fH()
wantsMoreFood()
method_6607()
wantsCarrots()
m_29724_()
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public Vec3
cu()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()