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, class_9168 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, class_9168 location, SpawnRestriction.SpawnPredicate<?> predicate) Creates an instance of aEntryrecord class.