net.minecraft.world.entity.monster

public class Slime

extends Mob implements Enemy

All mapped superinterfaces:

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

cng
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>
ca
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
bY
squish
field_7388
stretch
public float
bZ
oSquish
field_7387
lastStretch
private boolean
cb
wasOnGround
field_7391
onGroundLastTick

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
public SoundSource
dn()
getSoundSource()
method_5634()
getSoundCategory()
protected void
a(alg$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
go()
getSize()
method_7152()
getSize()
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public boolean
gp()
isTiny()
method_7157()
isSmall()
protected ParticleOptions
p()
getParticleType()
method_7162()
getParticles()
protected boolean
X()
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(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public EntityType<? extends Slime>
aq()
getType()
method_5864()
getType()
public void
a(bvk$d arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
public void
h(bvk arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
public void
a_(cpx arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
protected void
j(bwg arg0)
dealDamage(LivingEntity arg0)
method_7155(class_1309 arg0)
damage(LivingEntity target)
protected Vec3
a(bvk arg0, bvn 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
gk()
isDealsDamage()
method_7163()
canAttack()
protected float
gl()
getAttackDamage()
method_7158()
getDamageAmount()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
gm()
getSquishSound()
method_7160()
getSquishSound()
public static boolean
c(bvr<cng> arg0, dhj arg1, bvq arg2, jh arg3, bam 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
Z()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
protected boolean
gq()
doPlayJumpSound()
method_7159()
makesJumpSound()
public void
s()
jumpFromGround()
method_6043()
jump()
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz 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
gn()
getJumpSound()
method_7153()
getJumpSound()
public EntityDimensions
e(bws arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)