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 intticksUntilNextSpawn -
Constructor Summary
Constructors Constructor Description PhantomSpawner() -
Method Summary
Modifier and Type Method Description intspawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)Spawns entities into a world.
-
Field Details
-
ticksUntilNextSpawn
private int ticksUntilNextSpawn
-
-
Constructor Details
-
PhantomSpawner
public PhantomSpawner()
-
-
Method Details