net.minecraft.world.entity.animal

public class PolarBear

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

atr
net.minecraft.world.entity.animal.PolarBear
net.minecraft.class_1456
net.minecraft.entity.passive.PolarBearEntity
net.minecraft.entity.passive.PolarBearEntity
net.minecraft.server.v1_15_R1.EntityPolarBear

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bw
DATA_STANDING_ID
field_6840
WARNING
field_189798_bx
private float
bx
clientSideStandAnimationO
field_6838
lastWarningAnimationProgress
field_189799_by
private float
by
clientSideStandAnimation
field_6837
warningAnimationProgress
field_189800_bz
private int
bz
warningSoundTicks
field_6839
warningSoundCooldown
field_189797_bB

Constructor summary

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

Method summary

Modifier and TypeMethod
public AgableMob
a(ako arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public boolean
i(ben arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected void
cA()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public static boolean
c(aku<atr> arg0, bjx arg1, alc arg2, fk 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, IWorld world, SpawnType spawnType, BlockPos pos, Random random)
func_223320_c(EntityType<PolarBearEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
protected SoundEvent
G()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(ajz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
cX()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected void
a(fk arg0, byj 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
eq()
playWarningSound()
method_6602()
playWarningSound()
func_189796_de()
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public EntityDimensions
a(alj arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
func_213305_a(Pose arg0)
public boolean
B(akq arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
public boolean
er()
isStanding()
method_6600()
isWarning()
func_189793_df()
public void
r(boolean arg0)
setStanding(boolean arg0)
method_6603(boolean arg0)
setWarning(boolean warning)
func_189794_p(boolean arg0)
protected float
ds()
getWaterSlowDown()
method_6120()
getBaseMovementSpeedMultiplier()
func_189749_co()
public SpawnGroupData
a(bjx arg0, ajj arg1, alc arg2, alm arg3, jt 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(IWorld arg0, LocalDifficulty arg1, SpawnType 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
v(float arg0)
getStandingAnimationScale(float arg0)
method_6601(float arg0)
getWarningAnimationProgress(float tickDelta)
func_189795_r(float arg0)