Name | <InventoryTag.contains.lore[(strict:)<element>|...]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the inventory contains an item with the specified lore.
Use 'strict:' in front of the search elements to ensure all lore lines are EXACTLY the search elements, otherwise the searching will only check if the search elements are contained in the lore. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1575 |
Name | <InventoryTag.contains.lore[(strict:)<element>|...].quantity[<#>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the inventory contains a certain quantity of an item with the specified lore.
Use 'strict:' in front of the search elements to ensure all lore lines are EXACTLY the search elements, otherwise the searching will only check if the search elements are contained in the lore. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1599 |
Name | <InventoryTag.list_contents.with_lore[<element>]> |
Returns | ListTag(ItemTag) |
Mechanism | InventoryTag.contents |
Description | Returns a list of all items in the inventory with the specified
lore. Color codes are ignored. |
Group | properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryContents.java#L147 |
Name | <InventoryTag.list_contents.with_lore[<element>].simple> |
Returns | ListTag(ItemTag) |
Mechanism | InventoryTag.contents |
Description | Returns a list of all items in the inventory with the specified
lore, without item properties. Color codes are ignored. |
Group | properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryContents.java#L165 |
Name | <LocationTag.find.unexplored_structure[<type>].within[<#.#>]> |
Returns | LocationTag |
Description | Deprecated in favor of LocationTag.find_structure with 'unexplored=true' on 1.19+. |
Deprecated | Use 'LocationTag.find_structure' with 'unexplored=true' on 1.19+. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3100 |
Name | <LocationTag.find_structure[structure=<structure>;radius=<#>(;unexplored=<true/{false}>)]> |
Returns | LocationTag |
Description | Finds the closest structure of the given type within the specified chunk radius (if any), optionally only searching for unexplored ones.
For a list of default structures, see https://minecraft.wiki/w/Structure#ID. Alternatively, you can specify a custom structure from a datapack, plugin, etc. as a namespaced key. See also server.structures for all structures currently available on the server. |
Example |
|
Group | finding |
Warning(s) | See Structure lookups for potential issues/edge cases in structure lookups. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4311 |
Name | <ElementTag.lines_to_colored_list> |
Returns | ListTag |
Description | Returns a list of lines in the element, with colors spread over the lines manually.
Useful for things like item lore. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L317 |
Name | <ItemTag.has_lore> |
Returns | ElementTag(Boolean) |
Mechanism | ItemTag.lore |
Description | Returns whether the item has lore set on it. |
Generated Example |
|
Group | properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLore.java#L71 |
Name | <ItemTag.lore> |
Returns | ListTag |
Mechanism | ItemTag.lore |
Description | Returns lore as a ListTag. |
Generated Example |
|
Group | properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLore.java#L57 |
Name | <EntityTag.explored_locations> |
Returns | ListTag(LocationTag) |
Mechanism | EntityTag.explored_locations |
Description | (Property) Returns a sniffer's explored locations. |
Generated Example |
|
Group | Properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityExploredLocations.java#L11 |