net.minecraft.world.entity.monster

public class Slime

extends Mob implements Enemy

All mapped superinterfaces:

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

coc
net.minecraft.world.entity.monster.Slime
net.minecraft.class_1621
net.minecraft.entity.mob.SlimeEntity

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bG
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
bE
squish
field_7388
stretch
public float
bF
oSquish
field_7387
lastStretch
private boolean
bH
wasOnGround
field_7391
onGroundLastTick

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
D()
registerGoals()
method_5959()
initGoals()
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()
protected void
a(akl$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(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public boolean
gp()
isTiny()
method_7157()
isSmall()
protected ParticleOptions
m()
getParticleType()
method_7162()
getParticles()
protected boolean
aa()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
public void
h()
tick()
method_5773()
tick()
protected void
q()
decreaseSquish()
method_7156()
updateStretch()
protected int
n()
getJumpDelay()
method_7154()
getTicksUntilNextJump()
public void
i_()
refreshDimensions()
method_18382()
calculateDimensions()
public void
a(akh<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public EntityType<? extends Slime>
aq()
getType()
method_5864()
getType()
public void
a(bwa$e arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
public void
h(bwa arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
public void
a_(cqs arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
protected void
i(bwz arg0)
dealDamage(LivingEntity arg0)
method_7155(class_1309 arg0)
damage(LivingEntity target)
protected Vec3
a(bwa arg0, bwd 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
t()
isDealsDamage()
method_7163()
canAttack()
protected float
x()
getAttackDamage()
method_7158()
getDamageAmount()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
gm()
getSquishSound()
method_7160()
getSquishSound()
public static boolean
c(bwj<coc> arg0, diq arg1, bwi arg2, iu arg3, azt 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
fd()
getSoundVolume()
method_6107()
getSoundVolume()
public int
ac()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
protected boolean
gq()
doPlayJumpSound()
method_7159()
makesJumpSound()
public void
s()
jumpFromGround()
method_6043()
jump()
public SpawnGroupData
a(djg arg0, btw arg1, bwi arg2, bxr 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
j()
getSoundPitch()
method_24353()
getJumpSoundPitch()
protected SoundEvent
gn()
getJumpSound()
method_7153()
getJumpSound()
public EntityDimensions
e(bxl arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)