3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 04:20:04 +01:00
Paper/patches
Jake Potrebic 49f9f6f2cd
Add Registry#getKey (#10066)
Some types that have registries support existing without
being in a registry and therefore have no key. This is part
one of supporting that, adding a Registry#getKey(Object) method
to be able to get the key for an object so we can remove Keyed
from such objects.

This also deprecates Keyed#getKey on TrimMaterial and TrimPattern
as these are the 2 offending types currently in the api.
2023-12-23 13:16:27 -08:00
..
api Add Registry#getKey (#10066) 2023-12-23 13:16:27 -08:00
removed remove redundant patch 2023-12-08 15:14:42 -08:00
server Add Registry#getKey (#10066) 2023-12-23 13:16:27 -08:00