package io.papermc.paper.registry.keys; import static net.kyori.adventure.key.Key.key; import io.papermc.paper.generated.GeneratedFrom; import io.papermc.paper.registry.RegistryKey; import io.papermc.paper.registry.TypedKey; import net.kyori.adventure.key.Key; import org.bukkit.block.banner.PatternType; import org.checkerframework.checker.nullness.qual.NonNull; import org.jetbrains.annotations.ApiStatus; /** * Vanilla keys for {@link RegistryKey#BANNER_PATTERN}. * * @apiNote The fields provided here are a direct representation of * what is available from the vanilla game source. They may be * changed (including removals) on any Minecraft version * bump, so cross-version compatibility is not provided on the * same level as it is on most of the other API. */ @SuppressWarnings({ "unused", "SpellCheckingInspection" }) @GeneratedFrom("1.21.3") @ApiStatus.Experimental public final class BannerPatternKeys { /** * {@code minecraft:base} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BASE = create(key("base")); /** * {@code minecraft:border} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BORDER = create(key("border")); /** * {@code minecraft:bricks} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BRICKS = create(key("bricks")); /** * {@code minecraft:circle} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey CIRCLE = create(key("circle")); /** * {@code minecraft:creeper} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey CREEPER = create(key("creeper")); /** * {@code minecraft:cross} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey CROSS = create(key("cross")); /** * {@code minecraft:curly_border} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey CURLY_BORDER = create(key("curly_border")); /** * {@code minecraft:diagonal_left} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DIAGONAL_LEFT = create(key("diagonal_left")); /** * {@code minecraft:diagonal_right} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DIAGONAL_RIGHT = create(key("diagonal_right")); /** * {@code minecraft:diagonal_up_left} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DIAGONAL_UP_LEFT = create(key("diagonal_up_left")); /** * {@code minecraft:diagonal_up_right} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DIAGONAL_UP_RIGHT = create(key("diagonal_up_right")); /** * {@code minecraft:flow} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FLOW = create(key("flow")); /** * {@code minecraft:flower} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FLOWER = create(key("flower")); /** * {@code minecraft:globe} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey GLOBE = create(key("globe")); /** * {@code minecraft:gradient} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey GRADIENT = create(key("gradient")); /** * {@code minecraft:gradient_up} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey GRADIENT_UP = create(key("gradient_up")); /** * {@code minecraft:guster} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey GUSTER = create(key("guster")); /** * {@code minecraft:half_horizontal} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey HALF_HORIZONTAL = create(key("half_horizontal")); /** * {@code minecraft:half_horizontal_bottom} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey HALF_HORIZONTAL_BOTTOM = create(key("half_horizontal_bottom")); /** * {@code minecraft:half_vertical} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey HALF_VERTICAL = create(key("half_vertical")); /** * {@code minecraft:half_vertical_right} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey HALF_VERTICAL_RIGHT = create(key("half_vertical_right")); /** * {@code minecraft:mojang} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey MOJANG = create(key("mojang")); /** * {@code minecraft:piglin} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey PIGLIN = create(key("piglin")); /** * {@code minecraft:rhombus} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RHOMBUS = create(key("rhombus")); /** * {@code minecraft:skull} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SKULL = create(key("skull")); /** * {@code minecraft:small_stripes} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SMALL_STRIPES = create(key("small_stripes")); /** * {@code minecraft:square_bottom_left} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SQUARE_BOTTOM_LEFT = create(key("square_bottom_left")); /** * {@code minecraft:square_bottom_right} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SQUARE_BOTTOM_RIGHT = create(key("square_bottom_right")); /** * {@code minecraft:square_top_left} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SQUARE_TOP_LEFT = create(key("square_top_left")); /** * {@code minecraft:square_top_right} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SQUARE_TOP_RIGHT = create(key("square_top_right")); /** * {@code minecraft:straight_cross} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRAIGHT_CROSS = create(key("straight_cross")); /** * {@code minecraft:stripe_bottom} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRIPE_BOTTOM = create(key("stripe_bottom")); /** * {@code minecraft:stripe_center} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRIPE_CENTER = create(key("stripe_center")); /** * {@code minecraft:stripe_downleft} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRIPE_DOWNLEFT = create(key("stripe_downleft")); /** * {@code minecraft:stripe_downright} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRIPE_DOWNRIGHT = create(key("stripe_downright")); /** * {@code minecraft:stripe_left} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRIPE_LEFT = create(key("stripe_left")); /** * {@code minecraft:stripe_middle} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRIPE_MIDDLE = create(key("stripe_middle")); /** * {@code minecraft:stripe_right} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRIPE_RIGHT = create(key("stripe_right")); /** * {@code minecraft:stripe_top} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRIPE_TOP = create(key("stripe_top")); /** * {@code minecraft:triangle_bottom} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey TRIANGLE_BOTTOM = create(key("triangle_bottom")); /** * {@code minecraft:triangle_top} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey TRIANGLE_TOP = create(key("triangle_top")); /** * {@code minecraft:triangles_bottom} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey TRIANGLES_BOTTOM = create(key("triangles_bottom")); /** * {@code minecraft:triangles_top} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey TRIANGLES_TOP = create(key("triangles_top")); private BannerPatternKeys() { } /** * Creates a key for {@link PatternType} in the registry {@code minecraft:banner_pattern}. * * @param key the value's key in the registry * @return a new typed key */ @ApiStatus.Experimental public static @NonNull TypedKey create(final @NonNull Key key) { return TypedKey.create(RegistryKey.BANNER_PATTERN, key); } }