Package net.minecraft.world.gen
Class PhantomSpawner
java.lang.Object
net.minecraft.world.gen.PhantomSpawner
- All Implemented Interfaces:
Spawner
public class PhantomSpawner extends Object implements Spawner
-
Field Summary
Fields Modifier and Type Field Description private int
ticksUntilNextSpawn
-
Constructor Summary
Constructors Constructor Description PhantomSpawner()
-
Method Summary
Modifier and Type Method Description int
spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)
Spawns entities into a world.
-
Field Details
-
ticksUntilNextSpawn
private int ticksUntilNextSpawn
-
-
Constructor Details
-
PhantomSpawner
public PhantomSpawner()
-
-
Method Details