net.minecraft.world.entity.animal

public class PolarBear

extends Animal implements NeutralMob

All mapped superinterfaces:

Nameable, CommandSource, NeutralMob

bal
net.minecraft.world.entity.animal.PolarBear
net.minecraft.class_1456
net.minecraft.entity.passive.PolarBearEntity
net.minecraft.entity.passive.PolarBearEntity
net.minecraft.server.v1_16_R2.EntityPolarBear

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public AgableMob
a(aag arg0, apv arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_5613(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)
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public static AttributeSupplier$Builder
eK()
createAttributes()
method_26891()
createPolarBearAttributes()
func_234219_eI_()
public static boolean
c(aqb<bal> arg0, brv arg1, aqm 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)
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)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
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
G_()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
func_230258_H__()
anger()
public void
a_(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
setAngerTime(int arg0)
func_230260_a__(int arg0)
setAnger(int arg0)
public int
E_()
getRemainingPersistentAngerTime()
method_29507()
getAngerTime()
func_230256_F__()
getAnger()
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
setAngryAt(UUID arg0)
func_230259_a_(UUID arg0)
setAngerTarget(UUID arg0)
public UUID
F_()
getPersistentAngerTarget()
method_29508()
getAngryAt()
func_230257_G__()
getAngerTarget()
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()
protected void
b(fx arg0, cee arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)
protected void
eL()
playWarningSound()
method_6602()
playWarningSound()
func_189796_de()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public EntityDimensions
a(aqu arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
func_213305_a(Pose arg0)
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 boolean
eM()
isStanding()
method_6600()
isWarning()
func_189793_df()
public void
t(boolean arg0)
setStanding(boolean arg0)
method_6603(boolean arg0)
setWarning(boolean warning)
func_189794_p(boolean arg0)
protected float
dL()
getWaterSlowDown()
method_6120()
getBaseMovementSpeedMultiplier()
func_189749_co()
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)
public float
y(float arg0)
getStandingAnimationScale(float arg0)
method_6601(float arg0)
getWarningAnimationProgress(float tickDelta)
func_189795_r(float arg0)