Commit Graph

18 Commits

Author SHA1 Message Date
Tim203 c5d4b86564
Prepare for changes made in CloudburstMC/Protocol#205 2023-06-03 11:47:50 +02:00
rtm516 178fb2136f
Allow custom bows and food to be registered using the API (#3782) 2023-05-21 13:22:15 +01:00
rtm516 870a838c0f
Add the ability for custom items to show with an enchantment glint (#3766) 2023-05-13 00:40:17 +01:00
Camotoy 6e9b272f50
Should fix custom items and durability 2023-05-03 20:17:05 -04:00
ImDaBigBoss 98dceee5e3
Mapping option for handheld display & fix for #3346 (#3672)
* Mapping option for handheld display and fix for #3346

* Fix custom items
2023-04-11 14:32:31 -04:00
Camotoy 05a88f7693 Fix compiling probably 2023-04-08 16:19:42 -04:00
Camotoy 60de3187c6 Yeet NbtItemStackTranslator 2023-04-08 12:45:13 -04:00
Camotoy c13cd3893f
Should replace repairMaterials in ItemMapping 2022-12-30 20:57:38 -05:00
Camotoy 3f4ed67597
Add Item classes to partially replace ItemMapping. Part 1? 2022-12-29 15:10:40 -05:00
Camotoy 4fe9aeca40
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/protocol-3.0 2022-12-20 19:47:45 -05:00
Kas-tle b27b1c86bd
Makes bows, crossbows, tridents, projectiles, and lighters registered as custom items function properly (#3420)
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2022-12-11 13:15:49 -05:00
Kas-tle 7171ade0bd
Prevent double placement for custom block items (#3399) 2022-11-18 14:04:22 -05:00
RednedEpic 3f42d68f4e Update to latest Protocol changes & cleanup item registry populator 2022-10-30 11:34:08 -05:00
RednedEpic 18e7db8c30 Start on update to Protocol 3.0 2022-10-29 19:23:21 -05:00
Camotoy a612be60aa
Warn when custom item name begins with a digit 2022-10-21 14:09:17 -04:00
Camotoy 0e07991edf
Changes as I was randomly staring at the code 2022-10-17 23:36:46 -04:00
Camotoy f59e33d749
Fix behavior of matching custom item predicates
Huge thanks to Kastle for helping me disect this behavior.

- The Unbreakable NBT tag is not the only source for determining if an item should be treated as unbreakable. The damage NBT is also taken into account.
- Custom item options must be processed in an ascending order.
- Multiple conditions may be necessary for an item to be selected.
- Conditions do not have to be exact. See the comments in CustomItemTranslator for an explanation.
- Added a test so we don't break this behavior in the future.
2022-10-10 15:40:07 -04:00
ImDaBigBoss 36c49a7256
Custom item support for extensions (#2822)
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2022-07-02 12:50:16 -04:00