Uses of Interface
net.minecraft.world.entity.SpawnPlacements.SpawnPredicate
Packages that use SpawnPlacements.SpawnPredicate
-
Uses of SpawnPlacements.SpawnPredicate in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as SpawnPlacements.SpawnPredicateModifier and TypeFieldDescriptionprivate final SpawnPlacements.SpawnPredicate
<?> SpawnPlacements.Data.predicate
The field for thepredicate
record component.Methods in net.minecraft.world.entity that return SpawnPlacements.SpawnPredicateModifier and TypeMethodDescriptionSpawnPlacements.Data.predicate()
Returns the value of thepredicate
record component.Methods in net.minecraft.world.entity with parameters of type SpawnPlacements.SpawnPredicateModifier and TypeMethodDescriptionprivate static <T extends Mob>
voidSpawnPlacements.register
(EntityType<T> p_21755_, SpawnPlacementType p_321847_, Heightmap.Types p_21757_, SpawnPlacements.SpawnPredicate<T> p_21758_) Deprecated.Constructors in net.minecraft.world.entity with parameters of type SpawnPlacements.SpawnPredicateModifierConstructorDescription(package private)
Data
(Heightmap.Types heightMap, SpawnPlacementType placement, SpawnPlacements.SpawnPredicate<?> predicate) Creates an instance of aData
record class. -
Uses of SpawnPlacements.SpawnPredicate in net.neoforged.neoforge.event.entity
Fields in net.neoforged.neoforge.event.entity declared as SpawnPlacements.SpawnPredicateModifier and TypeFieldDescriptionprivate final SpawnPlacements.SpawnPredicate
<T> RegisterSpawnPlacementsEvent.MergedSpawnPredicate.originalPredicate
private SpawnPlacements.SpawnPredicate
<T> RegisterSpawnPlacementsEvent.MergedSpawnPredicate.replacementPredicate
Fields in net.neoforged.neoforge.event.entity with type parameters of type SpawnPlacements.SpawnPredicateModifier and TypeFieldDescriptionprivate final List
<SpawnPlacements.SpawnPredicate<T>> RegisterSpawnPlacementsEvent.MergedSpawnPredicate.andPredicates
private final List
<SpawnPlacements.SpawnPredicate<T>> RegisterSpawnPlacementsEvent.MergedSpawnPredicate.orPredicates
Methods in net.neoforged.neoforge.event.entity that return SpawnPlacements.SpawnPredicateMethods in net.neoforged.neoforge.event.entity with parameters of type SpawnPlacements.SpawnPredicateModifier and TypeMethodDescriptionprivate void
RegisterSpawnPlacementsEvent.MergedSpawnPredicate.merge
(RegisterSpawnPlacementsEvent.Operation operation, SpawnPlacements.SpawnPredicate<T> predicate, @Nullable SpawnPlacementType spawnType, Heightmap.Types heightmapType) <T extends Entity>
voidRegisterSpawnPlacementsEvent.register
(EntityType<T> entityType, @Nullable SpawnPlacementType placementType, Heightmap.Types heightmap, SpawnPlacements.SpawnPredicate<T> predicate, RegisterSpawnPlacementsEvent.Operation operation) Register apredicate
for a givenentityType
andoperation
With the option of changing theplacementType
andheightmap
.<T extends Entity>
voidRegisterSpawnPlacementsEvent.register
(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate) Register an optional spawn placementpredicate
for a givenentityType
<T extends Entity>
voidRegisterSpawnPlacementsEvent.register
(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate, RegisterSpawnPlacementsEvent.Operation operation) Register apredicate
for a givenentityType
with a givenoperation
for handlingConstructors in net.neoforged.neoforge.event.entity with parameters of type SpawnPlacements.SpawnPredicateModifierConstructorDescriptionMergedSpawnPredicate
(SpawnPlacements.SpawnPredicate<T> originalPredicate, SpawnPlacementType spawnType, Heightmap.Types heightmapType)
RegisterSpawnPlacementsEvent
instead.