Uses of Enum Class
net.minecraftforge.event.entity.SpawnPlacementRegisterEvent.Operation
-
Uses of SpawnPlacementRegisterEvent.Operation in net.minecraftforge.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, SpawnPlacements.Type spawnType, Heightmap.Types heightmapType) <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<T extends Entity>
voidSpawnPlacementRegisterEvent.register
(EntityType<T> entityType, SpawnPlacements.Type placementType, Heightmap.Types heightmap, SpawnPlacements.SpawnPredicate<T> predicate, SpawnPlacementRegisterEvent.Operation operation) Register apredicate
for a givenentityType
andoperation
With the option of changing theplacementType
andheightmap
.