Class FabricHelpers.SpawnPlacements
java.lang.Object
net.rebel459.unified.fabric.core.FabricHelpers.SpawnPlacements
- All Implemented Interfaces:
CommonHelpers.SpawnPlacements
- Enclosing class:
FabricHelpers
public static class FabricHelpers.SpawnPlacements
extends Object
implements CommonHelpers.SpawnPlacements
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends net.minecraft.world.entity.Mob>
voidregister(Supplier<net.minecraft.world.entity.EntityType<T>> type, net.minecraft.world.entity.SpawnPlacementType placementType, net.minecraft.world.level.levelgen.Heightmap.Types heightmap, net.minecraft.world.entity.SpawnPlacements.SpawnPredicate<T> spawnPredicate)
-
Constructor Details
-
SpawnPlacements
public SpawnPlacements()
-
-
Method Details
-
register
public <T extends net.minecraft.world.entity.Mob> void register(Supplier<net.minecraft.world.entity.EntityType<T>> type, net.minecraft.world.entity.SpawnPlacementType placementType, net.minecraft.world.level.levelgen.Heightmap.Types heightmap, net.minecraft.world.entity.SpawnPlacements.SpawnPredicate<T> spawnPredicate) - Specified by:
registerin interfaceCommonHelpers.SpawnPlacements
-