Geyser/core/src/main/java/org/geysermc/geyser/registry
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
..
loader Allow events to be registered by any class 2022-09-04 16:11:08 -05:00
populator Fix behavior of matching custom item predicates 2022-10-10 15:40:07 -04:00
provider Changes 2022-07-09 18:39:02 -04:00
type Fix behavior of matching custom item predicates 2022-10-10 15:40:07 -04:00
AbstractMappedRegistry.java We're in 2022 now 2022-01-01 20:03:05 +01:00
ArrayRegistry.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BlockRegistries.java Fix some item interactions (#3083) 2022-06-24 16:48:28 -04:00
IntMappedRegistry.java Create IntMappedRegistry to prevent boxing 2022-02-01 20:15:31 -05:00
MappedRegistry.java We're in 2022 now 2022-01-01 20:03:05 +01:00
PacketTranslatorRegistry.java Updated to 1.19 2022-06-08 14:09:14 +02:00
Registries.java Let biomes NBT be parsed by 1.19.30 2022-09-21 12:27:16 -04:00
Registry.java We're in 2022 now 2022-01-01 20:03:05 +01:00
SimpleMappedRegistry.java We're in 2022 now 2022-01-01 20:03:05 +01:00
SimpleRegistry.java We're in 2022 now 2022-01-01 20:03:05 +01:00
VersionedRegistry.java We're in 2022 now 2022-01-01 20:03:05 +01:00