Class 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-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
ENABLE
private static final boolean ENABLE- See Also:
-
-
Constructor Details
-
PlayerSpawnPhantomsEventTest
public PlayerSpawnPhantomsEventTest()
-
-
Method Details
-
onPhantomsSpawn
-