Closed tal5 closed 6 months ago
Is the new tag 1.19+ only? If so, it should be limited/marked as such. If it's not, the deprecations shouldn't be limited.
Is the new tag 1.19+ only? If so, it should be limited/marked as such. If it's not, the deprecations shouldn't be limited.
They're all already in if (isAtLeast(1.19))
checks - added 1.19+
notes to the meta deprecations though
Requested on Discord.
Changes
LocationTag.find.structure[<type>].within[<#.#>]
andLocationTag.find.unexplored_structure[<type>].within[<#.#>]
in favor ofLocationTag.find_structure
on 1.19+.server.structure_types
in favor ofserver.structures
on 1.19+.oldStructureTypes
deprecation warning, forserver.structure_types
.findStructureTags
deprecation warning, for theLocationTag.find.structure
tags.Additions
Structure lookups
language doc, detailing some edge-cases/issues with structure lookups.LocationTag.find_structure[structure=<structure>;radius=<number>(;unexplored=<true/{false}>)]
- does a structure lookup.LocationTag.find_structure_type[type=<type>;radius=<number>(;unexplored=<true/{false}>)]
- does a structure lookup by structure type (e.g.jigsaw
structures).