net.minecraft.world.entity.monster

public class Slime

extends Mob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy

bzr
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>
bT
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
bS
oSquish
field_7387
lastStretch
f_33585_
private boolean
bU
wasOnGround
field_7391
onGroundLastTick
f_33583_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
public SoundSource
da()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
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
ge()
getSize()
method_7152()
getSize()
m_33632_()
public void
b(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qw arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
gf()
isTiny()
method_7157()
isSmall()
m_33633_()
protected ParticleOptions
t()
getParticleType()
method_7162()
getParticles()
m_6300_()
protected boolean
V()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
protected void
fZ()
decreaseSquish()
method_7156()
updateStretch()
m_7480_()
protected int
y()
getJumpDelay()
method_7154()
getTicksUntilNextJump()
m_7549_()
public void
i_()
refreshDimensions()
method_18382()
calculateDimensions()
m_6210_()
public void
a(aee<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public EntityType<? extends Slime>
ag()
getType()
method_5864()
getType()
m_6095_()
public void
a(biq$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(biq arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
m_7334_(C_507_ arg0)
public void
b_(cbu arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
protected void
j(bjg arg0)
dealDamage(LivingEntity arg0)
method_7155(class_1309 arg0)
damage(LivingEntity target)
m_33637_(C_524_ arg0)
protected float
b(bjs arg0, bir 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 org.joml.Vector3f
a(biq arg0, bir 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_292594_(C_507_ p_298393_, C_510_ p_298662_, float arg2)
protected boolean
ga()
isDealsDamage()
method_7163()
canAttack()
m_7483_()
protected float
gb()
getAttackDamage()
method_7158()
getDamageAmount()
m_7566_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
gc()
getSquishSound()
method_7160()
getSquishSound()
m_7905_()
public static boolean
c(biu<bzr> arg0, cpw arg1, bjk arg2, gw arg3, asc 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
eV()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public int
Y()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
protected boolean
gg()
doPlayJumpSound()
method_7159()
makesJumpSound()
m_33634_()
protected void
fa()
jumpFromGround()
method_6043()
jump()
m_6135_()
public SpawnGroupData
a(cqk arg0, bgw arg1, bjk arg2, bjz arg3, qw 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
s()
getSoundPitch()
method_24353()
getJumpSoundPitch()
m_33642_()
protected SoundEvent
gd()
getJumpSound()
method_7153()
getJumpSound()
m_7903_()
public EntityDimensions
a(bjs arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)