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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <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)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      register in interface CommonHelpers.SpawnPlacements