net.minecraft.world.entity.monster

public class Slime

extends Mob implements Enemy

All mapped superinterfaces:

Nameable, CommandSource, Enemy

bck
net.minecraft.world.entity.monster.Slime
net.minecraft.class_1621
net.minecraft.entity.mob.SlimeEntity
net.minecraft.entity.monster.SlimeEntity
net.minecraft.server.v1_16_R1.EntitySlime

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bv
ID_SIZE
field_7390
SLIME_SIZE
field_184711_bt
public float
b
targetSquish
field_7389
targetStretch
field_70813_a
public float
c
squish
field_7388
stretch
field_70811_b
public float
d
oSquish
field_7387
lastStretch
field_70812_c
private boolean
bw
wasOnGround
field_7391
onGroundLastTick
field_175452_bi

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected void
a(int arg0, boolean arg1)
setSize(int arg0, boolean arg1)
method_7161(int arg0, boolean arg1)
setSize(int size, boolean heal)
func_70799_a(int arg0, boolean arg1)
setSize(int arg0, boolean arg1)
public int
eQ()
getSize()
method_7152()
getSize()
func_70809_q()
getSize()
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
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public boolean
eR()
isTiny()
method_7157()
isSmall()
func_189101_db()
protected ParticleOptions
eJ()
getParticleType()
method_7162()
getParticles()
func_195404_m()
protected boolean
L()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
func_225511_J_()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
protected void
eL()
decreaseSquish()
method_7156()
updateStretch()
func_70808_l()
protected int
eK()
getJumpDelay()
method_7154()
getTicksUntilNextJump()
func_70806_k()
public void
y_()
refreshDimensions()
method_18382()
calculateDimensions()
func_213323_x_()
updateSize()
public void
a(tq<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
public EntityType<? extends Slime>
U()
getType()
method_5864()
getType()
func_200600_R()
getEntityType()
public void
aa()
remove()
method_5650()
remove()
func_70106_y()
die()
public void
i(aom arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
func_70108_f(Entity arg0)
collide(Entity arg0)
public void
a_(bec arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
func_70100_b_(PlayerEntity arg0)
pickup(EntityHuman arg0)
protected void
j(aoy arg0)
dealDamage(LivingEntity arg0)
method_7155(class_1309 arg0)
damage(LivingEntity target)
func_175451_e(LivingEntity arg0)
protected float
b(apj arg0, aon arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
protected boolean
eM()
isDealsDamage()
method_7163()
canAttack()
func_70800_m()
protected float
eN()
getAttackDamage()
method_7158()
getDamageAmount()
func_225512_er_()
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 SoundEvent
eO()
getSquishSound()
method_7160()
getSquishSound()
func_184709_cY()
getSoundSquish()
protected ResourceLocation
J()
getDefaultLootTable()
method_5991()
getLootTableId()
func_184647_J()
getDefaultLootTable()
public static boolean
c(aoq<bck> arg0, bqc arg1, apb arg2, fu arg3, Random arg4)
checkSlimeSpawnRules(EntityType<Slime> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20685(class_1299<class_1621> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
func_223366_c(EntityType<SlimeEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
protected float
dF()
getSoundVolume()
method_6107()
getSoundVolume()
func_70599_aP()
getSoundVolume()
public int
eo()
getMaxHeadXRot()
method_5978()
getLookPitchSpeed()
func_70646_bf()
protected boolean
eS()
doPlayJumpSound()
method_7159()
makesJumpSound()
func_70807_r()
protected void
dJ()
jumpFromGround()
method_6043()
jump()
func_70664_aZ()
jump()
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)
private float
m()
getSoundPitch()
method_24353()
getJumpSoundPitch()
func_234304_m_()
protected SoundEvent
eP()
getJumpSound()
method_7153()
getJumpSound()
func_184710_cZ()
getSoundJump()
public EntityDimensions
a(apj arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
func_213305_a(Pose arg0)