net.minecraft.world.entity.monster

public class Slime

extends Mob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy

bwj
net.minecraft.world.entity.monster.Slime
net.minecraft.class_1621
net.minecraft.entity.mob.SlimeEntity
net.minecraft.src.C_1059_
net.minecraft.world.entity.monster.EntitySlime

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bS
ID_SIZE
field_7390
SLIME_SIZE
f_33582_
public static final int
b
MIN_SIZE
field_30496
MIN_SIZE
f_149844_
public static final int
c
MAX_SIZE
field_30497
MAX_SIZE
f_149845_
public float
d
targetSquish
field_7389
targetStretch
f_33581_
public float
e
squish
field_7388
stretch
f_33584_
public float
bR
oSquish
field_7387
lastStretch
f_33585_
private boolean
bT
wasOnGround
field_7391
onGroundLastTick
f_33583_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
x()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
a(int arg0, boolean arg1)
setSize(int arg0, boolean arg1)
method_7161(int arg0, boolean arg1)
setSize(int size, boolean heal)
m_7839_(int p_33595_, boolean arg1)
public int
fU()
getSize()
method_7152()
getSize()
m_33632_()
public void
b(re arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(re arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
fV()
isTiny()
method_7157()
isSmall()
m_33633_()
protected ParticleOptions
r()
getParticleType()
method_7162()
getParticles()
m_6300_()
protected boolean
R()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
protected void
fP()
decreaseSquish()
method_7156()
updateStretch()
m_7480_()
protected int
w()
getJumpDelay()
method_7154()
getTicksUntilNextJump()
m_7549_()
public void
c_()
refreshDimensions()
method_18382()
calculateDimensions()
m_6210_()
public void
a(acl<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public EntityType<? extends Slime>
ae()
getType()
method_5864()
getType()
m_6095_()
public void
a(bfh$c arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
m_142687_(C_507_$C_141065_ arg0)
public void
g(bfh arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
m_7334_(C_507_ arg0)
public void
b_(bym arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
protected void
m(bfx arg0)
dealDamage(LivingEntity arg0)
method_7155(class_1309 arg0)
damage(LivingEntity target)
m_33637_(C_524_ arg0)
protected float
b(bgj arg0, bfi arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_33615_, C_510_ arg1)
protected boolean
fQ()
isDealsDamage()
method_7163()
canAttack()
m_7483_()
protected float
fR()
getAttackDamage()
method_7158()
getDamageAmount()
m_7566_()
protected SoundEvent
d(bem arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
fS()
getSquishSound()
method_7160()
getSquishSound()
m_7905_()
public static boolean
c(bfl<bwj> arg0, cmj arg1, bgb arg2, gt arg3, apo arg4)
checkSlimeSpawnRules(EntityType<Slime> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_20685(class_1299<class_1621> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_219112_(C_513_<C_1059_> p_219113_, C_1598_ p_219114_, C_529_ p_219115_, C_4675_ p_219116_, C_212974_ p_219117_)
protected float
eN()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public int
V()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
protected boolean
fW()
doPlayJumpSound()
method_7159()
makesJumpSound()
m_33634_()
protected void
eS()
jumpFromGround()
method_6043()
jump()
m_6135_()
public SpawnGroupData
a(cmx arg0, bdw arg1, bgb arg2, bgr arg3, re 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, NbtCompound arg4)
m_6518_(C_1618_ p_33602_, C_469_ p_33603_, C_529_ p_33604_, C_542_ p_33605_, C_4917_ arg4)
float
q()
getSoundPitch()
method_24353()
getJumpSoundPitch()
m_33642_()
protected SoundEvent
fT()
getJumpSound()
method_7153()
getJumpSound()
m_7903_()
public EntityDimensions
a(bgj arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)