Uses of Interface
net.minecraft.world.entity.SpawnPlacements.SpawnPredicate
-
Uses of SpawnPlacements.SpawnPredicate in net.minecraft.world.entity
Modifier and TypeFieldDescription(package private) final SpawnPlacements.SpawnPredicate<?>
SpawnPlacements.Data.predicate
Modifier and TypeMethodDescriptionstatic <T extends Mob>
voidSpawnPlacements.register
(EntityType<T> p_21755_, SpawnPlacements.Type p_21756_, Heightmap.Types p_21757_, SpawnPlacements.SpawnPredicate<T> p_21758_) Deprecated.ModifierConstructorDescriptionData
(Heightmap.Types p_21771_, SpawnPlacements.Type p_21772_, SpawnPlacements.SpawnPredicate<?> p_21773_) -
Uses of SpawnPlacements.SpawnPredicate in net.minecraftforge.event.entity
Modifier and TypeFieldDescriptionprivate final SpawnPlacements.SpawnPredicate<T>
SpawnPlacementRegisterEvent.MergedSpawnPredicate.originalPredicate
private SpawnPlacements.SpawnPredicate<T>
SpawnPlacementRegisterEvent.MergedSpawnPredicate.replacementPredicate
Modifier and TypeFieldDescriptionprivate final List<SpawnPlacements.SpawnPredicate<T>>
SpawnPlacementRegisterEvent.MergedSpawnPredicate.andPredicates
private final List<SpawnPlacements.SpawnPredicate<T>>
SpawnPlacementRegisterEvent.MergedSpawnPredicate.orPredicates
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) Register an optional spawn placementpredicate
for a givenentityType
<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
.ModifierConstructorDescriptionMergedSpawnPredicate
(SpawnPlacements.SpawnPredicate<T> originalPredicate, SpawnPlacements.Type spawnType, Heightmap.Types heightmapType)