Geyser/core/src/main/java/org/geysermc/geyser/item
chris f40ca2004e
Add ability to set molang tags for custom items (#4041)
* Start on custom molang tags with custom items

* geyser_custom instead of geyser item tag

* Address reviews, add custom namespace ("geyser_custom") to tags

* use isBlank() instead of isEmpty()

* More efficient item tag setting
Co-authored-by: Konicai <71294714+konicai@users.noreply.github.com>

* tags instead of temp

* Merge in master, adapt to changes in the MappingsReader, delete unused ToolBreakSpeedsUtils class

* oops

* clean diff

* Change namespace from `geyser_custom` to just `geyser`

* Don't force a namespace at all; just like blocks don't

* Tags for items are now, as blocks, NonNull. Additionally, calling the .tags() builder multiple times will not add both sets of tags, but replace the existing tag set

* Remove @NotNull usage in favor of @NonNull

* Allow setting null for tags, but ensure that .tags() is always non-null

* Fix nullable annotation on tags method in the builder interface
2023-11-09 08:44:13 +01:00
..
components Add ability to set molang tags for custom items (#4041) 2023-11-09 08:44:13 +01:00
exception Custom item support for extensions (#2822) 2022-07-02 12:50:16 -04:00
type Add support for custom blocks and skulls (#3505) 2023-08-21 16:04:08 -07:00
ArmorMaterial.java Yeet NbtItemStackTranslator 2023-04-08 12:45:13 -04:00
DyeableLeatherItem.java Yeet NbtItemStackTranslator 2023-04-08 12:45:13 -04:00
GeyserCustomItemData.java Add ability to set molang tags for custom items (#4041) 2023-11-09 08:44:13 +01:00
GeyserCustomItemOptions.java Mapping option for handheld display & fix for #3346 (#3672) 2023-04-11 14:32:31 -04:00
GeyserCustomMappingData.java Bump Protocol and update imports of org.cloudburstmc.protocol.bedrock.data.definitions 2023-05-23 16:34:50 -04:00
GeyserNonVanillaCustomItemData.java Add ability to set molang tags for custom items (#4041) 2023-11-09 08:44:13 +01:00
Items.java Validate written_book tags and fix writable book losing changes (#3894) 2023-06-18 20:02:27 -04:00