Package net.minecraft.world.spawner
Class PhantomSpawner
java.lang.Object
net.minecraft.world.spawner.PhantomSpawner
- All Implemented Interfaces:
- Spawner
- Mappings:
- Namespace - Name - official - dhw- intermediary - net/minecraft/class_2910- named - net/minecraft/world/spawner/PhantomSpawner
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintspawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) Spawns entities into a world.
- 
Field Details- 
cooldownprivate int cooldown- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldhw;a:I- intermediary - field_13244- Lnet/minecraft/class_2910;field_13244:I- named - cooldown- Lnet/minecraft/world/spawner/PhantomSpawner;cooldown:I
 
 
- 
- 
Constructor Details- 
PhantomSpawnerpublic PhantomSpawner()
 
- 
- 
Method Details- 
spawnSpawns entities into a world.- Specified by:
- spawnin interface- Spawner
- Parameters:
- spawnMonsters- whether monsters should be spawned
- spawnAnimals- whether animals should be spawned
- Returns:
- the number of entities spawned
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lclz;a(Laif;ZZ)I- intermediary - method_6445- Lnet/minecraft/class_5304;method_6445(Lnet/minecraft/class_3218;ZZ)I- named - spawn- Lnet/minecraft/world/spawner/Spawner;spawn(Lnet/minecraft/server/world/ServerWorld;ZZ)I
 
 
-