|
| 1 | +package io.papermc.paper.registry.keys; |
| 2 | + |
| 3 | +import static net.kyori.adventure.key.Key.key; |
| 4 | + |
| 5 | +import io.papermc.paper.generated.GeneratedFrom; |
| 6 | +import io.papermc.paper.registry.RegistryKey; |
| 7 | +import io.papermc.paper.registry.TypedKey; |
| 8 | +import net.kyori.adventure.key.Key; |
| 9 | +import org.bukkit.Art; |
| 10 | +import org.checkerframework.checker.nullness.qual.NonNull; |
| 11 | +import org.jetbrains.annotations.ApiStatus; |
| 12 | + |
| 13 | +/** |
| 14 | + * Vanilla keys for {@link RegistryKey#PAINTING_VARIANT}. |
| 15 | + * |
| 16 | + * @apiNote The fields provided here are a direct representation of |
| 17 | + * what is available from the vanilla game source. They may be |
| 18 | + * changed (including removals) on any Minecraft version |
| 19 | + * bump, so cross-version compatibility is not provided on the |
| 20 | + * same level as it is on most of the other API. |
| 21 | + */ |
| 22 | +@SuppressWarnings({ |
| 23 | + "unused", |
| 24 | + "SpellCheckingInspection" |
| 25 | +}) |
| 26 | +@GeneratedFrom("1.21.3") |
| 27 | +@ApiStatus.Experimental |
| 28 | +public final class PaintingVariantKeys { |
| 29 | + /** |
| 30 | + * {@code minecraft:alban} |
| 31 | + * |
| 32 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 33 | + */ |
| 34 | + public static final TypedKey<Art> ALBAN = create(key("alban")); |
| 35 | + |
| 36 | + /** |
| 37 | + * {@code minecraft:aztec} |
| 38 | + * |
| 39 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 40 | + */ |
| 41 | + public static final TypedKey<Art> AZTEC = create(key("aztec")); |
| 42 | + |
| 43 | + /** |
| 44 | + * {@code minecraft:aztec2} |
| 45 | + * |
| 46 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 47 | + */ |
| 48 | + public static final TypedKey<Art> AZTEC2 = create(key("aztec2")); |
| 49 | + |
| 50 | + /** |
| 51 | + * {@code minecraft:backyard} |
| 52 | + * |
| 53 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 54 | + */ |
| 55 | + public static final TypedKey<Art> BACKYARD = create(key("backyard")); |
| 56 | + |
| 57 | + /** |
| 58 | + * {@code minecraft:baroque} |
| 59 | + * |
| 60 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 61 | + */ |
| 62 | + public static final TypedKey<Art> BAROQUE = create(key("baroque")); |
| 63 | + |
| 64 | + /** |
| 65 | + * {@code minecraft:bomb} |
| 66 | + * |
| 67 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 68 | + */ |
| 69 | + public static final TypedKey<Art> BOMB = create(key("bomb")); |
| 70 | + |
| 71 | + /** |
| 72 | + * {@code minecraft:bouquet} |
| 73 | + * |
| 74 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 75 | + */ |
| 76 | + public static final TypedKey<Art> BOUQUET = create(key("bouquet")); |
| 77 | + |
| 78 | + /** |
| 79 | + * {@code minecraft:burning_skull} |
| 80 | + * |
| 81 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 82 | + */ |
| 83 | + public static final TypedKey<Art> BURNING_SKULL = create(key("burning_skull")); |
| 84 | + |
| 85 | + /** |
| 86 | + * {@code minecraft:bust} |
| 87 | + * |
| 88 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 89 | + */ |
| 90 | + public static final TypedKey<Art> BUST = create(key("bust")); |
| 91 | + |
| 92 | + /** |
| 93 | + * {@code minecraft:cavebird} |
| 94 | + * |
| 95 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 96 | + */ |
| 97 | + public static final TypedKey<Art> CAVEBIRD = create(key("cavebird")); |
| 98 | + |
| 99 | + /** |
| 100 | + * {@code minecraft:changing} |
| 101 | + * |
| 102 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 103 | + */ |
| 104 | + public static final TypedKey<Art> CHANGING = create(key("changing")); |
| 105 | + |
| 106 | + /** |
| 107 | + * {@code minecraft:cotan} |
| 108 | + * |
| 109 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 110 | + */ |
| 111 | + public static final TypedKey<Art> COTAN = create(key("cotan")); |
| 112 | + |
| 113 | + /** |
| 114 | + * {@code minecraft:courbet} |
| 115 | + * |
| 116 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 117 | + */ |
| 118 | + public static final TypedKey<Art> COURBET = create(key("courbet")); |
| 119 | + |
| 120 | + /** |
| 121 | + * {@code minecraft:creebet} |
| 122 | + * |
| 123 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 124 | + */ |
| 125 | + public static final TypedKey<Art> CREEBET = create(key("creebet")); |
| 126 | + |
| 127 | + /** |
| 128 | + * {@code minecraft:donkey_kong} |
| 129 | + * |
| 130 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 131 | + */ |
| 132 | + public static final TypedKey<Art> DONKEY_KONG = create(key("donkey_kong")); |
| 133 | + |
| 134 | + /** |
| 135 | + * {@code minecraft:earth} |
| 136 | + * |
| 137 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 138 | + */ |
| 139 | + public static final TypedKey<Art> EARTH = create(key("earth")); |
| 140 | + |
| 141 | + /** |
| 142 | + * {@code minecraft:endboss} |
| 143 | + * |
| 144 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 145 | + */ |
| 146 | + public static final TypedKey<Art> ENDBOSS = create(key("endboss")); |
| 147 | + |
| 148 | + /** |
| 149 | + * {@code minecraft:fern} |
| 150 | + * |
| 151 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 152 | + */ |
| 153 | + public static final TypedKey<Art> FERN = create(key("fern")); |
| 154 | + |
| 155 | + /** |
| 156 | + * {@code minecraft:fighters} |
| 157 | + * |
| 158 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 159 | + */ |
| 160 | + public static final TypedKey<Art> FIGHTERS = create(key("fighters")); |
| 161 | + |
| 162 | + /** |
| 163 | + * {@code minecraft:finding} |
| 164 | + * |
| 165 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 166 | + */ |
| 167 | + public static final TypedKey<Art> FINDING = create(key("finding")); |
| 168 | + |
| 169 | + /** |
| 170 | + * {@code minecraft:fire} |
| 171 | + * |
| 172 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 173 | + */ |
| 174 | + public static final TypedKey<Art> FIRE = create(key("fire")); |
| 175 | + |
| 176 | + /** |
| 177 | + * {@code minecraft:graham} |
| 178 | + * |
| 179 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 180 | + */ |
| 181 | + public static final TypedKey<Art> GRAHAM = create(key("graham")); |
| 182 | + |
| 183 | + /** |
| 184 | + * {@code minecraft:humble} |
| 185 | + * |
| 186 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 187 | + */ |
| 188 | + public static final TypedKey<Art> HUMBLE = create(key("humble")); |
| 189 | + |
| 190 | + /** |
| 191 | + * {@code minecraft:kebab} |
| 192 | + * |
| 193 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 194 | + */ |
| 195 | + public static final TypedKey<Art> KEBAB = create(key("kebab")); |
| 196 | + |
| 197 | + /** |
| 198 | + * {@code minecraft:lowmist} |
| 199 | + * |
| 200 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 201 | + */ |
| 202 | + public static final TypedKey<Art> LOWMIST = create(key("lowmist")); |
| 203 | + |
| 204 | + /** |
| 205 | + * {@code minecraft:match} |
| 206 | + * |
| 207 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 208 | + */ |
| 209 | + public static final TypedKey<Art> MATCH = create(key("match")); |
| 210 | + |
| 211 | + /** |
| 212 | + * {@code minecraft:meditative} |
| 213 | + * |
| 214 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 215 | + */ |
| 216 | + public static final TypedKey<Art> MEDITATIVE = create(key("meditative")); |
| 217 | + |
| 218 | + /** |
| 219 | + * {@code minecraft:orb} |
| 220 | + * |
| 221 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 222 | + */ |
| 223 | + public static final TypedKey<Art> ORB = create(key("orb")); |
| 224 | + |
| 225 | + /** |
| 226 | + * {@code minecraft:owlemons} |
| 227 | + * |
| 228 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 229 | + */ |
| 230 | + public static final TypedKey<Art> OWLEMONS = create(key("owlemons")); |
| 231 | + |
| 232 | + /** |
| 233 | + * {@code minecraft:passage} |
| 234 | + * |
| 235 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 236 | + */ |
| 237 | + public static final TypedKey<Art> PASSAGE = create(key("passage")); |
| 238 | + |
| 239 | + /** |
| 240 | + * {@code minecraft:pigscene} |
| 241 | + * |
| 242 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 243 | + */ |
| 244 | + public static final TypedKey<Art> PIGSCENE = create(key("pigscene")); |
| 245 | + |
| 246 | + /** |
| 247 | + * {@code minecraft:plant} |
| 248 | + * |
| 249 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 250 | + */ |
| 251 | + public static final TypedKey<Art> PLANT = create(key("plant")); |
| 252 | + |
| 253 | + /** |
| 254 | + * {@code minecraft:pointer} |
| 255 | + * |
| 256 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 257 | + */ |
| 258 | + public static final TypedKey<Art> POINTER = create(key("pointer")); |
| 259 | + |
| 260 | + /** |
| 261 | + * {@code minecraft:pond} |
| 262 | + * |
| 263 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 264 | + */ |
| 265 | + public static final TypedKey<Art> POND = create(key("pond")); |
| 266 | + |
| 267 | + /** |
| 268 | + * {@code minecraft:pool} |
| 269 | + * |
| 270 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 271 | + */ |
| 272 | + public static final TypedKey<Art> POOL = create(key("pool")); |
| 273 | + |
| 274 | + /** |
| 275 | + * {@code minecraft:prairie_ride} |
| 276 | + * |
| 277 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 278 | + */ |
| 279 | + public static final TypedKey<Art> PRAIRIE_RIDE = create(key("prairie_ride")); |
| 280 | + |
| 281 | + /** |
| 282 | + * {@code minecraft:sea} |
| 283 | + * |
| 284 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 285 | + */ |
| 286 | + public static final TypedKey<Art> SEA = create(key("sea")); |
| 287 | + |
| 288 | + /** |
| 289 | + * {@code minecraft:skeleton} |
| 290 | + * |
| 291 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 292 | + */ |
| 293 | + public static final TypedKey<Art> SKELETON = create(key("skeleton")); |
| 294 | + |
| 295 | + /** |
| 296 | + * {@code minecraft:skull_and_roses} |
| 297 | + * |
| 298 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 299 | + */ |
| 300 | + public static final TypedKey<Art> SKULL_AND_ROSES = create(key("skull_and_roses")); |
| 301 | + |
| 302 | + /** |
| 303 | + * {@code minecraft:stage} |
| 304 | + * |
| 305 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 306 | + */ |
| 307 | + public static final TypedKey<Art> STAGE = create(key("stage")); |
| 308 | + |
| 309 | + /** |
| 310 | + * {@code minecraft:sunflowers} |
| 311 | + * |
| 312 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 313 | + */ |
| 314 | + public static final TypedKey<Art> SUNFLOWERS = create(key("sunflowers")); |
| 315 | + |
| 316 | + /** |
| 317 | + * {@code minecraft:sunset} |
| 318 | + * |
| 319 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 320 | + */ |
| 321 | + public static final TypedKey<Art> SUNSET = create(key("sunset")); |
| 322 | + |
| 323 | + /** |
| 324 | + * {@code minecraft:tides} |
| 325 | + * |
| 326 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 327 | + */ |
| 328 | + public static final TypedKey<Art> TIDES = create(key("tides")); |
| 329 | + |
| 330 | + /** |
| 331 | + * {@code minecraft:unpacked} |
| 332 | + * |
| 333 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 334 | + */ |
| 335 | + public static final TypedKey<Art> UNPACKED = create(key("unpacked")); |
| 336 | + |
| 337 | + /** |
| 338 | + * {@code minecraft:void} |
| 339 | + * |
| 340 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 341 | + */ |
| 342 | + public static final TypedKey<Art> VOID = create(key("void")); |
| 343 | + |
| 344 | + /** |
| 345 | + * {@code minecraft:wanderer} |
| 346 | + * |
| 347 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 348 | + */ |
| 349 | + public static final TypedKey<Art> WANDERER = create(key("wanderer")); |
| 350 | + |
| 351 | + /** |
| 352 | + * {@code minecraft:wasteland} |
| 353 | + * |
| 354 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 355 | + */ |
| 356 | + public static final TypedKey<Art> WASTELAND = create(key("wasteland")); |
| 357 | + |
| 358 | + /** |
| 359 | + * {@code minecraft:water} |
| 360 | + * |
| 361 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 362 | + */ |
| 363 | + public static final TypedKey<Art> WATER = create(key("water")); |
| 364 | + |
| 365 | + /** |
| 366 | + * {@code minecraft:wind} |
| 367 | + * |
| 368 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 369 | + */ |
| 370 | + public static final TypedKey<Art> WIND = create(key("wind")); |
| 371 | + |
| 372 | + /** |
| 373 | + * {@code minecraft:wither} |
| 374 | + * |
| 375 | + * @apiNote This field is version-dependant and may be removed in future Minecraft versions |
| 376 | + */ |
| 377 | + public static final TypedKey<Art> WITHER = create(key("wither")); |
| 378 | + |
| 379 | + private PaintingVariantKeys() { |
| 380 | + } |
| 381 | + |
| 382 | + /** |
| 383 | + * Creates a key for {@link Art} in the registry {@code minecraft:painting_variant}. |
| 384 | + * |
| 385 | + * @param key the value's key in the registry |
| 386 | + * @return a new typed key |
| 387 | + */ |
| 388 | + @ApiStatus.Experimental |
| 389 | + public static @NonNull TypedKey<Art> create(final @NonNull Key key) { |
| 390 | + return TypedKey.create(RegistryKey.PAINTING_VARIANT, key); |
| 391 | + } |
| 392 | +} |
0 commit comments