MCPcopy Index your code
hub / github.com/PaperMC/Paper / key

Method key

paper-api/src/main/java/org/bukkit/Art.java:168–168  ·  view source on GitHub ↗

@deprecated use Registry#getKey(Keyed), io.papermc.paper.registry.RegistryAccess#getRegistry(io.papermc.paper.registry.RegistryKey), and io.papermc.paper.registry.RegistryKey#PAINTING_VARIANT. Painting variants can exist without a key.

()

Source from the content-addressed store, hash-verified

166 * and {@link io.papermc.paper.registry.RegistryKey#PAINTING_VARIANT}. Painting variants can exist without a key.
167 */
168 @Deprecated(since = "1.21", forRemoval = true)
169 @Override
170 default net.kyori.adventure.key.@org.jetbrains.annotations.NotNull Key key() {
171 return Keyed.super.key();

Callers 15

VillagerTypeKeysClass · 0.65
MenuTypeKeysClass · 0.65
TrimMaterialKeysClass · 0.65
CowSoundVariantKeysClass · 0.65
InstrumentKeysClass · 0.65
SoundEventKeysClass · 0.65
WolfVariantKeysClass · 0.65
StructureTypeKeysClass · 0.65
ItemTypeKeysClass · 0.65
AttributeKeysClass · 0.65

Implementers 1

CraftArtpaper-server/src/main/java/org/bukkit/

Calls

no outgoing calls

Tested by 15

equalsTestMethod · 0.52
setTestMethod · 0.52
testKeyMethod · 0.52
testClickEventMethod · 0.52
testStylesMethod · 0.52
testTranslatablesMethod · 0.52
testStorageNbtsMethod · 0.52
testObjectsMethod · 0.52
testLockedMethod · 0.52