net.minecraft.entity.mob

public class SlimeEntity

extends AbstractSlimeEntity implements Monster

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable, Monster

net.minecraft.world.entity.monster.cubemob.Slime
net.minecraft.class_1_733
net.minecraft.entity.mob.SlimeEntity

Constructor summary

ModifierConstructor
public (EntityType<? extends SlimeEntity> type, World level)

Method summary

Modifier and TypeMethod
protected void
addBehaviourGoals()
method_1_4583()
addGoals()
protected void
addTargetingGoals()
method_1_4584()
addTargets()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected ParticleEffect
getParticleType()
method_7162()
getParticles()
protected SoundEvent
getSquishSound()
method_7160()
getSquishSound()
protected SoundEvent
getJumpSound()
method_7153()
getJumpSound()
public static boolean
checkSlimeSpawnRules(EntityType<Slime> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
method_1_4421(class_1299<class_1_733> 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 boolean
canBeABaby()
method_1_4043()
hasAge()
public EntityData
finalizeSpawn(ServerLevelAccessor level, DifficultyInstance difficulty, EntitySpawnReason spawnReason, SpawnGroupData groupData)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public void
setSize(int size, boolean updateHealth)
method_7161(int arg0, boolean arg1)
setSize(int arg0, boolean arg1)
private boolean
lambda$addTargetingGoals$0(LivingEntity arg0, ServerLevel arg1)
method_1_4422(class_1309 arg0, class_3218 arg1)
method_1_4422(LivingEntity target, ServerWorld world)