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