Uses of Enum Class
net.neoforged.neoforge.event.entity.SpawnPlacementRegisterEvent.Operation
-
Uses of SpawnPlacementRegisterEvent.Operation in net.neoforged.neoforge.event.entity
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.SpawnPlacementRegisterEvent.Operation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate void
SpawnPlacementRegisterEvent.MergedSpawnPredicate.merge
(SpawnPlacementRegisterEvent.Operation operation, SpawnPlacements.SpawnPredicate<T> predicate, @Nullable SpawnPlacementType spawnType, Heightmap.Types heightmapType) <T extends Entity>
voidSpawnPlacementRegisterEvent.register
(EntityType<T> entityType, @Nullable SpawnPlacementType placementType, Heightmap.Types heightmap, SpawnPlacements.SpawnPredicate<T> predicate, SpawnPlacementRegisterEvent.Operation operation) Register apredicate
for a givenentityType
andoperation
With the option of changing theplacementType
andheightmap
.<T extends Entity>
voidSpawnPlacementRegisterEvent.register
(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate, SpawnPlacementRegisterEvent.Operation operation) Register apredicate
for a givenentityType
with a givenoperation
for handling