mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 00:07:45 +00:00
This commit is contained in:
1 parent
130953e519
commit
83f4e6353c
2 files changed
+2
-2
No files matched your search
@@ -131,7 +131,7 @@ public class LevelEvent extends Event
|
||||
*
|
||||
* <p>If an entry is added to the list, it needs to be a globally unique instance.</p>
|
||||
*
|
||||
* The event is called in {@link net.minecraft.world.level.NaturalSpawner#getRandomSpawnMobAt(ServerLevel,
|
||||
* The event is called in {@link net.minecraft.world.level.NaturalSpawner#mobsAt(ServerLevel,
|
||||
* StructureManager, ChunkGenerator, MobCategory, RandomSource, BlockPos)}.</p>
|
||||
*
|
||||
* <p>This event is {@linkplain Cancelable cancellable}, and does not {@linkplain HasResult have a result}.
|
||||
|
||||
@@ -14,7 +14,7 @@ import net.minecraftforge.event.level.LevelEvent;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
|
||||
/**
|
||||
* <p>This tests net.minecraftforge.event.world.World.WorldEvent.PotentialSpawns. If ENABLED is set to true,
|
||||
* <p>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.</p>
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user