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 SpawnLocation
SpawnLocationTypes.IN_LAVA
static final SpawnLocation
SpawnLocationTypes.IN_WATER
private final SpawnLocation
SpawnRestriction.Entry.location
The field for thelocation
record component.static final SpawnLocation
SpawnLocationTypes.ON_GROUND
static final SpawnLocation
SpawnLocationTypes.UNRESTRICTED
Methods in net.minecraft.entity that return SpawnLocationModifier and TypeMethodDescriptionstatic SpawnLocation
SpawnRestriction.getLocation
(EntityType<?> type) SpawnRestriction.Entry.location()
Returns the value of thelocation
record 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 aEntry
record class.