net.minecraft.world.entity.monster

public class Slime

extends Mob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
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)
setSize(int arg0, boolean arg1)
public int
fz()
getSize()
method_7152()
getSize()
m_33632_()
getSize()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public boolean
fA()
isTiny()
method_7157()
isSmall()
m_33633_()
protected ParticleOptions
p()
getParticleType()
method_7162()
getParticles()
m_6300_()
protected boolean
Q()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
tick()
protected void
fu()
decreaseSquish()
method_7156()
updateStretch()
m_7480_()
protected int
t()
getJumpDelay()
method_7154()
getTicksUntilNextJump()
m_7549_()
public void
x_()
refreshDimensions()
method_18382()
calculateDimensions()
m_6210_()
updateSize()
public void
a(wf<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public EntityType<? extends Slime>
Y()
getType()
method_5864()
getType()
m_6095_()
getEntityType()
public void
a(atg$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(atg arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
m_7334_(C_507_ arg0)
collide(Entity arg0)
public void
b(bke arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
pickup(EntityHuman arg0)
protected void
j(atu arg0)
dealDamage(LivingEntity arg0)
method_7155(class_1309 arg0)
damage(LivingEntity target)
m_33637_(C_524_ arg0)
protected float
b(aug arg0, ath 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
fv()
isDealsDamage()
method_7163()
canAttack()
m_7483_()
protected float
fw()
getAttackDamage()
method_7158()
getDamageAmount()
m_7566_()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
protected SoundEvent
fx()
getSquishSound()
method_7160()
getSquishSound()
m_7905_()
getSoundSquish()
protected ResourceLocation
N()
getDefaultLootTable()
method_5991()
getLootTableId()
m_7582_()
getDefaultLootTable()
public static boolean
c(atk<bih> arg0, bwr arg1, aty arg2, gg 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
eo()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
getSoundVolume()
public int
eZ()
getMaxHeadXRot()
method_5978()
getLookPitchSpeed()
m_8132_()
protected boolean
fB()
doPlayJumpSound()
method_7159()
makesJumpSound()
m_33634_()
protected void
et()
jumpFromGround()
method_6043()
jump()
m_6135_()
jump()
public SpawnGroupData
a(bxe arg0, arz arg1, aty arg2, aum arg3, na 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)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
float
n()
getSoundPitch()
method_24353()
getJumpSoundPitch()
m_33642_()
protected SoundEvent
fy()
getJumpSound()
method_7153()
getJumpSound()
m_7903_()
getSoundJump()
public EntityDimensions
a(aug arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)