Class PlayerSpawnPhantomsEventTest

java.lang.Object
net.neoforged.neoforge.oldtest.entity.player.PlayerSpawnPhantomsEventTest

public class PlayerSpawnPhantomsEventTest extends Object
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 Details

  • Constructor Details

    • PlayerSpawnPhantomsEventTest

      public PlayerSpawnPhantomsEventTest()
  • Method Details