net.minecraft.world.entity.monster

public class Slime

extends Mob implements Enemy

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, Enemy

ckm
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>
cd
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 static final int
d
MAX_NATURAL_SIZE
field_50136
field_50136
f_315302_
public float
e
targetSquish
field_7389
targetStretch
f_33581_
public float
cb
squish
field_7388
stretch
f_33584_
public float
cc
oSquish
field_7387
lastStretch
f_33585_
private boolean
ce
wasOnGround
field_7391
onGroundLastTick
f_33583_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public SoundSource
de()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
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
gl()
getSize()
method_7152()
getSize()
m_33632_()
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
gm()
isTiny()
method_7157()
isSmall()
m_33633_()
protected ParticleOptions
t()
getParticleType()
method_7162()
getParticles()
m_6300_()
protected boolean
Z()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
protected void
gg()
decreaseSquish()
method_7156()
updateStretch()
m_7480_()
protected int
x()
getJumpDelay()
method_7154()
getTicksUntilNextJump()
m_7549_()
public void
i_()
refreshDimensions()
method_18382()
calculateDimensions()
m_6210_()
public void
a(ajw<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public EntityType<? extends Slime>
am()
getType()
method_5864()
getType()
m_6095_()
public void
a(bsr$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
h(bsr arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
m_7334_(C_507_ arg0)
public void
b_(cmx arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
protected void
j(btn arg0)
dealDamage(LivingEntity arg0)
method_7155(class_1309 arg0)
damage(LivingEntity target)
m_33637_(C_524_ arg0)
protected Vec3
a(bsr arg0, bsu arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_293035_(C_507_ p_298393_, C_510_ p_298662_, float arg2)
protected boolean
gh()
isDealsDamage()
method_7163()
canAttack()
m_7483_()
protected float
gi()
getAttackDamage()
method_7158()
getDamageAmount()
m_7566_()
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
gj()
getSquishSound()
method_7160()
getSquishSound()
m_7905_()
public static boolean
c(bsx<ckm> arg0, dcx arg1, btr arg2, jd arg3, ayw 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
fa()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public int
ac()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
protected boolean
gn()
doPlayJumpSound()
method_7159()
makesJumpSound()
m_33634_()
public void
ff()
jumpFromGround()
method_6043()
jump()
m_6135_()
public SpawnGroupData
a(ddl arg0, bqp arg1, btr arg2, buh arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_33602_, C_469_ p_33603_, C_529_ p_33604_, C_542_ arg3)
float
s()
getSoundPitch()
method_24353()
getJumpSoundPitch()
m_33642_()
protected SoundEvent
gk()
getJumpSound()
method_7153()
getJumpSound()
m_7903_()
public EntityDimensions
e(bua arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)