net.minecraft.world.entity.monster

public class Slime

extends Mob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

blu
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>
bW
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
bV
oSquish
field_7387
lastStretch
f_33585_
private boolean
bX
wasOnGround
field_7391
onGroundLastTick
f_33583_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
protected 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
fB()
getSize()
method_7152()
getSize()
m_33632_()
public void
b(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(oc arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
fC()
isTiny()
method_7157()
isSmall()
m_33633_()
protected ParticleOptions
q()
getParticleType()
method_7162()
getParticles()
m_6300_()
protected boolean
P()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
protected void
fw()
decreaseSquish()
method_7156()
updateStretch()
m_7480_()
protected int
t()
getJumpDelay()
method_7154()
getTicksUntilNextJump()
m_7549_()
public void
z_()
refreshDimensions()
method_18382()
calculateDimensions()
m_6210_()
public void
a(xp<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public EntityType<? extends Slime>
ad()
getType()
method_5864()
getType()
m_6095_()
public void
a(awt$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(awt arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
m_7334_(C_507_ arg0)
public void
b(bnr arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
protected void
j(axh arg0)
dealDamage(LivingEntity arg0)
method_7155(class_1309 arg0)
damage(LivingEntity target)
m_33637_(C_524_ arg0)
protected float
b(axt arg0, awu 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
fx()
isDealsDamage()
method_7163()
canAttack()
m_7483_()
protected float
fy()
getAttackDamage()
method_7158()
getDamageAmount()
m_7566_()
protected SoundEvent
c(awd 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
fz()
getSquishSound()
method_7160()
getSquishSound()
m_7905_()
protected ResourceLocation
N()
getDefaultLootTable()
method_5991()
getLootTableId()
m_7582_()
public static boolean
c(awx<blu> arg0, cae arg1, axl arg2, gh 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)
m_33620_(C_513_<C_1059_> p_33621_, C_1598_ p_33622_, C_529_ p_33623_, C_4675_ p_33624_, Random p_33625_)
protected float
eu()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public int
T()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
protected boolean
fD()
doPlayJumpSound()
method_7159()
makesJumpSound()
m_33634_()
protected void
ez()
jumpFromGround()
method_6043()
jump()
m_6135_()
public SpawnGroupData
a(cas arg0, avo arg1, axl arg2, axz arg3, oc 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
n()
getSoundPitch()
method_24353()
getJumpSoundPitch()
m_33642_()
protected SoundEvent
fA()
getJumpSound()
method_7153()
getJumpSound()
m_7903_()
public EntityDimensions
a(axt arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)