Uses of Enum
net.minecraft.entity.SpawnRestriction.Location
Packages that use SpawnRestriction.Location
-
Uses of SpawnRestriction.Location in net.minecraft.entity
Fields in net.minecraft.entity declared as SpawnRestriction.LocationModifier and TypeFieldDescriptionprivate SpawnRestriction.Location
SpawnRestriction.Entry.location
Methods in net.minecraft.entity that return SpawnRestriction.LocationModifier and TypeMethodDescriptionstatic SpawnRestriction.Location
SpawnRestriction.getLocation(EntityType<?> type)
static SpawnRestriction.Location
Returns the enum constant of this type with the specified name.static SpawnRestriction.Location[]
SpawnRestriction.Location.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.entity with parameters of type SpawnRestriction.LocationModifier and TypeMethodDescriptionprivate static <T extends MobEntity>
voidSpawnRestriction.register(EntityType<T> type, SpawnRestriction.Location location, Heightmap.Type heightmapType, SpawnRestriction.SpawnPredicate<T> predicate)
Constructors in net.minecraft.entity with parameters of type SpawnRestriction.LocationModifierConstructorDescriptionEntry(Heightmap.Type heightmapType, SpawnRestriction.Location location, SpawnRestriction.SpawnPredicate<?> predicate)
-
Uses of SpawnRestriction.Location in net.minecraft.world
Methods in net.minecraft.world with parameters of type SpawnRestriction.LocationModifier and TypeMethodDescriptionstatic boolean
SpawnHelper.canSpawn(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType)