类 PhantomSpawner
- java.lang.Object
-
- net.minecraft.world.gen.PhantomSpawner
-
-
字段概要
字段 修饰符和类型 字段 说明 private intticksUntilNextSpawn
-
构造器概要
构造器 构造器 说明 PhantomSpawner()
-
-
-
方法详细资料
-
spawn
public int spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)
Spawns entities into a world.- 指定者:
spawn在接口中Spawner- 参数:
spawnMonsters- whether monsters should be spawnedspawnAnimals- whether animals should be spawned- 返回:
- the number of entities spawned
- Mappings:
Namespace Name Mixin selector official aLbvd;a(Labj;ZZ)Iintermediary method_6445Lnet/minecraft/class_5304;method_6445(Lnet/minecraft/class_3218;ZZ)Inamed spawnLnet/minecraft/world/gen/Spawner;spawn(Lnet/minecraft/server/world/ServerWorld;ZZ)I
-
-