net.minecraft.world.entity.animal

public class PolarBear

extends Animal implements NeutralMob

All mapped superinterfaces:

Nameable, CommandSource, NeutralMob

ayz
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_R1.EntityPolarBear

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bv
DATA_STANDING_ID
field_6840
WARNING
field_189798_bx
private float
bw
clientSideStandAnimationO
field_6838
lastWarningAnimationProgress
field_189799_by
private float
bx
clientSideStandAnimation
field_6837
warningAnimationProgress
field_189800_bz
private int
by
warningSoundTicks
field_6839
warningSoundCooldown
field_189797_bB
private static final IntRange
bz
PERSISTENT_ANGER_TIME
field_25369
field_25369
field_234217_by_
private int
bA
remainingPersistentAngerTime
field_25370
angerTime
field_234218_bz_
private UUID
bB
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(aok arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public boolean
k(bki 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
eL()
createAttributes()
method_26891()
createPolarBearAttributes()
func_234219_eI_()
public static boolean
c(aoq<ayz> arg0, bqc arg1, apb arg2, fu 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(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
H_()
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
F_()
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
G_()
getPersistentAngerTarget()
method_29508()
getAngryAt()
func_230257_G__()
getAngerTarget()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(anw 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
a(fu arg0, cfj 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
eM()
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(apj arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
func_213305_a(Pose arg0)
public boolean
B(aom arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
attackEntity(Entity arg0)
public boolean
eN()
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(bqc arg0, ane arg1, apb arg2, apo arg3, le arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(WorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(GeneratorAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public float
u(float arg0)
getStandingAnimationScale(float arg0)
method_6601(float arg0)
getWarningAnimationProgress(float tickDelta)
func_189795_r(float arg0)