net.minecraft.world.entity.animal

public class PolarBear

extends Animal implements NeutralMob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, NeutralMob

cio
net.minecraft.world.entity.animal.PolarBear
net.minecraft.class_1456
net.minecraft.unmapped.C_vnjvvxhc
net.minecraft.entity.passive.PolarBearEntity
net.minecraft.entity.passive.PolarBearEntity
net.minecraft.src.C_880_
net.minecraft.world.entity.animal.EntityPig

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bZ
DATA_STANDING_ID
field_6840
f_qbuzwhue
WARNING
WARNING
f_29510_
private static final float
ca
STAND_ANIMATION_TICKS
field_30352
f_nflqspdj
field_30352
STAND_ANIMATION_TICKS
f_149003_
private float
cb
clientSideStandAnimationO
field_6838
f_phyyezip
lastWarningAnimationProgress
lastWarningAnimationProgress
f_29511_
private float
cd
clientSideStandAnimation
field_6837
f_ebchjimy
warningAnimationProgress
warningAnimationProgress
f_29512_
private int
ce
warningSoundTicks
field_6839
f_iswmrnbz
warningSoundCooldown
warningSoundCooldown
f_29513_
private static final UniformInt
cf
PERSISTENT_ANGER_TIME
field_25369
f_obsrukdc
ANGER_TIME_RANGE
ANGER_TIME_RANGE
f_29514_
private int
cg
remainingPersistentAngerTime
field_25370
f_frsqzgvn
angerTime
angerTime
f_29515_
private UUID
ch
persistentAngerTarget
field_25368
f_gohjglwc
angryAt
targetUuid
f_29516_

Constructor summary

ModifierConstructor
public (EntityType<? extends PolarBear> p_29520_, Level world)

Method summary

Modifier and TypeMethod
public AgeableMob
a(ash arg0, bva arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
m_hftuejnb(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149006_, C_141062_ arg1)
public boolean
j(cxo arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
protected void
B()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
p()
createAttributes()
method_26891()
m_rvvfnpss()
createPolarBearAttributes()
createAttributes()
m_29560_()
public static boolean
c(bvq<cio> arg0, dhi arg1, bvp arg2, jh arg3, bam arg4)
checkPolarBearSpawnRules(EntityType<PolarBear> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20668(class_1299<class_1456> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
m_xaiaretn(C_ogavsvbr<C_vnjvvxhc> arg0, C_vdvbsyle arg1, C_bhyaesep arg2, C_hynzadkk arg3, C_rlomrsco arg4)
canSpawn(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
canSpawn(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, RandomGenerator random)
m_218249_(C_513_<C_880_> p_218250_, C_1598_ p_218251_, C_345845_ p_362821_, C_4675_ p_218253_, C_212974_ p_218254_)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
m_cfljxifr()
chooseRandomAngerTime()
chooseRandomAngerTime()
m_6825_()
public void
a(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
m_lsgfuuiy(int arg0)
setAngerTime(int arg0)
setAngerTime(int arg0)
m_7870_(int arg0)
public int
a()
getRemainingPersistentAngerTime()
method_29507()
m_bqcsagkf()
getAngerTime()
getAngerTime()
m_6784_()
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
m_xthjcgcz(UUID arg0)
setAngryAt(UUID arg0)
setAngryAt(UUID arg0)
m_6925_(UUID arg0)
public UUID
b()
getPersistentAngerTarget()
method_29508()
m_sqomxrhy()
getAngryAt()
getAngryAt()
m_6120_()
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
e(btz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected void
b(jh arg0, dxu arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_29546_, C_2064_ arg1)
protected void
t()
playWarningSound()
method_6602()
m_mjunpdkr()
playWarningSound()
playWarningSound()
m_29561_()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public EntityDimensions
e(bwr arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
m_qukpzlyx(C_ufdjspmk arg0)
getBaseDimensions(EntityPose arg0)
getDefaultDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
public boolean
x()
isStanding()
method_6600()
m_jrftjlcw()
isWarning()
isWarning()
m_29562_()
public void
x(boolean arg0)
setStanding(boolean arg0)
method_6603(boolean arg0)
m_nuwkmmfi(boolean arg0)
setWarning(boolean warning)
setWarning(boolean warning)
m_29567_(boolean arg0)
public float
J(float arg0)
getStandingAnimationScale(float arg0)
method_6601(float arg0)
m_hfeqmukv(float arg0)
getWarningAnimationProgress(float tickDelta)
getWarningAnimationProgress(float tickDelta)
m_29569_(float arg0)
protected float
fm()
getWaterSlowDown()
method_6120()
m_huhprabe()
getBaseMovementSpeedMultiplier()
getBaseMovementSpeedMultiplier()
m_6108_()
public SpawnGroupData
a(dhy arg0, btg arg1, bvp arg2, bwy arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_29534_, C_469_ p_369251_, C_345845_ p_29536_, C_542_ arg3)