Uses of Interface
net.minecraft.entity.SpawnLocation
Packages that use SpawnLocation
-
Uses of SpawnLocation in net.minecraft.entity
Fields in net.minecraft.entity declared as SpawnLocationModifier and TypeFieldDescriptionstatic final SpawnLocationSpawnLocationTypes.IN_LAVAstatic final SpawnLocationSpawnLocationTypes.IN_WATERprivate final SpawnLocationSpawnRestriction.Entry.locationThe field for thelocationrecord component.static final SpawnLocationSpawnLocationTypes.ON_GROUNDstatic final SpawnLocationSpawnLocationTypes.UNRESTRICTEDMethods in net.minecraft.entity that return SpawnLocationModifier and TypeMethodDescriptionstatic SpawnLocationSpawnRestriction.getLocation(EntityType<?> type) SpawnRestriction.Entry.location()Returns the value of thelocationrecord component.Methods in net.minecraft.entity with parameters of type SpawnLocationModifier 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 SpawnLocationModifierConstructorDescription(package private)Entry(Heightmap.Type heightmapType, SpawnLocation location, SpawnRestriction.SpawnPredicate<?> predicate) Creates an instance of aEntryrecord class.