Package net.minecraftforge.debug.world
Class PotentialSpawnsEventTest
java.lang.Object
net.minecraftforge.debug.world.PotentialSpawnsEventTest
This tests net.minecraftforge.event.world.World.WorldEvent.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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
-
Field Details
-
ENABLED
public static final boolean ENABLED- See Also:
-
-
Constructor Details
-
PotentialSpawnsEventTest
public PotentialSpawnsEventTest()
-
-
Method Details
-
onlySpawnHostileMobs
-