mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-08 06:26:43 +01:00
Reduce slime spawn rate
This commit is contained in:
parent
515efb93cb
commit
aa595d4284
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ public class SlimePustuleBlock extends Block {
|
|||
@Deprecated
|
||||
@Override
|
||||
public void randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) {
|
||||
if (state.get(SHAPE) == Shape.POD) {
|
||||
if (state.get(SHAPE) == Shape.POD && random.nextInt(130) == 0) {
|
||||
SlimeEntity slime = EntityType.SLIME.create(world);
|
||||
slime.setSize(1, true);
|
||||
slime.setPosition(pos.toCenterPos());
|
||||
|
|
Loading…
Reference in a new issue