Uses of Interface
net.minecraft.entity.SpawnRestriction.SpawnPredicate
Packages that use SpawnRestriction.SpawnPredicate
-
Uses of SpawnRestriction.SpawnPredicate in net.minecraft.entity
Fields in net.minecraft.entity declared as SpawnRestriction.SpawnPredicateModifier and TypeFieldDescriptionprivate final SpawnRestriction.SpawnPredicate<?> SpawnRestriction.Entry.predicateThe field for thepredicaterecord component.Methods in net.minecraft.entity that return SpawnRestriction.SpawnPredicateModifier and TypeMethodDescriptionSpawnRestriction.Entry.predicate()Returns the value of thepredicaterecord component.Methods in net.minecraft.entity with parameters of type SpawnRestriction.SpawnPredicateModifier and TypeMethodDescriptionprivate static <T extends MobEntity>
voidSpawnRestriction.register(EntityType<T> type, SpawnLocation location, Heightmap.Type heightmapType, SpawnRestriction.SpawnPredicate<T> predicate) Constructors in net.minecraft.entity with parameters of type SpawnRestriction.SpawnPredicateModifierConstructorDescription(package private)Entry(Heightmap.Type heightmapType, SpawnLocation location, SpawnRestriction.SpawnPredicate<?> predicate) Creates an instance of aEntryrecord class.