From 6b86ca71dd96f43c97a59b8cee59596b311a1a4a Mon Sep 17 00:00:00 2001 From: Anselm Brehme Date: Thu, 29 Feb 2024 22:12:25 +0100 Subject: [PATCH] fix ArmorMaterials are now in a registry --- .../java/org/spongepowered/api/registry/RegistryTypes.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/spongepowered/api/registry/RegistryTypes.java b/src/main/java/org/spongepowered/api/registry/RegistryTypes.java index d4d773c1af..f36abe71a6 100644 --- a/src/main/java/org/spongepowered/api/registry/RegistryTypes.java +++ b/src/main/java/org/spongepowered/api/registry/RegistryTypes.java @@ -196,6 +196,8 @@ public final class RegistryTypes { public static final DefaultedRegistryType ART_TYPE = RegistryTypes.minecraftKeyInGame("painting_variant"); + public static final DefaultedRegistryType ARMOR_MATERIAL = RegistryTypes.minecraftKeyInGame("armor_material"); + public static final DefaultedRegistryType ATTRIBUTE_TYPE = RegistryTypes.minecraftKeyInGame("attribute"); public static final DefaultedRegistryType BIOME = RegistryTypes.minecraftKeyInServer("worldgen/biome"); @@ -278,7 +280,6 @@ public final class RegistryTypes { public static final DefaultedRegistryType ADVANCEMENT_TYPE = RegistryTypes.spongeKeyInGame("advancement_type"); - public static final DefaultedRegistryType ARMOR_MATERIAL = RegistryTypes.spongeKeyInGame("armor_material"); public static final DefaultedRegistryType ATTACHMENT_SURFACE = RegistryTypes.spongeKeyInGame("attachment_surface");