类 PotentialSpawnsEventTest
java.lang.Object
net.neoforged.neoforge.oldtest.world.PotentialSpawnsEventTest
This tests net.minecraftforge.event.world.World.LevelEvent.PotentialSpawns. If ENABLED is set to true, this test mod uses the PotentialSpawns event to prevent mobs in the MONSTER mob category from spawning if the game difficulty is set to anything other than hard.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
ENABLED
public static final boolean ENABLED- 另请参阅:
-
-
构造器详细资料
-
PotentialSpawnsEventTest
public PotentialSpawnsEventTest()
-
-
方法详细资料
-
onlySpawnHostileMobs
-