Package net.minecraft.world.spawner
Class PhantomSpawner
java.lang.Object
net.minecraft.world.spawner.PhantomSpawner
- All Implemented Interfaces:
SpecialSpawner
- Mappings:
Namespace Name named net/minecraft/world/spawner/PhantomSpawnerintermediary net/minecraft/class_2910official elg
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidspawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) Spawns entities into a world.
-
Field Details
-
field_59041
public static final int field_59041- See Also:
- Mappings:
Namespace Name Mixin selector named field_59041Lnet/minecraft/world/spawner/PhantomSpawner;field_59041:Iintermediary field_59041Lnet/minecraft/class_2910;field_59041:Iofficial aLelg;a:I
-
cooldown
private int cooldown- Mappings:
Namespace Name Mixin selector named cooldownLnet/minecraft/world/spawner/PhantomSpawner;cooldown:Iintermediary field_13244Lnet/minecraft/class_2910;field_13244:Iofficial bLelg;b:I
-
-
Constructor Details
-
PhantomSpawner
public PhantomSpawner()
-
-
Method Details
-
spawn
Spawns entities into a world.- Specified by:
spawnin interfaceSpecialSpawner- Parameters:
spawnMonsters- whether monsters should be spawnedspawnAnimals- whether animals should be spawned- Mappings:
Namespace Name Mixin selector named spawnLnet/minecraft/world/spawner/SpecialSpawner;spawn(Lnet/minecraft/server/world/ServerWorld;ZZ)Vintermediary method_6445Lnet/minecraft/class_5304;method_6445(Lnet/minecraft/class_3218;ZZ)Vofficial aLdmk;a(Last;ZZ)V
-