net.minecraft.world.entity.animal

public class PolarBear

extends Animal implements NeutralMob

All mapped superinterfaces:

Nameable, CommandSource, NeutralMob

bao
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.server.v1_16_R3.EntityPolarBear

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bo
DATA_STANDING_ID
field_6840
f_qbuzwhue
WARNING
field_189798_bx
private float
bp
clientSideStandAnimationO
field_6838
f_phyyezip
lastWarningAnimationProgress
field_189799_by
private float
bq
clientSideStandAnimation
field_6837
f_ebchjimy
warningAnimationProgress
field_189800_bz
private int
br
warningSoundTicks
field_6839
f_iswmrnbz
warningSoundCooldown
field_189797_bB
private static final IntRange
bs
PERSISTENT_ANGER_TIME
field_25369
f_obsrukdc
ANGER_TIME_RANGE
field_234217_by_
private int
bt
remainingPersistentAngerTime
field_25370
f_frsqzgvn
angerTime
field_234218_bz_
private UUID
bu
persistentAngerTarget
field_25368
f_gohjglwc
targetUuid
field_234216_bA_

Constructor summary

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

Method summary

Modifier and TypeMethod
public AgableMob
a(aag arg0, apy arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
m_ycxrxdtb(C_bdwnwhiu arg0, C_rswhorqk arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public boolean
k(bmb arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
protected void
o()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
func_184651_r()
initPathfinder()
public static AttributeSupplier$Builder
eK()
createAttributes()
method_26891()
m_rvvfnpss()
createPolarBearAttributes()
func_234219_eI_()
public static boolean
c(aqe<bao> arg0, bry arg1, aqp arg2, fx arg3, Random arg4)
checkPolarBearSpawnRules(EntityType<PolarBear> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20668(class_1299<class_1456> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
m_xaiaretn(C_ogavsvbr<C_vnjvvxhc> arg0, C_vdvbsyle arg1, C_uzzvxofv arg2, C_hynzadkk arg3, Random arg4)
canSpawn(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
func_223320_c(EntityType<PolarBearEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
G_()
startPersistentAngerTimer()
method_29509()
m_cfljxifr()
chooseRandomAngerTime()
func_230258_H__()
anger()
public void
a_(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
m_lsgfuuiy(int arg0)
setAngerTime(int arg0)
func_230260_a__(int arg0)
setAnger(int arg0)
public int
E_()
getRemainingPersistentAngerTime()
method_29507()
m_bqcsagkf()
getAngerTime()
func_230256_F__()
getAnger()
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
m_xthjcgcz(UUID arg0)
setAngryAt(UUID arg0)
func_230259_a_(UUID arg0)
setAngerTarget(UUID arg0)
public UUID
F_()
getPersistentAngerTarget()
method_29508()
m_sqomxrhy()
getAngryAt()
func_230257_G__()
getAngerTarget()
protected SoundEvent
I()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dq()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected void
b(fx arg0, ceh 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)
func_180429_a(BlockPos arg0, BlockState arg1)
protected void
eL()
playWarningSound()
method_6602()
m_mjunpdkr()
playWarningSound()
func_189796_de()
protected void
e()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
j()
tick()
method_5773()
m_arkgrfeb()
tick()
func_70071_h_()
tick()
public EntityDimensions
a(aqx arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
m_ucyctjbx(C_ufdjspmk arg0)
getDimensions(EntityPose arg0)
func_213305_a(Pose arg0)
public boolean
B(aqa arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
m_orenzeoc(C_astfners arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
attackEntity(Entity arg0)
public boolean
eM()
isStanding()
method_6600()
m_jrftjlcw()
isWarning()
func_189793_df()
public void
t(boolean arg0)
setStanding(boolean arg0)
method_6603(boolean arg0)
m_nuwkmmfi(boolean arg0)
setWarning(boolean warning)
func_189794_p(boolean arg0)
protected float
dM()
getWaterSlowDown()
method_6120()
m_huhprabe()
getBaseMovementSpeedMultiplier()
func_189749_co()
public SpawnGroupData
a(bsk arg0, aos arg1, aqp arg2, arc 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)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound 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)
public float
y(float arg0)
getStandingAnimationScale(float arg0)
method_6601(float arg0)
m_hfeqmukv(float arg0)
getWarningAnimationProgress(float tickDelta)
func_189795_r(float arg0)