net.minecraft.world.entity.animal.rabbit

public class Rabbit

extends Animal

All mapped superinterfaces:

SyncedDataHolder, DebugValueSource, Nameable, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting

cxh
net.minecraft.world.entity.animal.rabbit.Rabbit
net.minecraft.class_1463
net.minecraft.entity.passive.RabbitEntity
net.minecraft.src.C_432255_
net.minecraft.world.entity.animal.rabbit.EntityRabbit

字段概要

修饰符与类型字段
public static final double
cv
STROLL_SPEED_MOD
field_30356
field_30356
f_435505_
public static final double
cw
BREED_SPEED_MOD
field_30357
field_30357
f_435049_
public static final double
cx
FOLLOW_SPEED_MOD
field_30358
field_30358
f_436708_
public static final double
cz
FLEE_SPEED_MOD
field_30359
ESCAPE_DANGER_SPEED
f_435287_
public static final double
cA
ATTACK_SPEED_MOD
field_30360
MELEE_ATTACK_SPEED
f_434506_
private static final EntityDataAccessor<Integer>
cB
DATA_TYPE_ID
field_6852
VARIANT
f_434286_
private static final int
cC
DEFAULT_MORE_CARROT_TICKS
field_57616
DEFAULT_MORE_CARROT_TICKS
f_433840_
private static final Identifier
cD
KILLER_BUNNY
field_6846
KILLER_BUNNY
f_436442_
private static final int
cE
DEFAULT_ATTACK_POWER
field_51585
field_51585
f_435218_
private static final int
cF
EVIL_ATTACK_POWER_INCREMENT
field_51586
field_51586
f_434295_
private static final Identifier
cG
EVIL_ATTACK_POWER_MODIFIER
field_51587
KILLER_BUNNY_ATTACK_DAMAGE_MODIFIER_ID
f_435593_
private static final int
cH
EVIL_ARMOR_VALUE
field_30369
field_30369
f_434238_
private static final int
cI
MORE_CARROTS_DELAY
field_30370
field_30370
f_433115_
private int
cJ
jumpTicks
field_6851
jumpTicks
f_434201_
private int
cK
jumpDuration
field_6849
jumpDuration
f_436649_
private boolean
cL
wasOnGround
field_6850
lastOnGround
f_437342_
private int
cM
jumpDelayTicks
field_6848
ticksUntilJump
f_433689_
int
cN
moreCarrotTicks
field_6847
moreCarrotTicks
f_433569_

构造函数概要

修饰符构造函数
public (EntityType<? extends Rabbit> p_455846_, Level arg1)

方法概要

修饰符与类型方法
protected void
D()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected float
fF()
getJumpPower()
method_6106()
getJumpVelocity()
m_6118_()
public void
u()
jumpFromGround()
method_6043()
jump()
m_6135_()
public float
L(float arg0)
getJumpCompletion(float arg0)
method_6605(float arg0)
getJumpProgress(float tickProgress)
m_446141_(float arg0)
public void
k(double arg0)
setSpeedModifier(double arg0)
method_6606(double arg0)
setSpeed(double speed)
m_444268_(double arg0)
public void
t(boolean arg0)
setJumping(boolean arg0)
method_6100(boolean arg0)
setJumping(boolean arg0)
m_6862_(boolean arg0)
public void
p()
startJumping()
method_6618()
startJump()
m_445881_()
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
a(axf arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
m_8024_(C_12_ arg0)
public boolean
bL()
canSpawnSprintParticle()
method_27298()
shouldSpawnSprintingParticles()
m_5843_()
private void
c(double arg0, double arg1)
facePoint(double arg0, double arg1)
method_6616(double arg0, double arg1)
lookTowards(double x, double z)
m_446256_(double p_450675_, double arg1)
private void
gS()
enableJumpControl()
method_6611()
enableJump()
m_440345_()
private void
gT()
disableJumpControl()
method_6621()
disableJump()
m_444724_()
private void
gU()
setLandingDelay()
method_6608()
doScheduleJump()
m_446470_()
private void
gV()
checkLandingDelay()
method_6619()
scheduleJump()
m_446064_()
public void
d_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public static AttributeSupplier$Builder
gP()
createAttributes()
method_26892()
createRabbitAttributes()
m_439759_()
protected void
a(fns arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_7380_(C_398537_ arg0)
protected void
a(fnq arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_7378_(C_398549_ arg0)
protected SoundEvent
gQ()
getJumpSound()
method_6615()
getJumpSound()
m_439862_()
protected SoundEvent
W()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
h(cex arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
fd()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public void
fN()
playAttackSound()
method_59928()
playAttackSound()
m_340108_()
public SoundSource
dB()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
public Rabbit
b(axf arg0, cfy arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6620(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_454628_, C_141062_ arg1)
public boolean
j(dlt arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public Rabbit$Variant
gR()
getVariant()
method_47855()
getVariant()
m_440734_()
private void
a(cxh$g arg0)
setVariant(Rabbit$Variant arg0)
method_47853(class_1463$class_7990 arg0)
setVariant(RabbitEntity$Variant variant)
m_444000_(C_432255_$C_432803_ arg0)
public <T> T
a(kh<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
m_318834_(C_313543_<? extends T> arg0)
protected void
a(kd arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
copyComponentsFrom(ComponentsAccess arg0)
m_384844_(C_379187_ arg0)
protected <T> boolean
b(kh<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)
m_385246_(C_313543_<T> p_452168_, T arg1)
public SpawnGroupData
a(dxf arg0, cda arg1, cgt arg2, cie arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_451735_, C_469_ p_460736_, C_345845_ p_457011_, C_542_ arg3)
private static Rabbit$Variant
a(dwp arg0, is arg1)
getRandomRabbitVariant(LevelAccessor arg0, BlockPos arg1)
method_47854(class_1936 arg0, class_2338 arg1)
getVariantFromPos(WorldAccess world, BlockPos pos)
m_443106_(C_1598_ p_456845_, C_4675_ p_454058_)
public static boolean
c(cgu<cxh> arg0, dwp arg1, cgt arg2, is arg3, bgr arg4)
checkRabbitSpawnRules(EntityType<Rabbit> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20669(class_1299<class_1463> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_439843_(C_513_<C_432255_> p_452708_, C_1598_ p_459315_, C_345845_ p_450493_, C_4675_ p_457197_, C_212974_ p_460486_)
boolean
hd()
wantsMoreFood()
method_6607()
wantsCarrots()
m_442613_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public Vec3
B()
getLeashOffset()
method_29919()
getLeashOffset()
m_33927_()