net.minecraft.world.entity.monster

public class Slime

extends Mob implements Enemy

All mapped superinterfaces:

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

cmi
net.minecraft.world.entity.monster.Slime
net.minecraft.class_1621
net.minecraft.entity.mob.SlimeEntity
net.minecraft.world.entity.monster.EntitySlime

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bZ
ID_SIZE
field_7390
SLIME_SIZE
public static final int
a
MIN_SIZE
field_30496
MIN_SIZE
public static final int
b
MAX_SIZE
field_30497
MAX_SIZE
public static final int
c
MAX_NATURAL_SIZE
field_50136
field_50136
public float
d
targetSquish
field_7389
targetStretch
public float
bX
squish
field_7388
stretch
public float
bY
oSquish
field_7387
lastStretch
private boolean
ca
wasOnGround
field_7391
onGroundLastTick

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
E()
registerGoals()
method_5959()
initGoals()
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a(int arg0, boolean arg1)
setSize(int arg0, boolean arg1)
method_7161(int arg0, boolean arg1)
setSize(int size, boolean heal)
public int
gs()
getSize()
method_7152()
getSize()
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public boolean
gt()
isTiny()
method_7157()
isSmall()
protected ParticleOptions
p()
getParticleType()
method_7162()
getParticles()
protected boolean
ab()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
public void
h()
tick()
method_5773()
tick()
protected void
x()
decreaseSquish()
method_7156()
updateStretch()
protected int
t()
getJumpDelay()
method_7154()
getTicksUntilNextJump()
public void
m_()
refreshDimensions()
method_18382()
calculateDimensions()
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public EntityType<? extends Slime>
aq()
getType()
method_5864()
getType()
public void
a(bum$d arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
public void
h(bum arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
public void
a_(coy arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
protected void
j(bvi arg0)
dealDamage(LivingEntity arg0)
method_7155(class_1309 arg0)
damage(LivingEntity target)
protected Vec3
a(bum arg0, bup 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)
protected boolean
go()
isDealsDamage()
method_7163()
canAttack()
protected float
gp()
getAttackDamage()
method_7158()
getDamageAmount()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
gq()
getSquishSound()
method_7160()
getSquishSound()
public static boolean
c(but<cmi> arg0, dgk arg1, bus arg2, ji arg3, azh arg4)
checkSlimeSpawnRules(EntityType<Slime> arg0, LevelAccessor arg1, EntitySpawnReason 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)
protected float
fg()
getSoundVolume()
method_6107()
getSoundVolume()
public int
ad()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
protected boolean
gu()
doPlayJumpSound()
method_7159()
makesJumpSound()
public void
s()
jumpFromGround()
method_6043()
jump()
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason 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)
float
m()
getSoundPitch()
method_24353()
getJumpSoundPitch()
protected SoundEvent
gr()
getJumpSound()
method_7153()
getJumpSound()
public EntityDimensions
e(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)