类 PlayerSpawnPhantomsEventTest
java.lang.Object
net.neoforged.neoforge.oldtest.entity.player.PlayerSpawnPhantomsEventTest
This tests for
PlayerSpawnPhantomsEventTest
and fires when the normal Phantom Spawns could occur.
In Game use, `/time set night`, then wait until natural spawns occur.
This test modifies the number of spawns to 20 as well as forcing it to happen regardless of the players last sleep time.
Vanilla has a minimum of 3 days since last sleep before a maximum of 4 (on hard mode) phantoms can spawn-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
ENABLE
private static final boolean ENABLE- 另请参阅:
-
-
构造器详细资料
-
PlayerSpawnPhantomsEventTest
public PlayerSpawnPhantomsEventTest()
-
-
方法详细资料
-
onPhantomsSpawn
-