diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 6be92ef717e..330e9fd1ec7 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -12,6 +12,27 @@ #### **Do you intend to add a new feature or change an existing one?** * Do not open a pull-request on GitHub until you have collected positive feedback about the change from a maintainer. +#### **Does your change break existing code?** +* Breaking changes need a maintainer's approval. Once approved, a maintainer labels the pull-request as `breaking`, which lets it pass the binary compatibility check. + +* Add a `## Migration` section to the PR description. Give each breaking change its own block: a one line description, the code before the change, a `:arrow_down:` line, then the code after it. These blocks are copied into the release notes. + +* This also applies to changes that only break source compatibility, or that remove internal API people are known to use, even when the binary compatibility check passes. + +* When something is removed without a replacement, say so in one line instead of a block. + +````markdown +## Migration +Registry keys are created with `of`. +```java +RegistryKey key = RegistryKey.unsafeOf("minecraft:plains"); +``` +:arrow_down: +```java +RegistryKey key = RegistryKey.of("minecraft:plains"); +``` +```` + #### **Do you have questions about the source code?** * Ask any question about how to use Minestom in the GitHub issues section or the community portals. diff --git a/code-generators/src/main/java/net/minestom/codegen/BuiltinRegistriesGenerator.java b/code-generators/src/main/java/net/minestom/codegen/BuiltinRegistriesGenerator.java index 15b378d39e1..f7e4d7037c4 100644 --- a/code-generators/src/main/java/net/minestom/codegen/BuiltinRegistriesGenerator.java +++ b/code-generators/src/main/java/net/minestom/codegen/BuiltinRegistriesGenerator.java @@ -20,7 +20,7 @@ private static void addRegistry(TypeSpec.Builder constants, ClassName registryKe final ParameterizedTypeName registryType = ParameterizedTypeName.get(registryClass, valueClass); constants.addField(FieldSpec.builder(ParameterizedTypeName.get(registryKeyClass, registryType), constantName) .addModifiers(Modifier.PUBLIC, Modifier.STATIC, Modifier.FINAL) - .initializer("$T.unsafeOf($S)", registryKeyClass, key) + .initializer("$T.of($S)", registryKeyClass, key) .addJavadoc("The registry key for {@link $T}.\n", valueClass) .build()); } @@ -49,7 +49,7 @@ void generate(List staticRegistries, final String constantName = codegen.constantName(spec.constantName()); constants.addField(FieldSpec.builder(typedRegistryKey, constantName) .addModifiers(Modifier.PUBLIC, Modifier.STATIC, Modifier.FINAL) - .initializer("$T.unsafeOf($S)", registryKeyClass, codegen.namespaceShort(spec.key())) + .initializer("$T.of($S)", registryKeyClass, codegen.namespaceShort(spec.key())) .addJavadoc("The registry key for {@link $T}.\n", valueClass) .build()); }); @@ -63,7 +63,7 @@ void generate(List staticRegistries, final ParameterizedTypeName gameRuleRegistry = ParameterizedTypeName.get(registryClass, gameRuleType); constants.addField(FieldSpec.builder(ParameterizedTypeName.get(registryKeyClass, gameRuleRegistry), "GAME_RULE") .addModifiers(Modifier.PUBLIC, Modifier.STATIC, Modifier.FINAL) - .initializer("$T.unsafeOf($S)", registryKeyClass, "game_rule") + .initializer("$T.of($S)", registryKeyClass, "game_rule") .addJavadoc("The registry key for {@link $T}.\n", gameRuleClass) .build()); diff --git a/code-generators/src/main/java/net/minestom/codegen/GameRuleGenerator.java b/code-generators/src/main/java/net/minestom/codegen/GameRuleGenerator.java index bc99ceb5c62..b821ae5f557 100644 --- a/code-generators/src/main/java/net/minestom/codegen/GameRuleGenerator.java +++ b/code-generators/src/main/java/net/minestom/codegen/GameRuleGenerator.java @@ -59,7 +59,7 @@ void generate() { .initializer("$T.get($T.$L)", GAME_RULE_IMPL_CN, GAME_RULE_KEYS_CN, fieldName).build()); gameRuleKeysInterface.addField(FieldSpec.builder(registryKeyType, fieldName) .addModifiers(Modifier.PUBLIC, Modifier.STATIC, Modifier.FINAL) - .initializer("$T.unsafeOf($S)", registryKeyClass, namespacedName).build()); + .initializer("$T.of($S)", registryKeyClass, namespacedName).build()); } codegen.write(codegen.javaFile(PACKAGE, gameRulesInterface.build()), diff --git a/code-generators/src/main/java/net/minestom/codegen/ParticleGenerator.java b/code-generators/src/main/java/net/minestom/codegen/ParticleGenerator.java index 56678770f05..e25a5cb6741 100644 --- a/code-generators/src/main/java/net/minestom/codegen/ParticleGenerator.java +++ b/code-generators/src/main/java/net/minestom/codegen/ParticleGenerator.java @@ -49,7 +49,7 @@ void generate() { particleKeysInterface.addField(FieldSpec.builder( ParameterizedTypeName.get(registryKeyCN, fieldCN), codegen.constantName(key)) .addModifiers(Modifier.PUBLIC, Modifier.STATIC, Modifier.FINAL) - .initializer("$T.unsafeOf($S)", registryKeyCN, namespacedName) + .initializer("$T.of($S)", registryKeyCN, namespacedName) .build()); } diff --git a/code-generators/src/main/java/net/minestom/codegen/RegistryGenerator.java b/code-generators/src/main/java/net/minestom/codegen/RegistryGenerator.java index 361c6523b76..5e10783a091 100644 --- a/code-generators/src/main/java/net/minestom/codegen/RegistryGenerator.java +++ b/code-generators/src/main/java/net/minestom/codegen/RegistryGenerator.java @@ -42,7 +42,7 @@ void generate(Generators.DynamicRegistrySpec spec) { typeClass, ClassName.get(spec.packageName(), spec.generatedName()), ParameterizedTypeName.get(registryKeyClass, typeClass), - namespace -> CodeBlock.of("$T.unsafeOf($S)", registryKeyClass, codegen.namespaceShort(namespace)), + namespace -> CodeBlock.of("$T.of($S)", registryKeyClass, codegen.namespaceShort(namespace)), FieldOrder.NATURAL ); generateTags(spec.key(), typeClass); @@ -53,7 +53,7 @@ void generateKeys(String key, ClassName typeClass, ClassName generatedClass, boo final TypeSpec.Builder constants = constantsBuilder(typeClass, generatedClass, publicKeys); addFields(codegen.objectResource(key), constants, ParameterizedTypeName.get(registryKeyClass, typeClass), - namespace -> CodeBlock.of("$T.unsafeOf($S)", registryKeyClass, codegen.namespaceShort(namespace)), + namespace -> CodeBlock.of("$T.of($S)", registryKeyClass, codegen.namespaceShort(namespace)), FieldOrder.NATURAL); codegen.write(codegen.javaFile(generatedClass.packageName(), constants.build())); } @@ -67,7 +67,7 @@ void generateTags(String key, ClassName typeClass) { final TypeSpec.Builder constants = constantsBuilder(typeClass, generatedClass, true); final ParameterizedTypeName fieldType = ParameterizedTypeName.get(tagKeyClass, typeClass); addFields(tags, constants, fieldType, - namespace -> CodeBlock.of("$T.unsafeOf($S)", tagKeyClass, codegen.namespaceShort(namespace)), + namespace -> CodeBlock.of("$T.of($S)", tagKeyClass, codegen.namespaceShort(namespace)), FieldOrder.NATURAL); codegen.write(codegen.javaFile(generatedClass.packageName(), constants.build())); } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7960a626484..3efeeae3719 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -24,7 +24,7 @@ errorprone = "2.50.0" javaPoet = "0.20.0" # Log impl (for demo) -logback = "1.6.3" +logback = "1.6.5" # Gradle plugins blossom = "2.2.0" diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index eddabd2eef8..5097068a8d3 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ad7845be306..9b7cb4af38a 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.0-bin.zip networkTimeout=10000 retries=0 retryBackOffMs=500 diff --git a/gradlew.bat b/gradlew.bat index 8508ef684d4..03754c4c3d9 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -26,6 +26,33 @@ @rem Set local scope for the variables, and ensure extensions are enabled setlocal EnableExtensions +@rem Catch executions from older scripts and ensure they exit cleanly. +@rem This can be removed once we can be reasonably confident that few people +@rem will be migrating directly to this new wrapper. +goto afterSafetyNet +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +goto exitWithErrorLevel +:afterSafetyNet + set DIRNAME=%~dp0 if "%DIRNAME%"=="" set DIRNAME=. @rem This is normally unused @@ -45,13 +72,14 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if %ERRORLEVEL% equ 0 goto execute -echo. 1>&2 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 +1>&2 echo. +1>&2 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +1>&2 echo. +1>&2 echo Please set the JAVA_HOME variable in your environment to match the +1>&2 echo location of your Java installation. "%COMSPEC%" /c exit 1 +goto exitWithErrorLevel :findJavaFromJavaHome set JAVA_HOME=%JAVA_HOME:"=% @@ -59,13 +87,14 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. 1>&2 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 +1>&2 echo. +1>&2 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +1>&2 echo. +1>&2 echo Please set the JAVA_HOME variable in your environment to match the +1>&2 echo location of your Java installation. "%COMSPEC%" /c exit 1 +goto exitWithErrorLevel :execute @rem Setup the command line @@ -75,8 +104,9 @@ echo location of your Java installation. 1>&2 @rem Execute gradlew @rem endlocal doesn't take effect until after the line is parsed and variables are expanded @rem which allows us to clear the local environment before executing the java command -endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel +endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel & goto exitWithErrorLevel +@rem This label must not be changed. We rely on old scripts being able to jump to this point. :exitWithErrorLevel @rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts "%COMSPEC%" /c exit %ERRORLEVEL% diff --git a/jmh-benchmarks/src/jmh/java/net/minestom/server/network/NbtBenchmark.java b/jmh-benchmarks/src/jmh/java/net/minestom/server/network/NbtBenchmark.java index 861b21763b6..13ad88ce505 100644 --- a/jmh-benchmarks/src/jmh/java/net/minestom/server/network/NbtBenchmark.java +++ b/jmh-benchmarks/src/jmh/java/net/minestom/server/network/NbtBenchmark.java @@ -49,8 +49,8 @@ public void setup() { default -> throw new IllegalArgumentException("Unknown payload: " + payload); }; final long size = NBT.sizeOf(tag); - writeBuffer = NetworkBuffer.resizableBuffer((int) size); - readBuffer = NetworkBuffer.resizableBuffer((int) size); + writeBuffer = NetworkBuffer.resizableBuffer(size); + readBuffer = NetworkBuffer.resizableBuffer(size); readBuffer.write(NBT, tag); } diff --git a/jmh-benchmarks/src/jmh/java/net/minestom/server/registry/DynamicRegistryGetIdBenchmark.java b/jmh-benchmarks/src/jmh/java/net/minestom/server/registry/DynamicRegistryGetIdBenchmark.java index 8c1db5dccd8..baff6d46787 100644 --- a/jmh-benchmarks/src/jmh/java/net/minestom/server/registry/DynamicRegistryGetIdBenchmark.java +++ b/jmh-benchmarks/src/jmh/java/net/minestom/server/registry/DynamicRegistryGetIdBenchmark.java @@ -31,6 +31,6 @@ public void setup() { @Benchmark public void getId(Blackhole blackhole) { - blackhole.consume(registry.getId(RegistryKey.unsafeOf("pale_garden"))); + blackhole.consume(registry.getId(RegistryKey.of("pale_garden"))); } } diff --git a/src/autogenerated/java/net/minestom/server/FeatureFlagKeys.java b/src/autogenerated/java/net/minestom/server/FeatureFlagKeys.java index 4b95b6554d7..bae3ab77abd 100644 --- a/src/autogenerated/java/net/minestom/server/FeatureFlagKeys.java +++ b/src/autogenerated/java/net/minestom/server/FeatureFlagKeys.java @@ -11,11 +11,11 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface FeatureFlagKeys { - RegistryKey MINECART_IMPROVEMENTS = RegistryKey.unsafeOf("minecart_improvements"); + RegistryKey MINECART_IMPROVEMENTS = RegistryKey.of("minecart_improvements"); - RegistryKey REDSTONE_EXPERIMENTS = RegistryKey.unsafeOf("redstone_experiments"); + RegistryKey REDSTONE_EXPERIMENTS = RegistryKey.of("redstone_experiments"); - RegistryKey TRADE_REBALANCE = RegistryKey.unsafeOf("trade_rebalance"); + RegistryKey TRADE_REBALANCE = RegistryKey.of("trade_rebalance"); - RegistryKey VANILLA = RegistryKey.unsafeOf("vanilla"); + RegistryKey VANILLA = RegistryKey.of("vanilla"); } diff --git a/src/autogenerated/java/net/minestom/server/dialog/DialogTags.java b/src/autogenerated/java/net/minestom/server/dialog/DialogTags.java index c5ff61df9f7..575991cc2c6 100644 --- a/src/autogenerated/java/net/minestom/server/dialog/DialogTags.java +++ b/src/autogenerated/java/net/minestom/server/dialog/DialogTags.java @@ -11,7 +11,7 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface DialogTags { - TagKey PAUSE_SCREEN_ADDITIONS = TagKey.unsafeOf("pause_screen_additions"); + TagKey PAUSE_SCREEN_ADDITIONS = TagKey.of("pause_screen_additions"); - TagKey QUICK_ACTIONS = TagKey.unsafeOf("quick_actions"); + TagKey QUICK_ACTIONS = TagKey.of("quick_actions"); } diff --git a/src/autogenerated/java/net/minestom/server/dialog/Dialogs.java b/src/autogenerated/java/net/minestom/server/dialog/Dialogs.java index 665ec93f326..d351abc7ee5 100644 --- a/src/autogenerated/java/net/minestom/server/dialog/Dialogs.java +++ b/src/autogenerated/java/net/minestom/server/dialog/Dialogs.java @@ -9,9 +9,9 @@ */ @SuppressWarnings("unused") sealed interface Dialogs permits Dialog { - RegistryKey CUSTOM_OPTIONS = RegistryKey.unsafeOf("custom_options"); + RegistryKey CUSTOM_OPTIONS = RegistryKey.of("custom_options"); - RegistryKey QUICK_ACTIONS = RegistryKey.unsafeOf("quick_actions"); + RegistryKey QUICK_ACTIONS = RegistryKey.of("quick_actions"); - RegistryKey SERVER_LINKS = RegistryKey.unsafeOf("server_links"); + RegistryKey SERVER_LINKS = RegistryKey.of("server_links"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/EntityTypeKeys.java b/src/autogenerated/java/net/minestom/server/entity/EntityTypeKeys.java index 8c99556a9ea..694f2a60484 100644 --- a/src/autogenerated/java/net/minestom/server/entity/EntityTypeKeys.java +++ b/src/autogenerated/java/net/minestom/server/entity/EntityTypeKeys.java @@ -11,319 +11,319 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface EntityTypeKeys { - RegistryKey ACACIA_BOAT = RegistryKey.unsafeOf("acacia_boat"); + RegistryKey ACACIA_BOAT = RegistryKey.of("acacia_boat"); - RegistryKey ACACIA_CHEST_BOAT = RegistryKey.unsafeOf("acacia_chest_boat"); + RegistryKey ACACIA_CHEST_BOAT = RegistryKey.of("acacia_chest_boat"); - RegistryKey ALLAY = RegistryKey.unsafeOf("allay"); + RegistryKey ALLAY = RegistryKey.of("allay"); - RegistryKey AREA_EFFECT_CLOUD = RegistryKey.unsafeOf("area_effect_cloud"); + RegistryKey AREA_EFFECT_CLOUD = RegistryKey.of("area_effect_cloud"); - RegistryKey ARMADILLO = RegistryKey.unsafeOf("armadillo"); + RegistryKey ARMADILLO = RegistryKey.of("armadillo"); - RegistryKey ARMOR_STAND = RegistryKey.unsafeOf("armor_stand"); + RegistryKey ARMOR_STAND = RegistryKey.of("armor_stand"); - RegistryKey ARROW = RegistryKey.unsafeOf("arrow"); + RegistryKey ARROW = RegistryKey.of("arrow"); - RegistryKey AXOLOTL = RegistryKey.unsafeOf("axolotl"); + RegistryKey AXOLOTL = RegistryKey.of("axolotl"); - RegistryKey BAMBOO_CHEST_RAFT = RegistryKey.unsafeOf("bamboo_chest_raft"); + RegistryKey BAMBOO_CHEST_RAFT = RegistryKey.of("bamboo_chest_raft"); - RegistryKey BAMBOO_RAFT = RegistryKey.unsafeOf("bamboo_raft"); + RegistryKey BAMBOO_RAFT = RegistryKey.of("bamboo_raft"); - RegistryKey BAT = RegistryKey.unsafeOf("bat"); + RegistryKey BAT = RegistryKey.of("bat"); - RegistryKey BEE = RegistryKey.unsafeOf("bee"); + RegistryKey BEE = RegistryKey.of("bee"); - RegistryKey BIRCH_BOAT = RegistryKey.unsafeOf("birch_boat"); + RegistryKey BIRCH_BOAT = RegistryKey.of("birch_boat"); - RegistryKey BIRCH_CHEST_BOAT = RegistryKey.unsafeOf("birch_chest_boat"); + RegistryKey BIRCH_CHEST_BOAT = RegistryKey.of("birch_chest_boat"); - RegistryKey BLAZE = RegistryKey.unsafeOf("blaze"); + RegistryKey BLAZE = RegistryKey.of("blaze"); - RegistryKey BLOCK_DISPLAY = RegistryKey.unsafeOf("block_display"); + RegistryKey BLOCK_DISPLAY = RegistryKey.of("block_display"); - RegistryKey BOGGED = RegistryKey.unsafeOf("bogged"); + RegistryKey BOGGED = RegistryKey.of("bogged"); - RegistryKey BREEZE = RegistryKey.unsafeOf("breeze"); + RegistryKey BREEZE = RegistryKey.of("breeze"); - RegistryKey BREEZE_WIND_CHARGE = RegistryKey.unsafeOf("breeze_wind_charge"); + RegistryKey BREEZE_WIND_CHARGE = RegistryKey.of("breeze_wind_charge"); - RegistryKey CAMEL = RegistryKey.unsafeOf("camel"); + RegistryKey CAMEL = RegistryKey.of("camel"); - RegistryKey CAMEL_HUSK = RegistryKey.unsafeOf("camel_husk"); + RegistryKey CAMEL_HUSK = RegistryKey.of("camel_husk"); - RegistryKey CAT = RegistryKey.unsafeOf("cat"); + RegistryKey CAT = RegistryKey.of("cat"); - RegistryKey CAVE_SPIDER = RegistryKey.unsafeOf("cave_spider"); + RegistryKey CAVE_SPIDER = RegistryKey.of("cave_spider"); - RegistryKey CHERRY_BOAT = RegistryKey.unsafeOf("cherry_boat"); + RegistryKey CHERRY_BOAT = RegistryKey.of("cherry_boat"); - RegistryKey CHERRY_CHEST_BOAT = RegistryKey.unsafeOf("cherry_chest_boat"); + RegistryKey CHERRY_CHEST_BOAT = RegistryKey.of("cherry_chest_boat"); - RegistryKey CHEST_MINECART = RegistryKey.unsafeOf("chest_minecart"); + RegistryKey CHEST_MINECART = RegistryKey.of("chest_minecart"); - RegistryKey CHICKEN = RegistryKey.unsafeOf("chicken"); + RegistryKey CHICKEN = RegistryKey.of("chicken"); - RegistryKey COD = RegistryKey.unsafeOf("cod"); + RegistryKey COD = RegistryKey.of("cod"); - RegistryKey COMMAND_BLOCK_MINECART = RegistryKey.unsafeOf("command_block_minecart"); + RegistryKey COMMAND_BLOCK_MINECART = RegistryKey.of("command_block_minecart"); - RegistryKey COPPER_GOLEM = RegistryKey.unsafeOf("copper_golem"); + RegistryKey COPPER_GOLEM = RegistryKey.of("copper_golem"); - RegistryKey COW = RegistryKey.unsafeOf("cow"); + RegistryKey COW = RegistryKey.of("cow"); - RegistryKey CREAKING = RegistryKey.unsafeOf("creaking"); + RegistryKey CREAKING = RegistryKey.of("creaking"); - RegistryKey CREEPER = RegistryKey.unsafeOf("creeper"); + RegistryKey CREEPER = RegistryKey.of("creeper"); - RegistryKey DARK_OAK_BOAT = RegistryKey.unsafeOf("dark_oak_boat"); + RegistryKey DARK_OAK_BOAT = RegistryKey.of("dark_oak_boat"); - RegistryKey DARK_OAK_CHEST_BOAT = RegistryKey.unsafeOf("dark_oak_chest_boat"); + RegistryKey DARK_OAK_CHEST_BOAT = RegistryKey.of("dark_oak_chest_boat"); - RegistryKey DOLPHIN = RegistryKey.unsafeOf("dolphin"); + RegistryKey DOLPHIN = RegistryKey.of("dolphin"); - RegistryKey DONKEY = RegistryKey.unsafeOf("donkey"); + RegistryKey DONKEY = RegistryKey.of("donkey"); - RegistryKey DRAGON_FIREBALL = RegistryKey.unsafeOf("dragon_fireball"); + RegistryKey DRAGON_FIREBALL = RegistryKey.of("dragon_fireball"); - RegistryKey DROWNED = RegistryKey.unsafeOf("drowned"); + RegistryKey DROWNED = RegistryKey.of("drowned"); - RegistryKey EGG = RegistryKey.unsafeOf("egg"); + RegistryKey EGG = RegistryKey.of("egg"); - RegistryKey ELDER_GUARDIAN = RegistryKey.unsafeOf("elder_guardian"); + RegistryKey ELDER_GUARDIAN = RegistryKey.of("elder_guardian"); - RegistryKey END_CRYSTAL = RegistryKey.unsafeOf("end_crystal"); + RegistryKey END_CRYSTAL = RegistryKey.of("end_crystal"); - RegistryKey ENDER_DRAGON = RegistryKey.unsafeOf("ender_dragon"); + RegistryKey ENDER_DRAGON = RegistryKey.of("ender_dragon"); - RegistryKey ENDER_PEARL = RegistryKey.unsafeOf("ender_pearl"); + RegistryKey ENDER_PEARL = RegistryKey.of("ender_pearl"); - RegistryKey ENDERMAN = RegistryKey.unsafeOf("enderman"); + RegistryKey ENDERMAN = RegistryKey.of("enderman"); - RegistryKey ENDERMITE = RegistryKey.unsafeOf("endermite"); + RegistryKey ENDERMITE = RegistryKey.of("endermite"); - RegistryKey EVOKER = RegistryKey.unsafeOf("evoker"); + RegistryKey EVOKER = RegistryKey.of("evoker"); - RegistryKey EVOKER_FANGS = RegistryKey.unsafeOf("evoker_fangs"); + RegistryKey EVOKER_FANGS = RegistryKey.of("evoker_fangs"); - RegistryKey EXPERIENCE_BOTTLE = RegistryKey.unsafeOf("experience_bottle"); + RegistryKey EXPERIENCE_BOTTLE = RegistryKey.of("experience_bottle"); - RegistryKey EXPERIENCE_ORB = RegistryKey.unsafeOf("experience_orb"); + RegistryKey EXPERIENCE_ORB = RegistryKey.of("experience_orb"); - RegistryKey EYE_OF_ENDER = RegistryKey.unsafeOf("eye_of_ender"); + RegistryKey EYE_OF_ENDER = RegistryKey.of("eye_of_ender"); - RegistryKey FALLING_BLOCK = RegistryKey.unsafeOf("falling_block"); + RegistryKey FALLING_BLOCK = RegistryKey.of("falling_block"); - RegistryKey FIREBALL = RegistryKey.unsafeOf("fireball"); + RegistryKey FIREBALL = RegistryKey.of("fireball"); - RegistryKey FIREWORK_ROCKET = RegistryKey.unsafeOf("firework_rocket"); + RegistryKey FIREWORK_ROCKET = RegistryKey.of("firework_rocket"); - RegistryKey FISHING_BOBBER = RegistryKey.unsafeOf("fishing_bobber"); + RegistryKey FISHING_BOBBER = RegistryKey.of("fishing_bobber"); - RegistryKey FOX = RegistryKey.unsafeOf("fox"); + RegistryKey FOX = RegistryKey.of("fox"); - RegistryKey FROG = RegistryKey.unsafeOf("frog"); + RegistryKey FROG = RegistryKey.of("frog"); - RegistryKey FURNACE_MINECART = RegistryKey.unsafeOf("furnace_minecart"); + RegistryKey FURNACE_MINECART = RegistryKey.of("furnace_minecart"); - RegistryKey GHAST = RegistryKey.unsafeOf("ghast"); + RegistryKey GHAST = RegistryKey.of("ghast"); - RegistryKey GIANT = RegistryKey.unsafeOf("giant"); + RegistryKey GIANT = RegistryKey.of("giant"); - RegistryKey GLOW_ITEM_FRAME = RegistryKey.unsafeOf("glow_item_frame"); + RegistryKey GLOW_ITEM_FRAME = RegistryKey.of("glow_item_frame"); - RegistryKey GLOW_SQUID = RegistryKey.unsafeOf("glow_squid"); + RegistryKey GLOW_SQUID = RegistryKey.of("glow_squid"); - RegistryKey GOAT = RegistryKey.unsafeOf("goat"); + RegistryKey GOAT = RegistryKey.of("goat"); - RegistryKey GUARDIAN = RegistryKey.unsafeOf("guardian"); + RegistryKey GUARDIAN = RegistryKey.of("guardian"); - RegistryKey HAPPY_GHAST = RegistryKey.unsafeOf("happy_ghast"); + RegistryKey HAPPY_GHAST = RegistryKey.of("happy_ghast"); - RegistryKey HOGLIN = RegistryKey.unsafeOf("hoglin"); + RegistryKey HOGLIN = RegistryKey.of("hoglin"); - RegistryKey HOPPER_MINECART = RegistryKey.unsafeOf("hopper_minecart"); + RegistryKey HOPPER_MINECART = RegistryKey.of("hopper_minecart"); - RegistryKey HORSE = RegistryKey.unsafeOf("horse"); + RegistryKey HORSE = RegistryKey.of("horse"); - RegistryKey HUSK = RegistryKey.unsafeOf("husk"); + RegistryKey HUSK = RegistryKey.of("husk"); - RegistryKey ILLUSIONER = RegistryKey.unsafeOf("illusioner"); + RegistryKey ILLUSIONER = RegistryKey.of("illusioner"); - RegistryKey INTERACTION = RegistryKey.unsafeOf("interaction"); + RegistryKey INTERACTION = RegistryKey.of("interaction"); - RegistryKey IRON_GOLEM = RegistryKey.unsafeOf("iron_golem"); + RegistryKey IRON_GOLEM = RegistryKey.of("iron_golem"); - RegistryKey ITEM = RegistryKey.unsafeOf("item"); + RegistryKey ITEM = RegistryKey.of("item"); - RegistryKey ITEM_DISPLAY = RegistryKey.unsafeOf("item_display"); + RegistryKey ITEM_DISPLAY = RegistryKey.of("item_display"); - RegistryKey ITEM_FRAME = RegistryKey.unsafeOf("item_frame"); + RegistryKey ITEM_FRAME = RegistryKey.of("item_frame"); - RegistryKey JUNGLE_BOAT = RegistryKey.unsafeOf("jungle_boat"); + RegistryKey JUNGLE_BOAT = RegistryKey.of("jungle_boat"); - RegistryKey JUNGLE_CHEST_BOAT = RegistryKey.unsafeOf("jungle_chest_boat"); + RegistryKey JUNGLE_CHEST_BOAT = RegistryKey.of("jungle_chest_boat"); - RegistryKey LEASH_KNOT = RegistryKey.unsafeOf("leash_knot"); + RegistryKey LEASH_KNOT = RegistryKey.of("leash_knot"); - RegistryKey LIGHTNING_BOLT = RegistryKey.unsafeOf("lightning_bolt"); + RegistryKey LIGHTNING_BOLT = RegistryKey.of("lightning_bolt"); - RegistryKey LINGERING_POTION = RegistryKey.unsafeOf("lingering_potion"); + RegistryKey LINGERING_POTION = RegistryKey.of("lingering_potion"); - RegistryKey LLAMA = RegistryKey.unsafeOf("llama"); + RegistryKey LLAMA = RegistryKey.of("llama"); - RegistryKey LLAMA_SPIT = RegistryKey.unsafeOf("llama_spit"); + RegistryKey LLAMA_SPIT = RegistryKey.of("llama_spit"); - RegistryKey MAGMA_CUBE = RegistryKey.unsafeOf("magma_cube"); + RegistryKey MAGMA_CUBE = RegistryKey.of("magma_cube"); - RegistryKey MANGROVE_BOAT = RegistryKey.unsafeOf("mangrove_boat"); + RegistryKey MANGROVE_BOAT = RegistryKey.of("mangrove_boat"); - RegistryKey MANGROVE_CHEST_BOAT = RegistryKey.unsafeOf("mangrove_chest_boat"); + RegistryKey MANGROVE_CHEST_BOAT = RegistryKey.of("mangrove_chest_boat"); - RegistryKey MANNEQUIN = RegistryKey.unsafeOf("mannequin"); + RegistryKey MANNEQUIN = RegistryKey.of("mannequin"); - RegistryKey MARKER = RegistryKey.unsafeOf("marker"); + RegistryKey MARKER = RegistryKey.of("marker"); - RegistryKey MINECART = RegistryKey.unsafeOf("minecart"); + RegistryKey MINECART = RegistryKey.of("minecart"); - RegistryKey MOOSHROOM = RegistryKey.unsafeOf("mooshroom"); + RegistryKey MOOSHROOM = RegistryKey.of("mooshroom"); - RegistryKey MULE = RegistryKey.unsafeOf("mule"); + RegistryKey MULE = RegistryKey.of("mule"); - RegistryKey NAUTILUS = RegistryKey.unsafeOf("nautilus"); + RegistryKey NAUTILUS = RegistryKey.of("nautilus"); - RegistryKey OAK_BOAT = RegistryKey.unsafeOf("oak_boat"); + RegistryKey OAK_BOAT = RegistryKey.of("oak_boat"); - RegistryKey OAK_CHEST_BOAT = RegistryKey.unsafeOf("oak_chest_boat"); + RegistryKey OAK_CHEST_BOAT = RegistryKey.of("oak_chest_boat"); - RegistryKey OCELOT = RegistryKey.unsafeOf("ocelot"); + RegistryKey OCELOT = RegistryKey.of("ocelot"); - RegistryKey OMINOUS_ITEM_SPAWNER = RegistryKey.unsafeOf("ominous_item_spawner"); + RegistryKey OMINOUS_ITEM_SPAWNER = RegistryKey.of("ominous_item_spawner"); - RegistryKey PAINTING = RegistryKey.unsafeOf("painting"); + RegistryKey PAINTING = RegistryKey.of("painting"); - RegistryKey PALE_OAK_BOAT = RegistryKey.unsafeOf("pale_oak_boat"); + RegistryKey PALE_OAK_BOAT = RegistryKey.of("pale_oak_boat"); - RegistryKey PALE_OAK_CHEST_BOAT = RegistryKey.unsafeOf("pale_oak_chest_boat"); + RegistryKey PALE_OAK_CHEST_BOAT = RegistryKey.of("pale_oak_chest_boat"); - RegistryKey PANDA = RegistryKey.unsafeOf("panda"); + RegistryKey PANDA = RegistryKey.of("panda"); - RegistryKey PARCHED = RegistryKey.unsafeOf("parched"); + RegistryKey PARCHED = RegistryKey.of("parched"); - RegistryKey PARROT = RegistryKey.unsafeOf("parrot"); + RegistryKey PARROT = RegistryKey.of("parrot"); - RegistryKey PHANTOM = RegistryKey.unsafeOf("phantom"); + RegistryKey PHANTOM = RegistryKey.of("phantom"); - RegistryKey PIG = RegistryKey.unsafeOf("pig"); + RegistryKey PIG = RegistryKey.of("pig"); - RegistryKey PIGLIN = RegistryKey.unsafeOf("piglin"); + RegistryKey PIGLIN = RegistryKey.of("piglin"); - RegistryKey PIGLIN_BRUTE = RegistryKey.unsafeOf("piglin_brute"); + RegistryKey PIGLIN_BRUTE = RegistryKey.of("piglin_brute"); - RegistryKey PILLAGER = RegistryKey.unsafeOf("pillager"); + RegistryKey PILLAGER = RegistryKey.of("pillager"); - RegistryKey PLAYER = RegistryKey.unsafeOf("player"); + RegistryKey PLAYER = RegistryKey.of("player"); - RegistryKey POLAR_BEAR = RegistryKey.unsafeOf("polar_bear"); + RegistryKey POLAR_BEAR = RegistryKey.of("polar_bear"); - RegistryKey PUFFERFISH = RegistryKey.unsafeOf("pufferfish"); + RegistryKey PUFFERFISH = RegistryKey.of("pufferfish"); - RegistryKey RABBIT = RegistryKey.unsafeOf("rabbit"); + RegistryKey RABBIT = RegistryKey.of("rabbit"); - RegistryKey RAVAGER = RegistryKey.unsafeOf("ravager"); + RegistryKey RAVAGER = RegistryKey.of("ravager"); - RegistryKey SALMON = RegistryKey.unsafeOf("salmon"); + RegistryKey SALMON = RegistryKey.of("salmon"); - RegistryKey SHEEP = RegistryKey.unsafeOf("sheep"); + RegistryKey SHEEP = RegistryKey.of("sheep"); - RegistryKey SHULKER = RegistryKey.unsafeOf("shulker"); + RegistryKey SHULKER = RegistryKey.of("shulker"); - RegistryKey SHULKER_BULLET = RegistryKey.unsafeOf("shulker_bullet"); + RegistryKey SHULKER_BULLET = RegistryKey.of("shulker_bullet"); - RegistryKey SILVERFISH = RegistryKey.unsafeOf("silverfish"); + RegistryKey SILVERFISH = RegistryKey.of("silverfish"); - RegistryKey SKELETON = RegistryKey.unsafeOf("skeleton"); + RegistryKey SKELETON = RegistryKey.of("skeleton"); - RegistryKey SKELETON_HORSE = RegistryKey.unsafeOf("skeleton_horse"); + RegistryKey SKELETON_HORSE = RegistryKey.of("skeleton_horse"); - RegistryKey SLIME = RegistryKey.unsafeOf("slime"); + RegistryKey SLIME = RegistryKey.of("slime"); - RegistryKey SMALL_FIREBALL = RegistryKey.unsafeOf("small_fireball"); + RegistryKey SMALL_FIREBALL = RegistryKey.of("small_fireball"); - RegistryKey SNIFFER = RegistryKey.unsafeOf("sniffer"); + RegistryKey SNIFFER = RegistryKey.of("sniffer"); - RegistryKey SNOW_GOLEM = RegistryKey.unsafeOf("snow_golem"); + RegistryKey SNOW_GOLEM = RegistryKey.of("snow_golem"); - RegistryKey SNOWBALL = RegistryKey.unsafeOf("snowball"); + RegistryKey SNOWBALL = RegistryKey.of("snowball"); - RegistryKey SPAWNER_MINECART = RegistryKey.unsafeOf("spawner_minecart"); + RegistryKey SPAWNER_MINECART = RegistryKey.of("spawner_minecart"); - RegistryKey SPECTRAL_ARROW = RegistryKey.unsafeOf("spectral_arrow"); + RegistryKey SPECTRAL_ARROW = RegistryKey.of("spectral_arrow"); - RegistryKey SPIDER = RegistryKey.unsafeOf("spider"); + RegistryKey SPIDER = RegistryKey.of("spider"); - RegistryKey SPLASH_POTION = RegistryKey.unsafeOf("splash_potion"); + RegistryKey SPLASH_POTION = RegistryKey.of("splash_potion"); - RegistryKey SPRUCE_BOAT = RegistryKey.unsafeOf("spruce_boat"); + RegistryKey SPRUCE_BOAT = RegistryKey.of("spruce_boat"); - RegistryKey SPRUCE_CHEST_BOAT = RegistryKey.unsafeOf("spruce_chest_boat"); + RegistryKey SPRUCE_CHEST_BOAT = RegistryKey.of("spruce_chest_boat"); - RegistryKey SQUID = RegistryKey.unsafeOf("squid"); + RegistryKey SQUID = RegistryKey.of("squid"); - RegistryKey STRAY = RegistryKey.unsafeOf("stray"); + RegistryKey STRAY = RegistryKey.of("stray"); - RegistryKey STRIDER = RegistryKey.unsafeOf("strider"); + RegistryKey STRIDER = RegistryKey.of("strider"); - RegistryKey SULFUR_CUBE = RegistryKey.unsafeOf("sulfur_cube"); + RegistryKey SULFUR_CUBE = RegistryKey.of("sulfur_cube"); - RegistryKey TADPOLE = RegistryKey.unsafeOf("tadpole"); + RegistryKey TADPOLE = RegistryKey.of("tadpole"); - RegistryKey TEXT_DISPLAY = RegistryKey.unsafeOf("text_display"); + RegistryKey TEXT_DISPLAY = RegistryKey.of("text_display"); - RegistryKey TNT = RegistryKey.unsafeOf("tnt"); + RegistryKey TNT = RegistryKey.of("tnt"); - RegistryKey TNT_MINECART = RegistryKey.unsafeOf("tnt_minecart"); + RegistryKey TNT_MINECART = RegistryKey.of("tnt_minecart"); - RegistryKey TRADER_LLAMA = RegistryKey.unsafeOf("trader_llama"); + RegistryKey TRADER_LLAMA = RegistryKey.of("trader_llama"); - RegistryKey TRIDENT = RegistryKey.unsafeOf("trident"); + RegistryKey TRIDENT = RegistryKey.of("trident"); - RegistryKey TROPICAL_FISH = RegistryKey.unsafeOf("tropical_fish"); + RegistryKey TROPICAL_FISH = RegistryKey.of("tropical_fish"); - RegistryKey TURTLE = RegistryKey.unsafeOf("turtle"); + RegistryKey TURTLE = RegistryKey.of("turtle"); - RegistryKey VEX = RegistryKey.unsafeOf("vex"); + RegistryKey VEX = RegistryKey.of("vex"); - RegistryKey VILLAGER = RegistryKey.unsafeOf("villager"); + RegistryKey VILLAGER = RegistryKey.of("villager"); - RegistryKey VINDICATOR = RegistryKey.unsafeOf("vindicator"); + RegistryKey VINDICATOR = RegistryKey.of("vindicator"); - RegistryKey WANDERING_TRADER = RegistryKey.unsafeOf("wandering_trader"); + RegistryKey WANDERING_TRADER = RegistryKey.of("wandering_trader"); - RegistryKey WARDEN = RegistryKey.unsafeOf("warden"); + RegistryKey WARDEN = RegistryKey.of("warden"); - RegistryKey WIND_CHARGE = RegistryKey.unsafeOf("wind_charge"); + RegistryKey WIND_CHARGE = RegistryKey.of("wind_charge"); - RegistryKey WITCH = RegistryKey.unsafeOf("witch"); + RegistryKey WITCH = RegistryKey.of("witch"); - RegistryKey WITHER = RegistryKey.unsafeOf("wither"); + RegistryKey WITHER = RegistryKey.of("wither"); - RegistryKey WITHER_SKELETON = RegistryKey.unsafeOf("wither_skeleton"); + RegistryKey WITHER_SKELETON = RegistryKey.of("wither_skeleton"); - RegistryKey WITHER_SKULL = RegistryKey.unsafeOf("wither_skull"); + RegistryKey WITHER_SKULL = RegistryKey.of("wither_skull"); - RegistryKey WOLF = RegistryKey.unsafeOf("wolf"); + RegistryKey WOLF = RegistryKey.of("wolf"); - RegistryKey ZOGLIN = RegistryKey.unsafeOf("zoglin"); + RegistryKey ZOGLIN = RegistryKey.of("zoglin"); - RegistryKey ZOMBIE = RegistryKey.unsafeOf("zombie"); + RegistryKey ZOMBIE = RegistryKey.of("zombie"); - RegistryKey ZOMBIE_HORSE = RegistryKey.unsafeOf("zombie_horse"); + RegistryKey ZOMBIE_HORSE = RegistryKey.of("zombie_horse"); - RegistryKey ZOMBIE_NAUTILUS = RegistryKey.unsafeOf("zombie_nautilus"); + RegistryKey ZOMBIE_NAUTILUS = RegistryKey.of("zombie_nautilus"); - RegistryKey ZOMBIE_VILLAGER = RegistryKey.unsafeOf("zombie_villager"); + RegistryKey ZOMBIE_VILLAGER = RegistryKey.of("zombie_villager"); - RegistryKey ZOMBIFIED_PIGLIN = RegistryKey.unsafeOf("zombified_piglin"); + RegistryKey ZOMBIFIED_PIGLIN = RegistryKey.of("zombified_piglin"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/EntityTypeTags.java b/src/autogenerated/java/net/minestom/server/entity/EntityTypeTags.java index 4296c0cf073..d01f5d230c4 100644 --- a/src/autogenerated/java/net/minestom/server/entity/EntityTypeTags.java +++ b/src/autogenerated/java/net/minestom/server/entity/EntityTypeTags.java @@ -11,99 +11,99 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface EntityTypeTags { - TagKey ACCEPTS_IRON_GOLEM_GIFT = TagKey.unsafeOf("accepts_iron_golem_gift"); + TagKey ACCEPTS_IRON_GOLEM_GIFT = TagKey.of("accepts_iron_golem_gift"); - TagKey AQUATIC = TagKey.unsafeOf("aquatic"); + TagKey AQUATIC = TagKey.of("aquatic"); - TagKey ARROWS = TagKey.unsafeOf("arrows"); + TagKey ARROWS = TagKey.of("arrows"); - TagKey ARTHROPOD = TagKey.unsafeOf("arthropod"); + TagKey ARTHROPOD = TagKey.of("arthropod"); - TagKey AXOLOTL_ALWAYS_HOSTILES = TagKey.unsafeOf("axolotl_always_hostiles"); + TagKey AXOLOTL_ALWAYS_HOSTILES = TagKey.of("axolotl_always_hostiles"); - TagKey AXOLOTL_HUNT_TARGETS = TagKey.unsafeOf("axolotl_hunt_targets"); + TagKey AXOLOTL_HUNT_TARGETS = TagKey.of("axolotl_hunt_targets"); - TagKey BEEHIVE_INHABITORS = TagKey.unsafeOf("beehive_inhabitors"); + TagKey BEEHIVE_INHABITORS = TagKey.of("beehive_inhabitors"); - TagKey BOAT = TagKey.unsafeOf("boat"); + TagKey BOAT = TagKey.of("boat"); - TagKey BURN_IN_DAYLIGHT = TagKey.unsafeOf("burn_in_daylight"); + TagKey BURN_IN_DAYLIGHT = TagKey.of("burn_in_daylight"); - TagKey CAN_BREATHE_UNDER_WATER = TagKey.unsafeOf("can_breathe_under_water"); + TagKey CAN_BREATHE_UNDER_WATER = TagKey.of("can_breathe_under_water"); - TagKey CAN_EQUIP_HARNESS = TagKey.unsafeOf("can_equip_harness"); + TagKey CAN_EQUIP_HARNESS = TagKey.of("can_equip_harness"); - TagKey CAN_EQUIP_SADDLE = TagKey.unsafeOf("can_equip_saddle"); + TagKey CAN_EQUIP_SADDLE = TagKey.of("can_equip_saddle"); - TagKey CAN_FLOAT_WHILE_RIDDEN = TagKey.unsafeOf("can_float_while_ridden"); + TagKey CAN_FLOAT_WHILE_RIDDEN = TagKey.of("can_float_while_ridden"); - TagKey CAN_TURN_IN_BOATS = TagKey.unsafeOf("can_turn_in_boats"); + TagKey CAN_TURN_IN_BOATS = TagKey.of("can_turn_in_boats"); - TagKey CAN_WEAR_HORSE_ARMOR = TagKey.unsafeOf("can_wear_horse_armor"); + TagKey CAN_WEAR_HORSE_ARMOR = TagKey.of("can_wear_horse_armor"); - TagKey CAN_WEAR_NAUTILUS_ARMOR = TagKey.unsafeOf("can_wear_nautilus_armor"); + TagKey CAN_WEAR_NAUTILUS_ARMOR = TagKey.of("can_wear_nautilus_armor"); - TagKey CANDIDATE_FOR_IRON_GOLEM_GIFT = TagKey.unsafeOf("candidate_for_iron_golem_gift"); + TagKey CANDIDATE_FOR_IRON_GOLEM_GIFT = TagKey.of("candidate_for_iron_golem_gift"); - TagKey CANNOT_BE_AGE_LOCKED = TagKey.unsafeOf("cannot_be_age_locked"); + TagKey CANNOT_BE_AGE_LOCKED = TagKey.of("cannot_be_age_locked"); - TagKey CANNOT_BE_PUSHED_ONTO_BOATS = TagKey.unsafeOf("cannot_be_pushed_onto_boats"); + TagKey CANNOT_BE_PUSHED_ONTO_BOATS = TagKey.of("cannot_be_pushed_onto_boats"); - TagKey DEFLECTS_PROJECTILES = TagKey.unsafeOf("deflects_projectiles"); + TagKey DEFLECTS_PROJECTILES = TagKey.of("deflects_projectiles"); - TagKey DISMOUNTS_UNDERWATER = TagKey.unsafeOf("dismounts_underwater"); + TagKey DISMOUNTS_UNDERWATER = TagKey.of("dismounts_underwater"); - TagKey FALL_DAMAGE_IMMUNE = TagKey.unsafeOf("fall_damage_immune"); + TagKey FALL_DAMAGE_IMMUNE = TagKey.of("fall_damage_immune"); - TagKey FOLLOWABLE_FRIENDLY_MOBS = TagKey.unsafeOf("followable_friendly_mobs"); + TagKey FOLLOWABLE_FRIENDLY_MOBS = TagKey.of("followable_friendly_mobs"); - TagKey FREEZE_HURTS_EXTRA_TYPES = TagKey.unsafeOf("freeze_hurts_extra_types"); + TagKey FREEZE_HURTS_EXTRA_TYPES = TagKey.of("freeze_hurts_extra_types"); - TagKey FREEZE_IMMUNE_ENTITY_TYPES = TagKey.unsafeOf("freeze_immune_entity_types"); + TagKey FREEZE_IMMUNE_ENTITY_TYPES = TagKey.of("freeze_immune_entity_types"); - TagKey FROG_FOOD = TagKey.unsafeOf("frog_food"); + TagKey FROG_FOOD = TagKey.of("frog_food"); - TagKey IGNORES_POISON_AND_REGEN = TagKey.unsafeOf("ignores_poison_and_regen"); + TagKey IGNORES_POISON_AND_REGEN = TagKey.of("ignores_poison_and_regen"); - TagKey ILLAGER = TagKey.unsafeOf("illager"); + TagKey ILLAGER = TagKey.of("illager"); - TagKey ILLAGER_FRIENDS = TagKey.unsafeOf("illager_friends"); + TagKey ILLAGER_FRIENDS = TagKey.of("illager_friends"); - TagKey IMMUNE_TO_INFESTED = TagKey.unsafeOf("immune_to_infested"); + TagKey IMMUNE_TO_INFESTED = TagKey.of("immune_to_infested"); - TagKey IMMUNE_TO_OOZING = TagKey.unsafeOf("immune_to_oozing"); + TagKey IMMUNE_TO_OOZING = TagKey.of("immune_to_oozing"); - TagKey IMPACT_PROJECTILES = TagKey.unsafeOf("impact_projectiles"); + TagKey IMPACT_PROJECTILES = TagKey.of("impact_projectiles"); - TagKey INVERTED_HEALING_AND_HARM = TagKey.unsafeOf("inverted_healing_and_harm"); + TagKey INVERTED_HEALING_AND_HARM = TagKey.of("inverted_healing_and_harm"); - TagKey NAUTILUS_HOSTILES = TagKey.unsafeOf("nautilus_hostiles"); + TagKey NAUTILUS_HOSTILES = TagKey.of("nautilus_hostiles"); - TagKey NO_ANGER_FROM_WIND_CHARGE = TagKey.unsafeOf("no_anger_from_wind_charge"); + TagKey NO_ANGER_FROM_WIND_CHARGE = TagKey.of("no_anger_from_wind_charge"); - TagKey NON_CONTROLLING_RIDER = TagKey.unsafeOf("non_controlling_rider"); + TagKey NON_CONTROLLING_RIDER = TagKey.of("non_controlling_rider"); - TagKey NOT_AFFECTED_BY_GEYSERS = TagKey.unsafeOf("not_affected_by_geysers"); + TagKey NOT_AFFECTED_BY_GEYSERS = TagKey.of("not_affected_by_geysers"); - TagKey NOT_SCARY_FOR_PUFFERFISH = TagKey.unsafeOf("not_scary_for_pufferfish"); + TagKey NOT_SCARY_FOR_PUFFERFISH = TagKey.of("not_scary_for_pufferfish"); - TagKey POWDER_SNOW_WALKABLE_MOBS = TagKey.unsafeOf("powder_snow_walkable_mobs"); + TagKey POWDER_SNOW_WALKABLE_MOBS = TagKey.of("powder_snow_walkable_mobs"); - TagKey RAIDERS = TagKey.unsafeOf("raiders"); + TagKey RAIDERS = TagKey.of("raiders"); - TagKey REDIRECTABLE_PROJECTILE = TagKey.unsafeOf("redirectable_projectile"); + TagKey REDIRECTABLE_PROJECTILE = TagKey.of("redirectable_projectile"); - TagKey SENSITIVE_TO_BANE_OF_ARTHROPODS = TagKey.unsafeOf("sensitive_to_bane_of_arthropods"); + TagKey SENSITIVE_TO_BANE_OF_ARTHROPODS = TagKey.of("sensitive_to_bane_of_arthropods"); - TagKey SENSITIVE_TO_IMPALING = TagKey.unsafeOf("sensitive_to_impaling"); + TagKey SENSITIVE_TO_IMPALING = TagKey.of("sensitive_to_impaling"); - TagKey SENSITIVE_TO_SMITE = TagKey.unsafeOf("sensitive_to_smite"); + TagKey SENSITIVE_TO_SMITE = TagKey.of("sensitive_to_smite"); - TagKey SKELETONS = TagKey.unsafeOf("skeletons"); + TagKey SKELETONS = TagKey.of("skeletons"); - TagKey UNDEAD = TagKey.unsafeOf("undead"); + TagKey UNDEAD = TagKey.of("undead"); - TagKey WITHER_FRIENDS = TagKey.unsafeOf("wither_friends"); + TagKey WITHER_FRIENDS = TagKey.of("wither_friends"); - TagKey ZOMBIES = TagKey.unsafeOf("zombies"); + TagKey ZOMBIES = TagKey.of("zombies"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/VillagerProfessionKeys.java b/src/autogenerated/java/net/minestom/server/entity/VillagerProfessionKeys.java index 0767a0309ec..6e420d3bf47 100644 --- a/src/autogenerated/java/net/minestom/server/entity/VillagerProfessionKeys.java +++ b/src/autogenerated/java/net/minestom/server/entity/VillagerProfessionKeys.java @@ -11,33 +11,33 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface VillagerProfessionKeys { - RegistryKey ARMORER = RegistryKey.unsafeOf("armorer"); + RegistryKey ARMORER = RegistryKey.of("armorer"); - RegistryKey BUTCHER = RegistryKey.unsafeOf("butcher"); + RegistryKey BUTCHER = RegistryKey.of("butcher"); - RegistryKey CARTOGRAPHER = RegistryKey.unsafeOf("cartographer"); + RegistryKey CARTOGRAPHER = RegistryKey.of("cartographer"); - RegistryKey CLERIC = RegistryKey.unsafeOf("cleric"); + RegistryKey CLERIC = RegistryKey.of("cleric"); - RegistryKey FARMER = RegistryKey.unsafeOf("farmer"); + RegistryKey FARMER = RegistryKey.of("farmer"); - RegistryKey FISHERMAN = RegistryKey.unsafeOf("fisherman"); + RegistryKey FISHERMAN = RegistryKey.of("fisherman"); - RegistryKey FLETCHER = RegistryKey.unsafeOf("fletcher"); + RegistryKey FLETCHER = RegistryKey.of("fletcher"); - RegistryKey LEATHERWORKER = RegistryKey.unsafeOf("leatherworker"); + RegistryKey LEATHERWORKER = RegistryKey.of("leatherworker"); - RegistryKey LIBRARIAN = RegistryKey.unsafeOf("librarian"); + RegistryKey LIBRARIAN = RegistryKey.of("librarian"); - RegistryKey MASON = RegistryKey.unsafeOf("mason"); + RegistryKey MASON = RegistryKey.of("mason"); - RegistryKey NITWIT = RegistryKey.unsafeOf("nitwit"); + RegistryKey NITWIT = RegistryKey.of("nitwit"); - RegistryKey NONE = RegistryKey.unsafeOf("none"); + RegistryKey NONE = RegistryKey.of("none"); - RegistryKey SHEPHERD = RegistryKey.unsafeOf("shepherd"); + RegistryKey SHEPHERD = RegistryKey.of("shepherd"); - RegistryKey TOOLSMITH = RegistryKey.unsafeOf("toolsmith"); + RegistryKey TOOLSMITH = RegistryKey.of("toolsmith"); - RegistryKey WEAPONSMITH = RegistryKey.unsafeOf("weaponsmith"); + RegistryKey WEAPONSMITH = RegistryKey.of("weaponsmith"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/attribute/AttributeKeys.java b/src/autogenerated/java/net/minestom/server/entity/attribute/AttributeKeys.java index ab0ead10776..92ed2d889bf 100644 --- a/src/autogenerated/java/net/minestom/server/entity/attribute/AttributeKeys.java +++ b/src/autogenerated/java/net/minestom/server/entity/attribute/AttributeKeys.java @@ -11,83 +11,83 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface AttributeKeys { - RegistryKey AIR_DRAG_MODIFIER = RegistryKey.unsafeOf("air_drag_modifier"); + RegistryKey AIR_DRAG_MODIFIER = RegistryKey.of("air_drag_modifier"); - RegistryKey ARMOR = RegistryKey.unsafeOf("armor"); + RegistryKey ARMOR = RegistryKey.of("armor"); - RegistryKey ARMOR_TOUGHNESS = RegistryKey.unsafeOf("armor_toughness"); + RegistryKey ARMOR_TOUGHNESS = RegistryKey.of("armor_toughness"); - RegistryKey ATTACK_DAMAGE = RegistryKey.unsafeOf("attack_damage"); + RegistryKey ATTACK_DAMAGE = RegistryKey.of("attack_damage"); - RegistryKey ATTACK_KNOCKBACK = RegistryKey.unsafeOf("attack_knockback"); + RegistryKey ATTACK_KNOCKBACK = RegistryKey.of("attack_knockback"); - RegistryKey ATTACK_SPEED = RegistryKey.unsafeOf("attack_speed"); + RegistryKey ATTACK_SPEED = RegistryKey.of("attack_speed"); - RegistryKey BELOW_NAME_DISTANCE = RegistryKey.unsafeOf("below_name_distance"); + RegistryKey BELOW_NAME_DISTANCE = RegistryKey.of("below_name_distance"); - RegistryKey BLOCK_BREAK_SPEED = RegistryKey.unsafeOf("block_break_speed"); + RegistryKey BLOCK_BREAK_SPEED = RegistryKey.of("block_break_speed"); - RegistryKey BLOCK_INTERACTION_RANGE = RegistryKey.unsafeOf("block_interaction_range"); + RegistryKey BLOCK_INTERACTION_RANGE = RegistryKey.of("block_interaction_range"); - RegistryKey BOUNCINESS = RegistryKey.unsafeOf("bounciness"); + RegistryKey BOUNCINESS = RegistryKey.of("bounciness"); - RegistryKey BURNING_TIME = RegistryKey.unsafeOf("burning_time"); + RegistryKey BURNING_TIME = RegistryKey.of("burning_time"); - RegistryKey CAMERA_DISTANCE = RegistryKey.unsafeOf("camera_distance"); + RegistryKey CAMERA_DISTANCE = RegistryKey.of("camera_distance"); - RegistryKey ENTITY_INTERACTION_RANGE = RegistryKey.unsafeOf("entity_interaction_range"); + RegistryKey ENTITY_INTERACTION_RANGE = RegistryKey.of("entity_interaction_range"); - RegistryKey EXPLOSION_KNOCKBACK_RESISTANCE = RegistryKey.unsafeOf("explosion_knockback_resistance"); + RegistryKey EXPLOSION_KNOCKBACK_RESISTANCE = RegistryKey.of("explosion_knockback_resistance"); - RegistryKey FALL_DAMAGE_MULTIPLIER = RegistryKey.unsafeOf("fall_damage_multiplier"); + RegistryKey FALL_DAMAGE_MULTIPLIER = RegistryKey.of("fall_damage_multiplier"); - RegistryKey FLYING_SPEED = RegistryKey.unsafeOf("flying_speed"); + RegistryKey FLYING_SPEED = RegistryKey.of("flying_speed"); - RegistryKey FOLLOW_RANGE = RegistryKey.unsafeOf("follow_range"); + RegistryKey FOLLOW_RANGE = RegistryKey.of("follow_range"); - RegistryKey FRICTION_MODIFIER = RegistryKey.unsafeOf("friction_modifier"); + RegistryKey FRICTION_MODIFIER = RegistryKey.of("friction_modifier"); - RegistryKey GRAVITY = RegistryKey.unsafeOf("gravity"); + RegistryKey GRAVITY = RegistryKey.of("gravity"); - RegistryKey JUMP_STRENGTH = RegistryKey.unsafeOf("jump_strength"); + RegistryKey JUMP_STRENGTH = RegistryKey.of("jump_strength"); - RegistryKey KNOCKBACK_RESISTANCE = RegistryKey.unsafeOf("knockback_resistance"); + RegistryKey KNOCKBACK_RESISTANCE = RegistryKey.of("knockback_resistance"); - RegistryKey LUCK = RegistryKey.unsafeOf("luck"); + RegistryKey LUCK = RegistryKey.of("luck"); - RegistryKey MAX_ABSORPTION = RegistryKey.unsafeOf("max_absorption"); + RegistryKey MAX_ABSORPTION = RegistryKey.of("max_absorption"); - RegistryKey MAX_HEALTH = RegistryKey.unsafeOf("max_health"); + RegistryKey MAX_HEALTH = RegistryKey.of("max_health"); - RegistryKey MINING_EFFICIENCY = RegistryKey.unsafeOf("mining_efficiency"); + RegistryKey MINING_EFFICIENCY = RegistryKey.of("mining_efficiency"); - RegistryKey MOVEMENT_EFFICIENCY = RegistryKey.unsafeOf("movement_efficiency"); + RegistryKey MOVEMENT_EFFICIENCY = RegistryKey.of("movement_efficiency"); - RegistryKey MOVEMENT_SPEED = RegistryKey.unsafeOf("movement_speed"); + RegistryKey MOVEMENT_SPEED = RegistryKey.of("movement_speed"); - RegistryKey NAME_TAG_DISTANCE = RegistryKey.unsafeOf("name_tag_distance"); + RegistryKey NAME_TAG_DISTANCE = RegistryKey.of("name_tag_distance"); - RegistryKey OXYGEN_BONUS = RegistryKey.unsafeOf("oxygen_bonus"); + RegistryKey OXYGEN_BONUS = RegistryKey.of("oxygen_bonus"); - RegistryKey SAFE_FALL_DISTANCE = RegistryKey.unsafeOf("safe_fall_distance"); + RegistryKey SAFE_FALL_DISTANCE = RegistryKey.of("safe_fall_distance"); - RegistryKey SCALE = RegistryKey.unsafeOf("scale"); + RegistryKey SCALE = RegistryKey.of("scale"); - RegistryKey SNEAKING_SPEED = RegistryKey.unsafeOf("sneaking_speed"); + RegistryKey SNEAKING_SPEED = RegistryKey.of("sneaking_speed"); - RegistryKey SPAWN_REINFORCEMENTS = RegistryKey.unsafeOf("spawn_reinforcements"); + RegistryKey SPAWN_REINFORCEMENTS = RegistryKey.of("spawn_reinforcements"); - RegistryKey STEP_HEIGHT = RegistryKey.unsafeOf("step_height"); + RegistryKey STEP_HEIGHT = RegistryKey.of("step_height"); - RegistryKey SUBMERGED_MINING_SPEED = RegistryKey.unsafeOf("submerged_mining_speed"); + RegistryKey SUBMERGED_MINING_SPEED = RegistryKey.of("submerged_mining_speed"); - RegistryKey SWEEPING_DAMAGE_RATIO = RegistryKey.unsafeOf("sweeping_damage_ratio"); + RegistryKey SWEEPING_DAMAGE_RATIO = RegistryKey.of("sweeping_damage_ratio"); - RegistryKey TEMPT_RANGE = RegistryKey.unsafeOf("tempt_range"); + RegistryKey TEMPT_RANGE = RegistryKey.of("tempt_range"); - RegistryKey WATER_MOVEMENT_EFFICIENCY = RegistryKey.unsafeOf("water_movement_efficiency"); + RegistryKey WATER_MOVEMENT_EFFICIENCY = RegistryKey.of("water_movement_efficiency"); - RegistryKey WAYPOINT_RECEIVE_RANGE = RegistryKey.unsafeOf("waypoint_receive_range"); + RegistryKey WAYPOINT_RECEIVE_RANGE = RegistryKey.of("waypoint_receive_range"); - RegistryKey WAYPOINT_TRANSMIT_RANGE = RegistryKey.unsafeOf("waypoint_transmit_range"); + RegistryKey WAYPOINT_TRANSMIT_RANGE = RegistryKey.of("waypoint_transmit_range"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/damage/DamageTypeTags.java b/src/autogenerated/java/net/minestom/server/entity/damage/DamageTypeTags.java index 371e49aa540..11206a16ff8 100644 --- a/src/autogenerated/java/net/minestom/server/entity/damage/DamageTypeTags.java +++ b/src/autogenerated/java/net/minestom/server/entity/damage/DamageTypeTags.java @@ -11,71 +11,71 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface DamageTypeTags { - TagKey ALWAYS_HURTS_ENDER_DRAGONS = TagKey.unsafeOf("always_hurts_ender_dragons"); + TagKey ALWAYS_HURTS_ENDER_DRAGONS = TagKey.of("always_hurts_ender_dragons"); - TagKey ALWAYS_KILLS_ARMOR_STANDS = TagKey.unsafeOf("always_kills_armor_stands"); + TagKey ALWAYS_KILLS_ARMOR_STANDS = TagKey.of("always_kills_armor_stands"); - TagKey ALWAYS_MOST_SIGNIFICANT_FALL = TagKey.unsafeOf("always_most_significant_fall"); + TagKey ALWAYS_MOST_SIGNIFICANT_FALL = TagKey.of("always_most_significant_fall"); - TagKey ALWAYS_TRIGGERS_SILVERFISH = TagKey.unsafeOf("always_triggers_silverfish"); + TagKey ALWAYS_TRIGGERS_SILVERFISH = TagKey.of("always_triggers_silverfish"); - TagKey AVOIDS_GUARDIAN_THORNS = TagKey.unsafeOf("avoids_guardian_thorns"); + TagKey AVOIDS_GUARDIAN_THORNS = TagKey.of("avoids_guardian_thorns"); - TagKey BURN_FROM_STEPPING = TagKey.unsafeOf("burn_from_stepping"); + TagKey BURN_FROM_STEPPING = TagKey.of("burn_from_stepping"); - TagKey BURNS_ARMOR_STANDS = TagKey.unsafeOf("burns_armor_stands"); + TagKey BURNS_ARMOR_STANDS = TagKey.of("burns_armor_stands"); - TagKey BYPASSES_ARMOR = TagKey.unsafeOf("bypasses_armor"); + TagKey BYPASSES_ARMOR = TagKey.of("bypasses_armor"); - TagKey BYPASSES_EFFECTS = TagKey.unsafeOf("bypasses_effects"); + TagKey BYPASSES_EFFECTS = TagKey.of("bypasses_effects"); - TagKey BYPASSES_ENCHANTMENTS = TagKey.unsafeOf("bypasses_enchantments"); + TagKey BYPASSES_ENCHANTMENTS = TagKey.of("bypasses_enchantments"); - TagKey BYPASSES_INVULNERABILITY = TagKey.unsafeOf("bypasses_invulnerability"); + TagKey BYPASSES_INVULNERABILITY = TagKey.of("bypasses_invulnerability"); - TagKey BYPASSES_RESISTANCE = TagKey.unsafeOf("bypasses_resistance"); + TagKey BYPASSES_RESISTANCE = TagKey.of("bypasses_resistance"); - TagKey BYPASSES_SHIELD = TagKey.unsafeOf("bypasses_shield"); + TagKey BYPASSES_SHIELD = TagKey.of("bypasses_shield"); - TagKey BYPASSES_WOLF_ARMOR = TagKey.unsafeOf("bypasses_wolf_armor"); + TagKey BYPASSES_WOLF_ARMOR = TagKey.of("bypasses_wolf_armor"); - TagKey CAN_BREAK_ARMOR_STAND = TagKey.unsafeOf("can_break_armor_stand"); + TagKey CAN_BREAK_ARMOR_STAND = TagKey.of("can_break_armor_stand"); - TagKey DAMAGES_HELMET = TagKey.unsafeOf("damages_helmet"); + TagKey DAMAGES_HELMET = TagKey.of("damages_helmet"); - TagKey IGNITES_ARMOR_STANDS = TagKey.unsafeOf("ignites_armor_stands"); + TagKey IGNITES_ARMOR_STANDS = TagKey.of("ignites_armor_stands"); - TagKey IS_DROWNING = TagKey.unsafeOf("is_drowning"); + TagKey IS_DROWNING = TagKey.of("is_drowning"); - TagKey IS_EXPLOSION = TagKey.unsafeOf("is_explosion"); + TagKey IS_EXPLOSION = TagKey.of("is_explosion"); - TagKey IS_FALL = TagKey.unsafeOf("is_fall"); + TagKey IS_FALL = TagKey.of("is_fall"); - TagKey IS_FIRE = TagKey.unsafeOf("is_fire"); + TagKey IS_FIRE = TagKey.of("is_fire"); - TagKey IS_FREEZING = TagKey.unsafeOf("is_freezing"); + TagKey IS_FREEZING = TagKey.of("is_freezing"); - TagKey IS_LIGHTNING = TagKey.unsafeOf("is_lightning"); + TagKey IS_LIGHTNING = TagKey.of("is_lightning"); - TagKey IS_PLAYER_ATTACK = TagKey.unsafeOf("is_player_attack"); + TagKey IS_PLAYER_ATTACK = TagKey.of("is_player_attack"); - TagKey IS_PROJECTILE = TagKey.unsafeOf("is_projectile"); + TagKey IS_PROJECTILE = TagKey.of("is_projectile"); - TagKey MACE_SMASH = TagKey.unsafeOf("mace_smash"); + TagKey MACE_SMASH = TagKey.of("mace_smash"); - TagKey NO_ANGER = TagKey.unsafeOf("no_anger"); + TagKey NO_ANGER = TagKey.of("no_anger"); - TagKey NO_IMPACT = TagKey.unsafeOf("no_impact"); + TagKey NO_IMPACT = TagKey.of("no_impact"); - TagKey NO_KNOCKBACK = TagKey.unsafeOf("no_knockback"); + TagKey NO_KNOCKBACK = TagKey.of("no_knockback"); - TagKey PANIC_CAUSES = TagKey.unsafeOf("panic_causes"); + TagKey PANIC_CAUSES = TagKey.of("panic_causes"); - TagKey PANIC_ENVIRONMENTAL_CAUSES = TagKey.unsafeOf("panic_environmental_causes"); + TagKey PANIC_ENVIRONMENTAL_CAUSES = TagKey.of("panic_environmental_causes"); - TagKey SULFUR_CUBE_WITH_BLOCK_IMMUNE_TO = TagKey.unsafeOf("sulfur_cube_with_block_immune_to"); + TagKey SULFUR_CUBE_WITH_BLOCK_IMMUNE_TO = TagKey.of("sulfur_cube_with_block_immune_to"); - TagKey WITCH_RESISTANT_TO = TagKey.unsafeOf("witch_resistant_to"); + TagKey WITCH_RESISTANT_TO = TagKey.of("witch_resistant_to"); - TagKey WITHER_IMMUNE_TO = TagKey.unsafeOf("wither_immune_to"); + TagKey WITHER_IMMUNE_TO = TagKey.of("wither_immune_to"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/damage/DamageTypes.java b/src/autogenerated/java/net/minestom/server/entity/damage/DamageTypes.java index 8c543b20653..f5ca8ab7827 100644 --- a/src/autogenerated/java/net/minestom/server/entity/damage/DamageTypes.java +++ b/src/autogenerated/java/net/minestom/server/entity/damage/DamageTypes.java @@ -9,105 +9,105 @@ */ @SuppressWarnings("unused") sealed interface DamageTypes permits DamageType { - RegistryKey ARROW = RegistryKey.unsafeOf("arrow"); + RegistryKey ARROW = RegistryKey.of("arrow"); - RegistryKey BAD_RESPAWN_POINT = RegistryKey.unsafeOf("bad_respawn_point"); + RegistryKey BAD_RESPAWN_POINT = RegistryKey.of("bad_respawn_point"); - RegistryKey CACTUS = RegistryKey.unsafeOf("cactus"); + RegistryKey CACTUS = RegistryKey.of("cactus"); - RegistryKey CAMPFIRE = RegistryKey.unsafeOf("campfire"); + RegistryKey CAMPFIRE = RegistryKey.of("campfire"); - RegistryKey CRAMMING = RegistryKey.unsafeOf("cramming"); + RegistryKey CRAMMING = RegistryKey.of("cramming"); - RegistryKey DRAGON_BREATH = RegistryKey.unsafeOf("dragon_breath"); + RegistryKey DRAGON_BREATH = RegistryKey.of("dragon_breath"); - RegistryKey DROWN = RegistryKey.unsafeOf("drown"); + RegistryKey DROWN = RegistryKey.of("drown"); - RegistryKey DRY_OUT = RegistryKey.unsafeOf("dry_out"); + RegistryKey DRY_OUT = RegistryKey.of("dry_out"); - RegistryKey ENDER_PEARL = RegistryKey.unsafeOf("ender_pearl"); + RegistryKey ENDER_PEARL = RegistryKey.of("ender_pearl"); - RegistryKey EXPLOSION = RegistryKey.unsafeOf("explosion"); + RegistryKey EXPLOSION = RegistryKey.of("explosion"); - RegistryKey FALL = RegistryKey.unsafeOf("fall"); + RegistryKey FALL = RegistryKey.of("fall"); - RegistryKey FALLING_ANVIL = RegistryKey.unsafeOf("falling_anvil"); + RegistryKey FALLING_ANVIL = RegistryKey.of("falling_anvil"); - RegistryKey FALLING_BLOCK = RegistryKey.unsafeOf("falling_block"); + RegistryKey FALLING_BLOCK = RegistryKey.of("falling_block"); - RegistryKey FALLING_STALACTITE = RegistryKey.unsafeOf("falling_stalactite"); + RegistryKey FALLING_STALACTITE = RegistryKey.of("falling_stalactite"); - RegistryKey FIREBALL = RegistryKey.unsafeOf("fireball"); + RegistryKey FIREBALL = RegistryKey.of("fireball"); - RegistryKey FIREWORKS = RegistryKey.unsafeOf("fireworks"); + RegistryKey FIREWORKS = RegistryKey.of("fireworks"); - RegistryKey FLY_INTO_WALL = RegistryKey.unsafeOf("fly_into_wall"); + RegistryKey FLY_INTO_WALL = RegistryKey.of("fly_into_wall"); - RegistryKey FREEZE = RegistryKey.unsafeOf("freeze"); + RegistryKey FREEZE = RegistryKey.of("freeze"); - RegistryKey GENERIC = RegistryKey.unsafeOf("generic"); + RegistryKey GENERIC = RegistryKey.of("generic"); - RegistryKey GENERIC_KILL = RegistryKey.unsafeOf("generic_kill"); + RegistryKey GENERIC_KILL = RegistryKey.of("generic_kill"); - RegistryKey HOT_FLOOR = RegistryKey.unsafeOf("hot_floor"); + RegistryKey HOT_FLOOR = RegistryKey.of("hot_floor"); - RegistryKey IN_FIRE = RegistryKey.unsafeOf("in_fire"); + RegistryKey IN_FIRE = RegistryKey.of("in_fire"); - RegistryKey IN_WALL = RegistryKey.unsafeOf("in_wall"); + RegistryKey IN_WALL = RegistryKey.of("in_wall"); - RegistryKey INDIRECT_MAGIC = RegistryKey.unsafeOf("indirect_magic"); + RegistryKey INDIRECT_MAGIC = RegistryKey.of("indirect_magic"); - RegistryKey LAVA = RegistryKey.unsafeOf("lava"); + RegistryKey LAVA = RegistryKey.of("lava"); - RegistryKey LIGHTNING_BOLT = RegistryKey.unsafeOf("lightning_bolt"); + RegistryKey LIGHTNING_BOLT = RegistryKey.of("lightning_bolt"); - RegistryKey MACE_SMASH = RegistryKey.unsafeOf("mace_smash"); + RegistryKey MACE_SMASH = RegistryKey.of("mace_smash"); - RegistryKey MAGIC = RegistryKey.unsafeOf("magic"); + RegistryKey MAGIC = RegistryKey.of("magic"); - RegistryKey MOB_ATTACK = RegistryKey.unsafeOf("mob_attack"); + RegistryKey MOB_ATTACK = RegistryKey.of("mob_attack"); - RegistryKey MOB_ATTACK_NO_AGGRO = RegistryKey.unsafeOf("mob_attack_no_aggro"); + RegistryKey MOB_ATTACK_NO_AGGRO = RegistryKey.of("mob_attack_no_aggro"); - RegistryKey MOB_PROJECTILE = RegistryKey.unsafeOf("mob_projectile"); + RegistryKey MOB_PROJECTILE = RegistryKey.of("mob_projectile"); - RegistryKey ON_FIRE = RegistryKey.unsafeOf("on_fire"); + RegistryKey ON_FIRE = RegistryKey.of("on_fire"); - RegistryKey OUT_OF_WORLD = RegistryKey.unsafeOf("out_of_world"); + RegistryKey OUT_OF_WORLD = RegistryKey.of("out_of_world"); - RegistryKey OUTSIDE_BORDER = RegistryKey.unsafeOf("outside_border"); + RegistryKey OUTSIDE_BORDER = RegistryKey.of("outside_border"); - RegistryKey PLAYER_ATTACK = RegistryKey.unsafeOf("player_attack"); + RegistryKey PLAYER_ATTACK = RegistryKey.of("player_attack"); - RegistryKey PLAYER_EXPLOSION = RegistryKey.unsafeOf("player_explosion"); + RegistryKey PLAYER_EXPLOSION = RegistryKey.of("player_explosion"); - RegistryKey SONIC_BOOM = RegistryKey.unsafeOf("sonic_boom"); + RegistryKey SONIC_BOOM = RegistryKey.of("sonic_boom"); - RegistryKey SPEAR = RegistryKey.unsafeOf("spear"); + RegistryKey SPEAR = RegistryKey.of("spear"); - RegistryKey SPIT = RegistryKey.unsafeOf("spit"); + RegistryKey SPIT = RegistryKey.of("spit"); - RegistryKey STALAGMITE = RegistryKey.unsafeOf("stalagmite"); + RegistryKey STALAGMITE = RegistryKey.of("stalagmite"); - RegistryKey STARVE = RegistryKey.unsafeOf("starve"); + RegistryKey STARVE = RegistryKey.of("starve"); - RegistryKey STING = RegistryKey.unsafeOf("sting"); + RegistryKey STING = RegistryKey.of("sting"); - RegistryKey SULFUR_CUBE_HOT = RegistryKey.unsafeOf("sulfur_cube_hot"); + RegistryKey SULFUR_CUBE_HOT = RegistryKey.of("sulfur_cube_hot"); - RegistryKey SWEET_BERRY_BUSH = RegistryKey.unsafeOf("sweet_berry_bush"); + RegistryKey SWEET_BERRY_BUSH = RegistryKey.of("sweet_berry_bush"); - RegistryKey THORNS = RegistryKey.unsafeOf("thorns"); + RegistryKey THORNS = RegistryKey.of("thorns"); - RegistryKey THROWN = RegistryKey.unsafeOf("thrown"); + RegistryKey THROWN = RegistryKey.of("thrown"); - RegistryKey TRIDENT = RegistryKey.unsafeOf("trident"); + RegistryKey TRIDENT = RegistryKey.of("trident"); - RegistryKey UNATTRIBUTED_FIREBALL = RegistryKey.unsafeOf("unattributed_fireball"); + RegistryKey UNATTRIBUTED_FIREBALL = RegistryKey.of("unattributed_fireball"); - RegistryKey WIND_CHARGE = RegistryKey.unsafeOf("wind_charge"); + RegistryKey WIND_CHARGE = RegistryKey.of("wind_charge"); - RegistryKey WITHER = RegistryKey.unsafeOf("wither"); + RegistryKey WITHER = RegistryKey.of("wither"); - RegistryKey WITHER_SKULL = RegistryKey.unsafeOf("wither_skull"); + RegistryKey WITHER_SKULL = RegistryKey.of("wither_skull"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ChickenSoundVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ChickenSoundVariants.java index a7bf8531a18..8a60d0beedc 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ChickenSoundVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ChickenSoundVariants.java @@ -9,7 +9,7 @@ */ @SuppressWarnings("unused") sealed interface ChickenSoundVariants permits ChickenSoundVariant { - RegistryKey CLASSIC = RegistryKey.unsafeOf("classic"); + RegistryKey CLASSIC = RegistryKey.of("classic"); - RegistryKey PICKY = RegistryKey.unsafeOf("picky"); + RegistryKey PICKY = RegistryKey.of("picky"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ChickenVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ChickenVariants.java index 8846c1f9801..c4583a6c50d 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ChickenVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ChickenVariants.java @@ -9,9 +9,9 @@ */ @SuppressWarnings("unused") sealed interface ChickenVariants permits ChickenVariant { - RegistryKey COLD = RegistryKey.unsafeOf("cold"); + RegistryKey COLD = RegistryKey.of("cold"); - RegistryKey TEMPERATE = RegistryKey.unsafeOf("temperate"); + RegistryKey TEMPERATE = RegistryKey.of("temperate"); - RegistryKey WARM = RegistryKey.unsafeOf("warm"); + RegistryKey WARM = RegistryKey.of("warm"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/CowSoundVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/CowSoundVariants.java index 5bc154f2b6a..1c1b90b331b 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/CowSoundVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/CowSoundVariants.java @@ -9,7 +9,7 @@ */ @SuppressWarnings("unused") sealed interface CowSoundVariants permits CowSoundVariant { - RegistryKey CLASSIC = RegistryKey.unsafeOf("classic"); + RegistryKey CLASSIC = RegistryKey.of("classic"); - RegistryKey MOODY = RegistryKey.unsafeOf("moody"); + RegistryKey MOODY = RegistryKey.of("moody"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/CowVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/CowVariants.java index 481234e0c0f..4b111b72998 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/CowVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/CowVariants.java @@ -9,9 +9,9 @@ */ @SuppressWarnings("unused") sealed interface CowVariants permits CowVariant { - RegistryKey COLD = RegistryKey.unsafeOf("cold"); + RegistryKey COLD = RegistryKey.of("cold"); - RegistryKey TEMPERATE = RegistryKey.unsafeOf("temperate"); + RegistryKey TEMPERATE = RegistryKey.of("temperate"); - RegistryKey WARM = RegistryKey.unsafeOf("warm"); + RegistryKey WARM = RegistryKey.of("warm"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/FrogVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/FrogVariants.java index c7b1693d9a8..46f87039d82 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/FrogVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/FrogVariants.java @@ -9,9 +9,9 @@ */ @SuppressWarnings("unused") sealed interface FrogVariants permits FrogVariant { - RegistryKey COLD = RegistryKey.unsafeOf("cold"); + RegistryKey COLD = RegistryKey.of("cold"); - RegistryKey TEMPERATE = RegistryKey.unsafeOf("temperate"); + RegistryKey TEMPERATE = RegistryKey.of("temperate"); - RegistryKey WARM = RegistryKey.unsafeOf("warm"); + RegistryKey WARM = RegistryKey.of("warm"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/PigSoundVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/PigSoundVariants.java index be47d85580e..b736588357b 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/PigSoundVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/PigSoundVariants.java @@ -9,9 +9,9 @@ */ @SuppressWarnings("unused") sealed interface PigSoundVariants permits PigSoundVariant { - RegistryKey BIG = RegistryKey.unsafeOf("big"); + RegistryKey BIG = RegistryKey.of("big"); - RegistryKey CLASSIC = RegistryKey.unsafeOf("classic"); + RegistryKey CLASSIC = RegistryKey.of("classic"); - RegistryKey MINI = RegistryKey.unsafeOf("mini"); + RegistryKey MINI = RegistryKey.of("mini"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/PigVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/PigVariants.java index a1f7fd8fcc9..f6f59ed9e9d 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/PigVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/PigVariants.java @@ -9,9 +9,9 @@ */ @SuppressWarnings("unused") sealed interface PigVariants permits PigVariant { - RegistryKey COLD = RegistryKey.unsafeOf("cold"); + RegistryKey COLD = RegistryKey.of("cold"); - RegistryKey TEMPERATE = RegistryKey.unsafeOf("temperate"); + RegistryKey TEMPERATE = RegistryKey.of("temperate"); - RegistryKey WARM = RegistryKey.unsafeOf("warm"); + RegistryKey WARM = RegistryKey.of("warm"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ZombieNautilusVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ZombieNautilusVariants.java index 8108dfb2007..0f6948b8e89 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ZombieNautilusVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/ZombieNautilusVariants.java @@ -9,7 +9,7 @@ */ @SuppressWarnings("unused") sealed interface ZombieNautilusVariants permits ZombieNautilusVariant { - RegistryKey TEMPERATE = RegistryKey.unsafeOf("temperate"); + RegistryKey TEMPERATE = RegistryKey.of("temperate"); - RegistryKey WARM = RegistryKey.unsafeOf("warm"); + RegistryKey WARM = RegistryKey.of("warm"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/CatSoundVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/CatSoundVariants.java index dd4f9b6dd79..489bb801bbb 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/CatSoundVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/CatSoundVariants.java @@ -9,7 +9,7 @@ */ @SuppressWarnings("unused") sealed interface CatSoundVariants permits CatSoundVariant { - RegistryKey CLASSIC = RegistryKey.unsafeOf("classic"); + RegistryKey CLASSIC = RegistryKey.of("classic"); - RegistryKey ROYAL = RegistryKey.unsafeOf("royal"); + RegistryKey ROYAL = RegistryKey.of("royal"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/CatVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/CatVariants.java index 85f58f34662..9eb2673dfce 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/CatVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/CatVariants.java @@ -9,25 +9,25 @@ */ @SuppressWarnings("unused") sealed interface CatVariants permits CatVariant { - RegistryKey ALL_BLACK = RegistryKey.unsafeOf("all_black"); + RegistryKey ALL_BLACK = RegistryKey.of("all_black"); - RegistryKey BLACK = RegistryKey.unsafeOf("black"); + RegistryKey BLACK = RegistryKey.of("black"); - RegistryKey BRITISH_SHORTHAIR = RegistryKey.unsafeOf("british_shorthair"); + RegistryKey BRITISH_SHORTHAIR = RegistryKey.of("british_shorthair"); - RegistryKey CALICO = RegistryKey.unsafeOf("calico"); + RegistryKey CALICO = RegistryKey.of("calico"); - RegistryKey JELLIE = RegistryKey.unsafeOf("jellie"); + RegistryKey JELLIE = RegistryKey.of("jellie"); - RegistryKey PERSIAN = RegistryKey.unsafeOf("persian"); + RegistryKey PERSIAN = RegistryKey.of("persian"); - RegistryKey RAGDOLL = RegistryKey.unsafeOf("ragdoll"); + RegistryKey RAGDOLL = RegistryKey.of("ragdoll"); - RegistryKey RED = RegistryKey.unsafeOf("red"); + RegistryKey RED = RegistryKey.of("red"); - RegistryKey SIAMESE = RegistryKey.unsafeOf("siamese"); + RegistryKey SIAMESE = RegistryKey.of("siamese"); - RegistryKey TABBY = RegistryKey.unsafeOf("tabby"); + RegistryKey TABBY = RegistryKey.of("tabby"); - RegistryKey WHITE = RegistryKey.unsafeOf("white"); + RegistryKey WHITE = RegistryKey.of("white"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/WolfSoundVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/WolfSoundVariants.java index b73152e710f..025a89eca2b 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/WolfSoundVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/WolfSoundVariants.java @@ -9,17 +9,17 @@ */ @SuppressWarnings("unused") sealed interface WolfSoundVariants permits WolfSoundVariant { - RegistryKey ANGRY = RegistryKey.unsafeOf("angry"); + RegistryKey ANGRY = RegistryKey.of("angry"); - RegistryKey BIG = RegistryKey.unsafeOf("big"); + RegistryKey BIG = RegistryKey.of("big"); - RegistryKey CLASSIC = RegistryKey.unsafeOf("classic"); + RegistryKey CLASSIC = RegistryKey.of("classic"); - RegistryKey CUTE = RegistryKey.unsafeOf("cute"); + RegistryKey CUTE = RegistryKey.of("cute"); - RegistryKey GRUMPY = RegistryKey.unsafeOf("grumpy"); + RegistryKey GRUMPY = RegistryKey.of("grumpy"); - RegistryKey PUGLIN = RegistryKey.unsafeOf("puglin"); + RegistryKey PUGLIN = RegistryKey.of("puglin"); - RegistryKey SAD = RegistryKey.unsafeOf("sad"); + RegistryKey SAD = RegistryKey.of("sad"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/WolfVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/WolfVariants.java index 006066bd4d9..135b888e58d 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/WolfVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/animal/tameable/WolfVariants.java @@ -9,21 +9,21 @@ */ @SuppressWarnings("unused") sealed interface WolfVariants permits WolfVariant { - RegistryKey ASHEN = RegistryKey.unsafeOf("ashen"); + RegistryKey ASHEN = RegistryKey.of("ashen"); - RegistryKey BLACK = RegistryKey.unsafeOf("black"); + RegistryKey BLACK = RegistryKey.of("black"); - RegistryKey CHESTNUT = RegistryKey.unsafeOf("chestnut"); + RegistryKey CHESTNUT = RegistryKey.of("chestnut"); - RegistryKey PALE = RegistryKey.unsafeOf("pale"); + RegistryKey PALE = RegistryKey.of("pale"); - RegistryKey RUSTY = RegistryKey.unsafeOf("rusty"); + RegistryKey RUSTY = RegistryKey.of("rusty"); - RegistryKey SNOWY = RegistryKey.unsafeOf("snowy"); + RegistryKey SNOWY = RegistryKey.of("snowy"); - RegistryKey SPOTTED = RegistryKey.unsafeOf("spotted"); + RegistryKey SPOTTED = RegistryKey.of("spotted"); - RegistryKey STRIPED = RegistryKey.unsafeOf("striped"); + RegistryKey STRIPED = RegistryKey.of("striped"); - RegistryKey WOODS = RegistryKey.unsafeOf("woods"); + RegistryKey WOODS = RegistryKey.of("woods"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/cube/SulfurCubeArchetypes.java b/src/autogenerated/java/net/minestom/server/entity/metadata/cube/SulfurCubeArchetypes.java index fec3e946f09..ba2f65db993 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/cube/SulfurCubeArchetypes.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/cube/SulfurCubeArchetypes.java @@ -9,27 +9,27 @@ */ @SuppressWarnings("unused") sealed interface SulfurCubeArchetypes permits SulfurCubeArchetype { - RegistryKey BOUNCY = RegistryKey.unsafeOf("bouncy"); + RegistryKey BOUNCY = RegistryKey.of("bouncy"); - RegistryKey EXPLOSIVE = RegistryKey.unsafeOf("explosive"); + RegistryKey EXPLOSIVE = RegistryKey.of("explosive"); - RegistryKey FAST_FLAT = RegistryKey.unsafeOf("fast_flat"); + RegistryKey FAST_FLAT = RegistryKey.of("fast_flat"); - RegistryKey FAST_SLIDING = RegistryKey.unsafeOf("fast_sliding"); + RegistryKey FAST_SLIDING = RegistryKey.of("fast_sliding"); - RegistryKey HIGH_RESISTANCE = RegistryKey.unsafeOf("high_resistance"); + RegistryKey HIGH_RESISTANCE = RegistryKey.of("high_resistance"); - RegistryKey HOT = RegistryKey.unsafeOf("hot"); + RegistryKey HOT = RegistryKey.of("hot"); - RegistryKey LIGHT = RegistryKey.unsafeOf("light"); + RegistryKey LIGHT = RegistryKey.of("light"); - RegistryKey REGULAR = RegistryKey.unsafeOf("regular"); + RegistryKey REGULAR = RegistryKey.of("regular"); - RegistryKey SLOW_BOUNCY = RegistryKey.unsafeOf("slow_bouncy"); + RegistryKey SLOW_BOUNCY = RegistryKey.of("slow_bouncy"); - RegistryKey SLOW_FLAT = RegistryKey.unsafeOf("slow_flat"); + RegistryKey SLOW_FLAT = RegistryKey.of("slow_flat"); - RegistryKey SLOW_SLIDING = RegistryKey.unsafeOf("slow_sliding"); + RegistryKey SLOW_SLIDING = RegistryKey.of("slow_sliding"); - RegistryKey STICKY = RegistryKey.unsafeOf("sticky"); + RegistryKey STICKY = RegistryKey.of("sticky"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/other/PaintingVariantTags.java b/src/autogenerated/java/net/minestom/server/entity/metadata/other/PaintingVariantTags.java index dd763463932..96c2c43106e 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/other/PaintingVariantTags.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/other/PaintingVariantTags.java @@ -11,5 +11,5 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface PaintingVariantTags { - TagKey PLACEABLE = TagKey.unsafeOf("placeable"); + TagKey PLACEABLE = TagKey.of("placeable"); } diff --git a/src/autogenerated/java/net/minestom/server/entity/metadata/other/PaintingVariants.java b/src/autogenerated/java/net/minestom/server/entity/metadata/other/PaintingVariants.java index ffb5175e7b9..ca2ef877784 100644 --- a/src/autogenerated/java/net/minestom/server/entity/metadata/other/PaintingVariants.java +++ b/src/autogenerated/java/net/minestom/server/entity/metadata/other/PaintingVariants.java @@ -9,105 +9,105 @@ */ @SuppressWarnings("unused") sealed interface PaintingVariants permits PaintingVariant { - RegistryKey ALBAN = RegistryKey.unsafeOf("alban"); + RegistryKey ALBAN = RegistryKey.of("alban"); - RegistryKey AZTEC = RegistryKey.unsafeOf("aztec"); + RegistryKey AZTEC = RegistryKey.of("aztec"); - RegistryKey AZTEC2 = RegistryKey.unsafeOf("aztec2"); + RegistryKey AZTEC2 = RegistryKey.of("aztec2"); - RegistryKey BACKYARD = RegistryKey.unsafeOf("backyard"); + RegistryKey BACKYARD = RegistryKey.of("backyard"); - RegistryKey BAROQUE = RegistryKey.unsafeOf("baroque"); + RegistryKey BAROQUE = RegistryKey.of("baroque"); - RegistryKey BOMB = RegistryKey.unsafeOf("bomb"); + RegistryKey BOMB = RegistryKey.of("bomb"); - RegistryKey BOUQUET = RegistryKey.unsafeOf("bouquet"); + RegistryKey BOUQUET = RegistryKey.of("bouquet"); - RegistryKey BURNING_SKULL = RegistryKey.unsafeOf("burning_skull"); + RegistryKey BURNING_SKULL = RegistryKey.of("burning_skull"); - RegistryKey BUST = RegistryKey.unsafeOf("bust"); + RegistryKey BUST = RegistryKey.of("bust"); - RegistryKey CAVEBIRD = RegistryKey.unsafeOf("cavebird"); + RegistryKey CAVEBIRD = RegistryKey.of("cavebird"); - RegistryKey CHANGING = RegistryKey.unsafeOf("changing"); + RegistryKey CHANGING = RegistryKey.of("changing"); - RegistryKey COTAN = RegistryKey.unsafeOf("cotan"); + RegistryKey COTAN = RegistryKey.of("cotan"); - RegistryKey COURBET = RegistryKey.unsafeOf("courbet"); + RegistryKey COURBET = RegistryKey.of("courbet"); - RegistryKey CREEBET = RegistryKey.unsafeOf("creebet"); + RegistryKey CREEBET = RegistryKey.of("creebet"); - RegistryKey DENNIS = RegistryKey.unsafeOf("dennis"); + RegistryKey DENNIS = RegistryKey.of("dennis"); - RegistryKey DONKEY_KONG = RegistryKey.unsafeOf("donkey_kong"); + RegistryKey DONKEY_KONG = RegistryKey.of("donkey_kong"); - RegistryKey EARTH = RegistryKey.unsafeOf("earth"); + RegistryKey EARTH = RegistryKey.of("earth"); - RegistryKey ENDBOSS = RegistryKey.unsafeOf("endboss"); + RegistryKey ENDBOSS = RegistryKey.of("endboss"); - RegistryKey FERN = RegistryKey.unsafeOf("fern"); + RegistryKey FERN = RegistryKey.of("fern"); - RegistryKey FIGHTERS = RegistryKey.unsafeOf("fighters"); + RegistryKey FIGHTERS = RegistryKey.of("fighters"); - RegistryKey FINDING = RegistryKey.unsafeOf("finding"); + RegistryKey FINDING = RegistryKey.of("finding"); - RegistryKey FIRE = RegistryKey.unsafeOf("fire"); + RegistryKey FIRE = RegistryKey.of("fire"); - RegistryKey GRAHAM = RegistryKey.unsafeOf("graham"); + RegistryKey GRAHAM = RegistryKey.of("graham"); - RegistryKey HUMBLE = RegistryKey.unsafeOf("humble"); + RegistryKey HUMBLE = RegistryKey.of("humble"); - RegistryKey KEBAB = RegistryKey.unsafeOf("kebab"); + RegistryKey KEBAB = RegistryKey.of("kebab"); - RegistryKey LOWMIST = RegistryKey.unsafeOf("lowmist"); + RegistryKey LOWMIST = RegistryKey.of("lowmist"); - RegistryKey MATCH = RegistryKey.unsafeOf("match"); + RegistryKey MATCH = RegistryKey.of("match"); - RegistryKey MEDITATIVE = RegistryKey.unsafeOf("meditative"); + RegistryKey MEDITATIVE = RegistryKey.of("meditative"); - RegistryKey ORB = RegistryKey.unsafeOf("orb"); + RegistryKey ORB = RegistryKey.of("orb"); - RegistryKey OWLEMONS = RegistryKey.unsafeOf("owlemons"); + RegistryKey OWLEMONS = RegistryKey.of("owlemons"); - RegistryKey PASSAGE = RegistryKey.unsafeOf("passage"); + RegistryKey PASSAGE = RegistryKey.of("passage"); - RegistryKey PIGSCENE = RegistryKey.unsafeOf("pigscene"); + RegistryKey PIGSCENE = RegistryKey.of("pigscene"); - RegistryKey PLANT = RegistryKey.unsafeOf("plant"); + RegistryKey PLANT = RegistryKey.of("plant"); - RegistryKey POINTER = RegistryKey.unsafeOf("pointer"); + RegistryKey POINTER = RegistryKey.of("pointer"); - RegistryKey POND = RegistryKey.unsafeOf("pond"); + RegistryKey POND = RegistryKey.of("pond"); - RegistryKey POOL = RegistryKey.unsafeOf("pool"); + RegistryKey POOL = RegistryKey.of("pool"); - RegistryKey PRAIRIE_RIDE = RegistryKey.unsafeOf("prairie_ride"); + RegistryKey PRAIRIE_RIDE = RegistryKey.of("prairie_ride"); - RegistryKey SEA = RegistryKey.unsafeOf("sea"); + RegistryKey SEA = RegistryKey.of("sea"); - RegistryKey SKELETON = RegistryKey.unsafeOf("skeleton"); + RegistryKey SKELETON = RegistryKey.of("skeleton"); - RegistryKey SKULL_AND_ROSES = RegistryKey.unsafeOf("skull_and_roses"); + RegistryKey SKULL_AND_ROSES = RegistryKey.of("skull_and_roses"); - RegistryKey STAGE = RegistryKey.unsafeOf("stage"); + RegistryKey STAGE = RegistryKey.of("stage"); - RegistryKey SUNFLOWERS = RegistryKey.unsafeOf("sunflowers"); + RegistryKey SUNFLOWERS = RegistryKey.of("sunflowers"); - RegistryKey SUNSET = RegistryKey.unsafeOf("sunset"); + RegistryKey SUNSET = RegistryKey.of("sunset"); - RegistryKey TIDES = RegistryKey.unsafeOf("tides"); + RegistryKey TIDES = RegistryKey.of("tides"); - RegistryKey UNPACKED = RegistryKey.unsafeOf("unpacked"); + RegistryKey UNPACKED = RegistryKey.of("unpacked"); - RegistryKey VOID = RegistryKey.unsafeOf("void"); + RegistryKey VOID = RegistryKey.of("void"); - RegistryKey WANDERER = RegistryKey.unsafeOf("wanderer"); + RegistryKey WANDERER = RegistryKey.of("wanderer"); - RegistryKey WASTELAND = RegistryKey.unsafeOf("wasteland"); + RegistryKey WASTELAND = RegistryKey.of("wasteland"); - RegistryKey WATER = RegistryKey.unsafeOf("water"); + RegistryKey WATER = RegistryKey.of("water"); - RegistryKey WIND = RegistryKey.unsafeOf("wind"); + RegistryKey WIND = RegistryKey.of("wind"); - RegistryKey WITHER = RegistryKey.unsafeOf("wither"); + RegistryKey WITHER = RegistryKey.of("wither"); } diff --git a/src/autogenerated/java/net/minestom/server/game/GameEventKeys.java b/src/autogenerated/java/net/minestom/server/game/GameEventKeys.java index 4f133d2b638..b91407aec1d 100644 --- a/src/autogenerated/java/net/minestom/server/game/GameEventKeys.java +++ b/src/autogenerated/java/net/minestom/server/game/GameEventKeys.java @@ -11,125 +11,125 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface GameEventKeys { - RegistryKey BLOCK_ACTIVATE = RegistryKey.unsafeOf("block_activate"); + RegistryKey BLOCK_ACTIVATE = RegistryKey.of("block_activate"); - RegistryKey BLOCK_ATTACH = RegistryKey.unsafeOf("block_attach"); + RegistryKey BLOCK_ATTACH = RegistryKey.of("block_attach"); - RegistryKey BLOCK_CHANGE = RegistryKey.unsafeOf("block_change"); + RegistryKey BLOCK_CHANGE = RegistryKey.of("block_change"); - RegistryKey BLOCK_CLOSE = RegistryKey.unsafeOf("block_close"); + RegistryKey BLOCK_CLOSE = RegistryKey.of("block_close"); - RegistryKey BLOCK_DEACTIVATE = RegistryKey.unsafeOf("block_deactivate"); + RegistryKey BLOCK_DEACTIVATE = RegistryKey.of("block_deactivate"); - RegistryKey BLOCK_DESTROY = RegistryKey.unsafeOf("block_destroy"); + RegistryKey BLOCK_DESTROY = RegistryKey.of("block_destroy"); - RegistryKey BLOCK_DETACH = RegistryKey.unsafeOf("block_detach"); + RegistryKey BLOCK_DETACH = RegistryKey.of("block_detach"); - RegistryKey BLOCK_OPEN = RegistryKey.unsafeOf("block_open"); + RegistryKey BLOCK_OPEN = RegistryKey.of("block_open"); - RegistryKey BLOCK_PLACE = RegistryKey.unsafeOf("block_place"); + RegistryKey BLOCK_PLACE = RegistryKey.of("block_place"); - RegistryKey BOUNCE = RegistryKey.unsafeOf("bounce"); + RegistryKey BOUNCE = RegistryKey.of("bounce"); - RegistryKey CONTAINER_CLOSE = RegistryKey.unsafeOf("container_close"); + RegistryKey CONTAINER_CLOSE = RegistryKey.of("container_close"); - RegistryKey CONTAINER_OPEN = RegistryKey.unsafeOf("container_open"); + RegistryKey CONTAINER_OPEN = RegistryKey.of("container_open"); - RegistryKey DRINK = RegistryKey.unsafeOf("drink"); + RegistryKey DRINK = RegistryKey.of("drink"); - RegistryKey EAT = RegistryKey.unsafeOf("eat"); + RegistryKey EAT = RegistryKey.of("eat"); - RegistryKey ELYTRA_GLIDE = RegistryKey.unsafeOf("elytra_glide"); + RegistryKey ELYTRA_GLIDE = RegistryKey.of("elytra_glide"); - RegistryKey ENTITY_ACTION = RegistryKey.unsafeOf("entity_action"); + RegistryKey ENTITY_ACTION = RegistryKey.of("entity_action"); - RegistryKey ENTITY_DAMAGE = RegistryKey.unsafeOf("entity_damage"); + RegistryKey ENTITY_DAMAGE = RegistryKey.of("entity_damage"); - RegistryKey ENTITY_DIE = RegistryKey.unsafeOf("entity_die"); + RegistryKey ENTITY_DIE = RegistryKey.of("entity_die"); - RegistryKey ENTITY_DISMOUNT = RegistryKey.unsafeOf("entity_dismount"); + RegistryKey ENTITY_DISMOUNT = RegistryKey.of("entity_dismount"); - RegistryKey ENTITY_INTERACT = RegistryKey.unsafeOf("entity_interact"); + RegistryKey ENTITY_INTERACT = RegistryKey.of("entity_interact"); - RegistryKey ENTITY_MOUNT = RegistryKey.unsafeOf("entity_mount"); + RegistryKey ENTITY_MOUNT = RegistryKey.of("entity_mount"); - RegistryKey ENTITY_PLACE = RegistryKey.unsafeOf("entity_place"); + RegistryKey ENTITY_PLACE = RegistryKey.of("entity_place"); - RegistryKey EQUIP = RegistryKey.unsafeOf("equip"); + RegistryKey EQUIP = RegistryKey.of("equip"); - RegistryKey EXPLODE = RegistryKey.unsafeOf("explode"); + RegistryKey EXPLODE = RegistryKey.of("explode"); - RegistryKey FLAP = RegistryKey.unsafeOf("flap"); + RegistryKey FLAP = RegistryKey.of("flap"); - RegistryKey FLUID_PICKUP = RegistryKey.unsafeOf("fluid_pickup"); + RegistryKey FLUID_PICKUP = RegistryKey.of("fluid_pickup"); - RegistryKey FLUID_PLACE = RegistryKey.unsafeOf("fluid_place"); + RegistryKey FLUID_PLACE = RegistryKey.of("fluid_place"); - RegistryKey HIT_GROUND = RegistryKey.unsafeOf("hit_ground"); + RegistryKey HIT_GROUND = RegistryKey.of("hit_ground"); - RegistryKey INSTRUMENT_PLAY = RegistryKey.unsafeOf("instrument_play"); + RegistryKey INSTRUMENT_PLAY = RegistryKey.of("instrument_play"); - RegistryKey ITEM_INTERACT_FINISH = RegistryKey.unsafeOf("item_interact_finish"); + RegistryKey ITEM_INTERACT_FINISH = RegistryKey.of("item_interact_finish"); - RegistryKey ITEM_INTERACT_START = RegistryKey.unsafeOf("item_interact_start"); + RegistryKey ITEM_INTERACT_START = RegistryKey.of("item_interact_start"); - RegistryKey JUKEBOX_PLAY = RegistryKey.unsafeOf("jukebox_play"); + RegistryKey JUKEBOX_PLAY = RegistryKey.of("jukebox_play"); - RegistryKey JUKEBOX_STOP_PLAY = RegistryKey.unsafeOf("jukebox_stop_play"); + RegistryKey JUKEBOX_STOP_PLAY = RegistryKey.of("jukebox_stop_play"); - RegistryKey LIGHTNING_STRIKE = RegistryKey.unsafeOf("lightning_strike"); + RegistryKey LIGHTNING_STRIKE = RegistryKey.of("lightning_strike"); - RegistryKey NOTE_BLOCK_PLAY = RegistryKey.unsafeOf("note_block_play"); + RegistryKey NOTE_BLOCK_PLAY = RegistryKey.of("note_block_play"); - RegistryKey PRIME_FUSE = RegistryKey.unsafeOf("prime_fuse"); + RegistryKey PRIME_FUSE = RegistryKey.of("prime_fuse"); - RegistryKey PROJECTILE_LAND = RegistryKey.unsafeOf("projectile_land"); + RegistryKey PROJECTILE_LAND = RegistryKey.of("projectile_land"); - RegistryKey PROJECTILE_SHOOT = RegistryKey.unsafeOf("projectile_shoot"); + RegistryKey PROJECTILE_SHOOT = RegistryKey.of("projectile_shoot"); - RegistryKey RESONATE_1 = RegistryKey.unsafeOf("resonate_1"); + RegistryKey RESONATE_1 = RegistryKey.of("resonate_1"); - RegistryKey RESONATE_10 = RegistryKey.unsafeOf("resonate_10"); + RegistryKey RESONATE_10 = RegistryKey.of("resonate_10"); - RegistryKey RESONATE_11 = RegistryKey.unsafeOf("resonate_11"); + RegistryKey RESONATE_11 = RegistryKey.of("resonate_11"); - RegistryKey RESONATE_12 = RegistryKey.unsafeOf("resonate_12"); + RegistryKey RESONATE_12 = RegistryKey.of("resonate_12"); - RegistryKey RESONATE_13 = RegistryKey.unsafeOf("resonate_13"); + RegistryKey RESONATE_13 = RegistryKey.of("resonate_13"); - RegistryKey RESONATE_14 = RegistryKey.unsafeOf("resonate_14"); + RegistryKey RESONATE_14 = RegistryKey.of("resonate_14"); - RegistryKey RESONATE_15 = RegistryKey.unsafeOf("resonate_15"); + RegistryKey RESONATE_15 = RegistryKey.of("resonate_15"); - RegistryKey RESONATE_2 = RegistryKey.unsafeOf("resonate_2"); + RegistryKey RESONATE_2 = RegistryKey.of("resonate_2"); - RegistryKey RESONATE_3 = RegistryKey.unsafeOf("resonate_3"); + RegistryKey RESONATE_3 = RegistryKey.of("resonate_3"); - RegistryKey RESONATE_4 = RegistryKey.unsafeOf("resonate_4"); + RegistryKey RESONATE_4 = RegistryKey.of("resonate_4"); - RegistryKey RESONATE_5 = RegistryKey.unsafeOf("resonate_5"); + RegistryKey RESONATE_5 = RegistryKey.of("resonate_5"); - RegistryKey RESONATE_6 = RegistryKey.unsafeOf("resonate_6"); + RegistryKey RESONATE_6 = RegistryKey.of("resonate_6"); - RegistryKey RESONATE_7 = RegistryKey.unsafeOf("resonate_7"); + RegistryKey RESONATE_7 = RegistryKey.of("resonate_7"); - RegistryKey RESONATE_8 = RegistryKey.unsafeOf("resonate_8"); + RegistryKey RESONATE_8 = RegistryKey.of("resonate_8"); - RegistryKey RESONATE_9 = RegistryKey.unsafeOf("resonate_9"); + RegistryKey RESONATE_9 = RegistryKey.of("resonate_9"); - RegistryKey SCULK_SENSOR_TENDRILS_CLICKING = RegistryKey.unsafeOf("sculk_sensor_tendrils_clicking"); + RegistryKey SCULK_SENSOR_TENDRILS_CLICKING = RegistryKey.of("sculk_sensor_tendrils_clicking"); - RegistryKey SHEAR = RegistryKey.unsafeOf("shear"); + RegistryKey SHEAR = RegistryKey.of("shear"); - RegistryKey SHRIEK = RegistryKey.unsafeOf("shriek"); + RegistryKey SHRIEK = RegistryKey.of("shriek"); - RegistryKey SPLASH = RegistryKey.unsafeOf("splash"); + RegistryKey SPLASH = RegistryKey.of("splash"); - RegistryKey STEP = RegistryKey.unsafeOf("step"); + RegistryKey STEP = RegistryKey.of("step"); - RegistryKey SWIM = RegistryKey.unsafeOf("swim"); + RegistryKey SWIM = RegistryKey.of("swim"); - RegistryKey TELEPORT = RegistryKey.unsafeOf("teleport"); + RegistryKey TELEPORT = RegistryKey.of("teleport"); - RegistryKey UNEQUIP = RegistryKey.unsafeOf("unequip"); + RegistryKey UNEQUIP = RegistryKey.of("unequip"); } diff --git a/src/autogenerated/java/net/minestom/server/game/GameEventTags.java b/src/autogenerated/java/net/minestom/server/game/GameEventTags.java index 87f6ab06fa3..574f1ec6ab2 100644 --- a/src/autogenerated/java/net/minestom/server/game/GameEventTags.java +++ b/src/autogenerated/java/net/minestom/server/game/GameEventTags.java @@ -11,13 +11,13 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface GameEventTags { - TagKey ALLAY_CAN_LISTEN = TagKey.unsafeOf("allay_can_listen"); + TagKey ALLAY_CAN_LISTEN = TagKey.of("allay_can_listen"); - TagKey IGNORE_VIBRATIONS_SNEAKING = TagKey.unsafeOf("ignore_vibrations_sneaking"); + TagKey IGNORE_VIBRATIONS_SNEAKING = TagKey.of("ignore_vibrations_sneaking"); - TagKey SHRIEKER_CAN_LISTEN = TagKey.unsafeOf("shrieker_can_listen"); + TagKey SHRIEKER_CAN_LISTEN = TagKey.of("shrieker_can_listen"); - TagKey VIBRATIONS = TagKey.unsafeOf("vibrations"); + TagKey VIBRATIONS = TagKey.of("vibrations"); - TagKey WARDEN_CAN_LISTEN = TagKey.unsafeOf("warden_can_listen"); + TagKey WARDEN_CAN_LISTEN = TagKey.of("warden_can_listen"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/block/BlockEntityTypeKeys.java b/src/autogenerated/java/net/minestom/server/instance/block/BlockEntityTypeKeys.java index b5b9374ceaf..1a26f8120df 100644 --- a/src/autogenerated/java/net/minestom/server/instance/block/BlockEntityTypeKeys.java +++ b/src/autogenerated/java/net/minestom/server/instance/block/BlockEntityTypeKeys.java @@ -11,101 +11,101 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface BlockEntityTypeKeys { - RegistryKey BANNER = RegistryKey.unsafeOf("banner"); + RegistryKey BANNER = RegistryKey.of("banner"); - RegistryKey BARREL = RegistryKey.unsafeOf("barrel"); + RegistryKey BARREL = RegistryKey.of("barrel"); - RegistryKey BEACON = RegistryKey.unsafeOf("beacon"); + RegistryKey BEACON = RegistryKey.of("beacon"); - RegistryKey BEEHIVE = RegistryKey.unsafeOf("beehive"); + RegistryKey BEEHIVE = RegistryKey.of("beehive"); - RegistryKey BELL = RegistryKey.unsafeOf("bell"); + RegistryKey BELL = RegistryKey.of("bell"); - RegistryKey BLAST_FURNACE = RegistryKey.unsafeOf("blast_furnace"); + RegistryKey BLAST_FURNACE = RegistryKey.of("blast_furnace"); - RegistryKey BREWING_STAND = RegistryKey.unsafeOf("brewing_stand"); + RegistryKey BREWING_STAND = RegistryKey.of("brewing_stand"); - RegistryKey BRUSHABLE_BLOCK = RegistryKey.unsafeOf("brushable_block"); + RegistryKey BRUSHABLE_BLOCK = RegistryKey.of("brushable_block"); - RegistryKey CALIBRATED_SCULK_SENSOR = RegistryKey.unsafeOf("calibrated_sculk_sensor"); + RegistryKey CALIBRATED_SCULK_SENSOR = RegistryKey.of("calibrated_sculk_sensor"); - RegistryKey CAMPFIRE = RegistryKey.unsafeOf("campfire"); + RegistryKey CAMPFIRE = RegistryKey.of("campfire"); - RegistryKey CHEST = RegistryKey.unsafeOf("chest"); + RegistryKey CHEST = RegistryKey.of("chest"); - RegistryKey CHISELED_BOOKSHELF = RegistryKey.unsafeOf("chiseled_bookshelf"); + RegistryKey CHISELED_BOOKSHELF = RegistryKey.of("chiseled_bookshelf"); - RegistryKey COMMAND_BLOCK = RegistryKey.unsafeOf("command_block"); + RegistryKey COMMAND_BLOCK = RegistryKey.of("command_block"); - RegistryKey COMPARATOR = RegistryKey.unsafeOf("comparator"); + RegistryKey COMPARATOR = RegistryKey.of("comparator"); - RegistryKey CONDUIT = RegistryKey.unsafeOf("conduit"); + RegistryKey CONDUIT = RegistryKey.of("conduit"); - RegistryKey COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("copper_golem_statue"); + RegistryKey COPPER_GOLEM_STATUE = RegistryKey.of("copper_golem_statue"); - RegistryKey CRAFTER = RegistryKey.unsafeOf("crafter"); + RegistryKey CRAFTER = RegistryKey.of("crafter"); - RegistryKey CREAKING_HEART = RegistryKey.unsafeOf("creaking_heart"); + RegistryKey CREAKING_HEART = RegistryKey.of("creaking_heart"); - RegistryKey DAYLIGHT_DETECTOR = RegistryKey.unsafeOf("daylight_detector"); + RegistryKey DAYLIGHT_DETECTOR = RegistryKey.of("daylight_detector"); - RegistryKey DECORATED_POT = RegistryKey.unsafeOf("decorated_pot"); + RegistryKey DECORATED_POT = RegistryKey.of("decorated_pot"); - RegistryKey DISPENSER = RegistryKey.unsafeOf("dispenser"); + RegistryKey DISPENSER = RegistryKey.of("dispenser"); - RegistryKey DROPPER = RegistryKey.unsafeOf("dropper"); + RegistryKey DROPPER = RegistryKey.of("dropper"); - RegistryKey ENCHANTING_TABLE = RegistryKey.unsafeOf("enchanting_table"); + RegistryKey ENCHANTING_TABLE = RegistryKey.of("enchanting_table"); - RegistryKey END_GATEWAY = RegistryKey.unsafeOf("end_gateway"); + RegistryKey END_GATEWAY = RegistryKey.of("end_gateway"); - RegistryKey END_PORTAL = RegistryKey.unsafeOf("end_portal"); + RegistryKey END_PORTAL = RegistryKey.of("end_portal"); - RegistryKey ENDER_CHEST = RegistryKey.unsafeOf("ender_chest"); + RegistryKey ENDER_CHEST = RegistryKey.of("ender_chest"); - RegistryKey FURNACE = RegistryKey.unsafeOf("furnace"); + RegistryKey FURNACE = RegistryKey.of("furnace"); - RegistryKey HANGING_SIGN = RegistryKey.unsafeOf("hanging_sign"); + RegistryKey HANGING_SIGN = RegistryKey.of("hanging_sign"); - RegistryKey HOPPER = RegistryKey.unsafeOf("hopper"); + RegistryKey HOPPER = RegistryKey.of("hopper"); - RegistryKey JIGSAW = RegistryKey.unsafeOf("jigsaw"); + RegistryKey JIGSAW = RegistryKey.of("jigsaw"); - RegistryKey JUKEBOX = RegistryKey.unsafeOf("jukebox"); + RegistryKey JUKEBOX = RegistryKey.of("jukebox"); - RegistryKey LECTERN = RegistryKey.unsafeOf("lectern"); + RegistryKey LECTERN = RegistryKey.of("lectern"); - RegistryKey MOB_SPAWNER = RegistryKey.unsafeOf("mob_spawner"); + RegistryKey MOB_SPAWNER = RegistryKey.of("mob_spawner"); - RegistryKey PISTON = RegistryKey.unsafeOf("piston"); + RegistryKey PISTON = RegistryKey.of("piston"); - RegistryKey POTENT_SULFUR = RegistryKey.unsafeOf("potent_sulfur"); + RegistryKey POTENT_SULFUR = RegistryKey.of("potent_sulfur"); - RegistryKey SCULK_CATALYST = RegistryKey.unsafeOf("sculk_catalyst"); + RegistryKey SCULK_CATALYST = RegistryKey.of("sculk_catalyst"); - RegistryKey SCULK_SENSOR = RegistryKey.unsafeOf("sculk_sensor"); + RegistryKey SCULK_SENSOR = RegistryKey.of("sculk_sensor"); - RegistryKey SCULK_SHRIEKER = RegistryKey.unsafeOf("sculk_shrieker"); + RegistryKey SCULK_SHRIEKER = RegistryKey.of("sculk_shrieker"); - RegistryKey SHELF = RegistryKey.unsafeOf("shelf"); + RegistryKey SHELF = RegistryKey.of("shelf"); - RegistryKey SHULKER_BOX = RegistryKey.unsafeOf("shulker_box"); + RegistryKey SHULKER_BOX = RegistryKey.of("shulker_box"); - RegistryKey SIGN = RegistryKey.unsafeOf("sign"); + RegistryKey SIGN = RegistryKey.of("sign"); - RegistryKey SKULL = RegistryKey.unsafeOf("skull"); + RegistryKey SKULL = RegistryKey.of("skull"); - RegistryKey SMOKER = RegistryKey.unsafeOf("smoker"); + RegistryKey SMOKER = RegistryKey.of("smoker"); - RegistryKey STRUCTURE_BLOCK = RegistryKey.unsafeOf("structure_block"); + RegistryKey STRUCTURE_BLOCK = RegistryKey.of("structure_block"); - RegistryKey TEST_BLOCK = RegistryKey.unsafeOf("test_block"); + RegistryKey TEST_BLOCK = RegistryKey.of("test_block"); - RegistryKey TEST_INSTANCE_BLOCK = RegistryKey.unsafeOf("test_instance_block"); + RegistryKey TEST_INSTANCE_BLOCK = RegistryKey.of("test_instance_block"); - RegistryKey TRAPPED_CHEST = RegistryKey.unsafeOf("trapped_chest"); + RegistryKey TRAPPED_CHEST = RegistryKey.of("trapped_chest"); - RegistryKey TRIAL_SPAWNER = RegistryKey.unsafeOf("trial_spawner"); + RegistryKey TRIAL_SPAWNER = RegistryKey.of("trial_spawner"); - RegistryKey VAULT = RegistryKey.unsafeOf("vault"); + RegistryKey VAULT = RegistryKey.of("vault"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/block/BlockKeys.java b/src/autogenerated/java/net/minestom/server/instance/block/BlockKeys.java index 1bc04d4304c..5ca5efe8045 100644 --- a/src/autogenerated/java/net/minestom/server/instance/block/BlockKeys.java +++ b/src/autogenerated/java/net/minestom/server/instance/block/BlockKeys.java @@ -11,2395 +11,2395 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface BlockKeys { - RegistryKey ACACIA_BUTTON = RegistryKey.unsafeOf("acacia_button"); + RegistryKey ACACIA_BUTTON = RegistryKey.of("acacia_button"); - RegistryKey ACACIA_DOOR = RegistryKey.unsafeOf("acacia_door"); + RegistryKey ACACIA_DOOR = RegistryKey.of("acacia_door"); - RegistryKey ACACIA_FENCE = RegistryKey.unsafeOf("acacia_fence"); + RegistryKey ACACIA_FENCE = RegistryKey.of("acacia_fence"); - RegistryKey ACACIA_FENCE_GATE = RegistryKey.unsafeOf("acacia_fence_gate"); + RegistryKey ACACIA_FENCE_GATE = RegistryKey.of("acacia_fence_gate"); - RegistryKey ACACIA_HANGING_SIGN = RegistryKey.unsafeOf("acacia_hanging_sign"); + RegistryKey ACACIA_HANGING_SIGN = RegistryKey.of("acacia_hanging_sign"); - RegistryKey ACACIA_LEAVES = RegistryKey.unsafeOf("acacia_leaves"); + RegistryKey ACACIA_LEAVES = RegistryKey.of("acacia_leaves"); - RegistryKey ACACIA_LOG = RegistryKey.unsafeOf("acacia_log"); + RegistryKey ACACIA_LOG = RegistryKey.of("acacia_log"); - RegistryKey ACACIA_PLANKS = RegistryKey.unsafeOf("acacia_planks"); + RegistryKey ACACIA_PLANKS = RegistryKey.of("acacia_planks"); - RegistryKey ACACIA_PRESSURE_PLATE = RegistryKey.unsafeOf("acacia_pressure_plate"); + RegistryKey ACACIA_PRESSURE_PLATE = RegistryKey.of("acacia_pressure_plate"); - RegistryKey ACACIA_SAPLING = RegistryKey.unsafeOf("acacia_sapling"); + RegistryKey ACACIA_SAPLING = RegistryKey.of("acacia_sapling"); - RegistryKey ACACIA_SHELF = RegistryKey.unsafeOf("acacia_shelf"); + RegistryKey ACACIA_SHELF = RegistryKey.of("acacia_shelf"); - RegistryKey ACACIA_SIGN = RegistryKey.unsafeOf("acacia_sign"); + RegistryKey ACACIA_SIGN = RegistryKey.of("acacia_sign"); - RegistryKey ACACIA_SLAB = RegistryKey.unsafeOf("acacia_slab"); + RegistryKey ACACIA_SLAB = RegistryKey.of("acacia_slab"); - RegistryKey ACACIA_STAIRS = RegistryKey.unsafeOf("acacia_stairs"); + RegistryKey ACACIA_STAIRS = RegistryKey.of("acacia_stairs"); - RegistryKey ACACIA_TRAPDOOR = RegistryKey.unsafeOf("acacia_trapdoor"); + RegistryKey ACACIA_TRAPDOOR = RegistryKey.of("acacia_trapdoor"); - RegistryKey ACACIA_WALL_HANGING_SIGN = RegistryKey.unsafeOf("acacia_wall_hanging_sign"); + RegistryKey ACACIA_WALL_HANGING_SIGN = RegistryKey.of("acacia_wall_hanging_sign"); - RegistryKey ACACIA_WALL_SIGN = RegistryKey.unsafeOf("acacia_wall_sign"); + RegistryKey ACACIA_WALL_SIGN = RegistryKey.of("acacia_wall_sign"); - RegistryKey ACACIA_WOOD = RegistryKey.unsafeOf("acacia_wood"); + RegistryKey ACACIA_WOOD = RegistryKey.of("acacia_wood"); - RegistryKey ACTIVATOR_RAIL = RegistryKey.unsafeOf("activator_rail"); + RegistryKey ACTIVATOR_RAIL = RegistryKey.of("activator_rail"); - RegistryKey AIR = RegistryKey.unsafeOf("air"); + RegistryKey AIR = RegistryKey.of("air"); - RegistryKey ALLIUM = RegistryKey.unsafeOf("allium"); + RegistryKey ALLIUM = RegistryKey.of("allium"); - RegistryKey AMETHYST_BLOCK = RegistryKey.unsafeOf("amethyst_block"); + RegistryKey AMETHYST_BLOCK = RegistryKey.of("amethyst_block"); - RegistryKey AMETHYST_CLUSTER = RegistryKey.unsafeOf("amethyst_cluster"); + RegistryKey AMETHYST_CLUSTER = RegistryKey.of("amethyst_cluster"); - RegistryKey ANCIENT_DEBRIS = RegistryKey.unsafeOf("ancient_debris"); + RegistryKey ANCIENT_DEBRIS = RegistryKey.of("ancient_debris"); - RegistryKey ANDESITE = RegistryKey.unsafeOf("andesite"); + RegistryKey ANDESITE = RegistryKey.of("andesite"); - RegistryKey ANDESITE_SLAB = RegistryKey.unsafeOf("andesite_slab"); + RegistryKey ANDESITE_SLAB = RegistryKey.of("andesite_slab"); - RegistryKey ANDESITE_STAIRS = RegistryKey.unsafeOf("andesite_stairs"); + RegistryKey ANDESITE_STAIRS = RegistryKey.of("andesite_stairs"); - RegistryKey ANDESITE_WALL = RegistryKey.unsafeOf("andesite_wall"); + RegistryKey ANDESITE_WALL = RegistryKey.of("andesite_wall"); - RegistryKey ANVIL = RegistryKey.unsafeOf("anvil"); + RegistryKey ANVIL = RegistryKey.of("anvil"); - RegistryKey ATTACHED_MELON_STEM = RegistryKey.unsafeOf("attached_melon_stem"); + RegistryKey ATTACHED_MELON_STEM = RegistryKey.of("attached_melon_stem"); - RegistryKey ATTACHED_PUMPKIN_STEM = RegistryKey.unsafeOf("attached_pumpkin_stem"); + RegistryKey ATTACHED_PUMPKIN_STEM = RegistryKey.of("attached_pumpkin_stem"); - RegistryKey AZALEA = RegistryKey.unsafeOf("azalea"); + RegistryKey AZALEA = RegistryKey.of("azalea"); - RegistryKey AZALEA_LEAVES = RegistryKey.unsafeOf("azalea_leaves"); + RegistryKey AZALEA_LEAVES = RegistryKey.of("azalea_leaves"); - RegistryKey AZURE_BLUET = RegistryKey.unsafeOf("azure_bluet"); + RegistryKey AZURE_BLUET = RegistryKey.of("azure_bluet"); - RegistryKey BAMBOO = RegistryKey.unsafeOf("bamboo"); + RegistryKey BAMBOO = RegistryKey.of("bamboo"); - RegistryKey BAMBOO_BLOCK = RegistryKey.unsafeOf("bamboo_block"); + RegistryKey BAMBOO_BLOCK = RegistryKey.of("bamboo_block"); - RegistryKey BAMBOO_BUTTON = RegistryKey.unsafeOf("bamboo_button"); + RegistryKey BAMBOO_BUTTON = RegistryKey.of("bamboo_button"); - RegistryKey BAMBOO_DOOR = RegistryKey.unsafeOf("bamboo_door"); + RegistryKey BAMBOO_DOOR = RegistryKey.of("bamboo_door"); - RegistryKey BAMBOO_FENCE = RegistryKey.unsafeOf("bamboo_fence"); + RegistryKey BAMBOO_FENCE = RegistryKey.of("bamboo_fence"); - RegistryKey BAMBOO_FENCE_GATE = RegistryKey.unsafeOf("bamboo_fence_gate"); + RegistryKey BAMBOO_FENCE_GATE = RegistryKey.of("bamboo_fence_gate"); - RegistryKey BAMBOO_HANGING_SIGN = RegistryKey.unsafeOf("bamboo_hanging_sign"); + RegistryKey BAMBOO_HANGING_SIGN = RegistryKey.of("bamboo_hanging_sign"); - RegistryKey BAMBOO_MOSAIC = RegistryKey.unsafeOf("bamboo_mosaic"); + RegistryKey BAMBOO_MOSAIC = RegistryKey.of("bamboo_mosaic"); - RegistryKey BAMBOO_MOSAIC_SLAB = RegistryKey.unsafeOf("bamboo_mosaic_slab"); + RegistryKey BAMBOO_MOSAIC_SLAB = RegistryKey.of("bamboo_mosaic_slab"); - RegistryKey BAMBOO_MOSAIC_STAIRS = RegistryKey.unsafeOf("bamboo_mosaic_stairs"); + RegistryKey BAMBOO_MOSAIC_STAIRS = RegistryKey.of("bamboo_mosaic_stairs"); - RegistryKey BAMBOO_PLANKS = RegistryKey.unsafeOf("bamboo_planks"); + RegistryKey BAMBOO_PLANKS = RegistryKey.of("bamboo_planks"); - RegistryKey BAMBOO_PRESSURE_PLATE = RegistryKey.unsafeOf("bamboo_pressure_plate"); + RegistryKey BAMBOO_PRESSURE_PLATE = RegistryKey.of("bamboo_pressure_plate"); - RegistryKey BAMBOO_SAPLING = RegistryKey.unsafeOf("bamboo_sapling"); + RegistryKey BAMBOO_SAPLING = RegistryKey.of("bamboo_sapling"); - RegistryKey BAMBOO_SHELF = RegistryKey.unsafeOf("bamboo_shelf"); + RegistryKey BAMBOO_SHELF = RegistryKey.of("bamboo_shelf"); - RegistryKey BAMBOO_SIGN = RegistryKey.unsafeOf("bamboo_sign"); + RegistryKey BAMBOO_SIGN = RegistryKey.of("bamboo_sign"); - RegistryKey BAMBOO_SLAB = RegistryKey.unsafeOf("bamboo_slab"); + RegistryKey BAMBOO_SLAB = RegistryKey.of("bamboo_slab"); - RegistryKey BAMBOO_STAIRS = RegistryKey.unsafeOf("bamboo_stairs"); + RegistryKey BAMBOO_STAIRS = RegistryKey.of("bamboo_stairs"); - RegistryKey BAMBOO_TRAPDOOR = RegistryKey.unsafeOf("bamboo_trapdoor"); + RegistryKey BAMBOO_TRAPDOOR = RegistryKey.of("bamboo_trapdoor"); - RegistryKey BAMBOO_WALL_HANGING_SIGN = RegistryKey.unsafeOf("bamboo_wall_hanging_sign"); + RegistryKey BAMBOO_WALL_HANGING_SIGN = RegistryKey.of("bamboo_wall_hanging_sign"); - RegistryKey BAMBOO_WALL_SIGN = RegistryKey.unsafeOf("bamboo_wall_sign"); + RegistryKey BAMBOO_WALL_SIGN = RegistryKey.of("bamboo_wall_sign"); - RegistryKey BARREL = RegistryKey.unsafeOf("barrel"); + RegistryKey BARREL = RegistryKey.of("barrel"); - RegistryKey BARRIER = RegistryKey.unsafeOf("barrier"); + RegistryKey BARRIER = RegistryKey.of("barrier"); - RegistryKey BASALT = RegistryKey.unsafeOf("basalt"); + RegistryKey BASALT = RegistryKey.of("basalt"); - RegistryKey BEACON = RegistryKey.unsafeOf("beacon"); + RegistryKey BEACON = RegistryKey.of("beacon"); - RegistryKey BEDROCK = RegistryKey.unsafeOf("bedrock"); + RegistryKey BEDROCK = RegistryKey.of("bedrock"); - RegistryKey BEE_NEST = RegistryKey.unsafeOf("bee_nest"); + RegistryKey BEE_NEST = RegistryKey.of("bee_nest"); - RegistryKey BEEHIVE = RegistryKey.unsafeOf("beehive"); + RegistryKey BEEHIVE = RegistryKey.of("beehive"); - RegistryKey BEETROOTS = RegistryKey.unsafeOf("beetroots"); + RegistryKey BEETROOTS = RegistryKey.of("beetroots"); - RegistryKey BELL = RegistryKey.unsafeOf("bell"); + RegistryKey BELL = RegistryKey.of("bell"); - RegistryKey BIG_DRIPLEAF = RegistryKey.unsafeOf("big_dripleaf"); + RegistryKey BIG_DRIPLEAF = RegistryKey.of("big_dripleaf"); - RegistryKey BIG_DRIPLEAF_STEM = RegistryKey.unsafeOf("big_dripleaf_stem"); + RegistryKey BIG_DRIPLEAF_STEM = RegistryKey.of("big_dripleaf_stem"); - RegistryKey BIRCH_BUTTON = RegistryKey.unsafeOf("birch_button"); + RegistryKey BIRCH_BUTTON = RegistryKey.of("birch_button"); - RegistryKey BIRCH_DOOR = RegistryKey.unsafeOf("birch_door"); + RegistryKey BIRCH_DOOR = RegistryKey.of("birch_door"); - RegistryKey BIRCH_FENCE = RegistryKey.unsafeOf("birch_fence"); + RegistryKey BIRCH_FENCE = RegistryKey.of("birch_fence"); - RegistryKey BIRCH_FENCE_GATE = RegistryKey.unsafeOf("birch_fence_gate"); + RegistryKey BIRCH_FENCE_GATE = RegistryKey.of("birch_fence_gate"); - RegistryKey BIRCH_HANGING_SIGN = RegistryKey.unsafeOf("birch_hanging_sign"); + RegistryKey BIRCH_HANGING_SIGN = RegistryKey.of("birch_hanging_sign"); - RegistryKey BIRCH_LEAVES = RegistryKey.unsafeOf("birch_leaves"); + RegistryKey BIRCH_LEAVES = RegistryKey.of("birch_leaves"); - RegistryKey BIRCH_LOG = RegistryKey.unsafeOf("birch_log"); + RegistryKey BIRCH_LOG = RegistryKey.of("birch_log"); - RegistryKey BIRCH_PLANKS = RegistryKey.unsafeOf("birch_planks"); + RegistryKey BIRCH_PLANKS = RegistryKey.of("birch_planks"); - RegistryKey BIRCH_PRESSURE_PLATE = RegistryKey.unsafeOf("birch_pressure_plate"); + RegistryKey BIRCH_PRESSURE_PLATE = RegistryKey.of("birch_pressure_plate"); - RegistryKey BIRCH_SAPLING = RegistryKey.unsafeOf("birch_sapling"); + RegistryKey BIRCH_SAPLING = RegistryKey.of("birch_sapling"); - RegistryKey BIRCH_SHELF = RegistryKey.unsafeOf("birch_shelf"); + RegistryKey BIRCH_SHELF = RegistryKey.of("birch_shelf"); - RegistryKey BIRCH_SIGN = RegistryKey.unsafeOf("birch_sign"); + RegistryKey BIRCH_SIGN = RegistryKey.of("birch_sign"); - RegistryKey BIRCH_SLAB = RegistryKey.unsafeOf("birch_slab"); + RegistryKey BIRCH_SLAB = RegistryKey.of("birch_slab"); - RegistryKey BIRCH_STAIRS = RegistryKey.unsafeOf("birch_stairs"); + RegistryKey BIRCH_STAIRS = RegistryKey.of("birch_stairs"); - RegistryKey BIRCH_TRAPDOOR = RegistryKey.unsafeOf("birch_trapdoor"); + RegistryKey BIRCH_TRAPDOOR = RegistryKey.of("birch_trapdoor"); - RegistryKey BIRCH_WALL_HANGING_SIGN = RegistryKey.unsafeOf("birch_wall_hanging_sign"); + RegistryKey BIRCH_WALL_HANGING_SIGN = RegistryKey.of("birch_wall_hanging_sign"); - RegistryKey BIRCH_WALL_SIGN = RegistryKey.unsafeOf("birch_wall_sign"); + RegistryKey BIRCH_WALL_SIGN = RegistryKey.of("birch_wall_sign"); - RegistryKey BIRCH_WOOD = RegistryKey.unsafeOf("birch_wood"); + RegistryKey BIRCH_WOOD = RegistryKey.of("birch_wood"); - RegistryKey BLACK_BANNER = RegistryKey.unsafeOf("black_banner"); + RegistryKey BLACK_BANNER = RegistryKey.of("black_banner"); - RegistryKey BLACK_BED = RegistryKey.unsafeOf("black_bed"); + RegistryKey BLACK_BED = RegistryKey.of("black_bed"); - RegistryKey BLACK_CANDLE = RegistryKey.unsafeOf("black_candle"); + RegistryKey BLACK_CANDLE = RegistryKey.of("black_candle"); - RegistryKey BLACK_CANDLE_CAKE = RegistryKey.unsafeOf("black_candle_cake"); + RegistryKey BLACK_CANDLE_CAKE = RegistryKey.of("black_candle_cake"); - RegistryKey BLACK_CARPET = RegistryKey.unsafeOf("black_carpet"); + RegistryKey BLACK_CARPET = RegistryKey.of("black_carpet"); - RegistryKey BLACK_CONCRETE = RegistryKey.unsafeOf("black_concrete"); + RegistryKey BLACK_CONCRETE = RegistryKey.of("black_concrete"); - RegistryKey BLACK_CONCRETE_POWDER = RegistryKey.unsafeOf("black_concrete_powder"); + RegistryKey BLACK_CONCRETE_POWDER = RegistryKey.of("black_concrete_powder"); - RegistryKey BLACK_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("black_glazed_terracotta"); + RegistryKey BLACK_GLAZED_TERRACOTTA = RegistryKey.of("black_glazed_terracotta"); - RegistryKey BLACK_SHULKER_BOX = RegistryKey.unsafeOf("black_shulker_box"); + RegistryKey BLACK_SHULKER_BOX = RegistryKey.of("black_shulker_box"); - RegistryKey BLACK_STAINED_GLASS = RegistryKey.unsafeOf("black_stained_glass"); + RegistryKey BLACK_STAINED_GLASS = RegistryKey.of("black_stained_glass"); - RegistryKey BLACK_STAINED_GLASS_PANE = RegistryKey.unsafeOf("black_stained_glass_pane"); + RegistryKey BLACK_STAINED_GLASS_PANE = RegistryKey.of("black_stained_glass_pane"); - RegistryKey BLACK_TERRACOTTA = RegistryKey.unsafeOf("black_terracotta"); + RegistryKey BLACK_TERRACOTTA = RegistryKey.of("black_terracotta"); - RegistryKey BLACK_WALL_BANNER = RegistryKey.unsafeOf("black_wall_banner"); + RegistryKey BLACK_WALL_BANNER = RegistryKey.of("black_wall_banner"); - RegistryKey BLACK_WOOL = RegistryKey.unsafeOf("black_wool"); + RegistryKey BLACK_WOOL = RegistryKey.of("black_wool"); - RegistryKey BLACKSTONE = RegistryKey.unsafeOf("blackstone"); + RegistryKey BLACKSTONE = RegistryKey.of("blackstone"); - RegistryKey BLACKSTONE_SLAB = RegistryKey.unsafeOf("blackstone_slab"); + RegistryKey BLACKSTONE_SLAB = RegistryKey.of("blackstone_slab"); - RegistryKey BLACKSTONE_STAIRS = RegistryKey.unsafeOf("blackstone_stairs"); + RegistryKey BLACKSTONE_STAIRS = RegistryKey.of("blackstone_stairs"); - RegistryKey BLACKSTONE_WALL = RegistryKey.unsafeOf("blackstone_wall"); + RegistryKey BLACKSTONE_WALL = RegistryKey.of("blackstone_wall"); - RegistryKey BLAST_FURNACE = RegistryKey.unsafeOf("blast_furnace"); + RegistryKey BLAST_FURNACE = RegistryKey.of("blast_furnace"); - RegistryKey BLUE_BANNER = RegistryKey.unsafeOf("blue_banner"); + RegistryKey BLUE_BANNER = RegistryKey.of("blue_banner"); - RegistryKey BLUE_BED = RegistryKey.unsafeOf("blue_bed"); + RegistryKey BLUE_BED = RegistryKey.of("blue_bed"); - RegistryKey BLUE_CANDLE = RegistryKey.unsafeOf("blue_candle"); + RegistryKey BLUE_CANDLE = RegistryKey.of("blue_candle"); - RegistryKey BLUE_CANDLE_CAKE = RegistryKey.unsafeOf("blue_candle_cake"); + RegistryKey BLUE_CANDLE_CAKE = RegistryKey.of("blue_candle_cake"); - RegistryKey BLUE_CARPET = RegistryKey.unsafeOf("blue_carpet"); + RegistryKey BLUE_CARPET = RegistryKey.of("blue_carpet"); - RegistryKey BLUE_CONCRETE = RegistryKey.unsafeOf("blue_concrete"); + RegistryKey BLUE_CONCRETE = RegistryKey.of("blue_concrete"); - RegistryKey BLUE_CONCRETE_POWDER = RegistryKey.unsafeOf("blue_concrete_powder"); + RegistryKey BLUE_CONCRETE_POWDER = RegistryKey.of("blue_concrete_powder"); - RegistryKey BLUE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("blue_glazed_terracotta"); + RegistryKey BLUE_GLAZED_TERRACOTTA = RegistryKey.of("blue_glazed_terracotta"); - RegistryKey BLUE_ICE = RegistryKey.unsafeOf("blue_ice"); + RegistryKey BLUE_ICE = RegistryKey.of("blue_ice"); - RegistryKey BLUE_ORCHID = RegistryKey.unsafeOf("blue_orchid"); + RegistryKey BLUE_ORCHID = RegistryKey.of("blue_orchid"); - RegistryKey BLUE_SHULKER_BOX = RegistryKey.unsafeOf("blue_shulker_box"); + RegistryKey BLUE_SHULKER_BOX = RegistryKey.of("blue_shulker_box"); - RegistryKey BLUE_STAINED_GLASS = RegistryKey.unsafeOf("blue_stained_glass"); + RegistryKey BLUE_STAINED_GLASS = RegistryKey.of("blue_stained_glass"); - RegistryKey BLUE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("blue_stained_glass_pane"); + RegistryKey BLUE_STAINED_GLASS_PANE = RegistryKey.of("blue_stained_glass_pane"); - RegistryKey BLUE_TERRACOTTA = RegistryKey.unsafeOf("blue_terracotta"); + RegistryKey BLUE_TERRACOTTA = RegistryKey.of("blue_terracotta"); - RegistryKey BLUE_WALL_BANNER = RegistryKey.unsafeOf("blue_wall_banner"); + RegistryKey BLUE_WALL_BANNER = RegistryKey.of("blue_wall_banner"); - RegistryKey BLUE_WOOL = RegistryKey.unsafeOf("blue_wool"); + RegistryKey BLUE_WOOL = RegistryKey.of("blue_wool"); - RegistryKey BONE_BLOCK = RegistryKey.unsafeOf("bone_block"); + RegistryKey BONE_BLOCK = RegistryKey.of("bone_block"); - RegistryKey BOOKSHELF = RegistryKey.unsafeOf("bookshelf"); + RegistryKey BOOKSHELF = RegistryKey.of("bookshelf"); - RegistryKey BRAIN_CORAL = RegistryKey.unsafeOf("brain_coral"); + RegistryKey BRAIN_CORAL = RegistryKey.of("brain_coral"); - RegistryKey BRAIN_CORAL_BLOCK = RegistryKey.unsafeOf("brain_coral_block"); + RegistryKey BRAIN_CORAL_BLOCK = RegistryKey.of("brain_coral_block"); - RegistryKey BRAIN_CORAL_FAN = RegistryKey.unsafeOf("brain_coral_fan"); + RegistryKey BRAIN_CORAL_FAN = RegistryKey.of("brain_coral_fan"); - RegistryKey BRAIN_CORAL_WALL_FAN = RegistryKey.unsafeOf("brain_coral_wall_fan"); + RegistryKey BRAIN_CORAL_WALL_FAN = RegistryKey.of("brain_coral_wall_fan"); - RegistryKey BREWING_STAND = RegistryKey.unsafeOf("brewing_stand"); + RegistryKey BREWING_STAND = RegistryKey.of("brewing_stand"); - RegistryKey BRICK_SLAB = RegistryKey.unsafeOf("brick_slab"); + RegistryKey BRICK_SLAB = RegistryKey.of("brick_slab"); - RegistryKey BRICK_STAIRS = RegistryKey.unsafeOf("brick_stairs"); + RegistryKey BRICK_STAIRS = RegistryKey.of("brick_stairs"); - RegistryKey BRICK_WALL = RegistryKey.unsafeOf("brick_wall"); + RegistryKey BRICK_WALL = RegistryKey.of("brick_wall"); - RegistryKey BRICKS = RegistryKey.unsafeOf("bricks"); + RegistryKey BRICKS = RegistryKey.of("bricks"); - RegistryKey BROWN_BANNER = RegistryKey.unsafeOf("brown_banner"); + RegistryKey BROWN_BANNER = RegistryKey.of("brown_banner"); - RegistryKey BROWN_BED = RegistryKey.unsafeOf("brown_bed"); + RegistryKey BROWN_BED = RegistryKey.of("brown_bed"); - RegistryKey BROWN_CANDLE = RegistryKey.unsafeOf("brown_candle"); + RegistryKey BROWN_CANDLE = RegistryKey.of("brown_candle"); - RegistryKey BROWN_CANDLE_CAKE = RegistryKey.unsafeOf("brown_candle_cake"); + RegistryKey BROWN_CANDLE_CAKE = RegistryKey.of("brown_candle_cake"); - RegistryKey BROWN_CARPET = RegistryKey.unsafeOf("brown_carpet"); + RegistryKey BROWN_CARPET = RegistryKey.of("brown_carpet"); - RegistryKey BROWN_CONCRETE = RegistryKey.unsafeOf("brown_concrete"); + RegistryKey BROWN_CONCRETE = RegistryKey.of("brown_concrete"); - RegistryKey BROWN_CONCRETE_POWDER = RegistryKey.unsafeOf("brown_concrete_powder"); + RegistryKey BROWN_CONCRETE_POWDER = RegistryKey.of("brown_concrete_powder"); - RegistryKey BROWN_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("brown_glazed_terracotta"); + RegistryKey BROWN_GLAZED_TERRACOTTA = RegistryKey.of("brown_glazed_terracotta"); - RegistryKey BROWN_MUSHROOM = RegistryKey.unsafeOf("brown_mushroom"); + RegistryKey BROWN_MUSHROOM = RegistryKey.of("brown_mushroom"); - RegistryKey BROWN_MUSHROOM_BLOCK = RegistryKey.unsafeOf("brown_mushroom_block"); + RegistryKey BROWN_MUSHROOM_BLOCK = RegistryKey.of("brown_mushroom_block"); - RegistryKey BROWN_SHULKER_BOX = RegistryKey.unsafeOf("brown_shulker_box"); + RegistryKey BROWN_SHULKER_BOX = RegistryKey.of("brown_shulker_box"); - RegistryKey BROWN_STAINED_GLASS = RegistryKey.unsafeOf("brown_stained_glass"); + RegistryKey BROWN_STAINED_GLASS = RegistryKey.of("brown_stained_glass"); - RegistryKey BROWN_STAINED_GLASS_PANE = RegistryKey.unsafeOf("brown_stained_glass_pane"); + RegistryKey BROWN_STAINED_GLASS_PANE = RegistryKey.of("brown_stained_glass_pane"); - RegistryKey BROWN_TERRACOTTA = RegistryKey.unsafeOf("brown_terracotta"); + RegistryKey BROWN_TERRACOTTA = RegistryKey.of("brown_terracotta"); - RegistryKey BROWN_WALL_BANNER = RegistryKey.unsafeOf("brown_wall_banner"); + RegistryKey BROWN_WALL_BANNER = RegistryKey.of("brown_wall_banner"); - RegistryKey BROWN_WOOL = RegistryKey.unsafeOf("brown_wool"); + RegistryKey BROWN_WOOL = RegistryKey.of("brown_wool"); - RegistryKey BUBBLE_COLUMN = RegistryKey.unsafeOf("bubble_column"); + RegistryKey BUBBLE_COLUMN = RegistryKey.of("bubble_column"); - RegistryKey BUBBLE_CORAL = RegistryKey.unsafeOf("bubble_coral"); + RegistryKey BUBBLE_CORAL = RegistryKey.of("bubble_coral"); - RegistryKey BUBBLE_CORAL_BLOCK = RegistryKey.unsafeOf("bubble_coral_block"); + RegistryKey BUBBLE_CORAL_BLOCK = RegistryKey.of("bubble_coral_block"); - RegistryKey BUBBLE_CORAL_FAN = RegistryKey.unsafeOf("bubble_coral_fan"); + RegistryKey BUBBLE_CORAL_FAN = RegistryKey.of("bubble_coral_fan"); - RegistryKey BUBBLE_CORAL_WALL_FAN = RegistryKey.unsafeOf("bubble_coral_wall_fan"); + RegistryKey BUBBLE_CORAL_WALL_FAN = RegistryKey.of("bubble_coral_wall_fan"); - RegistryKey BUDDING_AMETHYST = RegistryKey.unsafeOf("budding_amethyst"); + RegistryKey BUDDING_AMETHYST = RegistryKey.of("budding_amethyst"); - RegistryKey BUSH = RegistryKey.unsafeOf("bush"); + RegistryKey BUSH = RegistryKey.of("bush"); - RegistryKey CACTUS = RegistryKey.unsafeOf("cactus"); + RegistryKey CACTUS = RegistryKey.of("cactus"); - RegistryKey CACTUS_FLOWER = RegistryKey.unsafeOf("cactus_flower"); + RegistryKey CACTUS_FLOWER = RegistryKey.of("cactus_flower"); - RegistryKey CAKE = RegistryKey.unsafeOf("cake"); + RegistryKey CAKE = RegistryKey.of("cake"); - RegistryKey CALCITE = RegistryKey.unsafeOf("calcite"); + RegistryKey CALCITE = RegistryKey.of("calcite"); - RegistryKey CALIBRATED_SCULK_SENSOR = RegistryKey.unsafeOf("calibrated_sculk_sensor"); + RegistryKey CALIBRATED_SCULK_SENSOR = RegistryKey.of("calibrated_sculk_sensor"); - RegistryKey CAMPFIRE = RegistryKey.unsafeOf("campfire"); + RegistryKey CAMPFIRE = RegistryKey.of("campfire"); - RegistryKey CANDLE = RegistryKey.unsafeOf("candle"); + RegistryKey CANDLE = RegistryKey.of("candle"); - RegistryKey CANDLE_CAKE = RegistryKey.unsafeOf("candle_cake"); + RegistryKey CANDLE_CAKE = RegistryKey.of("candle_cake"); - RegistryKey CARROTS = RegistryKey.unsafeOf("carrots"); + RegistryKey CARROTS = RegistryKey.of("carrots"); - RegistryKey CARTOGRAPHY_TABLE = RegistryKey.unsafeOf("cartography_table"); + RegistryKey CARTOGRAPHY_TABLE = RegistryKey.of("cartography_table"); - RegistryKey CARVED_PUMPKIN = RegistryKey.unsafeOf("carved_pumpkin"); + RegistryKey CARVED_PUMPKIN = RegistryKey.of("carved_pumpkin"); - RegistryKey CAULDRON = RegistryKey.unsafeOf("cauldron"); + RegistryKey CAULDRON = RegistryKey.of("cauldron"); - RegistryKey CAVE_AIR = RegistryKey.unsafeOf("cave_air"); + RegistryKey CAVE_AIR = RegistryKey.of("cave_air"); - RegistryKey CAVE_VINES = RegistryKey.unsafeOf("cave_vines"); + RegistryKey CAVE_VINES = RegistryKey.of("cave_vines"); - RegistryKey CAVE_VINES_PLANT = RegistryKey.unsafeOf("cave_vines_plant"); + RegistryKey CAVE_VINES_PLANT = RegistryKey.of("cave_vines_plant"); - RegistryKey CHAIN_COMMAND_BLOCK = RegistryKey.unsafeOf("chain_command_block"); + RegistryKey CHAIN_COMMAND_BLOCK = RegistryKey.of("chain_command_block"); - RegistryKey CHERRY_BUTTON = RegistryKey.unsafeOf("cherry_button"); + RegistryKey CHERRY_BUTTON = RegistryKey.of("cherry_button"); - RegistryKey CHERRY_DOOR = RegistryKey.unsafeOf("cherry_door"); + RegistryKey CHERRY_DOOR = RegistryKey.of("cherry_door"); - RegistryKey CHERRY_FENCE = RegistryKey.unsafeOf("cherry_fence"); + RegistryKey CHERRY_FENCE = RegistryKey.of("cherry_fence"); - RegistryKey CHERRY_FENCE_GATE = RegistryKey.unsafeOf("cherry_fence_gate"); + RegistryKey CHERRY_FENCE_GATE = RegistryKey.of("cherry_fence_gate"); - RegistryKey CHERRY_HANGING_SIGN = RegistryKey.unsafeOf("cherry_hanging_sign"); + RegistryKey CHERRY_HANGING_SIGN = RegistryKey.of("cherry_hanging_sign"); - RegistryKey CHERRY_LEAVES = RegistryKey.unsafeOf("cherry_leaves"); + RegistryKey CHERRY_LEAVES = RegistryKey.of("cherry_leaves"); - RegistryKey CHERRY_LOG = RegistryKey.unsafeOf("cherry_log"); + RegistryKey CHERRY_LOG = RegistryKey.of("cherry_log"); - RegistryKey CHERRY_PLANKS = RegistryKey.unsafeOf("cherry_planks"); + RegistryKey CHERRY_PLANKS = RegistryKey.of("cherry_planks"); - RegistryKey CHERRY_PRESSURE_PLATE = RegistryKey.unsafeOf("cherry_pressure_plate"); + RegistryKey CHERRY_PRESSURE_PLATE = RegistryKey.of("cherry_pressure_plate"); - RegistryKey CHERRY_SAPLING = RegistryKey.unsafeOf("cherry_sapling"); + RegistryKey CHERRY_SAPLING = RegistryKey.of("cherry_sapling"); - RegistryKey CHERRY_SHELF = RegistryKey.unsafeOf("cherry_shelf"); + RegistryKey CHERRY_SHELF = RegistryKey.of("cherry_shelf"); - RegistryKey CHERRY_SIGN = RegistryKey.unsafeOf("cherry_sign"); + RegistryKey CHERRY_SIGN = RegistryKey.of("cherry_sign"); - RegistryKey CHERRY_SLAB = RegistryKey.unsafeOf("cherry_slab"); + RegistryKey CHERRY_SLAB = RegistryKey.of("cherry_slab"); - RegistryKey CHERRY_STAIRS = RegistryKey.unsafeOf("cherry_stairs"); + RegistryKey CHERRY_STAIRS = RegistryKey.of("cherry_stairs"); - RegistryKey CHERRY_TRAPDOOR = RegistryKey.unsafeOf("cherry_trapdoor"); + RegistryKey CHERRY_TRAPDOOR = RegistryKey.of("cherry_trapdoor"); - RegistryKey CHERRY_WALL_HANGING_SIGN = RegistryKey.unsafeOf("cherry_wall_hanging_sign"); + RegistryKey CHERRY_WALL_HANGING_SIGN = RegistryKey.of("cherry_wall_hanging_sign"); - RegistryKey CHERRY_WALL_SIGN = RegistryKey.unsafeOf("cherry_wall_sign"); + RegistryKey CHERRY_WALL_SIGN = RegistryKey.of("cherry_wall_sign"); - RegistryKey CHERRY_WOOD = RegistryKey.unsafeOf("cherry_wood"); + RegistryKey CHERRY_WOOD = RegistryKey.of("cherry_wood"); - RegistryKey CHEST = RegistryKey.unsafeOf("chest"); + RegistryKey CHEST = RegistryKey.of("chest"); - RegistryKey CHIPPED_ANVIL = RegistryKey.unsafeOf("chipped_anvil"); + RegistryKey CHIPPED_ANVIL = RegistryKey.of("chipped_anvil"); - RegistryKey CHISELED_BOOKSHELF = RegistryKey.unsafeOf("chiseled_bookshelf"); + RegistryKey CHISELED_BOOKSHELF = RegistryKey.of("chiseled_bookshelf"); - RegistryKey CHISELED_CINNABAR = RegistryKey.unsafeOf("chiseled_cinnabar"); + RegistryKey CHISELED_CINNABAR = RegistryKey.of("chiseled_cinnabar"); - RegistryKey CHISELED_COPPER = RegistryKey.unsafeOf("chiseled_copper"); + RegistryKey CHISELED_COPPER = RegistryKey.of("chiseled_copper"); - RegistryKey CHISELED_DEEPSLATE = RegistryKey.unsafeOf("chiseled_deepslate"); + RegistryKey CHISELED_DEEPSLATE = RegistryKey.of("chiseled_deepslate"); - RegistryKey CHISELED_NETHER_BRICKS = RegistryKey.unsafeOf("chiseled_nether_bricks"); + RegistryKey CHISELED_NETHER_BRICKS = RegistryKey.of("chiseled_nether_bricks"); - RegistryKey CHISELED_POLISHED_BLACKSTONE = RegistryKey.unsafeOf("chiseled_polished_blackstone"); + RegistryKey CHISELED_POLISHED_BLACKSTONE = RegistryKey.of("chiseled_polished_blackstone"); - RegistryKey CHISELED_QUARTZ_BLOCK = RegistryKey.unsafeOf("chiseled_quartz_block"); + RegistryKey CHISELED_QUARTZ_BLOCK = RegistryKey.of("chiseled_quartz_block"); - RegistryKey CHISELED_RED_SANDSTONE = RegistryKey.unsafeOf("chiseled_red_sandstone"); + RegistryKey CHISELED_RED_SANDSTONE = RegistryKey.of("chiseled_red_sandstone"); - RegistryKey CHISELED_RESIN_BRICKS = RegistryKey.unsafeOf("chiseled_resin_bricks"); + RegistryKey CHISELED_RESIN_BRICKS = RegistryKey.of("chiseled_resin_bricks"); - RegistryKey CHISELED_SANDSTONE = RegistryKey.unsafeOf("chiseled_sandstone"); + RegistryKey CHISELED_SANDSTONE = RegistryKey.of("chiseled_sandstone"); - RegistryKey CHISELED_STONE_BRICKS = RegistryKey.unsafeOf("chiseled_stone_bricks"); + RegistryKey CHISELED_STONE_BRICKS = RegistryKey.of("chiseled_stone_bricks"); - RegistryKey CHISELED_SULFUR = RegistryKey.unsafeOf("chiseled_sulfur"); + RegistryKey CHISELED_SULFUR = RegistryKey.of("chiseled_sulfur"); - RegistryKey CHISELED_TUFF = RegistryKey.unsafeOf("chiseled_tuff"); + RegistryKey CHISELED_TUFF = RegistryKey.of("chiseled_tuff"); - RegistryKey CHISELED_TUFF_BRICKS = RegistryKey.unsafeOf("chiseled_tuff_bricks"); + RegistryKey CHISELED_TUFF_BRICKS = RegistryKey.of("chiseled_tuff_bricks"); - RegistryKey CHORUS_FLOWER = RegistryKey.unsafeOf("chorus_flower"); + RegistryKey CHORUS_FLOWER = RegistryKey.of("chorus_flower"); - RegistryKey CHORUS_PLANT = RegistryKey.unsafeOf("chorus_plant"); + RegistryKey CHORUS_PLANT = RegistryKey.of("chorus_plant"); - RegistryKey CINNABAR = RegistryKey.unsafeOf("cinnabar"); + RegistryKey CINNABAR = RegistryKey.of("cinnabar"); - RegistryKey CINNABAR_BRICK_SLAB = RegistryKey.unsafeOf("cinnabar_brick_slab"); + RegistryKey CINNABAR_BRICK_SLAB = RegistryKey.of("cinnabar_brick_slab"); - RegistryKey CINNABAR_BRICK_STAIRS = RegistryKey.unsafeOf("cinnabar_brick_stairs"); + RegistryKey CINNABAR_BRICK_STAIRS = RegistryKey.of("cinnabar_brick_stairs"); - RegistryKey CINNABAR_BRICK_WALL = RegistryKey.unsafeOf("cinnabar_brick_wall"); + RegistryKey CINNABAR_BRICK_WALL = RegistryKey.of("cinnabar_brick_wall"); - RegistryKey CINNABAR_BRICKS = RegistryKey.unsafeOf("cinnabar_bricks"); + RegistryKey CINNABAR_BRICKS = RegistryKey.of("cinnabar_bricks"); - RegistryKey CINNABAR_SLAB = RegistryKey.unsafeOf("cinnabar_slab"); + RegistryKey CINNABAR_SLAB = RegistryKey.of("cinnabar_slab"); - RegistryKey CINNABAR_STAIRS = RegistryKey.unsafeOf("cinnabar_stairs"); + RegistryKey CINNABAR_STAIRS = RegistryKey.of("cinnabar_stairs"); - RegistryKey CINNABAR_WALL = RegistryKey.unsafeOf("cinnabar_wall"); + RegistryKey CINNABAR_WALL = RegistryKey.of("cinnabar_wall"); - RegistryKey CLAY = RegistryKey.unsafeOf("clay"); + RegistryKey CLAY = RegistryKey.of("clay"); - RegistryKey CLOSED_EYEBLOSSOM = RegistryKey.unsafeOf("closed_eyeblossom"); + RegistryKey CLOSED_EYEBLOSSOM = RegistryKey.of("closed_eyeblossom"); - RegistryKey COAL_BLOCK = RegistryKey.unsafeOf("coal_block"); + RegistryKey COAL_BLOCK = RegistryKey.of("coal_block"); - RegistryKey COAL_ORE = RegistryKey.unsafeOf("coal_ore"); + RegistryKey COAL_ORE = RegistryKey.of("coal_ore"); - RegistryKey COARSE_DIRT = RegistryKey.unsafeOf("coarse_dirt"); + RegistryKey COARSE_DIRT = RegistryKey.of("coarse_dirt"); - RegistryKey COBBLED_DEEPSLATE = RegistryKey.unsafeOf("cobbled_deepslate"); + RegistryKey COBBLED_DEEPSLATE = RegistryKey.of("cobbled_deepslate"); - RegistryKey COBBLED_DEEPSLATE_SLAB = RegistryKey.unsafeOf("cobbled_deepslate_slab"); + RegistryKey COBBLED_DEEPSLATE_SLAB = RegistryKey.of("cobbled_deepslate_slab"); - RegistryKey COBBLED_DEEPSLATE_STAIRS = RegistryKey.unsafeOf("cobbled_deepslate_stairs"); + RegistryKey COBBLED_DEEPSLATE_STAIRS = RegistryKey.of("cobbled_deepslate_stairs"); - RegistryKey COBBLED_DEEPSLATE_WALL = RegistryKey.unsafeOf("cobbled_deepslate_wall"); + RegistryKey COBBLED_DEEPSLATE_WALL = RegistryKey.of("cobbled_deepslate_wall"); - RegistryKey COBBLESTONE = RegistryKey.unsafeOf("cobblestone"); + RegistryKey COBBLESTONE = RegistryKey.of("cobblestone"); - RegistryKey COBBLESTONE_SLAB = RegistryKey.unsafeOf("cobblestone_slab"); + RegistryKey COBBLESTONE_SLAB = RegistryKey.of("cobblestone_slab"); - RegistryKey COBBLESTONE_STAIRS = RegistryKey.unsafeOf("cobblestone_stairs"); + RegistryKey COBBLESTONE_STAIRS = RegistryKey.of("cobblestone_stairs"); - RegistryKey COBBLESTONE_WALL = RegistryKey.unsafeOf("cobblestone_wall"); + RegistryKey COBBLESTONE_WALL = RegistryKey.of("cobblestone_wall"); - RegistryKey COBWEB = RegistryKey.unsafeOf("cobweb"); + RegistryKey COBWEB = RegistryKey.of("cobweb"); - RegistryKey COCOA = RegistryKey.unsafeOf("cocoa"); + RegistryKey COCOA = RegistryKey.of("cocoa"); - RegistryKey COMMAND_BLOCK = RegistryKey.unsafeOf("command_block"); + RegistryKey COMMAND_BLOCK = RegistryKey.of("command_block"); - RegistryKey COMPARATOR = RegistryKey.unsafeOf("comparator"); + RegistryKey COMPARATOR = RegistryKey.of("comparator"); - RegistryKey COMPOSTER = RegistryKey.unsafeOf("composter"); + RegistryKey COMPOSTER = RegistryKey.of("composter"); - RegistryKey CONDUIT = RegistryKey.unsafeOf("conduit"); + RegistryKey CONDUIT = RegistryKey.of("conduit"); - RegistryKey COPPER_BARS = RegistryKey.unsafeOf("copper_bars"); + RegistryKey COPPER_BARS = RegistryKey.of("copper_bars"); - RegistryKey COPPER_BLOCK = RegistryKey.unsafeOf("copper_block"); + RegistryKey COPPER_BLOCK = RegistryKey.of("copper_block"); - RegistryKey COPPER_BULB = RegistryKey.unsafeOf("copper_bulb"); + RegistryKey COPPER_BULB = RegistryKey.of("copper_bulb"); - RegistryKey COPPER_CHAIN = RegistryKey.unsafeOf("copper_chain"); + RegistryKey COPPER_CHAIN = RegistryKey.of("copper_chain"); - RegistryKey COPPER_CHEST = RegistryKey.unsafeOf("copper_chest"); + RegistryKey COPPER_CHEST = RegistryKey.of("copper_chest"); - RegistryKey COPPER_DOOR = RegistryKey.unsafeOf("copper_door"); + RegistryKey COPPER_DOOR = RegistryKey.of("copper_door"); - RegistryKey COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("copper_golem_statue"); + RegistryKey COPPER_GOLEM_STATUE = RegistryKey.of("copper_golem_statue"); - RegistryKey COPPER_GRATE = RegistryKey.unsafeOf("copper_grate"); + RegistryKey COPPER_GRATE = RegistryKey.of("copper_grate"); - RegistryKey COPPER_LANTERN = RegistryKey.unsafeOf("copper_lantern"); + RegistryKey COPPER_LANTERN = RegistryKey.of("copper_lantern"); - RegistryKey COPPER_ORE = RegistryKey.unsafeOf("copper_ore"); + RegistryKey COPPER_ORE = RegistryKey.of("copper_ore"); - RegistryKey COPPER_TORCH = RegistryKey.unsafeOf("copper_torch"); + RegistryKey COPPER_TORCH = RegistryKey.of("copper_torch"); - RegistryKey COPPER_TRAPDOOR = RegistryKey.unsafeOf("copper_trapdoor"); + RegistryKey COPPER_TRAPDOOR = RegistryKey.of("copper_trapdoor"); - RegistryKey COPPER_WALL_TORCH = RegistryKey.unsafeOf("copper_wall_torch"); + RegistryKey COPPER_WALL_TORCH = RegistryKey.of("copper_wall_torch"); - RegistryKey CORNFLOWER = RegistryKey.unsafeOf("cornflower"); + RegistryKey CORNFLOWER = RegistryKey.of("cornflower"); - RegistryKey CRACKED_DEEPSLATE_BRICKS = RegistryKey.unsafeOf("cracked_deepslate_bricks"); + RegistryKey CRACKED_DEEPSLATE_BRICKS = RegistryKey.of("cracked_deepslate_bricks"); - RegistryKey CRACKED_DEEPSLATE_TILES = RegistryKey.unsafeOf("cracked_deepslate_tiles"); + RegistryKey CRACKED_DEEPSLATE_TILES = RegistryKey.of("cracked_deepslate_tiles"); - RegistryKey CRACKED_NETHER_BRICKS = RegistryKey.unsafeOf("cracked_nether_bricks"); + RegistryKey CRACKED_NETHER_BRICKS = RegistryKey.of("cracked_nether_bricks"); - RegistryKey CRACKED_POLISHED_BLACKSTONE_BRICKS = RegistryKey.unsafeOf("cracked_polished_blackstone_bricks"); + RegistryKey CRACKED_POLISHED_BLACKSTONE_BRICKS = RegistryKey.of("cracked_polished_blackstone_bricks"); - RegistryKey CRACKED_STONE_BRICKS = RegistryKey.unsafeOf("cracked_stone_bricks"); + RegistryKey CRACKED_STONE_BRICKS = RegistryKey.of("cracked_stone_bricks"); - RegistryKey CRAFTER = RegistryKey.unsafeOf("crafter"); + RegistryKey CRAFTER = RegistryKey.of("crafter"); - RegistryKey CRAFTING_TABLE = RegistryKey.unsafeOf("crafting_table"); + RegistryKey CRAFTING_TABLE = RegistryKey.of("crafting_table"); - RegistryKey CREAKING_HEART = RegistryKey.unsafeOf("creaking_heart"); + RegistryKey CREAKING_HEART = RegistryKey.of("creaking_heart"); - RegistryKey CREEPER_HEAD = RegistryKey.unsafeOf("creeper_head"); + RegistryKey CREEPER_HEAD = RegistryKey.of("creeper_head"); - RegistryKey CREEPER_WALL_HEAD = RegistryKey.unsafeOf("creeper_wall_head"); + RegistryKey CREEPER_WALL_HEAD = RegistryKey.of("creeper_wall_head"); - RegistryKey CRIMSON_BUTTON = RegistryKey.unsafeOf("crimson_button"); + RegistryKey CRIMSON_BUTTON = RegistryKey.of("crimson_button"); - RegistryKey CRIMSON_DOOR = RegistryKey.unsafeOf("crimson_door"); + RegistryKey CRIMSON_DOOR = RegistryKey.of("crimson_door"); - RegistryKey CRIMSON_FENCE = RegistryKey.unsafeOf("crimson_fence"); + RegistryKey CRIMSON_FENCE = RegistryKey.of("crimson_fence"); - RegistryKey CRIMSON_FENCE_GATE = RegistryKey.unsafeOf("crimson_fence_gate"); + RegistryKey CRIMSON_FENCE_GATE = RegistryKey.of("crimson_fence_gate"); - RegistryKey CRIMSON_FUNGUS = RegistryKey.unsafeOf("crimson_fungus"); + RegistryKey CRIMSON_FUNGUS = RegistryKey.of("crimson_fungus"); - RegistryKey CRIMSON_HANGING_SIGN = RegistryKey.unsafeOf("crimson_hanging_sign"); + RegistryKey CRIMSON_HANGING_SIGN = RegistryKey.of("crimson_hanging_sign"); - RegistryKey CRIMSON_HYPHAE = RegistryKey.unsafeOf("crimson_hyphae"); + RegistryKey CRIMSON_HYPHAE = RegistryKey.of("crimson_hyphae"); - RegistryKey CRIMSON_NYLIUM = RegistryKey.unsafeOf("crimson_nylium"); + RegistryKey CRIMSON_NYLIUM = RegistryKey.of("crimson_nylium"); - RegistryKey CRIMSON_PLANKS = RegistryKey.unsafeOf("crimson_planks"); + RegistryKey CRIMSON_PLANKS = RegistryKey.of("crimson_planks"); - RegistryKey CRIMSON_PRESSURE_PLATE = RegistryKey.unsafeOf("crimson_pressure_plate"); + RegistryKey CRIMSON_PRESSURE_PLATE = RegistryKey.of("crimson_pressure_plate"); - RegistryKey CRIMSON_ROOTS = RegistryKey.unsafeOf("crimson_roots"); + RegistryKey CRIMSON_ROOTS = RegistryKey.of("crimson_roots"); - RegistryKey CRIMSON_SHELF = RegistryKey.unsafeOf("crimson_shelf"); + RegistryKey CRIMSON_SHELF = RegistryKey.of("crimson_shelf"); - RegistryKey CRIMSON_SIGN = RegistryKey.unsafeOf("crimson_sign"); + RegistryKey CRIMSON_SIGN = RegistryKey.of("crimson_sign"); - RegistryKey CRIMSON_SLAB = RegistryKey.unsafeOf("crimson_slab"); + RegistryKey CRIMSON_SLAB = RegistryKey.of("crimson_slab"); - RegistryKey CRIMSON_STAIRS = RegistryKey.unsafeOf("crimson_stairs"); + RegistryKey CRIMSON_STAIRS = RegistryKey.of("crimson_stairs"); - RegistryKey CRIMSON_STEM = RegistryKey.unsafeOf("crimson_stem"); + RegistryKey CRIMSON_STEM = RegistryKey.of("crimson_stem"); - RegistryKey CRIMSON_TRAPDOOR = RegistryKey.unsafeOf("crimson_trapdoor"); + RegistryKey CRIMSON_TRAPDOOR = RegistryKey.of("crimson_trapdoor"); - RegistryKey CRIMSON_WALL_HANGING_SIGN = RegistryKey.unsafeOf("crimson_wall_hanging_sign"); + RegistryKey CRIMSON_WALL_HANGING_SIGN = RegistryKey.of("crimson_wall_hanging_sign"); - RegistryKey CRIMSON_WALL_SIGN = RegistryKey.unsafeOf("crimson_wall_sign"); + RegistryKey CRIMSON_WALL_SIGN = RegistryKey.of("crimson_wall_sign"); - RegistryKey CRYING_OBSIDIAN = RegistryKey.unsafeOf("crying_obsidian"); + RegistryKey CRYING_OBSIDIAN = RegistryKey.of("crying_obsidian"); - RegistryKey CUT_COPPER = RegistryKey.unsafeOf("cut_copper"); + RegistryKey CUT_COPPER = RegistryKey.of("cut_copper"); - RegistryKey CUT_COPPER_SLAB = RegistryKey.unsafeOf("cut_copper_slab"); + RegistryKey CUT_COPPER_SLAB = RegistryKey.of("cut_copper_slab"); - RegistryKey CUT_COPPER_STAIRS = RegistryKey.unsafeOf("cut_copper_stairs"); + RegistryKey CUT_COPPER_STAIRS = RegistryKey.of("cut_copper_stairs"); - RegistryKey CUT_RED_SANDSTONE = RegistryKey.unsafeOf("cut_red_sandstone"); + RegistryKey CUT_RED_SANDSTONE = RegistryKey.of("cut_red_sandstone"); - RegistryKey CUT_RED_SANDSTONE_SLAB = RegistryKey.unsafeOf("cut_red_sandstone_slab"); + RegistryKey CUT_RED_SANDSTONE_SLAB = RegistryKey.of("cut_red_sandstone_slab"); - RegistryKey CUT_SANDSTONE = RegistryKey.unsafeOf("cut_sandstone"); + RegistryKey CUT_SANDSTONE = RegistryKey.of("cut_sandstone"); - RegistryKey CUT_SANDSTONE_SLAB = RegistryKey.unsafeOf("cut_sandstone_slab"); + RegistryKey CUT_SANDSTONE_SLAB = RegistryKey.of("cut_sandstone_slab"); - RegistryKey CYAN_BANNER = RegistryKey.unsafeOf("cyan_banner"); + RegistryKey CYAN_BANNER = RegistryKey.of("cyan_banner"); - RegistryKey CYAN_BED = RegistryKey.unsafeOf("cyan_bed"); + RegistryKey CYAN_BED = RegistryKey.of("cyan_bed"); - RegistryKey CYAN_CANDLE = RegistryKey.unsafeOf("cyan_candle"); + RegistryKey CYAN_CANDLE = RegistryKey.of("cyan_candle"); - RegistryKey CYAN_CANDLE_CAKE = RegistryKey.unsafeOf("cyan_candle_cake"); + RegistryKey CYAN_CANDLE_CAKE = RegistryKey.of("cyan_candle_cake"); - RegistryKey CYAN_CARPET = RegistryKey.unsafeOf("cyan_carpet"); + RegistryKey CYAN_CARPET = RegistryKey.of("cyan_carpet"); - RegistryKey CYAN_CONCRETE = RegistryKey.unsafeOf("cyan_concrete"); + RegistryKey CYAN_CONCRETE = RegistryKey.of("cyan_concrete"); - RegistryKey CYAN_CONCRETE_POWDER = RegistryKey.unsafeOf("cyan_concrete_powder"); + RegistryKey CYAN_CONCRETE_POWDER = RegistryKey.of("cyan_concrete_powder"); - RegistryKey CYAN_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("cyan_glazed_terracotta"); + RegistryKey CYAN_GLAZED_TERRACOTTA = RegistryKey.of("cyan_glazed_terracotta"); - RegistryKey CYAN_SHULKER_BOX = RegistryKey.unsafeOf("cyan_shulker_box"); + RegistryKey CYAN_SHULKER_BOX = RegistryKey.of("cyan_shulker_box"); - RegistryKey CYAN_STAINED_GLASS = RegistryKey.unsafeOf("cyan_stained_glass"); + RegistryKey CYAN_STAINED_GLASS = RegistryKey.of("cyan_stained_glass"); - RegistryKey CYAN_STAINED_GLASS_PANE = RegistryKey.unsafeOf("cyan_stained_glass_pane"); + RegistryKey CYAN_STAINED_GLASS_PANE = RegistryKey.of("cyan_stained_glass_pane"); - RegistryKey CYAN_TERRACOTTA = RegistryKey.unsafeOf("cyan_terracotta"); + RegistryKey CYAN_TERRACOTTA = RegistryKey.of("cyan_terracotta"); - RegistryKey CYAN_WALL_BANNER = RegistryKey.unsafeOf("cyan_wall_banner"); + RegistryKey CYAN_WALL_BANNER = RegistryKey.of("cyan_wall_banner"); - RegistryKey CYAN_WOOL = RegistryKey.unsafeOf("cyan_wool"); + RegistryKey CYAN_WOOL = RegistryKey.of("cyan_wool"); - RegistryKey DAMAGED_ANVIL = RegistryKey.unsafeOf("damaged_anvil"); + RegistryKey DAMAGED_ANVIL = RegistryKey.of("damaged_anvil"); - RegistryKey DANDELION = RegistryKey.unsafeOf("dandelion"); + RegistryKey DANDELION = RegistryKey.of("dandelion"); - RegistryKey DARK_OAK_BUTTON = RegistryKey.unsafeOf("dark_oak_button"); + RegistryKey DARK_OAK_BUTTON = RegistryKey.of("dark_oak_button"); - RegistryKey DARK_OAK_DOOR = RegistryKey.unsafeOf("dark_oak_door"); + RegistryKey DARK_OAK_DOOR = RegistryKey.of("dark_oak_door"); - RegistryKey DARK_OAK_FENCE = RegistryKey.unsafeOf("dark_oak_fence"); + RegistryKey DARK_OAK_FENCE = RegistryKey.of("dark_oak_fence"); - RegistryKey DARK_OAK_FENCE_GATE = RegistryKey.unsafeOf("dark_oak_fence_gate"); + RegistryKey DARK_OAK_FENCE_GATE = RegistryKey.of("dark_oak_fence_gate"); - RegistryKey DARK_OAK_HANGING_SIGN = RegistryKey.unsafeOf("dark_oak_hanging_sign"); + RegistryKey DARK_OAK_HANGING_SIGN = RegistryKey.of("dark_oak_hanging_sign"); - RegistryKey DARK_OAK_LEAVES = RegistryKey.unsafeOf("dark_oak_leaves"); + RegistryKey DARK_OAK_LEAVES = RegistryKey.of("dark_oak_leaves"); - RegistryKey DARK_OAK_LOG = RegistryKey.unsafeOf("dark_oak_log"); + RegistryKey DARK_OAK_LOG = RegistryKey.of("dark_oak_log"); - RegistryKey DARK_OAK_PLANKS = RegistryKey.unsafeOf("dark_oak_planks"); + RegistryKey DARK_OAK_PLANKS = RegistryKey.of("dark_oak_planks"); - RegistryKey DARK_OAK_PRESSURE_PLATE = RegistryKey.unsafeOf("dark_oak_pressure_plate"); + RegistryKey DARK_OAK_PRESSURE_PLATE = RegistryKey.of("dark_oak_pressure_plate"); - RegistryKey DARK_OAK_SAPLING = RegistryKey.unsafeOf("dark_oak_sapling"); + RegistryKey DARK_OAK_SAPLING = RegistryKey.of("dark_oak_sapling"); - RegistryKey DARK_OAK_SHELF = RegistryKey.unsafeOf("dark_oak_shelf"); + RegistryKey DARK_OAK_SHELF = RegistryKey.of("dark_oak_shelf"); - RegistryKey DARK_OAK_SIGN = RegistryKey.unsafeOf("dark_oak_sign"); + RegistryKey DARK_OAK_SIGN = RegistryKey.of("dark_oak_sign"); - RegistryKey DARK_OAK_SLAB = RegistryKey.unsafeOf("dark_oak_slab"); + RegistryKey DARK_OAK_SLAB = RegistryKey.of("dark_oak_slab"); - RegistryKey DARK_OAK_STAIRS = RegistryKey.unsafeOf("dark_oak_stairs"); + RegistryKey DARK_OAK_STAIRS = RegistryKey.of("dark_oak_stairs"); - RegistryKey DARK_OAK_TRAPDOOR = RegistryKey.unsafeOf("dark_oak_trapdoor"); + RegistryKey DARK_OAK_TRAPDOOR = RegistryKey.of("dark_oak_trapdoor"); - RegistryKey DARK_OAK_WALL_HANGING_SIGN = RegistryKey.unsafeOf("dark_oak_wall_hanging_sign"); + RegistryKey DARK_OAK_WALL_HANGING_SIGN = RegistryKey.of("dark_oak_wall_hanging_sign"); - RegistryKey DARK_OAK_WALL_SIGN = RegistryKey.unsafeOf("dark_oak_wall_sign"); + RegistryKey DARK_OAK_WALL_SIGN = RegistryKey.of("dark_oak_wall_sign"); - RegistryKey DARK_OAK_WOOD = RegistryKey.unsafeOf("dark_oak_wood"); + RegistryKey DARK_OAK_WOOD = RegistryKey.of("dark_oak_wood"); - RegistryKey DARK_PRISMARINE = RegistryKey.unsafeOf("dark_prismarine"); + RegistryKey DARK_PRISMARINE = RegistryKey.of("dark_prismarine"); - RegistryKey DARK_PRISMARINE_SLAB = RegistryKey.unsafeOf("dark_prismarine_slab"); + RegistryKey DARK_PRISMARINE_SLAB = RegistryKey.of("dark_prismarine_slab"); - RegistryKey DARK_PRISMARINE_STAIRS = RegistryKey.unsafeOf("dark_prismarine_stairs"); + RegistryKey DARK_PRISMARINE_STAIRS = RegistryKey.of("dark_prismarine_stairs"); - RegistryKey DAYLIGHT_DETECTOR = RegistryKey.unsafeOf("daylight_detector"); + RegistryKey DAYLIGHT_DETECTOR = RegistryKey.of("daylight_detector"); - RegistryKey DEAD_BRAIN_CORAL = RegistryKey.unsafeOf("dead_brain_coral"); + RegistryKey DEAD_BRAIN_CORAL = RegistryKey.of("dead_brain_coral"); - RegistryKey DEAD_BRAIN_CORAL_BLOCK = RegistryKey.unsafeOf("dead_brain_coral_block"); + RegistryKey DEAD_BRAIN_CORAL_BLOCK = RegistryKey.of("dead_brain_coral_block"); - RegistryKey DEAD_BRAIN_CORAL_FAN = RegistryKey.unsafeOf("dead_brain_coral_fan"); + RegistryKey DEAD_BRAIN_CORAL_FAN = RegistryKey.of("dead_brain_coral_fan"); - RegistryKey DEAD_BRAIN_CORAL_WALL_FAN = RegistryKey.unsafeOf("dead_brain_coral_wall_fan"); + RegistryKey DEAD_BRAIN_CORAL_WALL_FAN = RegistryKey.of("dead_brain_coral_wall_fan"); - RegistryKey DEAD_BUBBLE_CORAL = RegistryKey.unsafeOf("dead_bubble_coral"); + RegistryKey DEAD_BUBBLE_CORAL = RegistryKey.of("dead_bubble_coral"); - RegistryKey DEAD_BUBBLE_CORAL_BLOCK = RegistryKey.unsafeOf("dead_bubble_coral_block"); + RegistryKey DEAD_BUBBLE_CORAL_BLOCK = RegistryKey.of("dead_bubble_coral_block"); - RegistryKey DEAD_BUBBLE_CORAL_FAN = RegistryKey.unsafeOf("dead_bubble_coral_fan"); + RegistryKey DEAD_BUBBLE_CORAL_FAN = RegistryKey.of("dead_bubble_coral_fan"); - RegistryKey DEAD_BUBBLE_CORAL_WALL_FAN = RegistryKey.unsafeOf("dead_bubble_coral_wall_fan"); + RegistryKey DEAD_BUBBLE_CORAL_WALL_FAN = RegistryKey.of("dead_bubble_coral_wall_fan"); - RegistryKey DEAD_BUSH = RegistryKey.unsafeOf("dead_bush"); + RegistryKey DEAD_BUSH = RegistryKey.of("dead_bush"); - RegistryKey DEAD_FIRE_CORAL = RegistryKey.unsafeOf("dead_fire_coral"); + RegistryKey DEAD_FIRE_CORAL = RegistryKey.of("dead_fire_coral"); - RegistryKey DEAD_FIRE_CORAL_BLOCK = RegistryKey.unsafeOf("dead_fire_coral_block"); + RegistryKey DEAD_FIRE_CORAL_BLOCK = RegistryKey.of("dead_fire_coral_block"); - RegistryKey DEAD_FIRE_CORAL_FAN = RegistryKey.unsafeOf("dead_fire_coral_fan"); + RegistryKey DEAD_FIRE_CORAL_FAN = RegistryKey.of("dead_fire_coral_fan"); - RegistryKey DEAD_FIRE_CORAL_WALL_FAN = RegistryKey.unsafeOf("dead_fire_coral_wall_fan"); + RegistryKey DEAD_FIRE_CORAL_WALL_FAN = RegistryKey.of("dead_fire_coral_wall_fan"); - RegistryKey DEAD_HORN_CORAL = RegistryKey.unsafeOf("dead_horn_coral"); + RegistryKey DEAD_HORN_CORAL = RegistryKey.of("dead_horn_coral"); - RegistryKey DEAD_HORN_CORAL_BLOCK = RegistryKey.unsafeOf("dead_horn_coral_block"); + RegistryKey DEAD_HORN_CORAL_BLOCK = RegistryKey.of("dead_horn_coral_block"); - RegistryKey DEAD_HORN_CORAL_FAN = RegistryKey.unsafeOf("dead_horn_coral_fan"); + RegistryKey DEAD_HORN_CORAL_FAN = RegistryKey.of("dead_horn_coral_fan"); - RegistryKey DEAD_HORN_CORAL_WALL_FAN = RegistryKey.unsafeOf("dead_horn_coral_wall_fan"); + RegistryKey DEAD_HORN_CORAL_WALL_FAN = RegistryKey.of("dead_horn_coral_wall_fan"); - RegistryKey DEAD_TUBE_CORAL = RegistryKey.unsafeOf("dead_tube_coral"); + RegistryKey DEAD_TUBE_CORAL = RegistryKey.of("dead_tube_coral"); - RegistryKey DEAD_TUBE_CORAL_BLOCK = RegistryKey.unsafeOf("dead_tube_coral_block"); + RegistryKey DEAD_TUBE_CORAL_BLOCK = RegistryKey.of("dead_tube_coral_block"); - RegistryKey DEAD_TUBE_CORAL_FAN = RegistryKey.unsafeOf("dead_tube_coral_fan"); + RegistryKey DEAD_TUBE_CORAL_FAN = RegistryKey.of("dead_tube_coral_fan"); - RegistryKey DEAD_TUBE_CORAL_WALL_FAN = RegistryKey.unsafeOf("dead_tube_coral_wall_fan"); + RegistryKey DEAD_TUBE_CORAL_WALL_FAN = RegistryKey.of("dead_tube_coral_wall_fan"); - RegistryKey DECORATED_POT = RegistryKey.unsafeOf("decorated_pot"); + RegistryKey DECORATED_POT = RegistryKey.of("decorated_pot"); - RegistryKey DEEPSLATE = RegistryKey.unsafeOf("deepslate"); + RegistryKey DEEPSLATE = RegistryKey.of("deepslate"); - RegistryKey DEEPSLATE_BRICK_SLAB = RegistryKey.unsafeOf("deepslate_brick_slab"); + RegistryKey DEEPSLATE_BRICK_SLAB = RegistryKey.of("deepslate_brick_slab"); - RegistryKey DEEPSLATE_BRICK_STAIRS = RegistryKey.unsafeOf("deepslate_brick_stairs"); + RegistryKey DEEPSLATE_BRICK_STAIRS = RegistryKey.of("deepslate_brick_stairs"); - RegistryKey DEEPSLATE_BRICK_WALL = RegistryKey.unsafeOf("deepslate_brick_wall"); + RegistryKey DEEPSLATE_BRICK_WALL = RegistryKey.of("deepslate_brick_wall"); - RegistryKey DEEPSLATE_BRICKS = RegistryKey.unsafeOf("deepslate_bricks"); + RegistryKey DEEPSLATE_BRICKS = RegistryKey.of("deepslate_bricks"); - RegistryKey DEEPSLATE_COAL_ORE = RegistryKey.unsafeOf("deepslate_coal_ore"); + RegistryKey DEEPSLATE_COAL_ORE = RegistryKey.of("deepslate_coal_ore"); - RegistryKey DEEPSLATE_COPPER_ORE = RegistryKey.unsafeOf("deepslate_copper_ore"); + RegistryKey DEEPSLATE_COPPER_ORE = RegistryKey.of("deepslate_copper_ore"); - RegistryKey DEEPSLATE_DIAMOND_ORE = RegistryKey.unsafeOf("deepslate_diamond_ore"); + RegistryKey DEEPSLATE_DIAMOND_ORE = RegistryKey.of("deepslate_diamond_ore"); - RegistryKey DEEPSLATE_EMERALD_ORE = RegistryKey.unsafeOf("deepslate_emerald_ore"); + RegistryKey DEEPSLATE_EMERALD_ORE = RegistryKey.of("deepslate_emerald_ore"); - RegistryKey DEEPSLATE_GOLD_ORE = RegistryKey.unsafeOf("deepslate_gold_ore"); + RegistryKey DEEPSLATE_GOLD_ORE = RegistryKey.of("deepslate_gold_ore"); - RegistryKey DEEPSLATE_IRON_ORE = RegistryKey.unsafeOf("deepslate_iron_ore"); + RegistryKey DEEPSLATE_IRON_ORE = RegistryKey.of("deepslate_iron_ore"); - RegistryKey DEEPSLATE_LAPIS_ORE = RegistryKey.unsafeOf("deepslate_lapis_ore"); + RegistryKey DEEPSLATE_LAPIS_ORE = RegistryKey.of("deepslate_lapis_ore"); - RegistryKey DEEPSLATE_REDSTONE_ORE = RegistryKey.unsafeOf("deepslate_redstone_ore"); + RegistryKey DEEPSLATE_REDSTONE_ORE = RegistryKey.of("deepslate_redstone_ore"); - RegistryKey DEEPSLATE_TILE_SLAB = RegistryKey.unsafeOf("deepslate_tile_slab"); + RegistryKey DEEPSLATE_TILE_SLAB = RegistryKey.of("deepslate_tile_slab"); - RegistryKey DEEPSLATE_TILE_STAIRS = RegistryKey.unsafeOf("deepslate_tile_stairs"); + RegistryKey DEEPSLATE_TILE_STAIRS = RegistryKey.of("deepslate_tile_stairs"); - RegistryKey DEEPSLATE_TILE_WALL = RegistryKey.unsafeOf("deepslate_tile_wall"); + RegistryKey DEEPSLATE_TILE_WALL = RegistryKey.of("deepslate_tile_wall"); - RegistryKey DEEPSLATE_TILES = RegistryKey.unsafeOf("deepslate_tiles"); + RegistryKey DEEPSLATE_TILES = RegistryKey.of("deepslate_tiles"); - RegistryKey DETECTOR_RAIL = RegistryKey.unsafeOf("detector_rail"); + RegistryKey DETECTOR_RAIL = RegistryKey.of("detector_rail"); - RegistryKey DIAMOND_BLOCK = RegistryKey.unsafeOf("diamond_block"); + RegistryKey DIAMOND_BLOCK = RegistryKey.of("diamond_block"); - RegistryKey DIAMOND_ORE = RegistryKey.unsafeOf("diamond_ore"); + RegistryKey DIAMOND_ORE = RegistryKey.of("diamond_ore"); - RegistryKey DIORITE = RegistryKey.unsafeOf("diorite"); + RegistryKey DIORITE = RegistryKey.of("diorite"); - RegistryKey DIORITE_SLAB = RegistryKey.unsafeOf("diorite_slab"); + RegistryKey DIORITE_SLAB = RegistryKey.of("diorite_slab"); - RegistryKey DIORITE_STAIRS = RegistryKey.unsafeOf("diorite_stairs"); + RegistryKey DIORITE_STAIRS = RegistryKey.of("diorite_stairs"); - RegistryKey DIORITE_WALL = RegistryKey.unsafeOf("diorite_wall"); + RegistryKey DIORITE_WALL = RegistryKey.of("diorite_wall"); - RegistryKey DIRT = RegistryKey.unsafeOf("dirt"); + RegistryKey DIRT = RegistryKey.of("dirt"); - RegistryKey DIRT_PATH = RegistryKey.unsafeOf("dirt_path"); + RegistryKey DIRT_PATH = RegistryKey.of("dirt_path"); - RegistryKey DISPENSER = RegistryKey.unsafeOf("dispenser"); + RegistryKey DISPENSER = RegistryKey.of("dispenser"); - RegistryKey DRAGON_EGG = RegistryKey.unsafeOf("dragon_egg"); + RegistryKey DRAGON_EGG = RegistryKey.of("dragon_egg"); - RegistryKey DRAGON_HEAD = RegistryKey.unsafeOf("dragon_head"); + RegistryKey DRAGON_HEAD = RegistryKey.of("dragon_head"); - RegistryKey DRAGON_WALL_HEAD = RegistryKey.unsafeOf("dragon_wall_head"); + RegistryKey DRAGON_WALL_HEAD = RegistryKey.of("dragon_wall_head"); - RegistryKey DRIED_GHAST = RegistryKey.unsafeOf("dried_ghast"); + RegistryKey DRIED_GHAST = RegistryKey.of("dried_ghast"); - RegistryKey DRIED_KELP_BLOCK = RegistryKey.unsafeOf("dried_kelp_block"); + RegistryKey DRIED_KELP_BLOCK = RegistryKey.of("dried_kelp_block"); - RegistryKey DRIPSTONE_BLOCK = RegistryKey.unsafeOf("dripstone_block"); + RegistryKey DRIPSTONE_BLOCK = RegistryKey.of("dripstone_block"); - RegistryKey DROPPER = RegistryKey.unsafeOf("dropper"); + RegistryKey DROPPER = RegistryKey.of("dropper"); - RegistryKey EMERALD_BLOCK = RegistryKey.unsafeOf("emerald_block"); + RegistryKey EMERALD_BLOCK = RegistryKey.of("emerald_block"); - RegistryKey EMERALD_ORE = RegistryKey.unsafeOf("emerald_ore"); + RegistryKey EMERALD_ORE = RegistryKey.of("emerald_ore"); - RegistryKey ENCHANTING_TABLE = RegistryKey.unsafeOf("enchanting_table"); + RegistryKey ENCHANTING_TABLE = RegistryKey.of("enchanting_table"); - RegistryKey END_GATEWAY = RegistryKey.unsafeOf("end_gateway"); + RegistryKey END_GATEWAY = RegistryKey.of("end_gateway"); - RegistryKey END_PORTAL = RegistryKey.unsafeOf("end_portal"); + RegistryKey END_PORTAL = RegistryKey.of("end_portal"); - RegistryKey END_PORTAL_FRAME = RegistryKey.unsafeOf("end_portal_frame"); + RegistryKey END_PORTAL_FRAME = RegistryKey.of("end_portal_frame"); - RegistryKey END_ROD = RegistryKey.unsafeOf("end_rod"); + RegistryKey END_ROD = RegistryKey.of("end_rod"); - RegistryKey END_STONE = RegistryKey.unsafeOf("end_stone"); + RegistryKey END_STONE = RegistryKey.of("end_stone"); - RegistryKey END_STONE_BRICK_SLAB = RegistryKey.unsafeOf("end_stone_brick_slab"); + RegistryKey END_STONE_BRICK_SLAB = RegistryKey.of("end_stone_brick_slab"); - RegistryKey END_STONE_BRICK_STAIRS = RegistryKey.unsafeOf("end_stone_brick_stairs"); + RegistryKey END_STONE_BRICK_STAIRS = RegistryKey.of("end_stone_brick_stairs"); - RegistryKey END_STONE_BRICK_WALL = RegistryKey.unsafeOf("end_stone_brick_wall"); + RegistryKey END_STONE_BRICK_WALL = RegistryKey.of("end_stone_brick_wall"); - RegistryKey END_STONE_BRICKS = RegistryKey.unsafeOf("end_stone_bricks"); + RegistryKey END_STONE_BRICKS = RegistryKey.of("end_stone_bricks"); - RegistryKey ENDER_CHEST = RegistryKey.unsafeOf("ender_chest"); + RegistryKey ENDER_CHEST = RegistryKey.of("ender_chest"); - RegistryKey EXPOSED_CHISELED_COPPER = RegistryKey.unsafeOf("exposed_chiseled_copper"); + RegistryKey EXPOSED_CHISELED_COPPER = RegistryKey.of("exposed_chiseled_copper"); - RegistryKey EXPOSED_COPPER = RegistryKey.unsafeOf("exposed_copper"); + RegistryKey EXPOSED_COPPER = RegistryKey.of("exposed_copper"); - RegistryKey EXPOSED_COPPER_BARS = RegistryKey.unsafeOf("exposed_copper_bars"); + RegistryKey EXPOSED_COPPER_BARS = RegistryKey.of("exposed_copper_bars"); - RegistryKey EXPOSED_COPPER_BULB = RegistryKey.unsafeOf("exposed_copper_bulb"); + RegistryKey EXPOSED_COPPER_BULB = RegistryKey.of("exposed_copper_bulb"); - RegistryKey EXPOSED_COPPER_CHAIN = RegistryKey.unsafeOf("exposed_copper_chain"); + RegistryKey EXPOSED_COPPER_CHAIN = RegistryKey.of("exposed_copper_chain"); - RegistryKey EXPOSED_COPPER_CHEST = RegistryKey.unsafeOf("exposed_copper_chest"); + RegistryKey EXPOSED_COPPER_CHEST = RegistryKey.of("exposed_copper_chest"); - RegistryKey EXPOSED_COPPER_DOOR = RegistryKey.unsafeOf("exposed_copper_door"); + RegistryKey EXPOSED_COPPER_DOOR = RegistryKey.of("exposed_copper_door"); - RegistryKey EXPOSED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("exposed_copper_golem_statue"); + RegistryKey EXPOSED_COPPER_GOLEM_STATUE = RegistryKey.of("exposed_copper_golem_statue"); - RegistryKey EXPOSED_COPPER_GRATE = RegistryKey.unsafeOf("exposed_copper_grate"); + RegistryKey EXPOSED_COPPER_GRATE = RegistryKey.of("exposed_copper_grate"); - RegistryKey EXPOSED_COPPER_LANTERN = RegistryKey.unsafeOf("exposed_copper_lantern"); + RegistryKey EXPOSED_COPPER_LANTERN = RegistryKey.of("exposed_copper_lantern"); - RegistryKey EXPOSED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("exposed_copper_trapdoor"); + RegistryKey EXPOSED_COPPER_TRAPDOOR = RegistryKey.of("exposed_copper_trapdoor"); - RegistryKey EXPOSED_CUT_COPPER = RegistryKey.unsafeOf("exposed_cut_copper"); + RegistryKey EXPOSED_CUT_COPPER = RegistryKey.of("exposed_cut_copper"); - RegistryKey EXPOSED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("exposed_cut_copper_slab"); + RegistryKey EXPOSED_CUT_COPPER_SLAB = RegistryKey.of("exposed_cut_copper_slab"); - RegistryKey EXPOSED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("exposed_cut_copper_stairs"); + RegistryKey EXPOSED_CUT_COPPER_STAIRS = RegistryKey.of("exposed_cut_copper_stairs"); - RegistryKey EXPOSED_LIGHTNING_ROD = RegistryKey.unsafeOf("exposed_lightning_rod"); + RegistryKey EXPOSED_LIGHTNING_ROD = RegistryKey.of("exposed_lightning_rod"); - RegistryKey FARMLAND = RegistryKey.unsafeOf("farmland"); + RegistryKey FARMLAND = RegistryKey.of("farmland"); - RegistryKey FERN = RegistryKey.unsafeOf("fern"); + RegistryKey FERN = RegistryKey.of("fern"); - RegistryKey FIRE = RegistryKey.unsafeOf("fire"); + RegistryKey FIRE = RegistryKey.of("fire"); - RegistryKey FIRE_CORAL = RegistryKey.unsafeOf("fire_coral"); + RegistryKey FIRE_CORAL = RegistryKey.of("fire_coral"); - RegistryKey FIRE_CORAL_BLOCK = RegistryKey.unsafeOf("fire_coral_block"); + RegistryKey FIRE_CORAL_BLOCK = RegistryKey.of("fire_coral_block"); - RegistryKey FIRE_CORAL_FAN = RegistryKey.unsafeOf("fire_coral_fan"); + RegistryKey FIRE_CORAL_FAN = RegistryKey.of("fire_coral_fan"); - RegistryKey FIRE_CORAL_WALL_FAN = RegistryKey.unsafeOf("fire_coral_wall_fan"); + RegistryKey FIRE_CORAL_WALL_FAN = RegistryKey.of("fire_coral_wall_fan"); - RegistryKey FIREFLY_BUSH = RegistryKey.unsafeOf("firefly_bush"); + RegistryKey FIREFLY_BUSH = RegistryKey.of("firefly_bush"); - RegistryKey FLETCHING_TABLE = RegistryKey.unsafeOf("fletching_table"); + RegistryKey FLETCHING_TABLE = RegistryKey.of("fletching_table"); - RegistryKey FLOWER_POT = RegistryKey.unsafeOf("flower_pot"); + RegistryKey FLOWER_POT = RegistryKey.of("flower_pot"); - RegistryKey FLOWERING_AZALEA = RegistryKey.unsafeOf("flowering_azalea"); + RegistryKey FLOWERING_AZALEA = RegistryKey.of("flowering_azalea"); - RegistryKey FLOWERING_AZALEA_LEAVES = RegistryKey.unsafeOf("flowering_azalea_leaves"); + RegistryKey FLOWERING_AZALEA_LEAVES = RegistryKey.of("flowering_azalea_leaves"); - RegistryKey FROGSPAWN = RegistryKey.unsafeOf("frogspawn"); + RegistryKey FROGSPAWN = RegistryKey.of("frogspawn"); - RegistryKey FROSTED_ICE = RegistryKey.unsafeOf("frosted_ice"); + RegistryKey FROSTED_ICE = RegistryKey.of("frosted_ice"); - RegistryKey FURNACE = RegistryKey.unsafeOf("furnace"); + RegistryKey FURNACE = RegistryKey.of("furnace"); - RegistryKey GILDED_BLACKSTONE = RegistryKey.unsafeOf("gilded_blackstone"); + RegistryKey GILDED_BLACKSTONE = RegistryKey.of("gilded_blackstone"); - RegistryKey GLASS = RegistryKey.unsafeOf("glass"); + RegistryKey GLASS = RegistryKey.of("glass"); - RegistryKey GLASS_PANE = RegistryKey.unsafeOf("glass_pane"); + RegistryKey GLASS_PANE = RegistryKey.of("glass_pane"); - RegistryKey GLOW_LICHEN = RegistryKey.unsafeOf("glow_lichen"); + RegistryKey GLOW_LICHEN = RegistryKey.of("glow_lichen"); - RegistryKey GLOWSTONE = RegistryKey.unsafeOf("glowstone"); + RegistryKey GLOWSTONE = RegistryKey.of("glowstone"); - RegistryKey GOLD_BLOCK = RegistryKey.unsafeOf("gold_block"); + RegistryKey GOLD_BLOCK = RegistryKey.of("gold_block"); - RegistryKey GOLD_ORE = RegistryKey.unsafeOf("gold_ore"); + RegistryKey GOLD_ORE = RegistryKey.of("gold_ore"); - RegistryKey GOLDEN_DANDELION = RegistryKey.unsafeOf("golden_dandelion"); + RegistryKey GOLDEN_DANDELION = RegistryKey.of("golden_dandelion"); - RegistryKey GRANITE = RegistryKey.unsafeOf("granite"); + RegistryKey GRANITE = RegistryKey.of("granite"); - RegistryKey GRANITE_SLAB = RegistryKey.unsafeOf("granite_slab"); + RegistryKey GRANITE_SLAB = RegistryKey.of("granite_slab"); - RegistryKey GRANITE_STAIRS = RegistryKey.unsafeOf("granite_stairs"); + RegistryKey GRANITE_STAIRS = RegistryKey.of("granite_stairs"); - RegistryKey GRANITE_WALL = RegistryKey.unsafeOf("granite_wall"); + RegistryKey GRANITE_WALL = RegistryKey.of("granite_wall"); - RegistryKey GRASS_BLOCK = RegistryKey.unsafeOf("grass_block"); + RegistryKey GRASS_BLOCK = RegistryKey.of("grass_block"); - RegistryKey GRAVEL = RegistryKey.unsafeOf("gravel"); + RegistryKey GRAVEL = RegistryKey.of("gravel"); - RegistryKey GRAY_BANNER = RegistryKey.unsafeOf("gray_banner"); + RegistryKey GRAY_BANNER = RegistryKey.of("gray_banner"); - RegistryKey GRAY_BED = RegistryKey.unsafeOf("gray_bed"); + RegistryKey GRAY_BED = RegistryKey.of("gray_bed"); - RegistryKey GRAY_CANDLE = RegistryKey.unsafeOf("gray_candle"); + RegistryKey GRAY_CANDLE = RegistryKey.of("gray_candle"); - RegistryKey GRAY_CANDLE_CAKE = RegistryKey.unsafeOf("gray_candle_cake"); + RegistryKey GRAY_CANDLE_CAKE = RegistryKey.of("gray_candle_cake"); - RegistryKey GRAY_CARPET = RegistryKey.unsafeOf("gray_carpet"); + RegistryKey GRAY_CARPET = RegistryKey.of("gray_carpet"); - RegistryKey GRAY_CONCRETE = RegistryKey.unsafeOf("gray_concrete"); + RegistryKey GRAY_CONCRETE = RegistryKey.of("gray_concrete"); - RegistryKey GRAY_CONCRETE_POWDER = RegistryKey.unsafeOf("gray_concrete_powder"); + RegistryKey GRAY_CONCRETE_POWDER = RegistryKey.of("gray_concrete_powder"); - RegistryKey GRAY_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("gray_glazed_terracotta"); + RegistryKey GRAY_GLAZED_TERRACOTTA = RegistryKey.of("gray_glazed_terracotta"); - RegistryKey GRAY_SHULKER_BOX = RegistryKey.unsafeOf("gray_shulker_box"); + RegistryKey GRAY_SHULKER_BOX = RegistryKey.of("gray_shulker_box"); - RegistryKey GRAY_STAINED_GLASS = RegistryKey.unsafeOf("gray_stained_glass"); + RegistryKey GRAY_STAINED_GLASS = RegistryKey.of("gray_stained_glass"); - RegistryKey GRAY_STAINED_GLASS_PANE = RegistryKey.unsafeOf("gray_stained_glass_pane"); + RegistryKey GRAY_STAINED_GLASS_PANE = RegistryKey.of("gray_stained_glass_pane"); - RegistryKey GRAY_TERRACOTTA = RegistryKey.unsafeOf("gray_terracotta"); + RegistryKey GRAY_TERRACOTTA = RegistryKey.of("gray_terracotta"); - RegistryKey GRAY_WALL_BANNER = RegistryKey.unsafeOf("gray_wall_banner"); + RegistryKey GRAY_WALL_BANNER = RegistryKey.of("gray_wall_banner"); - RegistryKey GRAY_WOOL = RegistryKey.unsafeOf("gray_wool"); + RegistryKey GRAY_WOOL = RegistryKey.of("gray_wool"); - RegistryKey GREEN_BANNER = RegistryKey.unsafeOf("green_banner"); + RegistryKey GREEN_BANNER = RegistryKey.of("green_banner"); - RegistryKey GREEN_BED = RegistryKey.unsafeOf("green_bed"); + RegistryKey GREEN_BED = RegistryKey.of("green_bed"); - RegistryKey GREEN_CANDLE = RegistryKey.unsafeOf("green_candle"); + RegistryKey GREEN_CANDLE = RegistryKey.of("green_candle"); - RegistryKey GREEN_CANDLE_CAKE = RegistryKey.unsafeOf("green_candle_cake"); + RegistryKey GREEN_CANDLE_CAKE = RegistryKey.of("green_candle_cake"); - RegistryKey GREEN_CARPET = RegistryKey.unsafeOf("green_carpet"); + RegistryKey GREEN_CARPET = RegistryKey.of("green_carpet"); - RegistryKey GREEN_CONCRETE = RegistryKey.unsafeOf("green_concrete"); + RegistryKey GREEN_CONCRETE = RegistryKey.of("green_concrete"); - RegistryKey GREEN_CONCRETE_POWDER = RegistryKey.unsafeOf("green_concrete_powder"); + RegistryKey GREEN_CONCRETE_POWDER = RegistryKey.of("green_concrete_powder"); - RegistryKey GREEN_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("green_glazed_terracotta"); + RegistryKey GREEN_GLAZED_TERRACOTTA = RegistryKey.of("green_glazed_terracotta"); - RegistryKey GREEN_SHULKER_BOX = RegistryKey.unsafeOf("green_shulker_box"); + RegistryKey GREEN_SHULKER_BOX = RegistryKey.of("green_shulker_box"); - RegistryKey GREEN_STAINED_GLASS = RegistryKey.unsafeOf("green_stained_glass"); + RegistryKey GREEN_STAINED_GLASS = RegistryKey.of("green_stained_glass"); - RegistryKey GREEN_STAINED_GLASS_PANE = RegistryKey.unsafeOf("green_stained_glass_pane"); + RegistryKey GREEN_STAINED_GLASS_PANE = RegistryKey.of("green_stained_glass_pane"); - RegistryKey GREEN_TERRACOTTA = RegistryKey.unsafeOf("green_terracotta"); + RegistryKey GREEN_TERRACOTTA = RegistryKey.of("green_terracotta"); - RegistryKey GREEN_WALL_BANNER = RegistryKey.unsafeOf("green_wall_banner"); + RegistryKey GREEN_WALL_BANNER = RegistryKey.of("green_wall_banner"); - RegistryKey GREEN_WOOL = RegistryKey.unsafeOf("green_wool"); + RegistryKey GREEN_WOOL = RegistryKey.of("green_wool"); - RegistryKey GRINDSTONE = RegistryKey.unsafeOf("grindstone"); + RegistryKey GRINDSTONE = RegistryKey.of("grindstone"); - RegistryKey HANGING_ROOTS = RegistryKey.unsafeOf("hanging_roots"); + RegistryKey HANGING_ROOTS = RegistryKey.of("hanging_roots"); - RegistryKey HAY_BLOCK = RegistryKey.unsafeOf("hay_block"); + RegistryKey HAY_BLOCK = RegistryKey.of("hay_block"); - RegistryKey HEAVY_CORE = RegistryKey.unsafeOf("heavy_core"); + RegistryKey HEAVY_CORE = RegistryKey.of("heavy_core"); - RegistryKey HEAVY_WEIGHTED_PRESSURE_PLATE = RegistryKey.unsafeOf("heavy_weighted_pressure_plate"); + RegistryKey HEAVY_WEIGHTED_PRESSURE_PLATE = RegistryKey.of("heavy_weighted_pressure_plate"); - RegistryKey HONEY_BLOCK = RegistryKey.unsafeOf("honey_block"); + RegistryKey HONEY_BLOCK = RegistryKey.of("honey_block"); - RegistryKey HONEYCOMB_BLOCK = RegistryKey.unsafeOf("honeycomb_block"); + RegistryKey HONEYCOMB_BLOCK = RegistryKey.of("honeycomb_block"); - RegistryKey HOPPER = RegistryKey.unsafeOf("hopper"); + RegistryKey HOPPER = RegistryKey.of("hopper"); - RegistryKey HORN_CORAL = RegistryKey.unsafeOf("horn_coral"); + RegistryKey HORN_CORAL = RegistryKey.of("horn_coral"); - RegistryKey HORN_CORAL_BLOCK = RegistryKey.unsafeOf("horn_coral_block"); + RegistryKey HORN_CORAL_BLOCK = RegistryKey.of("horn_coral_block"); - RegistryKey HORN_CORAL_FAN = RegistryKey.unsafeOf("horn_coral_fan"); + RegistryKey HORN_CORAL_FAN = RegistryKey.of("horn_coral_fan"); - RegistryKey HORN_CORAL_WALL_FAN = RegistryKey.unsafeOf("horn_coral_wall_fan"); + RegistryKey HORN_CORAL_WALL_FAN = RegistryKey.of("horn_coral_wall_fan"); - RegistryKey ICE = RegistryKey.unsafeOf("ice"); + RegistryKey ICE = RegistryKey.of("ice"); - RegistryKey INFESTED_CHISELED_STONE_BRICKS = RegistryKey.unsafeOf("infested_chiseled_stone_bricks"); + RegistryKey INFESTED_CHISELED_STONE_BRICKS = RegistryKey.of("infested_chiseled_stone_bricks"); - RegistryKey INFESTED_COBBLESTONE = RegistryKey.unsafeOf("infested_cobblestone"); + RegistryKey INFESTED_COBBLESTONE = RegistryKey.of("infested_cobblestone"); - RegistryKey INFESTED_CRACKED_STONE_BRICKS = RegistryKey.unsafeOf("infested_cracked_stone_bricks"); + RegistryKey INFESTED_CRACKED_STONE_BRICKS = RegistryKey.of("infested_cracked_stone_bricks"); - RegistryKey INFESTED_DEEPSLATE = RegistryKey.unsafeOf("infested_deepslate"); + RegistryKey INFESTED_DEEPSLATE = RegistryKey.of("infested_deepslate"); - RegistryKey INFESTED_MOSSY_STONE_BRICKS = RegistryKey.unsafeOf("infested_mossy_stone_bricks"); + RegistryKey INFESTED_MOSSY_STONE_BRICKS = RegistryKey.of("infested_mossy_stone_bricks"); - RegistryKey INFESTED_STONE = RegistryKey.unsafeOf("infested_stone"); + RegistryKey INFESTED_STONE = RegistryKey.of("infested_stone"); - RegistryKey INFESTED_STONE_BRICKS = RegistryKey.unsafeOf("infested_stone_bricks"); + RegistryKey INFESTED_STONE_BRICKS = RegistryKey.of("infested_stone_bricks"); - RegistryKey IRON_BARS = RegistryKey.unsafeOf("iron_bars"); + RegistryKey IRON_BARS = RegistryKey.of("iron_bars"); - RegistryKey IRON_BLOCK = RegistryKey.unsafeOf("iron_block"); + RegistryKey IRON_BLOCK = RegistryKey.of("iron_block"); - RegistryKey IRON_CHAIN = RegistryKey.unsafeOf("iron_chain"); + RegistryKey IRON_CHAIN = RegistryKey.of("iron_chain"); - RegistryKey IRON_DOOR = RegistryKey.unsafeOf("iron_door"); + RegistryKey IRON_DOOR = RegistryKey.of("iron_door"); - RegistryKey IRON_ORE = RegistryKey.unsafeOf("iron_ore"); + RegistryKey IRON_ORE = RegistryKey.of("iron_ore"); - RegistryKey IRON_TRAPDOOR = RegistryKey.unsafeOf("iron_trapdoor"); + RegistryKey IRON_TRAPDOOR = RegistryKey.of("iron_trapdoor"); - RegistryKey JACK_O_LANTERN = RegistryKey.unsafeOf("jack_o_lantern"); + RegistryKey JACK_O_LANTERN = RegistryKey.of("jack_o_lantern"); - RegistryKey JIGSAW = RegistryKey.unsafeOf("jigsaw"); + RegistryKey JIGSAW = RegistryKey.of("jigsaw"); - RegistryKey JUKEBOX = RegistryKey.unsafeOf("jukebox"); + RegistryKey JUKEBOX = RegistryKey.of("jukebox"); - RegistryKey JUNGLE_BUTTON = RegistryKey.unsafeOf("jungle_button"); + RegistryKey JUNGLE_BUTTON = RegistryKey.of("jungle_button"); - RegistryKey JUNGLE_DOOR = RegistryKey.unsafeOf("jungle_door"); + RegistryKey JUNGLE_DOOR = RegistryKey.of("jungle_door"); - RegistryKey JUNGLE_FENCE = RegistryKey.unsafeOf("jungle_fence"); + RegistryKey JUNGLE_FENCE = RegistryKey.of("jungle_fence"); - RegistryKey JUNGLE_FENCE_GATE = RegistryKey.unsafeOf("jungle_fence_gate"); + RegistryKey JUNGLE_FENCE_GATE = RegistryKey.of("jungle_fence_gate"); - RegistryKey JUNGLE_HANGING_SIGN = RegistryKey.unsafeOf("jungle_hanging_sign"); + RegistryKey JUNGLE_HANGING_SIGN = RegistryKey.of("jungle_hanging_sign"); - RegistryKey JUNGLE_LEAVES = RegistryKey.unsafeOf("jungle_leaves"); + RegistryKey JUNGLE_LEAVES = RegistryKey.of("jungle_leaves"); - RegistryKey JUNGLE_LOG = RegistryKey.unsafeOf("jungle_log"); + RegistryKey JUNGLE_LOG = RegistryKey.of("jungle_log"); - RegistryKey JUNGLE_PLANKS = RegistryKey.unsafeOf("jungle_planks"); + RegistryKey JUNGLE_PLANKS = RegistryKey.of("jungle_planks"); - RegistryKey JUNGLE_PRESSURE_PLATE = RegistryKey.unsafeOf("jungle_pressure_plate"); + RegistryKey JUNGLE_PRESSURE_PLATE = RegistryKey.of("jungle_pressure_plate"); - RegistryKey JUNGLE_SAPLING = RegistryKey.unsafeOf("jungle_sapling"); + RegistryKey JUNGLE_SAPLING = RegistryKey.of("jungle_sapling"); - RegistryKey JUNGLE_SHELF = RegistryKey.unsafeOf("jungle_shelf"); + RegistryKey JUNGLE_SHELF = RegistryKey.of("jungle_shelf"); - RegistryKey JUNGLE_SIGN = RegistryKey.unsafeOf("jungle_sign"); + RegistryKey JUNGLE_SIGN = RegistryKey.of("jungle_sign"); - RegistryKey JUNGLE_SLAB = RegistryKey.unsafeOf("jungle_slab"); + RegistryKey JUNGLE_SLAB = RegistryKey.of("jungle_slab"); - RegistryKey JUNGLE_STAIRS = RegistryKey.unsafeOf("jungle_stairs"); + RegistryKey JUNGLE_STAIRS = RegistryKey.of("jungle_stairs"); - RegistryKey JUNGLE_TRAPDOOR = RegistryKey.unsafeOf("jungle_trapdoor"); + RegistryKey JUNGLE_TRAPDOOR = RegistryKey.of("jungle_trapdoor"); - RegistryKey JUNGLE_WALL_HANGING_SIGN = RegistryKey.unsafeOf("jungle_wall_hanging_sign"); + RegistryKey JUNGLE_WALL_HANGING_SIGN = RegistryKey.of("jungle_wall_hanging_sign"); - RegistryKey JUNGLE_WALL_SIGN = RegistryKey.unsafeOf("jungle_wall_sign"); + RegistryKey JUNGLE_WALL_SIGN = RegistryKey.of("jungle_wall_sign"); - RegistryKey JUNGLE_WOOD = RegistryKey.unsafeOf("jungle_wood"); + RegistryKey JUNGLE_WOOD = RegistryKey.of("jungle_wood"); - RegistryKey KELP = RegistryKey.unsafeOf("kelp"); + RegistryKey KELP = RegistryKey.of("kelp"); - RegistryKey KELP_PLANT = RegistryKey.unsafeOf("kelp_plant"); + RegistryKey KELP_PLANT = RegistryKey.of("kelp_plant"); - RegistryKey LADDER = RegistryKey.unsafeOf("ladder"); + RegistryKey LADDER = RegistryKey.of("ladder"); - RegistryKey LANTERN = RegistryKey.unsafeOf("lantern"); + RegistryKey LANTERN = RegistryKey.of("lantern"); - RegistryKey LAPIS_BLOCK = RegistryKey.unsafeOf("lapis_block"); + RegistryKey LAPIS_BLOCK = RegistryKey.of("lapis_block"); - RegistryKey LAPIS_ORE = RegistryKey.unsafeOf("lapis_ore"); + RegistryKey LAPIS_ORE = RegistryKey.of("lapis_ore"); - RegistryKey LARGE_AMETHYST_BUD = RegistryKey.unsafeOf("large_amethyst_bud"); + RegistryKey LARGE_AMETHYST_BUD = RegistryKey.of("large_amethyst_bud"); - RegistryKey LARGE_FERN = RegistryKey.unsafeOf("large_fern"); + RegistryKey LARGE_FERN = RegistryKey.of("large_fern"); - RegistryKey LAVA = RegistryKey.unsafeOf("lava"); + RegistryKey LAVA = RegistryKey.of("lava"); - RegistryKey LAVA_CAULDRON = RegistryKey.unsafeOf("lava_cauldron"); + RegistryKey LAVA_CAULDRON = RegistryKey.of("lava_cauldron"); - RegistryKey LEAF_LITTER = RegistryKey.unsafeOf("leaf_litter"); + RegistryKey LEAF_LITTER = RegistryKey.of("leaf_litter"); - RegistryKey LECTERN = RegistryKey.unsafeOf("lectern"); + RegistryKey LECTERN = RegistryKey.of("lectern"); - RegistryKey LEVER = RegistryKey.unsafeOf("lever"); + RegistryKey LEVER = RegistryKey.of("lever"); - RegistryKey LIGHT = RegistryKey.unsafeOf("light"); + RegistryKey LIGHT = RegistryKey.of("light"); - RegistryKey LIGHT_BLUE_BANNER = RegistryKey.unsafeOf("light_blue_banner"); + RegistryKey LIGHT_BLUE_BANNER = RegistryKey.of("light_blue_banner"); - RegistryKey LIGHT_BLUE_BED = RegistryKey.unsafeOf("light_blue_bed"); + RegistryKey LIGHT_BLUE_BED = RegistryKey.of("light_blue_bed"); - RegistryKey LIGHT_BLUE_CANDLE = RegistryKey.unsafeOf("light_blue_candle"); + RegistryKey LIGHT_BLUE_CANDLE = RegistryKey.of("light_blue_candle"); - RegistryKey LIGHT_BLUE_CANDLE_CAKE = RegistryKey.unsafeOf("light_blue_candle_cake"); + RegistryKey LIGHT_BLUE_CANDLE_CAKE = RegistryKey.of("light_blue_candle_cake"); - RegistryKey LIGHT_BLUE_CARPET = RegistryKey.unsafeOf("light_blue_carpet"); + RegistryKey LIGHT_BLUE_CARPET = RegistryKey.of("light_blue_carpet"); - RegistryKey LIGHT_BLUE_CONCRETE = RegistryKey.unsafeOf("light_blue_concrete"); + RegistryKey LIGHT_BLUE_CONCRETE = RegistryKey.of("light_blue_concrete"); - RegistryKey LIGHT_BLUE_CONCRETE_POWDER = RegistryKey.unsafeOf("light_blue_concrete_powder"); + RegistryKey LIGHT_BLUE_CONCRETE_POWDER = RegistryKey.of("light_blue_concrete_powder"); - RegistryKey LIGHT_BLUE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("light_blue_glazed_terracotta"); + RegistryKey LIGHT_BLUE_GLAZED_TERRACOTTA = RegistryKey.of("light_blue_glazed_terracotta"); - RegistryKey LIGHT_BLUE_SHULKER_BOX = RegistryKey.unsafeOf("light_blue_shulker_box"); + RegistryKey LIGHT_BLUE_SHULKER_BOX = RegistryKey.of("light_blue_shulker_box"); - RegistryKey LIGHT_BLUE_STAINED_GLASS = RegistryKey.unsafeOf("light_blue_stained_glass"); + RegistryKey LIGHT_BLUE_STAINED_GLASS = RegistryKey.of("light_blue_stained_glass"); - RegistryKey LIGHT_BLUE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("light_blue_stained_glass_pane"); + RegistryKey LIGHT_BLUE_STAINED_GLASS_PANE = RegistryKey.of("light_blue_stained_glass_pane"); - RegistryKey LIGHT_BLUE_TERRACOTTA = RegistryKey.unsafeOf("light_blue_terracotta"); + RegistryKey LIGHT_BLUE_TERRACOTTA = RegistryKey.of("light_blue_terracotta"); - RegistryKey LIGHT_BLUE_WALL_BANNER = RegistryKey.unsafeOf("light_blue_wall_banner"); + RegistryKey LIGHT_BLUE_WALL_BANNER = RegistryKey.of("light_blue_wall_banner"); - RegistryKey LIGHT_BLUE_WOOL = RegistryKey.unsafeOf("light_blue_wool"); + RegistryKey LIGHT_BLUE_WOOL = RegistryKey.of("light_blue_wool"); - RegistryKey LIGHT_GRAY_BANNER = RegistryKey.unsafeOf("light_gray_banner"); + RegistryKey LIGHT_GRAY_BANNER = RegistryKey.of("light_gray_banner"); - RegistryKey LIGHT_GRAY_BED = RegistryKey.unsafeOf("light_gray_bed"); + RegistryKey LIGHT_GRAY_BED = RegistryKey.of("light_gray_bed"); - RegistryKey LIGHT_GRAY_CANDLE = RegistryKey.unsafeOf("light_gray_candle"); + RegistryKey LIGHT_GRAY_CANDLE = RegistryKey.of("light_gray_candle"); - RegistryKey LIGHT_GRAY_CANDLE_CAKE = RegistryKey.unsafeOf("light_gray_candle_cake"); + RegistryKey LIGHT_GRAY_CANDLE_CAKE = RegistryKey.of("light_gray_candle_cake"); - RegistryKey LIGHT_GRAY_CARPET = RegistryKey.unsafeOf("light_gray_carpet"); + RegistryKey LIGHT_GRAY_CARPET = RegistryKey.of("light_gray_carpet"); - RegistryKey LIGHT_GRAY_CONCRETE = RegistryKey.unsafeOf("light_gray_concrete"); + RegistryKey LIGHT_GRAY_CONCRETE = RegistryKey.of("light_gray_concrete"); - RegistryKey LIGHT_GRAY_CONCRETE_POWDER = RegistryKey.unsafeOf("light_gray_concrete_powder"); + RegistryKey LIGHT_GRAY_CONCRETE_POWDER = RegistryKey.of("light_gray_concrete_powder"); - RegistryKey LIGHT_GRAY_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("light_gray_glazed_terracotta"); + RegistryKey LIGHT_GRAY_GLAZED_TERRACOTTA = RegistryKey.of("light_gray_glazed_terracotta"); - RegistryKey LIGHT_GRAY_SHULKER_BOX = RegistryKey.unsafeOf("light_gray_shulker_box"); + RegistryKey LIGHT_GRAY_SHULKER_BOX = RegistryKey.of("light_gray_shulker_box"); - RegistryKey LIGHT_GRAY_STAINED_GLASS = RegistryKey.unsafeOf("light_gray_stained_glass"); + RegistryKey LIGHT_GRAY_STAINED_GLASS = RegistryKey.of("light_gray_stained_glass"); - RegistryKey LIGHT_GRAY_STAINED_GLASS_PANE = RegistryKey.unsafeOf("light_gray_stained_glass_pane"); + RegistryKey LIGHT_GRAY_STAINED_GLASS_PANE = RegistryKey.of("light_gray_stained_glass_pane"); - RegistryKey LIGHT_GRAY_TERRACOTTA = RegistryKey.unsafeOf("light_gray_terracotta"); + RegistryKey LIGHT_GRAY_TERRACOTTA = RegistryKey.of("light_gray_terracotta"); - RegistryKey LIGHT_GRAY_WALL_BANNER = RegistryKey.unsafeOf("light_gray_wall_banner"); + RegistryKey LIGHT_GRAY_WALL_BANNER = RegistryKey.of("light_gray_wall_banner"); - RegistryKey LIGHT_GRAY_WOOL = RegistryKey.unsafeOf("light_gray_wool"); + RegistryKey LIGHT_GRAY_WOOL = RegistryKey.of("light_gray_wool"); - RegistryKey LIGHT_WEIGHTED_PRESSURE_PLATE = RegistryKey.unsafeOf("light_weighted_pressure_plate"); + RegistryKey LIGHT_WEIGHTED_PRESSURE_PLATE = RegistryKey.of("light_weighted_pressure_plate"); - RegistryKey LIGHTNING_ROD = RegistryKey.unsafeOf("lightning_rod"); + RegistryKey LIGHTNING_ROD = RegistryKey.of("lightning_rod"); - RegistryKey LILAC = RegistryKey.unsafeOf("lilac"); + RegistryKey LILAC = RegistryKey.of("lilac"); - RegistryKey LILY_OF_THE_VALLEY = RegistryKey.unsafeOf("lily_of_the_valley"); + RegistryKey LILY_OF_THE_VALLEY = RegistryKey.of("lily_of_the_valley"); - RegistryKey LILY_PAD = RegistryKey.unsafeOf("lily_pad"); + RegistryKey LILY_PAD = RegistryKey.of("lily_pad"); - RegistryKey LIME_BANNER = RegistryKey.unsafeOf("lime_banner"); + RegistryKey LIME_BANNER = RegistryKey.of("lime_banner"); - RegistryKey LIME_BED = RegistryKey.unsafeOf("lime_bed"); + RegistryKey LIME_BED = RegistryKey.of("lime_bed"); - RegistryKey LIME_CANDLE = RegistryKey.unsafeOf("lime_candle"); + RegistryKey LIME_CANDLE = RegistryKey.of("lime_candle"); - RegistryKey LIME_CANDLE_CAKE = RegistryKey.unsafeOf("lime_candle_cake"); + RegistryKey LIME_CANDLE_CAKE = RegistryKey.of("lime_candle_cake"); - RegistryKey LIME_CARPET = RegistryKey.unsafeOf("lime_carpet"); + RegistryKey LIME_CARPET = RegistryKey.of("lime_carpet"); - RegistryKey LIME_CONCRETE = RegistryKey.unsafeOf("lime_concrete"); + RegistryKey LIME_CONCRETE = RegistryKey.of("lime_concrete"); - RegistryKey LIME_CONCRETE_POWDER = RegistryKey.unsafeOf("lime_concrete_powder"); + RegistryKey LIME_CONCRETE_POWDER = RegistryKey.of("lime_concrete_powder"); - RegistryKey LIME_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("lime_glazed_terracotta"); + RegistryKey LIME_GLAZED_TERRACOTTA = RegistryKey.of("lime_glazed_terracotta"); - RegistryKey LIME_SHULKER_BOX = RegistryKey.unsafeOf("lime_shulker_box"); + RegistryKey LIME_SHULKER_BOX = RegistryKey.of("lime_shulker_box"); - RegistryKey LIME_STAINED_GLASS = RegistryKey.unsafeOf("lime_stained_glass"); + RegistryKey LIME_STAINED_GLASS = RegistryKey.of("lime_stained_glass"); - RegistryKey LIME_STAINED_GLASS_PANE = RegistryKey.unsafeOf("lime_stained_glass_pane"); + RegistryKey LIME_STAINED_GLASS_PANE = RegistryKey.of("lime_stained_glass_pane"); - RegistryKey LIME_TERRACOTTA = RegistryKey.unsafeOf("lime_terracotta"); + RegistryKey LIME_TERRACOTTA = RegistryKey.of("lime_terracotta"); - RegistryKey LIME_WALL_BANNER = RegistryKey.unsafeOf("lime_wall_banner"); + RegistryKey LIME_WALL_BANNER = RegistryKey.of("lime_wall_banner"); - RegistryKey LIME_WOOL = RegistryKey.unsafeOf("lime_wool"); + RegistryKey LIME_WOOL = RegistryKey.of("lime_wool"); - RegistryKey LODESTONE = RegistryKey.unsafeOf("lodestone"); + RegistryKey LODESTONE = RegistryKey.of("lodestone"); - RegistryKey LOOM = RegistryKey.unsafeOf("loom"); + RegistryKey LOOM = RegistryKey.of("loom"); - RegistryKey MAGENTA_BANNER = RegistryKey.unsafeOf("magenta_banner"); + RegistryKey MAGENTA_BANNER = RegistryKey.of("magenta_banner"); - RegistryKey MAGENTA_BED = RegistryKey.unsafeOf("magenta_bed"); + RegistryKey MAGENTA_BED = RegistryKey.of("magenta_bed"); - RegistryKey MAGENTA_CANDLE = RegistryKey.unsafeOf("magenta_candle"); + RegistryKey MAGENTA_CANDLE = RegistryKey.of("magenta_candle"); - RegistryKey MAGENTA_CANDLE_CAKE = RegistryKey.unsafeOf("magenta_candle_cake"); + RegistryKey MAGENTA_CANDLE_CAKE = RegistryKey.of("magenta_candle_cake"); - RegistryKey MAGENTA_CARPET = RegistryKey.unsafeOf("magenta_carpet"); + RegistryKey MAGENTA_CARPET = RegistryKey.of("magenta_carpet"); - RegistryKey MAGENTA_CONCRETE = RegistryKey.unsafeOf("magenta_concrete"); + RegistryKey MAGENTA_CONCRETE = RegistryKey.of("magenta_concrete"); - RegistryKey MAGENTA_CONCRETE_POWDER = RegistryKey.unsafeOf("magenta_concrete_powder"); + RegistryKey MAGENTA_CONCRETE_POWDER = RegistryKey.of("magenta_concrete_powder"); - RegistryKey MAGENTA_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("magenta_glazed_terracotta"); + RegistryKey MAGENTA_GLAZED_TERRACOTTA = RegistryKey.of("magenta_glazed_terracotta"); - RegistryKey MAGENTA_SHULKER_BOX = RegistryKey.unsafeOf("magenta_shulker_box"); + RegistryKey MAGENTA_SHULKER_BOX = RegistryKey.of("magenta_shulker_box"); - RegistryKey MAGENTA_STAINED_GLASS = RegistryKey.unsafeOf("magenta_stained_glass"); + RegistryKey MAGENTA_STAINED_GLASS = RegistryKey.of("magenta_stained_glass"); - RegistryKey MAGENTA_STAINED_GLASS_PANE = RegistryKey.unsafeOf("magenta_stained_glass_pane"); + RegistryKey MAGENTA_STAINED_GLASS_PANE = RegistryKey.of("magenta_stained_glass_pane"); - RegistryKey MAGENTA_TERRACOTTA = RegistryKey.unsafeOf("magenta_terracotta"); + RegistryKey MAGENTA_TERRACOTTA = RegistryKey.of("magenta_terracotta"); - RegistryKey MAGENTA_WALL_BANNER = RegistryKey.unsafeOf("magenta_wall_banner"); + RegistryKey MAGENTA_WALL_BANNER = RegistryKey.of("magenta_wall_banner"); - RegistryKey MAGENTA_WOOL = RegistryKey.unsafeOf("magenta_wool"); + RegistryKey MAGENTA_WOOL = RegistryKey.of("magenta_wool"); - RegistryKey MAGMA_BLOCK = RegistryKey.unsafeOf("magma_block"); + RegistryKey MAGMA_BLOCK = RegistryKey.of("magma_block"); - RegistryKey MANGROVE_BUTTON = RegistryKey.unsafeOf("mangrove_button"); + RegistryKey MANGROVE_BUTTON = RegistryKey.of("mangrove_button"); - RegistryKey MANGROVE_DOOR = RegistryKey.unsafeOf("mangrove_door"); + RegistryKey MANGROVE_DOOR = RegistryKey.of("mangrove_door"); - RegistryKey MANGROVE_FENCE = RegistryKey.unsafeOf("mangrove_fence"); + RegistryKey MANGROVE_FENCE = RegistryKey.of("mangrove_fence"); - RegistryKey MANGROVE_FENCE_GATE = RegistryKey.unsafeOf("mangrove_fence_gate"); + RegistryKey MANGROVE_FENCE_GATE = RegistryKey.of("mangrove_fence_gate"); - RegistryKey MANGROVE_HANGING_SIGN = RegistryKey.unsafeOf("mangrove_hanging_sign"); + RegistryKey MANGROVE_HANGING_SIGN = RegistryKey.of("mangrove_hanging_sign"); - RegistryKey MANGROVE_LEAVES = RegistryKey.unsafeOf("mangrove_leaves"); + RegistryKey MANGROVE_LEAVES = RegistryKey.of("mangrove_leaves"); - RegistryKey MANGROVE_LOG = RegistryKey.unsafeOf("mangrove_log"); + RegistryKey MANGROVE_LOG = RegistryKey.of("mangrove_log"); - RegistryKey MANGROVE_PLANKS = RegistryKey.unsafeOf("mangrove_planks"); + RegistryKey MANGROVE_PLANKS = RegistryKey.of("mangrove_planks"); - RegistryKey MANGROVE_PRESSURE_PLATE = RegistryKey.unsafeOf("mangrove_pressure_plate"); + RegistryKey MANGROVE_PRESSURE_PLATE = RegistryKey.of("mangrove_pressure_plate"); - RegistryKey MANGROVE_PROPAGULE = RegistryKey.unsafeOf("mangrove_propagule"); + RegistryKey MANGROVE_PROPAGULE = RegistryKey.of("mangrove_propagule"); - RegistryKey MANGROVE_ROOTS = RegistryKey.unsafeOf("mangrove_roots"); + RegistryKey MANGROVE_ROOTS = RegistryKey.of("mangrove_roots"); - RegistryKey MANGROVE_SHELF = RegistryKey.unsafeOf("mangrove_shelf"); + RegistryKey MANGROVE_SHELF = RegistryKey.of("mangrove_shelf"); - RegistryKey MANGROVE_SIGN = RegistryKey.unsafeOf("mangrove_sign"); + RegistryKey MANGROVE_SIGN = RegistryKey.of("mangrove_sign"); - RegistryKey MANGROVE_SLAB = RegistryKey.unsafeOf("mangrove_slab"); + RegistryKey MANGROVE_SLAB = RegistryKey.of("mangrove_slab"); - RegistryKey MANGROVE_STAIRS = RegistryKey.unsafeOf("mangrove_stairs"); + RegistryKey MANGROVE_STAIRS = RegistryKey.of("mangrove_stairs"); - RegistryKey MANGROVE_TRAPDOOR = RegistryKey.unsafeOf("mangrove_trapdoor"); + RegistryKey MANGROVE_TRAPDOOR = RegistryKey.of("mangrove_trapdoor"); - RegistryKey MANGROVE_WALL_HANGING_SIGN = RegistryKey.unsafeOf("mangrove_wall_hanging_sign"); + RegistryKey MANGROVE_WALL_HANGING_SIGN = RegistryKey.of("mangrove_wall_hanging_sign"); - RegistryKey MANGROVE_WALL_SIGN = RegistryKey.unsafeOf("mangrove_wall_sign"); + RegistryKey MANGROVE_WALL_SIGN = RegistryKey.of("mangrove_wall_sign"); - RegistryKey MANGROVE_WOOD = RegistryKey.unsafeOf("mangrove_wood"); + RegistryKey MANGROVE_WOOD = RegistryKey.of("mangrove_wood"); - RegistryKey MEDIUM_AMETHYST_BUD = RegistryKey.unsafeOf("medium_amethyst_bud"); + RegistryKey MEDIUM_AMETHYST_BUD = RegistryKey.of("medium_amethyst_bud"); - RegistryKey MELON = RegistryKey.unsafeOf("melon"); + RegistryKey MELON = RegistryKey.of("melon"); - RegistryKey MELON_STEM = RegistryKey.unsafeOf("melon_stem"); + RegistryKey MELON_STEM = RegistryKey.of("melon_stem"); - RegistryKey MOSS_BLOCK = RegistryKey.unsafeOf("moss_block"); + RegistryKey MOSS_BLOCK = RegistryKey.of("moss_block"); - RegistryKey MOSS_CARPET = RegistryKey.unsafeOf("moss_carpet"); + RegistryKey MOSS_CARPET = RegistryKey.of("moss_carpet"); - RegistryKey MOSSY_COBBLESTONE = RegistryKey.unsafeOf("mossy_cobblestone"); + RegistryKey MOSSY_COBBLESTONE = RegistryKey.of("mossy_cobblestone"); - RegistryKey MOSSY_COBBLESTONE_SLAB = RegistryKey.unsafeOf("mossy_cobblestone_slab"); + RegistryKey MOSSY_COBBLESTONE_SLAB = RegistryKey.of("mossy_cobblestone_slab"); - RegistryKey MOSSY_COBBLESTONE_STAIRS = RegistryKey.unsafeOf("mossy_cobblestone_stairs"); + RegistryKey MOSSY_COBBLESTONE_STAIRS = RegistryKey.of("mossy_cobblestone_stairs"); - RegistryKey MOSSY_COBBLESTONE_WALL = RegistryKey.unsafeOf("mossy_cobblestone_wall"); + RegistryKey MOSSY_COBBLESTONE_WALL = RegistryKey.of("mossy_cobblestone_wall"); - RegistryKey MOSSY_STONE_BRICK_SLAB = RegistryKey.unsafeOf("mossy_stone_brick_slab"); + RegistryKey MOSSY_STONE_BRICK_SLAB = RegistryKey.of("mossy_stone_brick_slab"); - RegistryKey MOSSY_STONE_BRICK_STAIRS = RegistryKey.unsafeOf("mossy_stone_brick_stairs"); + RegistryKey MOSSY_STONE_BRICK_STAIRS = RegistryKey.of("mossy_stone_brick_stairs"); - RegistryKey MOSSY_STONE_BRICK_WALL = RegistryKey.unsafeOf("mossy_stone_brick_wall"); + RegistryKey MOSSY_STONE_BRICK_WALL = RegistryKey.of("mossy_stone_brick_wall"); - RegistryKey MOSSY_STONE_BRICKS = RegistryKey.unsafeOf("mossy_stone_bricks"); + RegistryKey MOSSY_STONE_BRICKS = RegistryKey.of("mossy_stone_bricks"); - RegistryKey MOVING_PISTON = RegistryKey.unsafeOf("moving_piston"); + RegistryKey MOVING_PISTON = RegistryKey.of("moving_piston"); - RegistryKey MUD = RegistryKey.unsafeOf("mud"); + RegistryKey MUD = RegistryKey.of("mud"); - RegistryKey MUD_BRICK_SLAB = RegistryKey.unsafeOf("mud_brick_slab"); + RegistryKey MUD_BRICK_SLAB = RegistryKey.of("mud_brick_slab"); - RegistryKey MUD_BRICK_STAIRS = RegistryKey.unsafeOf("mud_brick_stairs"); + RegistryKey MUD_BRICK_STAIRS = RegistryKey.of("mud_brick_stairs"); - RegistryKey MUD_BRICK_WALL = RegistryKey.unsafeOf("mud_brick_wall"); + RegistryKey MUD_BRICK_WALL = RegistryKey.of("mud_brick_wall"); - RegistryKey MUD_BRICKS = RegistryKey.unsafeOf("mud_bricks"); + RegistryKey MUD_BRICKS = RegistryKey.of("mud_bricks"); - RegistryKey MUDDY_MANGROVE_ROOTS = RegistryKey.unsafeOf("muddy_mangrove_roots"); + RegistryKey MUDDY_MANGROVE_ROOTS = RegistryKey.of("muddy_mangrove_roots"); - RegistryKey MUSHROOM_STEM = RegistryKey.unsafeOf("mushroom_stem"); + RegistryKey MUSHROOM_STEM = RegistryKey.of("mushroom_stem"); - RegistryKey MYCELIUM = RegistryKey.unsafeOf("mycelium"); + RegistryKey MYCELIUM = RegistryKey.of("mycelium"); - RegistryKey NETHER_BRICK_FENCE = RegistryKey.unsafeOf("nether_brick_fence"); + RegistryKey NETHER_BRICK_FENCE = RegistryKey.of("nether_brick_fence"); - RegistryKey NETHER_BRICK_SLAB = RegistryKey.unsafeOf("nether_brick_slab"); + RegistryKey NETHER_BRICK_SLAB = RegistryKey.of("nether_brick_slab"); - RegistryKey NETHER_BRICK_STAIRS = RegistryKey.unsafeOf("nether_brick_stairs"); + RegistryKey NETHER_BRICK_STAIRS = RegistryKey.of("nether_brick_stairs"); - RegistryKey NETHER_BRICK_WALL = RegistryKey.unsafeOf("nether_brick_wall"); + RegistryKey NETHER_BRICK_WALL = RegistryKey.of("nether_brick_wall"); - RegistryKey NETHER_BRICKS = RegistryKey.unsafeOf("nether_bricks"); + RegistryKey NETHER_BRICKS = RegistryKey.of("nether_bricks"); - RegistryKey NETHER_GOLD_ORE = RegistryKey.unsafeOf("nether_gold_ore"); + RegistryKey NETHER_GOLD_ORE = RegistryKey.of("nether_gold_ore"); - RegistryKey NETHER_PORTAL = RegistryKey.unsafeOf("nether_portal"); + RegistryKey NETHER_PORTAL = RegistryKey.of("nether_portal"); - RegistryKey NETHER_QUARTZ_ORE = RegistryKey.unsafeOf("nether_quartz_ore"); + RegistryKey NETHER_QUARTZ_ORE = RegistryKey.of("nether_quartz_ore"); - RegistryKey NETHER_SPROUTS = RegistryKey.unsafeOf("nether_sprouts"); + RegistryKey NETHER_SPROUTS = RegistryKey.of("nether_sprouts"); - RegistryKey NETHER_WART = RegistryKey.unsafeOf("nether_wart"); + RegistryKey NETHER_WART = RegistryKey.of("nether_wart"); - RegistryKey NETHER_WART_BLOCK = RegistryKey.unsafeOf("nether_wart_block"); + RegistryKey NETHER_WART_BLOCK = RegistryKey.of("nether_wart_block"); - RegistryKey NETHERITE_BLOCK = RegistryKey.unsafeOf("netherite_block"); + RegistryKey NETHERITE_BLOCK = RegistryKey.of("netherite_block"); - RegistryKey NETHERRACK = RegistryKey.unsafeOf("netherrack"); + RegistryKey NETHERRACK = RegistryKey.of("netherrack"); - RegistryKey NOTE_BLOCK = RegistryKey.unsafeOf("note_block"); + RegistryKey NOTE_BLOCK = RegistryKey.of("note_block"); - RegistryKey OAK_BUTTON = RegistryKey.unsafeOf("oak_button"); + RegistryKey OAK_BUTTON = RegistryKey.of("oak_button"); - RegistryKey OAK_DOOR = RegistryKey.unsafeOf("oak_door"); + RegistryKey OAK_DOOR = RegistryKey.of("oak_door"); - RegistryKey OAK_FENCE = RegistryKey.unsafeOf("oak_fence"); + RegistryKey OAK_FENCE = RegistryKey.of("oak_fence"); - RegistryKey OAK_FENCE_GATE = RegistryKey.unsafeOf("oak_fence_gate"); + RegistryKey OAK_FENCE_GATE = RegistryKey.of("oak_fence_gate"); - RegistryKey OAK_HANGING_SIGN = RegistryKey.unsafeOf("oak_hanging_sign"); + RegistryKey OAK_HANGING_SIGN = RegistryKey.of("oak_hanging_sign"); - RegistryKey OAK_LEAVES = RegistryKey.unsafeOf("oak_leaves"); + RegistryKey OAK_LEAVES = RegistryKey.of("oak_leaves"); - RegistryKey OAK_LOG = RegistryKey.unsafeOf("oak_log"); + RegistryKey OAK_LOG = RegistryKey.of("oak_log"); - RegistryKey OAK_PLANKS = RegistryKey.unsafeOf("oak_planks"); + RegistryKey OAK_PLANKS = RegistryKey.of("oak_planks"); - RegistryKey OAK_PRESSURE_PLATE = RegistryKey.unsafeOf("oak_pressure_plate"); + RegistryKey OAK_PRESSURE_PLATE = RegistryKey.of("oak_pressure_plate"); - RegistryKey OAK_SAPLING = RegistryKey.unsafeOf("oak_sapling"); + RegistryKey OAK_SAPLING = RegistryKey.of("oak_sapling"); - RegistryKey OAK_SHELF = RegistryKey.unsafeOf("oak_shelf"); + RegistryKey OAK_SHELF = RegistryKey.of("oak_shelf"); - RegistryKey OAK_SIGN = RegistryKey.unsafeOf("oak_sign"); + RegistryKey OAK_SIGN = RegistryKey.of("oak_sign"); - RegistryKey OAK_SLAB = RegistryKey.unsafeOf("oak_slab"); + RegistryKey OAK_SLAB = RegistryKey.of("oak_slab"); - RegistryKey OAK_STAIRS = RegistryKey.unsafeOf("oak_stairs"); + RegistryKey OAK_STAIRS = RegistryKey.of("oak_stairs"); - RegistryKey OAK_TRAPDOOR = RegistryKey.unsafeOf("oak_trapdoor"); + RegistryKey OAK_TRAPDOOR = RegistryKey.of("oak_trapdoor"); - RegistryKey OAK_WALL_HANGING_SIGN = RegistryKey.unsafeOf("oak_wall_hanging_sign"); + RegistryKey OAK_WALL_HANGING_SIGN = RegistryKey.of("oak_wall_hanging_sign"); - RegistryKey OAK_WALL_SIGN = RegistryKey.unsafeOf("oak_wall_sign"); + RegistryKey OAK_WALL_SIGN = RegistryKey.of("oak_wall_sign"); - RegistryKey OAK_WOOD = RegistryKey.unsafeOf("oak_wood"); + RegistryKey OAK_WOOD = RegistryKey.of("oak_wood"); - RegistryKey OBSERVER = RegistryKey.unsafeOf("observer"); + RegistryKey OBSERVER = RegistryKey.of("observer"); - RegistryKey OBSIDIAN = RegistryKey.unsafeOf("obsidian"); + RegistryKey OBSIDIAN = RegistryKey.of("obsidian"); - RegistryKey OCHRE_FROGLIGHT = RegistryKey.unsafeOf("ochre_froglight"); + RegistryKey OCHRE_FROGLIGHT = RegistryKey.of("ochre_froglight"); - RegistryKey OPEN_EYEBLOSSOM = RegistryKey.unsafeOf("open_eyeblossom"); + RegistryKey OPEN_EYEBLOSSOM = RegistryKey.of("open_eyeblossom"); - RegistryKey ORANGE_BANNER = RegistryKey.unsafeOf("orange_banner"); + RegistryKey ORANGE_BANNER = RegistryKey.of("orange_banner"); - RegistryKey ORANGE_BED = RegistryKey.unsafeOf("orange_bed"); + RegistryKey ORANGE_BED = RegistryKey.of("orange_bed"); - RegistryKey ORANGE_CANDLE = RegistryKey.unsafeOf("orange_candle"); + RegistryKey ORANGE_CANDLE = RegistryKey.of("orange_candle"); - RegistryKey ORANGE_CANDLE_CAKE = RegistryKey.unsafeOf("orange_candle_cake"); + RegistryKey ORANGE_CANDLE_CAKE = RegistryKey.of("orange_candle_cake"); - RegistryKey ORANGE_CARPET = RegistryKey.unsafeOf("orange_carpet"); + RegistryKey ORANGE_CARPET = RegistryKey.of("orange_carpet"); - RegistryKey ORANGE_CONCRETE = RegistryKey.unsafeOf("orange_concrete"); + RegistryKey ORANGE_CONCRETE = RegistryKey.of("orange_concrete"); - RegistryKey ORANGE_CONCRETE_POWDER = RegistryKey.unsafeOf("orange_concrete_powder"); + RegistryKey ORANGE_CONCRETE_POWDER = RegistryKey.of("orange_concrete_powder"); - RegistryKey ORANGE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("orange_glazed_terracotta"); + RegistryKey ORANGE_GLAZED_TERRACOTTA = RegistryKey.of("orange_glazed_terracotta"); - RegistryKey ORANGE_SHULKER_BOX = RegistryKey.unsafeOf("orange_shulker_box"); + RegistryKey ORANGE_SHULKER_BOX = RegistryKey.of("orange_shulker_box"); - RegistryKey ORANGE_STAINED_GLASS = RegistryKey.unsafeOf("orange_stained_glass"); + RegistryKey ORANGE_STAINED_GLASS = RegistryKey.of("orange_stained_glass"); - RegistryKey ORANGE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("orange_stained_glass_pane"); + RegistryKey ORANGE_STAINED_GLASS_PANE = RegistryKey.of("orange_stained_glass_pane"); - RegistryKey ORANGE_TERRACOTTA = RegistryKey.unsafeOf("orange_terracotta"); + RegistryKey ORANGE_TERRACOTTA = RegistryKey.of("orange_terracotta"); - RegistryKey ORANGE_TULIP = RegistryKey.unsafeOf("orange_tulip"); + RegistryKey ORANGE_TULIP = RegistryKey.of("orange_tulip"); - RegistryKey ORANGE_WALL_BANNER = RegistryKey.unsafeOf("orange_wall_banner"); + RegistryKey ORANGE_WALL_BANNER = RegistryKey.of("orange_wall_banner"); - RegistryKey ORANGE_WOOL = RegistryKey.unsafeOf("orange_wool"); + RegistryKey ORANGE_WOOL = RegistryKey.of("orange_wool"); - RegistryKey OXEYE_DAISY = RegistryKey.unsafeOf("oxeye_daisy"); + RegistryKey OXEYE_DAISY = RegistryKey.of("oxeye_daisy"); - RegistryKey OXIDIZED_CHISELED_COPPER = RegistryKey.unsafeOf("oxidized_chiseled_copper"); + RegistryKey OXIDIZED_CHISELED_COPPER = RegistryKey.of("oxidized_chiseled_copper"); - RegistryKey OXIDIZED_COPPER = RegistryKey.unsafeOf("oxidized_copper"); + RegistryKey OXIDIZED_COPPER = RegistryKey.of("oxidized_copper"); - RegistryKey OXIDIZED_COPPER_BARS = RegistryKey.unsafeOf("oxidized_copper_bars"); + RegistryKey OXIDIZED_COPPER_BARS = RegistryKey.of("oxidized_copper_bars"); - RegistryKey OXIDIZED_COPPER_BULB = RegistryKey.unsafeOf("oxidized_copper_bulb"); + RegistryKey OXIDIZED_COPPER_BULB = RegistryKey.of("oxidized_copper_bulb"); - RegistryKey OXIDIZED_COPPER_CHAIN = RegistryKey.unsafeOf("oxidized_copper_chain"); + RegistryKey OXIDIZED_COPPER_CHAIN = RegistryKey.of("oxidized_copper_chain"); - RegistryKey OXIDIZED_COPPER_CHEST = RegistryKey.unsafeOf("oxidized_copper_chest"); + RegistryKey OXIDIZED_COPPER_CHEST = RegistryKey.of("oxidized_copper_chest"); - RegistryKey OXIDIZED_COPPER_DOOR = RegistryKey.unsafeOf("oxidized_copper_door"); + RegistryKey OXIDIZED_COPPER_DOOR = RegistryKey.of("oxidized_copper_door"); - RegistryKey OXIDIZED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("oxidized_copper_golem_statue"); + RegistryKey OXIDIZED_COPPER_GOLEM_STATUE = RegistryKey.of("oxidized_copper_golem_statue"); - RegistryKey OXIDIZED_COPPER_GRATE = RegistryKey.unsafeOf("oxidized_copper_grate"); + RegistryKey OXIDIZED_COPPER_GRATE = RegistryKey.of("oxidized_copper_grate"); - RegistryKey OXIDIZED_COPPER_LANTERN = RegistryKey.unsafeOf("oxidized_copper_lantern"); + RegistryKey OXIDIZED_COPPER_LANTERN = RegistryKey.of("oxidized_copper_lantern"); - RegistryKey OXIDIZED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("oxidized_copper_trapdoor"); + RegistryKey OXIDIZED_COPPER_TRAPDOOR = RegistryKey.of("oxidized_copper_trapdoor"); - RegistryKey OXIDIZED_CUT_COPPER = RegistryKey.unsafeOf("oxidized_cut_copper"); + RegistryKey OXIDIZED_CUT_COPPER = RegistryKey.of("oxidized_cut_copper"); - RegistryKey OXIDIZED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("oxidized_cut_copper_slab"); + RegistryKey OXIDIZED_CUT_COPPER_SLAB = RegistryKey.of("oxidized_cut_copper_slab"); - RegistryKey OXIDIZED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("oxidized_cut_copper_stairs"); + RegistryKey OXIDIZED_CUT_COPPER_STAIRS = RegistryKey.of("oxidized_cut_copper_stairs"); - RegistryKey OXIDIZED_LIGHTNING_ROD = RegistryKey.unsafeOf("oxidized_lightning_rod"); + RegistryKey OXIDIZED_LIGHTNING_ROD = RegistryKey.of("oxidized_lightning_rod"); - RegistryKey PACKED_ICE = RegistryKey.unsafeOf("packed_ice"); + RegistryKey PACKED_ICE = RegistryKey.of("packed_ice"); - RegistryKey PACKED_MUD = RegistryKey.unsafeOf("packed_mud"); + RegistryKey PACKED_MUD = RegistryKey.of("packed_mud"); - RegistryKey PALE_HANGING_MOSS = RegistryKey.unsafeOf("pale_hanging_moss"); + RegistryKey PALE_HANGING_MOSS = RegistryKey.of("pale_hanging_moss"); - RegistryKey PALE_MOSS_BLOCK = RegistryKey.unsafeOf("pale_moss_block"); + RegistryKey PALE_MOSS_BLOCK = RegistryKey.of("pale_moss_block"); - RegistryKey PALE_MOSS_CARPET = RegistryKey.unsafeOf("pale_moss_carpet"); + RegistryKey PALE_MOSS_CARPET = RegistryKey.of("pale_moss_carpet"); - RegistryKey PALE_OAK_BUTTON = RegistryKey.unsafeOf("pale_oak_button"); + RegistryKey PALE_OAK_BUTTON = RegistryKey.of("pale_oak_button"); - RegistryKey PALE_OAK_DOOR = RegistryKey.unsafeOf("pale_oak_door"); + RegistryKey PALE_OAK_DOOR = RegistryKey.of("pale_oak_door"); - RegistryKey PALE_OAK_FENCE = RegistryKey.unsafeOf("pale_oak_fence"); + RegistryKey PALE_OAK_FENCE = RegistryKey.of("pale_oak_fence"); - RegistryKey PALE_OAK_FENCE_GATE = RegistryKey.unsafeOf("pale_oak_fence_gate"); + RegistryKey PALE_OAK_FENCE_GATE = RegistryKey.of("pale_oak_fence_gate"); - RegistryKey PALE_OAK_HANGING_SIGN = RegistryKey.unsafeOf("pale_oak_hanging_sign"); + RegistryKey PALE_OAK_HANGING_SIGN = RegistryKey.of("pale_oak_hanging_sign"); - RegistryKey PALE_OAK_LEAVES = RegistryKey.unsafeOf("pale_oak_leaves"); + RegistryKey PALE_OAK_LEAVES = RegistryKey.of("pale_oak_leaves"); - RegistryKey PALE_OAK_LOG = RegistryKey.unsafeOf("pale_oak_log"); + RegistryKey PALE_OAK_LOG = RegistryKey.of("pale_oak_log"); - RegistryKey PALE_OAK_PLANKS = RegistryKey.unsafeOf("pale_oak_planks"); + RegistryKey PALE_OAK_PLANKS = RegistryKey.of("pale_oak_planks"); - RegistryKey PALE_OAK_PRESSURE_PLATE = RegistryKey.unsafeOf("pale_oak_pressure_plate"); + RegistryKey PALE_OAK_PRESSURE_PLATE = RegistryKey.of("pale_oak_pressure_plate"); - RegistryKey PALE_OAK_SAPLING = RegistryKey.unsafeOf("pale_oak_sapling"); + RegistryKey PALE_OAK_SAPLING = RegistryKey.of("pale_oak_sapling"); - RegistryKey PALE_OAK_SHELF = RegistryKey.unsafeOf("pale_oak_shelf"); + RegistryKey PALE_OAK_SHELF = RegistryKey.of("pale_oak_shelf"); - RegistryKey PALE_OAK_SIGN = RegistryKey.unsafeOf("pale_oak_sign"); + RegistryKey PALE_OAK_SIGN = RegistryKey.of("pale_oak_sign"); - RegistryKey PALE_OAK_SLAB = RegistryKey.unsafeOf("pale_oak_slab"); + RegistryKey PALE_OAK_SLAB = RegistryKey.of("pale_oak_slab"); - RegistryKey PALE_OAK_STAIRS = RegistryKey.unsafeOf("pale_oak_stairs"); + RegistryKey PALE_OAK_STAIRS = RegistryKey.of("pale_oak_stairs"); - RegistryKey PALE_OAK_TRAPDOOR = RegistryKey.unsafeOf("pale_oak_trapdoor"); + RegistryKey PALE_OAK_TRAPDOOR = RegistryKey.of("pale_oak_trapdoor"); - RegistryKey PALE_OAK_WALL_HANGING_SIGN = RegistryKey.unsafeOf("pale_oak_wall_hanging_sign"); + RegistryKey PALE_OAK_WALL_HANGING_SIGN = RegistryKey.of("pale_oak_wall_hanging_sign"); - RegistryKey PALE_OAK_WALL_SIGN = RegistryKey.unsafeOf("pale_oak_wall_sign"); + RegistryKey PALE_OAK_WALL_SIGN = RegistryKey.of("pale_oak_wall_sign"); - RegistryKey PALE_OAK_WOOD = RegistryKey.unsafeOf("pale_oak_wood"); + RegistryKey PALE_OAK_WOOD = RegistryKey.of("pale_oak_wood"); - RegistryKey PEARLESCENT_FROGLIGHT = RegistryKey.unsafeOf("pearlescent_froglight"); + RegistryKey PEARLESCENT_FROGLIGHT = RegistryKey.of("pearlescent_froglight"); - RegistryKey PEONY = RegistryKey.unsafeOf("peony"); + RegistryKey PEONY = RegistryKey.of("peony"); - RegistryKey PETRIFIED_OAK_SLAB = RegistryKey.unsafeOf("petrified_oak_slab"); + RegistryKey PETRIFIED_OAK_SLAB = RegistryKey.of("petrified_oak_slab"); - RegistryKey PIGLIN_HEAD = RegistryKey.unsafeOf("piglin_head"); + RegistryKey PIGLIN_HEAD = RegistryKey.of("piglin_head"); - RegistryKey PIGLIN_WALL_HEAD = RegistryKey.unsafeOf("piglin_wall_head"); + RegistryKey PIGLIN_WALL_HEAD = RegistryKey.of("piglin_wall_head"); - RegistryKey PINK_BANNER = RegistryKey.unsafeOf("pink_banner"); + RegistryKey PINK_BANNER = RegistryKey.of("pink_banner"); - RegistryKey PINK_BED = RegistryKey.unsafeOf("pink_bed"); + RegistryKey PINK_BED = RegistryKey.of("pink_bed"); - RegistryKey PINK_CANDLE = RegistryKey.unsafeOf("pink_candle"); + RegistryKey PINK_CANDLE = RegistryKey.of("pink_candle"); - RegistryKey PINK_CANDLE_CAKE = RegistryKey.unsafeOf("pink_candle_cake"); + RegistryKey PINK_CANDLE_CAKE = RegistryKey.of("pink_candle_cake"); - RegistryKey PINK_CARPET = RegistryKey.unsafeOf("pink_carpet"); + RegistryKey PINK_CARPET = RegistryKey.of("pink_carpet"); - RegistryKey PINK_CONCRETE = RegistryKey.unsafeOf("pink_concrete"); + RegistryKey PINK_CONCRETE = RegistryKey.of("pink_concrete"); - RegistryKey PINK_CONCRETE_POWDER = RegistryKey.unsafeOf("pink_concrete_powder"); + RegistryKey PINK_CONCRETE_POWDER = RegistryKey.of("pink_concrete_powder"); - RegistryKey PINK_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("pink_glazed_terracotta"); + RegistryKey PINK_GLAZED_TERRACOTTA = RegistryKey.of("pink_glazed_terracotta"); - RegistryKey PINK_PETALS = RegistryKey.unsafeOf("pink_petals"); + RegistryKey PINK_PETALS = RegistryKey.of("pink_petals"); - RegistryKey PINK_SHULKER_BOX = RegistryKey.unsafeOf("pink_shulker_box"); + RegistryKey PINK_SHULKER_BOX = RegistryKey.of("pink_shulker_box"); - RegistryKey PINK_STAINED_GLASS = RegistryKey.unsafeOf("pink_stained_glass"); + RegistryKey PINK_STAINED_GLASS = RegistryKey.of("pink_stained_glass"); - RegistryKey PINK_STAINED_GLASS_PANE = RegistryKey.unsafeOf("pink_stained_glass_pane"); + RegistryKey PINK_STAINED_GLASS_PANE = RegistryKey.of("pink_stained_glass_pane"); - RegistryKey PINK_TERRACOTTA = RegistryKey.unsafeOf("pink_terracotta"); + RegistryKey PINK_TERRACOTTA = RegistryKey.of("pink_terracotta"); - RegistryKey PINK_TULIP = RegistryKey.unsafeOf("pink_tulip"); + RegistryKey PINK_TULIP = RegistryKey.of("pink_tulip"); - RegistryKey PINK_WALL_BANNER = RegistryKey.unsafeOf("pink_wall_banner"); + RegistryKey PINK_WALL_BANNER = RegistryKey.of("pink_wall_banner"); - RegistryKey PINK_WOOL = RegistryKey.unsafeOf("pink_wool"); + RegistryKey PINK_WOOL = RegistryKey.of("pink_wool"); - RegistryKey PISTON = RegistryKey.unsafeOf("piston"); + RegistryKey PISTON = RegistryKey.of("piston"); - RegistryKey PISTON_HEAD = RegistryKey.unsafeOf("piston_head"); + RegistryKey PISTON_HEAD = RegistryKey.of("piston_head"); - RegistryKey PITCHER_CROP = RegistryKey.unsafeOf("pitcher_crop"); + RegistryKey PITCHER_CROP = RegistryKey.of("pitcher_crop"); - RegistryKey PITCHER_PLANT = RegistryKey.unsafeOf("pitcher_plant"); + RegistryKey PITCHER_PLANT = RegistryKey.of("pitcher_plant"); - RegistryKey PLAYER_HEAD = RegistryKey.unsafeOf("player_head"); + RegistryKey PLAYER_HEAD = RegistryKey.of("player_head"); - RegistryKey PLAYER_WALL_HEAD = RegistryKey.unsafeOf("player_wall_head"); + RegistryKey PLAYER_WALL_HEAD = RegistryKey.of("player_wall_head"); - RegistryKey PODZOL = RegistryKey.unsafeOf("podzol"); + RegistryKey PODZOL = RegistryKey.of("podzol"); - RegistryKey POINTED_DRIPSTONE = RegistryKey.unsafeOf("pointed_dripstone"); + RegistryKey POINTED_DRIPSTONE = RegistryKey.of("pointed_dripstone"); - RegistryKey POLISHED_ANDESITE = RegistryKey.unsafeOf("polished_andesite"); + RegistryKey POLISHED_ANDESITE = RegistryKey.of("polished_andesite"); - RegistryKey POLISHED_ANDESITE_SLAB = RegistryKey.unsafeOf("polished_andesite_slab"); + RegistryKey POLISHED_ANDESITE_SLAB = RegistryKey.of("polished_andesite_slab"); - RegistryKey POLISHED_ANDESITE_STAIRS = RegistryKey.unsafeOf("polished_andesite_stairs"); + RegistryKey POLISHED_ANDESITE_STAIRS = RegistryKey.of("polished_andesite_stairs"); - RegistryKey POLISHED_BASALT = RegistryKey.unsafeOf("polished_basalt"); + RegistryKey POLISHED_BASALT = RegistryKey.of("polished_basalt"); - RegistryKey POLISHED_BLACKSTONE = RegistryKey.unsafeOf("polished_blackstone"); + RegistryKey POLISHED_BLACKSTONE = RegistryKey.of("polished_blackstone"); - RegistryKey POLISHED_BLACKSTONE_BRICK_SLAB = RegistryKey.unsafeOf("polished_blackstone_brick_slab"); + RegistryKey POLISHED_BLACKSTONE_BRICK_SLAB = RegistryKey.of("polished_blackstone_brick_slab"); - RegistryKey POLISHED_BLACKSTONE_BRICK_STAIRS = RegistryKey.unsafeOf("polished_blackstone_brick_stairs"); + RegistryKey POLISHED_BLACKSTONE_BRICK_STAIRS = RegistryKey.of("polished_blackstone_brick_stairs"); - RegistryKey POLISHED_BLACKSTONE_BRICK_WALL = RegistryKey.unsafeOf("polished_blackstone_brick_wall"); + RegistryKey POLISHED_BLACKSTONE_BRICK_WALL = RegistryKey.of("polished_blackstone_brick_wall"); - RegistryKey POLISHED_BLACKSTONE_BRICKS = RegistryKey.unsafeOf("polished_blackstone_bricks"); + RegistryKey POLISHED_BLACKSTONE_BRICKS = RegistryKey.of("polished_blackstone_bricks"); - RegistryKey POLISHED_BLACKSTONE_BUTTON = RegistryKey.unsafeOf("polished_blackstone_button"); + RegistryKey POLISHED_BLACKSTONE_BUTTON = RegistryKey.of("polished_blackstone_button"); - RegistryKey POLISHED_BLACKSTONE_PRESSURE_PLATE = RegistryKey.unsafeOf("polished_blackstone_pressure_plate"); + RegistryKey POLISHED_BLACKSTONE_PRESSURE_PLATE = RegistryKey.of("polished_blackstone_pressure_plate"); - RegistryKey POLISHED_BLACKSTONE_SLAB = RegistryKey.unsafeOf("polished_blackstone_slab"); + RegistryKey POLISHED_BLACKSTONE_SLAB = RegistryKey.of("polished_blackstone_slab"); - RegistryKey POLISHED_BLACKSTONE_STAIRS = RegistryKey.unsafeOf("polished_blackstone_stairs"); + RegistryKey POLISHED_BLACKSTONE_STAIRS = RegistryKey.of("polished_blackstone_stairs"); - RegistryKey POLISHED_BLACKSTONE_WALL = RegistryKey.unsafeOf("polished_blackstone_wall"); + RegistryKey POLISHED_BLACKSTONE_WALL = RegistryKey.of("polished_blackstone_wall"); - RegistryKey POLISHED_CINNABAR = RegistryKey.unsafeOf("polished_cinnabar"); + RegistryKey POLISHED_CINNABAR = RegistryKey.of("polished_cinnabar"); - RegistryKey POLISHED_CINNABAR_SLAB = RegistryKey.unsafeOf("polished_cinnabar_slab"); + RegistryKey POLISHED_CINNABAR_SLAB = RegistryKey.of("polished_cinnabar_slab"); - RegistryKey POLISHED_CINNABAR_STAIRS = RegistryKey.unsafeOf("polished_cinnabar_stairs"); + RegistryKey POLISHED_CINNABAR_STAIRS = RegistryKey.of("polished_cinnabar_stairs"); - RegistryKey POLISHED_CINNABAR_WALL = RegistryKey.unsafeOf("polished_cinnabar_wall"); + RegistryKey POLISHED_CINNABAR_WALL = RegistryKey.of("polished_cinnabar_wall"); - RegistryKey POLISHED_DEEPSLATE = RegistryKey.unsafeOf("polished_deepslate"); + RegistryKey POLISHED_DEEPSLATE = RegistryKey.of("polished_deepslate"); - RegistryKey POLISHED_DEEPSLATE_SLAB = RegistryKey.unsafeOf("polished_deepslate_slab"); + RegistryKey POLISHED_DEEPSLATE_SLAB = RegistryKey.of("polished_deepslate_slab"); - RegistryKey POLISHED_DEEPSLATE_STAIRS = RegistryKey.unsafeOf("polished_deepslate_stairs"); + RegistryKey POLISHED_DEEPSLATE_STAIRS = RegistryKey.of("polished_deepslate_stairs"); - RegistryKey POLISHED_DEEPSLATE_WALL = RegistryKey.unsafeOf("polished_deepslate_wall"); + RegistryKey POLISHED_DEEPSLATE_WALL = RegistryKey.of("polished_deepslate_wall"); - RegistryKey POLISHED_DIORITE = RegistryKey.unsafeOf("polished_diorite"); + RegistryKey POLISHED_DIORITE = RegistryKey.of("polished_diorite"); - RegistryKey POLISHED_DIORITE_SLAB = RegistryKey.unsafeOf("polished_diorite_slab"); + RegistryKey POLISHED_DIORITE_SLAB = RegistryKey.of("polished_diorite_slab"); - RegistryKey POLISHED_DIORITE_STAIRS = RegistryKey.unsafeOf("polished_diorite_stairs"); + RegistryKey POLISHED_DIORITE_STAIRS = RegistryKey.of("polished_diorite_stairs"); - RegistryKey POLISHED_GRANITE = RegistryKey.unsafeOf("polished_granite"); + RegistryKey POLISHED_GRANITE = RegistryKey.of("polished_granite"); - RegistryKey POLISHED_GRANITE_SLAB = RegistryKey.unsafeOf("polished_granite_slab"); + RegistryKey POLISHED_GRANITE_SLAB = RegistryKey.of("polished_granite_slab"); - RegistryKey POLISHED_GRANITE_STAIRS = RegistryKey.unsafeOf("polished_granite_stairs"); + RegistryKey POLISHED_GRANITE_STAIRS = RegistryKey.of("polished_granite_stairs"); - RegistryKey POLISHED_SULFUR = RegistryKey.unsafeOf("polished_sulfur"); + RegistryKey POLISHED_SULFUR = RegistryKey.of("polished_sulfur"); - RegistryKey POLISHED_SULFUR_SLAB = RegistryKey.unsafeOf("polished_sulfur_slab"); + RegistryKey POLISHED_SULFUR_SLAB = RegistryKey.of("polished_sulfur_slab"); - RegistryKey POLISHED_SULFUR_STAIRS = RegistryKey.unsafeOf("polished_sulfur_stairs"); + RegistryKey POLISHED_SULFUR_STAIRS = RegistryKey.of("polished_sulfur_stairs"); - RegistryKey POLISHED_SULFUR_WALL = RegistryKey.unsafeOf("polished_sulfur_wall"); + RegistryKey POLISHED_SULFUR_WALL = RegistryKey.of("polished_sulfur_wall"); - RegistryKey POLISHED_TUFF = RegistryKey.unsafeOf("polished_tuff"); + RegistryKey POLISHED_TUFF = RegistryKey.of("polished_tuff"); - RegistryKey POLISHED_TUFF_SLAB = RegistryKey.unsafeOf("polished_tuff_slab"); + RegistryKey POLISHED_TUFF_SLAB = RegistryKey.of("polished_tuff_slab"); - RegistryKey POLISHED_TUFF_STAIRS = RegistryKey.unsafeOf("polished_tuff_stairs"); + RegistryKey POLISHED_TUFF_STAIRS = RegistryKey.of("polished_tuff_stairs"); - RegistryKey POLISHED_TUFF_WALL = RegistryKey.unsafeOf("polished_tuff_wall"); + RegistryKey POLISHED_TUFF_WALL = RegistryKey.of("polished_tuff_wall"); - RegistryKey POPPY = RegistryKey.unsafeOf("poppy"); + RegistryKey POPPY = RegistryKey.of("poppy"); - RegistryKey POTATOES = RegistryKey.unsafeOf("potatoes"); + RegistryKey POTATOES = RegistryKey.of("potatoes"); - RegistryKey POTENT_SULFUR = RegistryKey.unsafeOf("potent_sulfur"); + RegistryKey POTENT_SULFUR = RegistryKey.of("potent_sulfur"); - RegistryKey POTTED_ACACIA_SAPLING = RegistryKey.unsafeOf("potted_acacia_sapling"); + RegistryKey POTTED_ACACIA_SAPLING = RegistryKey.of("potted_acacia_sapling"); - RegistryKey POTTED_ALLIUM = RegistryKey.unsafeOf("potted_allium"); + RegistryKey POTTED_ALLIUM = RegistryKey.of("potted_allium"); - RegistryKey POTTED_AZALEA_BUSH = RegistryKey.unsafeOf("potted_azalea_bush"); + RegistryKey POTTED_AZALEA_BUSH = RegistryKey.of("potted_azalea_bush"); - RegistryKey POTTED_AZURE_BLUET = RegistryKey.unsafeOf("potted_azure_bluet"); + RegistryKey POTTED_AZURE_BLUET = RegistryKey.of("potted_azure_bluet"); - RegistryKey POTTED_BAMBOO = RegistryKey.unsafeOf("potted_bamboo"); + RegistryKey POTTED_BAMBOO = RegistryKey.of("potted_bamboo"); - RegistryKey POTTED_BIRCH_SAPLING = RegistryKey.unsafeOf("potted_birch_sapling"); + RegistryKey POTTED_BIRCH_SAPLING = RegistryKey.of("potted_birch_sapling"); - RegistryKey POTTED_BLUE_ORCHID = RegistryKey.unsafeOf("potted_blue_orchid"); + RegistryKey POTTED_BLUE_ORCHID = RegistryKey.of("potted_blue_orchid"); - RegistryKey POTTED_BROWN_MUSHROOM = RegistryKey.unsafeOf("potted_brown_mushroom"); + RegistryKey POTTED_BROWN_MUSHROOM = RegistryKey.of("potted_brown_mushroom"); - RegistryKey POTTED_CACTUS = RegistryKey.unsafeOf("potted_cactus"); + RegistryKey POTTED_CACTUS = RegistryKey.of("potted_cactus"); - RegistryKey POTTED_CHERRY_SAPLING = RegistryKey.unsafeOf("potted_cherry_sapling"); + RegistryKey POTTED_CHERRY_SAPLING = RegistryKey.of("potted_cherry_sapling"); - RegistryKey POTTED_CLOSED_EYEBLOSSOM = RegistryKey.unsafeOf("potted_closed_eyeblossom"); + RegistryKey POTTED_CLOSED_EYEBLOSSOM = RegistryKey.of("potted_closed_eyeblossom"); - RegistryKey POTTED_CORNFLOWER = RegistryKey.unsafeOf("potted_cornflower"); + RegistryKey POTTED_CORNFLOWER = RegistryKey.of("potted_cornflower"); - RegistryKey POTTED_CRIMSON_FUNGUS = RegistryKey.unsafeOf("potted_crimson_fungus"); + RegistryKey POTTED_CRIMSON_FUNGUS = RegistryKey.of("potted_crimson_fungus"); - RegistryKey POTTED_CRIMSON_ROOTS = RegistryKey.unsafeOf("potted_crimson_roots"); + RegistryKey POTTED_CRIMSON_ROOTS = RegistryKey.of("potted_crimson_roots"); - RegistryKey POTTED_DANDELION = RegistryKey.unsafeOf("potted_dandelion"); + RegistryKey POTTED_DANDELION = RegistryKey.of("potted_dandelion"); - RegistryKey POTTED_DARK_OAK_SAPLING = RegistryKey.unsafeOf("potted_dark_oak_sapling"); + RegistryKey POTTED_DARK_OAK_SAPLING = RegistryKey.of("potted_dark_oak_sapling"); - RegistryKey POTTED_DEAD_BUSH = RegistryKey.unsafeOf("potted_dead_bush"); + RegistryKey POTTED_DEAD_BUSH = RegistryKey.of("potted_dead_bush"); - RegistryKey POTTED_FERN = RegistryKey.unsafeOf("potted_fern"); + RegistryKey POTTED_FERN = RegistryKey.of("potted_fern"); - RegistryKey POTTED_FLOWERING_AZALEA_BUSH = RegistryKey.unsafeOf("potted_flowering_azalea_bush"); + RegistryKey POTTED_FLOWERING_AZALEA_BUSH = RegistryKey.of("potted_flowering_azalea_bush"); - RegistryKey POTTED_GOLDEN_DANDELION = RegistryKey.unsafeOf("potted_golden_dandelion"); + RegistryKey POTTED_GOLDEN_DANDELION = RegistryKey.of("potted_golden_dandelion"); - RegistryKey POTTED_JUNGLE_SAPLING = RegistryKey.unsafeOf("potted_jungle_sapling"); + RegistryKey POTTED_JUNGLE_SAPLING = RegistryKey.of("potted_jungle_sapling"); - RegistryKey POTTED_LILY_OF_THE_VALLEY = RegistryKey.unsafeOf("potted_lily_of_the_valley"); + RegistryKey POTTED_LILY_OF_THE_VALLEY = RegistryKey.of("potted_lily_of_the_valley"); - RegistryKey POTTED_MANGROVE_PROPAGULE = RegistryKey.unsafeOf("potted_mangrove_propagule"); + RegistryKey POTTED_MANGROVE_PROPAGULE = RegistryKey.of("potted_mangrove_propagule"); - RegistryKey POTTED_OAK_SAPLING = RegistryKey.unsafeOf("potted_oak_sapling"); + RegistryKey POTTED_OAK_SAPLING = RegistryKey.of("potted_oak_sapling"); - RegistryKey POTTED_OPEN_EYEBLOSSOM = RegistryKey.unsafeOf("potted_open_eyeblossom"); + RegistryKey POTTED_OPEN_EYEBLOSSOM = RegistryKey.of("potted_open_eyeblossom"); - RegistryKey POTTED_ORANGE_TULIP = RegistryKey.unsafeOf("potted_orange_tulip"); + RegistryKey POTTED_ORANGE_TULIP = RegistryKey.of("potted_orange_tulip"); - RegistryKey POTTED_OXEYE_DAISY = RegistryKey.unsafeOf("potted_oxeye_daisy"); + RegistryKey POTTED_OXEYE_DAISY = RegistryKey.of("potted_oxeye_daisy"); - RegistryKey POTTED_PALE_OAK_SAPLING = RegistryKey.unsafeOf("potted_pale_oak_sapling"); + RegistryKey POTTED_PALE_OAK_SAPLING = RegistryKey.of("potted_pale_oak_sapling"); - RegistryKey POTTED_PINK_TULIP = RegistryKey.unsafeOf("potted_pink_tulip"); + RegistryKey POTTED_PINK_TULIP = RegistryKey.of("potted_pink_tulip"); - RegistryKey POTTED_POPPY = RegistryKey.unsafeOf("potted_poppy"); + RegistryKey POTTED_POPPY = RegistryKey.of("potted_poppy"); - RegistryKey POTTED_RED_MUSHROOM = RegistryKey.unsafeOf("potted_red_mushroom"); + RegistryKey POTTED_RED_MUSHROOM = RegistryKey.of("potted_red_mushroom"); - RegistryKey POTTED_RED_TULIP = RegistryKey.unsafeOf("potted_red_tulip"); + RegistryKey POTTED_RED_TULIP = RegistryKey.of("potted_red_tulip"); - RegistryKey POTTED_SPRUCE_SAPLING = RegistryKey.unsafeOf("potted_spruce_sapling"); + RegistryKey POTTED_SPRUCE_SAPLING = RegistryKey.of("potted_spruce_sapling"); - RegistryKey POTTED_TORCHFLOWER = RegistryKey.unsafeOf("potted_torchflower"); + RegistryKey POTTED_TORCHFLOWER = RegistryKey.of("potted_torchflower"); - RegistryKey POTTED_WARPED_FUNGUS = RegistryKey.unsafeOf("potted_warped_fungus"); + RegistryKey POTTED_WARPED_FUNGUS = RegistryKey.of("potted_warped_fungus"); - RegistryKey POTTED_WARPED_ROOTS = RegistryKey.unsafeOf("potted_warped_roots"); + RegistryKey POTTED_WARPED_ROOTS = RegistryKey.of("potted_warped_roots"); - RegistryKey POTTED_WHITE_TULIP = RegistryKey.unsafeOf("potted_white_tulip"); + RegistryKey POTTED_WHITE_TULIP = RegistryKey.of("potted_white_tulip"); - RegistryKey POTTED_WITHER_ROSE = RegistryKey.unsafeOf("potted_wither_rose"); + RegistryKey POTTED_WITHER_ROSE = RegistryKey.of("potted_wither_rose"); - RegistryKey POWDER_SNOW = RegistryKey.unsafeOf("powder_snow"); + RegistryKey POWDER_SNOW = RegistryKey.of("powder_snow"); - RegistryKey POWDER_SNOW_CAULDRON = RegistryKey.unsafeOf("powder_snow_cauldron"); + RegistryKey POWDER_SNOW_CAULDRON = RegistryKey.of("powder_snow_cauldron"); - RegistryKey POWERED_RAIL = RegistryKey.unsafeOf("powered_rail"); + RegistryKey POWERED_RAIL = RegistryKey.of("powered_rail"); - RegistryKey PRISMARINE = RegistryKey.unsafeOf("prismarine"); + RegistryKey PRISMARINE = RegistryKey.of("prismarine"); - RegistryKey PRISMARINE_BRICK_SLAB = RegistryKey.unsafeOf("prismarine_brick_slab"); + RegistryKey PRISMARINE_BRICK_SLAB = RegistryKey.of("prismarine_brick_slab"); - RegistryKey PRISMARINE_BRICK_STAIRS = RegistryKey.unsafeOf("prismarine_brick_stairs"); + RegistryKey PRISMARINE_BRICK_STAIRS = RegistryKey.of("prismarine_brick_stairs"); - RegistryKey PRISMARINE_BRICKS = RegistryKey.unsafeOf("prismarine_bricks"); + RegistryKey PRISMARINE_BRICKS = RegistryKey.of("prismarine_bricks"); - RegistryKey PRISMARINE_SLAB = RegistryKey.unsafeOf("prismarine_slab"); + RegistryKey PRISMARINE_SLAB = RegistryKey.of("prismarine_slab"); - RegistryKey PRISMARINE_STAIRS = RegistryKey.unsafeOf("prismarine_stairs"); + RegistryKey PRISMARINE_STAIRS = RegistryKey.of("prismarine_stairs"); - RegistryKey PRISMARINE_WALL = RegistryKey.unsafeOf("prismarine_wall"); + RegistryKey PRISMARINE_WALL = RegistryKey.of("prismarine_wall"); - RegistryKey PUMPKIN = RegistryKey.unsafeOf("pumpkin"); + RegistryKey PUMPKIN = RegistryKey.of("pumpkin"); - RegistryKey PUMPKIN_STEM = RegistryKey.unsafeOf("pumpkin_stem"); + RegistryKey PUMPKIN_STEM = RegistryKey.of("pumpkin_stem"); - RegistryKey PURPLE_BANNER = RegistryKey.unsafeOf("purple_banner"); + RegistryKey PURPLE_BANNER = RegistryKey.of("purple_banner"); - RegistryKey PURPLE_BED = RegistryKey.unsafeOf("purple_bed"); + RegistryKey PURPLE_BED = RegistryKey.of("purple_bed"); - RegistryKey PURPLE_CANDLE = RegistryKey.unsafeOf("purple_candle"); + RegistryKey PURPLE_CANDLE = RegistryKey.of("purple_candle"); - RegistryKey PURPLE_CANDLE_CAKE = RegistryKey.unsafeOf("purple_candle_cake"); + RegistryKey PURPLE_CANDLE_CAKE = RegistryKey.of("purple_candle_cake"); - RegistryKey PURPLE_CARPET = RegistryKey.unsafeOf("purple_carpet"); + RegistryKey PURPLE_CARPET = RegistryKey.of("purple_carpet"); - RegistryKey PURPLE_CONCRETE = RegistryKey.unsafeOf("purple_concrete"); + RegistryKey PURPLE_CONCRETE = RegistryKey.of("purple_concrete"); - RegistryKey PURPLE_CONCRETE_POWDER = RegistryKey.unsafeOf("purple_concrete_powder"); + RegistryKey PURPLE_CONCRETE_POWDER = RegistryKey.of("purple_concrete_powder"); - RegistryKey PURPLE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("purple_glazed_terracotta"); + RegistryKey PURPLE_GLAZED_TERRACOTTA = RegistryKey.of("purple_glazed_terracotta"); - RegistryKey PURPLE_SHULKER_BOX = RegistryKey.unsafeOf("purple_shulker_box"); + RegistryKey PURPLE_SHULKER_BOX = RegistryKey.of("purple_shulker_box"); - RegistryKey PURPLE_STAINED_GLASS = RegistryKey.unsafeOf("purple_stained_glass"); + RegistryKey PURPLE_STAINED_GLASS = RegistryKey.of("purple_stained_glass"); - RegistryKey PURPLE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("purple_stained_glass_pane"); + RegistryKey PURPLE_STAINED_GLASS_PANE = RegistryKey.of("purple_stained_glass_pane"); - RegistryKey PURPLE_TERRACOTTA = RegistryKey.unsafeOf("purple_terracotta"); + RegistryKey PURPLE_TERRACOTTA = RegistryKey.of("purple_terracotta"); - RegistryKey PURPLE_WALL_BANNER = RegistryKey.unsafeOf("purple_wall_banner"); + RegistryKey PURPLE_WALL_BANNER = RegistryKey.of("purple_wall_banner"); - RegistryKey PURPLE_WOOL = RegistryKey.unsafeOf("purple_wool"); + RegistryKey PURPLE_WOOL = RegistryKey.of("purple_wool"); - RegistryKey PURPUR_BLOCK = RegistryKey.unsafeOf("purpur_block"); + RegistryKey PURPUR_BLOCK = RegistryKey.of("purpur_block"); - RegistryKey PURPUR_PILLAR = RegistryKey.unsafeOf("purpur_pillar"); + RegistryKey PURPUR_PILLAR = RegistryKey.of("purpur_pillar"); - RegistryKey PURPUR_SLAB = RegistryKey.unsafeOf("purpur_slab"); + RegistryKey PURPUR_SLAB = RegistryKey.of("purpur_slab"); - RegistryKey PURPUR_STAIRS = RegistryKey.unsafeOf("purpur_stairs"); + RegistryKey PURPUR_STAIRS = RegistryKey.of("purpur_stairs"); - RegistryKey QUARTZ_BLOCK = RegistryKey.unsafeOf("quartz_block"); + RegistryKey QUARTZ_BLOCK = RegistryKey.of("quartz_block"); - RegistryKey QUARTZ_BRICKS = RegistryKey.unsafeOf("quartz_bricks"); + RegistryKey QUARTZ_BRICKS = RegistryKey.of("quartz_bricks"); - RegistryKey QUARTZ_PILLAR = RegistryKey.unsafeOf("quartz_pillar"); + RegistryKey QUARTZ_PILLAR = RegistryKey.of("quartz_pillar"); - RegistryKey QUARTZ_SLAB = RegistryKey.unsafeOf("quartz_slab"); + RegistryKey QUARTZ_SLAB = RegistryKey.of("quartz_slab"); - RegistryKey QUARTZ_STAIRS = RegistryKey.unsafeOf("quartz_stairs"); + RegistryKey QUARTZ_STAIRS = RegistryKey.of("quartz_stairs"); - RegistryKey RAIL = RegistryKey.unsafeOf("rail"); + RegistryKey RAIL = RegistryKey.of("rail"); - RegistryKey RAW_COPPER_BLOCK = RegistryKey.unsafeOf("raw_copper_block"); + RegistryKey RAW_COPPER_BLOCK = RegistryKey.of("raw_copper_block"); - RegistryKey RAW_GOLD_BLOCK = RegistryKey.unsafeOf("raw_gold_block"); + RegistryKey RAW_GOLD_BLOCK = RegistryKey.of("raw_gold_block"); - RegistryKey RAW_IRON_BLOCK = RegistryKey.unsafeOf("raw_iron_block"); + RegistryKey RAW_IRON_BLOCK = RegistryKey.of("raw_iron_block"); - RegistryKey RED_BANNER = RegistryKey.unsafeOf("red_banner"); + RegistryKey RED_BANNER = RegistryKey.of("red_banner"); - RegistryKey RED_BED = RegistryKey.unsafeOf("red_bed"); + RegistryKey RED_BED = RegistryKey.of("red_bed"); - RegistryKey RED_CANDLE = RegistryKey.unsafeOf("red_candle"); + RegistryKey RED_CANDLE = RegistryKey.of("red_candle"); - RegistryKey RED_CANDLE_CAKE = RegistryKey.unsafeOf("red_candle_cake"); + RegistryKey RED_CANDLE_CAKE = RegistryKey.of("red_candle_cake"); - RegistryKey RED_CARPET = RegistryKey.unsafeOf("red_carpet"); + RegistryKey RED_CARPET = RegistryKey.of("red_carpet"); - RegistryKey RED_CONCRETE = RegistryKey.unsafeOf("red_concrete"); + RegistryKey RED_CONCRETE = RegistryKey.of("red_concrete"); - RegistryKey RED_CONCRETE_POWDER = RegistryKey.unsafeOf("red_concrete_powder"); + RegistryKey RED_CONCRETE_POWDER = RegistryKey.of("red_concrete_powder"); - RegistryKey RED_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("red_glazed_terracotta"); + RegistryKey RED_GLAZED_TERRACOTTA = RegistryKey.of("red_glazed_terracotta"); - RegistryKey RED_MUSHROOM = RegistryKey.unsafeOf("red_mushroom"); + RegistryKey RED_MUSHROOM = RegistryKey.of("red_mushroom"); - RegistryKey RED_MUSHROOM_BLOCK = RegistryKey.unsafeOf("red_mushroom_block"); + RegistryKey RED_MUSHROOM_BLOCK = RegistryKey.of("red_mushroom_block"); - RegistryKey RED_NETHER_BRICK_SLAB = RegistryKey.unsafeOf("red_nether_brick_slab"); + RegistryKey RED_NETHER_BRICK_SLAB = RegistryKey.of("red_nether_brick_slab"); - RegistryKey RED_NETHER_BRICK_STAIRS = RegistryKey.unsafeOf("red_nether_brick_stairs"); + RegistryKey RED_NETHER_BRICK_STAIRS = RegistryKey.of("red_nether_brick_stairs"); - RegistryKey RED_NETHER_BRICK_WALL = RegistryKey.unsafeOf("red_nether_brick_wall"); + RegistryKey RED_NETHER_BRICK_WALL = RegistryKey.of("red_nether_brick_wall"); - RegistryKey RED_NETHER_BRICKS = RegistryKey.unsafeOf("red_nether_bricks"); + RegistryKey RED_NETHER_BRICKS = RegistryKey.of("red_nether_bricks"); - RegistryKey RED_SAND = RegistryKey.unsafeOf("red_sand"); + RegistryKey RED_SAND = RegistryKey.of("red_sand"); - RegistryKey RED_SANDSTONE = RegistryKey.unsafeOf("red_sandstone"); + RegistryKey RED_SANDSTONE = RegistryKey.of("red_sandstone"); - RegistryKey RED_SANDSTONE_SLAB = RegistryKey.unsafeOf("red_sandstone_slab"); + RegistryKey RED_SANDSTONE_SLAB = RegistryKey.of("red_sandstone_slab"); - RegistryKey RED_SANDSTONE_STAIRS = RegistryKey.unsafeOf("red_sandstone_stairs"); + RegistryKey RED_SANDSTONE_STAIRS = RegistryKey.of("red_sandstone_stairs"); - RegistryKey RED_SANDSTONE_WALL = RegistryKey.unsafeOf("red_sandstone_wall"); + RegistryKey RED_SANDSTONE_WALL = RegistryKey.of("red_sandstone_wall"); - RegistryKey RED_SHULKER_BOX = RegistryKey.unsafeOf("red_shulker_box"); + RegistryKey RED_SHULKER_BOX = RegistryKey.of("red_shulker_box"); - RegistryKey RED_STAINED_GLASS = RegistryKey.unsafeOf("red_stained_glass"); + RegistryKey RED_STAINED_GLASS = RegistryKey.of("red_stained_glass"); - RegistryKey RED_STAINED_GLASS_PANE = RegistryKey.unsafeOf("red_stained_glass_pane"); + RegistryKey RED_STAINED_GLASS_PANE = RegistryKey.of("red_stained_glass_pane"); - RegistryKey RED_TERRACOTTA = RegistryKey.unsafeOf("red_terracotta"); + RegistryKey RED_TERRACOTTA = RegistryKey.of("red_terracotta"); - RegistryKey RED_TULIP = RegistryKey.unsafeOf("red_tulip"); + RegistryKey RED_TULIP = RegistryKey.of("red_tulip"); - RegistryKey RED_WALL_BANNER = RegistryKey.unsafeOf("red_wall_banner"); + RegistryKey RED_WALL_BANNER = RegistryKey.of("red_wall_banner"); - RegistryKey RED_WOOL = RegistryKey.unsafeOf("red_wool"); + RegistryKey RED_WOOL = RegistryKey.of("red_wool"); - RegistryKey REDSTONE_BLOCK = RegistryKey.unsafeOf("redstone_block"); + RegistryKey REDSTONE_BLOCK = RegistryKey.of("redstone_block"); - RegistryKey REDSTONE_LAMP = RegistryKey.unsafeOf("redstone_lamp"); + RegistryKey REDSTONE_LAMP = RegistryKey.of("redstone_lamp"); - RegistryKey REDSTONE_ORE = RegistryKey.unsafeOf("redstone_ore"); + RegistryKey REDSTONE_ORE = RegistryKey.of("redstone_ore"); - RegistryKey REDSTONE_TORCH = RegistryKey.unsafeOf("redstone_torch"); + RegistryKey REDSTONE_TORCH = RegistryKey.of("redstone_torch"); - RegistryKey REDSTONE_WALL_TORCH = RegistryKey.unsafeOf("redstone_wall_torch"); + RegistryKey REDSTONE_WALL_TORCH = RegistryKey.of("redstone_wall_torch"); - RegistryKey REDSTONE_WIRE = RegistryKey.unsafeOf("redstone_wire"); + RegistryKey REDSTONE_WIRE = RegistryKey.of("redstone_wire"); - RegistryKey REINFORCED_DEEPSLATE = RegistryKey.unsafeOf("reinforced_deepslate"); + RegistryKey REINFORCED_DEEPSLATE = RegistryKey.of("reinforced_deepslate"); - RegistryKey REPEATER = RegistryKey.unsafeOf("repeater"); + RegistryKey REPEATER = RegistryKey.of("repeater"); - RegistryKey REPEATING_COMMAND_BLOCK = RegistryKey.unsafeOf("repeating_command_block"); + RegistryKey REPEATING_COMMAND_BLOCK = RegistryKey.of("repeating_command_block"); - RegistryKey RESIN_BLOCK = RegistryKey.unsafeOf("resin_block"); + RegistryKey RESIN_BLOCK = RegistryKey.of("resin_block"); - RegistryKey RESIN_BRICK_SLAB = RegistryKey.unsafeOf("resin_brick_slab"); + RegistryKey RESIN_BRICK_SLAB = RegistryKey.of("resin_brick_slab"); - RegistryKey RESIN_BRICK_STAIRS = RegistryKey.unsafeOf("resin_brick_stairs"); + RegistryKey RESIN_BRICK_STAIRS = RegistryKey.of("resin_brick_stairs"); - RegistryKey RESIN_BRICK_WALL = RegistryKey.unsafeOf("resin_brick_wall"); + RegistryKey RESIN_BRICK_WALL = RegistryKey.of("resin_brick_wall"); - RegistryKey RESIN_BRICKS = RegistryKey.unsafeOf("resin_bricks"); + RegistryKey RESIN_BRICKS = RegistryKey.of("resin_bricks"); - RegistryKey RESIN_CLUMP = RegistryKey.unsafeOf("resin_clump"); + RegistryKey RESIN_CLUMP = RegistryKey.of("resin_clump"); - RegistryKey RESPAWN_ANCHOR = RegistryKey.unsafeOf("respawn_anchor"); + RegistryKey RESPAWN_ANCHOR = RegistryKey.of("respawn_anchor"); - RegistryKey ROOTED_DIRT = RegistryKey.unsafeOf("rooted_dirt"); + RegistryKey ROOTED_DIRT = RegistryKey.of("rooted_dirt"); - RegistryKey ROSE_BUSH = RegistryKey.unsafeOf("rose_bush"); + RegistryKey ROSE_BUSH = RegistryKey.of("rose_bush"); - RegistryKey SAND = RegistryKey.unsafeOf("sand"); + RegistryKey SAND = RegistryKey.of("sand"); - RegistryKey SANDSTONE = RegistryKey.unsafeOf("sandstone"); + RegistryKey SANDSTONE = RegistryKey.of("sandstone"); - RegistryKey SANDSTONE_SLAB = RegistryKey.unsafeOf("sandstone_slab"); + RegistryKey SANDSTONE_SLAB = RegistryKey.of("sandstone_slab"); - RegistryKey SANDSTONE_STAIRS = RegistryKey.unsafeOf("sandstone_stairs"); + RegistryKey SANDSTONE_STAIRS = RegistryKey.of("sandstone_stairs"); - RegistryKey SANDSTONE_WALL = RegistryKey.unsafeOf("sandstone_wall"); + RegistryKey SANDSTONE_WALL = RegistryKey.of("sandstone_wall"); - RegistryKey SCAFFOLDING = RegistryKey.unsafeOf("scaffolding"); + RegistryKey SCAFFOLDING = RegistryKey.of("scaffolding"); - RegistryKey SCULK = RegistryKey.unsafeOf("sculk"); + RegistryKey SCULK = RegistryKey.of("sculk"); - RegistryKey SCULK_CATALYST = RegistryKey.unsafeOf("sculk_catalyst"); + RegistryKey SCULK_CATALYST = RegistryKey.of("sculk_catalyst"); - RegistryKey SCULK_SENSOR = RegistryKey.unsafeOf("sculk_sensor"); + RegistryKey SCULK_SENSOR = RegistryKey.of("sculk_sensor"); - RegistryKey SCULK_SHRIEKER = RegistryKey.unsafeOf("sculk_shrieker"); + RegistryKey SCULK_SHRIEKER = RegistryKey.of("sculk_shrieker"); - RegistryKey SCULK_VEIN = RegistryKey.unsafeOf("sculk_vein"); + RegistryKey SCULK_VEIN = RegistryKey.of("sculk_vein"); - RegistryKey SEA_LANTERN = RegistryKey.unsafeOf("sea_lantern"); + RegistryKey SEA_LANTERN = RegistryKey.of("sea_lantern"); - RegistryKey SEA_PICKLE = RegistryKey.unsafeOf("sea_pickle"); + RegistryKey SEA_PICKLE = RegistryKey.of("sea_pickle"); - RegistryKey SEAGRASS = RegistryKey.unsafeOf("seagrass"); + RegistryKey SEAGRASS = RegistryKey.of("seagrass"); - RegistryKey SHORT_DRY_GRASS = RegistryKey.unsafeOf("short_dry_grass"); + RegistryKey SHORT_DRY_GRASS = RegistryKey.of("short_dry_grass"); - RegistryKey SHORT_GRASS = RegistryKey.unsafeOf("short_grass"); + RegistryKey SHORT_GRASS = RegistryKey.of("short_grass"); - RegistryKey SHROOMLIGHT = RegistryKey.unsafeOf("shroomlight"); + RegistryKey SHROOMLIGHT = RegistryKey.of("shroomlight"); - RegistryKey SHULKER_BOX = RegistryKey.unsafeOf("shulker_box"); + RegistryKey SHULKER_BOX = RegistryKey.of("shulker_box"); - RegistryKey SKELETON_SKULL = RegistryKey.unsafeOf("skeleton_skull"); + RegistryKey SKELETON_SKULL = RegistryKey.of("skeleton_skull"); - RegistryKey SKELETON_WALL_SKULL = RegistryKey.unsafeOf("skeleton_wall_skull"); + RegistryKey SKELETON_WALL_SKULL = RegistryKey.of("skeleton_wall_skull"); - RegistryKey SLIME_BLOCK = RegistryKey.unsafeOf("slime_block"); + RegistryKey SLIME_BLOCK = RegistryKey.of("slime_block"); - RegistryKey SMALL_AMETHYST_BUD = RegistryKey.unsafeOf("small_amethyst_bud"); + RegistryKey SMALL_AMETHYST_BUD = RegistryKey.of("small_amethyst_bud"); - RegistryKey SMALL_DRIPLEAF = RegistryKey.unsafeOf("small_dripleaf"); + RegistryKey SMALL_DRIPLEAF = RegistryKey.of("small_dripleaf"); - RegistryKey SMITHING_TABLE = RegistryKey.unsafeOf("smithing_table"); + RegistryKey SMITHING_TABLE = RegistryKey.of("smithing_table"); - RegistryKey SMOKER = RegistryKey.unsafeOf("smoker"); + RegistryKey SMOKER = RegistryKey.of("smoker"); - RegistryKey SMOOTH_BASALT = RegistryKey.unsafeOf("smooth_basalt"); + RegistryKey SMOOTH_BASALT = RegistryKey.of("smooth_basalt"); - RegistryKey SMOOTH_QUARTZ = RegistryKey.unsafeOf("smooth_quartz"); + RegistryKey SMOOTH_QUARTZ = RegistryKey.of("smooth_quartz"); - RegistryKey SMOOTH_QUARTZ_SLAB = RegistryKey.unsafeOf("smooth_quartz_slab"); + RegistryKey SMOOTH_QUARTZ_SLAB = RegistryKey.of("smooth_quartz_slab"); - RegistryKey SMOOTH_QUARTZ_STAIRS = RegistryKey.unsafeOf("smooth_quartz_stairs"); + RegistryKey SMOOTH_QUARTZ_STAIRS = RegistryKey.of("smooth_quartz_stairs"); - RegistryKey SMOOTH_RED_SANDSTONE = RegistryKey.unsafeOf("smooth_red_sandstone"); + RegistryKey SMOOTH_RED_SANDSTONE = RegistryKey.of("smooth_red_sandstone"); - RegistryKey SMOOTH_RED_SANDSTONE_SLAB = RegistryKey.unsafeOf("smooth_red_sandstone_slab"); + RegistryKey SMOOTH_RED_SANDSTONE_SLAB = RegistryKey.of("smooth_red_sandstone_slab"); - RegistryKey SMOOTH_RED_SANDSTONE_STAIRS = RegistryKey.unsafeOf("smooth_red_sandstone_stairs"); + RegistryKey SMOOTH_RED_SANDSTONE_STAIRS = RegistryKey.of("smooth_red_sandstone_stairs"); - RegistryKey SMOOTH_SANDSTONE = RegistryKey.unsafeOf("smooth_sandstone"); + RegistryKey SMOOTH_SANDSTONE = RegistryKey.of("smooth_sandstone"); - RegistryKey SMOOTH_SANDSTONE_SLAB = RegistryKey.unsafeOf("smooth_sandstone_slab"); + RegistryKey SMOOTH_SANDSTONE_SLAB = RegistryKey.of("smooth_sandstone_slab"); - RegistryKey SMOOTH_SANDSTONE_STAIRS = RegistryKey.unsafeOf("smooth_sandstone_stairs"); + RegistryKey SMOOTH_SANDSTONE_STAIRS = RegistryKey.of("smooth_sandstone_stairs"); - RegistryKey SMOOTH_STONE = RegistryKey.unsafeOf("smooth_stone"); + RegistryKey SMOOTH_STONE = RegistryKey.of("smooth_stone"); - RegistryKey SMOOTH_STONE_SLAB = RegistryKey.unsafeOf("smooth_stone_slab"); + RegistryKey SMOOTH_STONE_SLAB = RegistryKey.of("smooth_stone_slab"); - RegistryKey SNIFFER_EGG = RegistryKey.unsafeOf("sniffer_egg"); + RegistryKey SNIFFER_EGG = RegistryKey.of("sniffer_egg"); - RegistryKey SNOW = RegistryKey.unsafeOf("snow"); + RegistryKey SNOW = RegistryKey.of("snow"); - RegistryKey SNOW_BLOCK = RegistryKey.unsafeOf("snow_block"); + RegistryKey SNOW_BLOCK = RegistryKey.of("snow_block"); - RegistryKey SOUL_CAMPFIRE = RegistryKey.unsafeOf("soul_campfire"); + RegistryKey SOUL_CAMPFIRE = RegistryKey.of("soul_campfire"); - RegistryKey SOUL_FIRE = RegistryKey.unsafeOf("soul_fire"); + RegistryKey SOUL_FIRE = RegistryKey.of("soul_fire"); - RegistryKey SOUL_LANTERN = RegistryKey.unsafeOf("soul_lantern"); + RegistryKey SOUL_LANTERN = RegistryKey.of("soul_lantern"); - RegistryKey SOUL_SAND = RegistryKey.unsafeOf("soul_sand"); + RegistryKey SOUL_SAND = RegistryKey.of("soul_sand"); - RegistryKey SOUL_SOIL = RegistryKey.unsafeOf("soul_soil"); + RegistryKey SOUL_SOIL = RegistryKey.of("soul_soil"); - RegistryKey SOUL_TORCH = RegistryKey.unsafeOf("soul_torch"); + RegistryKey SOUL_TORCH = RegistryKey.of("soul_torch"); - RegistryKey SOUL_WALL_TORCH = RegistryKey.unsafeOf("soul_wall_torch"); + RegistryKey SOUL_WALL_TORCH = RegistryKey.of("soul_wall_torch"); - RegistryKey SPAWNER = RegistryKey.unsafeOf("spawner"); + RegistryKey SPAWNER = RegistryKey.of("spawner"); - RegistryKey SPONGE = RegistryKey.unsafeOf("sponge"); + RegistryKey SPONGE = RegistryKey.of("sponge"); - RegistryKey SPORE_BLOSSOM = RegistryKey.unsafeOf("spore_blossom"); + RegistryKey SPORE_BLOSSOM = RegistryKey.of("spore_blossom"); - RegistryKey SPRUCE_BUTTON = RegistryKey.unsafeOf("spruce_button"); + RegistryKey SPRUCE_BUTTON = RegistryKey.of("spruce_button"); - RegistryKey SPRUCE_DOOR = RegistryKey.unsafeOf("spruce_door"); + RegistryKey SPRUCE_DOOR = RegistryKey.of("spruce_door"); - RegistryKey SPRUCE_FENCE = RegistryKey.unsafeOf("spruce_fence"); + RegistryKey SPRUCE_FENCE = RegistryKey.of("spruce_fence"); - RegistryKey SPRUCE_FENCE_GATE = RegistryKey.unsafeOf("spruce_fence_gate"); + RegistryKey SPRUCE_FENCE_GATE = RegistryKey.of("spruce_fence_gate"); - RegistryKey SPRUCE_HANGING_SIGN = RegistryKey.unsafeOf("spruce_hanging_sign"); + RegistryKey SPRUCE_HANGING_SIGN = RegistryKey.of("spruce_hanging_sign"); - RegistryKey SPRUCE_LEAVES = RegistryKey.unsafeOf("spruce_leaves"); + RegistryKey SPRUCE_LEAVES = RegistryKey.of("spruce_leaves"); - RegistryKey SPRUCE_LOG = RegistryKey.unsafeOf("spruce_log"); + RegistryKey SPRUCE_LOG = RegistryKey.of("spruce_log"); - RegistryKey SPRUCE_PLANKS = RegistryKey.unsafeOf("spruce_planks"); + RegistryKey SPRUCE_PLANKS = RegistryKey.of("spruce_planks"); - RegistryKey SPRUCE_PRESSURE_PLATE = RegistryKey.unsafeOf("spruce_pressure_plate"); + RegistryKey SPRUCE_PRESSURE_PLATE = RegistryKey.of("spruce_pressure_plate"); - RegistryKey SPRUCE_SAPLING = RegistryKey.unsafeOf("spruce_sapling"); + RegistryKey SPRUCE_SAPLING = RegistryKey.of("spruce_sapling"); - RegistryKey SPRUCE_SHELF = RegistryKey.unsafeOf("spruce_shelf"); + RegistryKey SPRUCE_SHELF = RegistryKey.of("spruce_shelf"); - RegistryKey SPRUCE_SIGN = RegistryKey.unsafeOf("spruce_sign"); + RegistryKey SPRUCE_SIGN = RegistryKey.of("spruce_sign"); - RegistryKey SPRUCE_SLAB = RegistryKey.unsafeOf("spruce_slab"); + RegistryKey SPRUCE_SLAB = RegistryKey.of("spruce_slab"); - RegistryKey SPRUCE_STAIRS = RegistryKey.unsafeOf("spruce_stairs"); + RegistryKey SPRUCE_STAIRS = RegistryKey.of("spruce_stairs"); - RegistryKey SPRUCE_TRAPDOOR = RegistryKey.unsafeOf("spruce_trapdoor"); + RegistryKey SPRUCE_TRAPDOOR = RegistryKey.of("spruce_trapdoor"); - RegistryKey SPRUCE_WALL_HANGING_SIGN = RegistryKey.unsafeOf("spruce_wall_hanging_sign"); + RegistryKey SPRUCE_WALL_HANGING_SIGN = RegistryKey.of("spruce_wall_hanging_sign"); - RegistryKey SPRUCE_WALL_SIGN = RegistryKey.unsafeOf("spruce_wall_sign"); + RegistryKey SPRUCE_WALL_SIGN = RegistryKey.of("spruce_wall_sign"); - RegistryKey SPRUCE_WOOD = RegistryKey.unsafeOf("spruce_wood"); + RegistryKey SPRUCE_WOOD = RegistryKey.of("spruce_wood"); - RegistryKey STICKY_PISTON = RegistryKey.unsafeOf("sticky_piston"); + RegistryKey STICKY_PISTON = RegistryKey.of("sticky_piston"); - RegistryKey STONE = RegistryKey.unsafeOf("stone"); + RegistryKey STONE = RegistryKey.of("stone"); - RegistryKey STONE_BRICK_SLAB = RegistryKey.unsafeOf("stone_brick_slab"); + RegistryKey STONE_BRICK_SLAB = RegistryKey.of("stone_brick_slab"); - RegistryKey STONE_BRICK_STAIRS = RegistryKey.unsafeOf("stone_brick_stairs"); + RegistryKey STONE_BRICK_STAIRS = RegistryKey.of("stone_brick_stairs"); - RegistryKey STONE_BRICK_WALL = RegistryKey.unsafeOf("stone_brick_wall"); + RegistryKey STONE_BRICK_WALL = RegistryKey.of("stone_brick_wall"); - RegistryKey STONE_BRICKS = RegistryKey.unsafeOf("stone_bricks"); + RegistryKey STONE_BRICKS = RegistryKey.of("stone_bricks"); - RegistryKey STONE_BUTTON = RegistryKey.unsafeOf("stone_button"); + RegistryKey STONE_BUTTON = RegistryKey.of("stone_button"); - RegistryKey STONE_PRESSURE_PLATE = RegistryKey.unsafeOf("stone_pressure_plate"); + RegistryKey STONE_PRESSURE_PLATE = RegistryKey.of("stone_pressure_plate"); - RegistryKey STONE_SLAB = RegistryKey.unsafeOf("stone_slab"); + RegistryKey STONE_SLAB = RegistryKey.of("stone_slab"); - RegistryKey STONE_STAIRS = RegistryKey.unsafeOf("stone_stairs"); + RegistryKey STONE_STAIRS = RegistryKey.of("stone_stairs"); - RegistryKey STONECUTTER = RegistryKey.unsafeOf("stonecutter"); + RegistryKey STONECUTTER = RegistryKey.of("stonecutter"); - RegistryKey STRIPPED_ACACIA_LOG = RegistryKey.unsafeOf("stripped_acacia_log"); + RegistryKey STRIPPED_ACACIA_LOG = RegistryKey.of("stripped_acacia_log"); - RegistryKey STRIPPED_ACACIA_WOOD = RegistryKey.unsafeOf("stripped_acacia_wood"); + RegistryKey STRIPPED_ACACIA_WOOD = RegistryKey.of("stripped_acacia_wood"); - RegistryKey STRIPPED_BAMBOO_BLOCK = RegistryKey.unsafeOf("stripped_bamboo_block"); + RegistryKey STRIPPED_BAMBOO_BLOCK = RegistryKey.of("stripped_bamboo_block"); - RegistryKey STRIPPED_BIRCH_LOG = RegistryKey.unsafeOf("stripped_birch_log"); + RegistryKey STRIPPED_BIRCH_LOG = RegistryKey.of("stripped_birch_log"); - RegistryKey STRIPPED_BIRCH_WOOD = RegistryKey.unsafeOf("stripped_birch_wood"); + RegistryKey STRIPPED_BIRCH_WOOD = RegistryKey.of("stripped_birch_wood"); - RegistryKey STRIPPED_CHERRY_LOG = RegistryKey.unsafeOf("stripped_cherry_log"); + RegistryKey STRIPPED_CHERRY_LOG = RegistryKey.of("stripped_cherry_log"); - RegistryKey STRIPPED_CHERRY_WOOD = RegistryKey.unsafeOf("stripped_cherry_wood"); + RegistryKey STRIPPED_CHERRY_WOOD = RegistryKey.of("stripped_cherry_wood"); - RegistryKey STRIPPED_CRIMSON_HYPHAE = RegistryKey.unsafeOf("stripped_crimson_hyphae"); + RegistryKey STRIPPED_CRIMSON_HYPHAE = RegistryKey.of("stripped_crimson_hyphae"); - RegistryKey STRIPPED_CRIMSON_STEM = RegistryKey.unsafeOf("stripped_crimson_stem"); + RegistryKey STRIPPED_CRIMSON_STEM = RegistryKey.of("stripped_crimson_stem"); - RegistryKey STRIPPED_DARK_OAK_LOG = RegistryKey.unsafeOf("stripped_dark_oak_log"); + RegistryKey STRIPPED_DARK_OAK_LOG = RegistryKey.of("stripped_dark_oak_log"); - RegistryKey STRIPPED_DARK_OAK_WOOD = RegistryKey.unsafeOf("stripped_dark_oak_wood"); + RegistryKey STRIPPED_DARK_OAK_WOOD = RegistryKey.of("stripped_dark_oak_wood"); - RegistryKey STRIPPED_JUNGLE_LOG = RegistryKey.unsafeOf("stripped_jungle_log"); + RegistryKey STRIPPED_JUNGLE_LOG = RegistryKey.of("stripped_jungle_log"); - RegistryKey STRIPPED_JUNGLE_WOOD = RegistryKey.unsafeOf("stripped_jungle_wood"); + RegistryKey STRIPPED_JUNGLE_WOOD = RegistryKey.of("stripped_jungle_wood"); - RegistryKey STRIPPED_MANGROVE_LOG = RegistryKey.unsafeOf("stripped_mangrove_log"); + RegistryKey STRIPPED_MANGROVE_LOG = RegistryKey.of("stripped_mangrove_log"); - RegistryKey STRIPPED_MANGROVE_WOOD = RegistryKey.unsafeOf("stripped_mangrove_wood"); + RegistryKey STRIPPED_MANGROVE_WOOD = RegistryKey.of("stripped_mangrove_wood"); - RegistryKey STRIPPED_OAK_LOG = RegistryKey.unsafeOf("stripped_oak_log"); + RegistryKey STRIPPED_OAK_LOG = RegistryKey.of("stripped_oak_log"); - RegistryKey STRIPPED_OAK_WOOD = RegistryKey.unsafeOf("stripped_oak_wood"); + RegistryKey STRIPPED_OAK_WOOD = RegistryKey.of("stripped_oak_wood"); - RegistryKey STRIPPED_PALE_OAK_LOG = RegistryKey.unsafeOf("stripped_pale_oak_log"); + RegistryKey STRIPPED_PALE_OAK_LOG = RegistryKey.of("stripped_pale_oak_log"); - RegistryKey STRIPPED_PALE_OAK_WOOD = RegistryKey.unsafeOf("stripped_pale_oak_wood"); + RegistryKey STRIPPED_PALE_OAK_WOOD = RegistryKey.of("stripped_pale_oak_wood"); - RegistryKey STRIPPED_SPRUCE_LOG = RegistryKey.unsafeOf("stripped_spruce_log"); + RegistryKey STRIPPED_SPRUCE_LOG = RegistryKey.of("stripped_spruce_log"); - RegistryKey STRIPPED_SPRUCE_WOOD = RegistryKey.unsafeOf("stripped_spruce_wood"); + RegistryKey STRIPPED_SPRUCE_WOOD = RegistryKey.of("stripped_spruce_wood"); - RegistryKey STRIPPED_WARPED_HYPHAE = RegistryKey.unsafeOf("stripped_warped_hyphae"); + RegistryKey STRIPPED_WARPED_HYPHAE = RegistryKey.of("stripped_warped_hyphae"); - RegistryKey STRIPPED_WARPED_STEM = RegistryKey.unsafeOf("stripped_warped_stem"); + RegistryKey STRIPPED_WARPED_STEM = RegistryKey.of("stripped_warped_stem"); - RegistryKey STRUCTURE_BLOCK = RegistryKey.unsafeOf("structure_block"); + RegistryKey STRUCTURE_BLOCK = RegistryKey.of("structure_block"); - RegistryKey STRUCTURE_VOID = RegistryKey.unsafeOf("structure_void"); + RegistryKey STRUCTURE_VOID = RegistryKey.of("structure_void"); - RegistryKey SUGAR_CANE = RegistryKey.unsafeOf("sugar_cane"); + RegistryKey SUGAR_CANE = RegistryKey.of("sugar_cane"); - RegistryKey SULFUR = RegistryKey.unsafeOf("sulfur"); + RegistryKey SULFUR = RegistryKey.of("sulfur"); - RegistryKey SULFUR_BRICK_SLAB = RegistryKey.unsafeOf("sulfur_brick_slab"); + RegistryKey SULFUR_BRICK_SLAB = RegistryKey.of("sulfur_brick_slab"); - RegistryKey SULFUR_BRICK_STAIRS = RegistryKey.unsafeOf("sulfur_brick_stairs"); + RegistryKey SULFUR_BRICK_STAIRS = RegistryKey.of("sulfur_brick_stairs"); - RegistryKey SULFUR_BRICK_WALL = RegistryKey.unsafeOf("sulfur_brick_wall"); + RegistryKey SULFUR_BRICK_WALL = RegistryKey.of("sulfur_brick_wall"); - RegistryKey SULFUR_BRICKS = RegistryKey.unsafeOf("sulfur_bricks"); + RegistryKey SULFUR_BRICKS = RegistryKey.of("sulfur_bricks"); - RegistryKey SULFUR_SLAB = RegistryKey.unsafeOf("sulfur_slab"); + RegistryKey SULFUR_SLAB = RegistryKey.of("sulfur_slab"); - RegistryKey SULFUR_SPIKE = RegistryKey.unsafeOf("sulfur_spike"); + RegistryKey SULFUR_SPIKE = RegistryKey.of("sulfur_spike"); - RegistryKey SULFUR_STAIRS = RegistryKey.unsafeOf("sulfur_stairs"); + RegistryKey SULFUR_STAIRS = RegistryKey.of("sulfur_stairs"); - RegistryKey SULFUR_WALL = RegistryKey.unsafeOf("sulfur_wall"); + RegistryKey SULFUR_WALL = RegistryKey.of("sulfur_wall"); - RegistryKey SUNFLOWER = RegistryKey.unsafeOf("sunflower"); + RegistryKey SUNFLOWER = RegistryKey.of("sunflower"); - RegistryKey SUSPICIOUS_GRAVEL = RegistryKey.unsafeOf("suspicious_gravel"); + RegistryKey SUSPICIOUS_GRAVEL = RegistryKey.of("suspicious_gravel"); - RegistryKey SUSPICIOUS_SAND = RegistryKey.unsafeOf("suspicious_sand"); + RegistryKey SUSPICIOUS_SAND = RegistryKey.of("suspicious_sand"); - RegistryKey SWEET_BERRY_BUSH = RegistryKey.unsafeOf("sweet_berry_bush"); + RegistryKey SWEET_BERRY_BUSH = RegistryKey.of("sweet_berry_bush"); - RegistryKey TALL_DRY_GRASS = RegistryKey.unsafeOf("tall_dry_grass"); + RegistryKey TALL_DRY_GRASS = RegistryKey.of("tall_dry_grass"); - RegistryKey TALL_GRASS = RegistryKey.unsafeOf("tall_grass"); + RegistryKey TALL_GRASS = RegistryKey.of("tall_grass"); - RegistryKey TALL_SEAGRASS = RegistryKey.unsafeOf("tall_seagrass"); + RegistryKey TALL_SEAGRASS = RegistryKey.of("tall_seagrass"); - RegistryKey TARGET = RegistryKey.unsafeOf("target"); + RegistryKey TARGET = RegistryKey.of("target"); - RegistryKey TERRACOTTA = RegistryKey.unsafeOf("terracotta"); + RegistryKey TERRACOTTA = RegistryKey.of("terracotta"); - RegistryKey TEST_BLOCK = RegistryKey.unsafeOf("test_block"); + RegistryKey TEST_BLOCK = RegistryKey.of("test_block"); - RegistryKey TEST_INSTANCE_BLOCK = RegistryKey.unsafeOf("test_instance_block"); + RegistryKey TEST_INSTANCE_BLOCK = RegistryKey.of("test_instance_block"); - RegistryKey TINTED_GLASS = RegistryKey.unsafeOf("tinted_glass"); + RegistryKey TINTED_GLASS = RegistryKey.of("tinted_glass"); - RegistryKey TNT = RegistryKey.unsafeOf("tnt"); + RegistryKey TNT = RegistryKey.of("tnt"); - RegistryKey TORCH = RegistryKey.unsafeOf("torch"); + RegistryKey TORCH = RegistryKey.of("torch"); - RegistryKey TORCHFLOWER = RegistryKey.unsafeOf("torchflower"); + RegistryKey TORCHFLOWER = RegistryKey.of("torchflower"); - RegistryKey TORCHFLOWER_CROP = RegistryKey.unsafeOf("torchflower_crop"); + RegistryKey TORCHFLOWER_CROP = RegistryKey.of("torchflower_crop"); - RegistryKey TRAPPED_CHEST = RegistryKey.unsafeOf("trapped_chest"); + RegistryKey TRAPPED_CHEST = RegistryKey.of("trapped_chest"); - RegistryKey TRIAL_SPAWNER = RegistryKey.unsafeOf("trial_spawner"); + RegistryKey TRIAL_SPAWNER = RegistryKey.of("trial_spawner"); - RegistryKey TRIPWIRE = RegistryKey.unsafeOf("tripwire"); + RegistryKey TRIPWIRE = RegistryKey.of("tripwire"); - RegistryKey TRIPWIRE_HOOK = RegistryKey.unsafeOf("tripwire_hook"); + RegistryKey TRIPWIRE_HOOK = RegistryKey.of("tripwire_hook"); - RegistryKey TUBE_CORAL = RegistryKey.unsafeOf("tube_coral"); + RegistryKey TUBE_CORAL = RegistryKey.of("tube_coral"); - RegistryKey TUBE_CORAL_BLOCK = RegistryKey.unsafeOf("tube_coral_block"); + RegistryKey TUBE_CORAL_BLOCK = RegistryKey.of("tube_coral_block"); - RegistryKey TUBE_CORAL_FAN = RegistryKey.unsafeOf("tube_coral_fan"); + RegistryKey TUBE_CORAL_FAN = RegistryKey.of("tube_coral_fan"); - RegistryKey TUBE_CORAL_WALL_FAN = RegistryKey.unsafeOf("tube_coral_wall_fan"); + RegistryKey TUBE_CORAL_WALL_FAN = RegistryKey.of("tube_coral_wall_fan"); - RegistryKey TUFF = RegistryKey.unsafeOf("tuff"); + RegistryKey TUFF = RegistryKey.of("tuff"); - RegistryKey TUFF_BRICK_SLAB = RegistryKey.unsafeOf("tuff_brick_slab"); + RegistryKey TUFF_BRICK_SLAB = RegistryKey.of("tuff_brick_slab"); - RegistryKey TUFF_BRICK_STAIRS = RegistryKey.unsafeOf("tuff_brick_stairs"); + RegistryKey TUFF_BRICK_STAIRS = RegistryKey.of("tuff_brick_stairs"); - RegistryKey TUFF_BRICK_WALL = RegistryKey.unsafeOf("tuff_brick_wall"); + RegistryKey TUFF_BRICK_WALL = RegistryKey.of("tuff_brick_wall"); - RegistryKey TUFF_BRICKS = RegistryKey.unsafeOf("tuff_bricks"); + RegistryKey TUFF_BRICKS = RegistryKey.of("tuff_bricks"); - RegistryKey TUFF_SLAB = RegistryKey.unsafeOf("tuff_slab"); + RegistryKey TUFF_SLAB = RegistryKey.of("tuff_slab"); - RegistryKey TUFF_STAIRS = RegistryKey.unsafeOf("tuff_stairs"); + RegistryKey TUFF_STAIRS = RegistryKey.of("tuff_stairs"); - RegistryKey TUFF_WALL = RegistryKey.unsafeOf("tuff_wall"); + RegistryKey TUFF_WALL = RegistryKey.of("tuff_wall"); - RegistryKey TURTLE_EGG = RegistryKey.unsafeOf("turtle_egg"); + RegistryKey TURTLE_EGG = RegistryKey.of("turtle_egg"); - RegistryKey TWISTING_VINES = RegistryKey.unsafeOf("twisting_vines"); + RegistryKey TWISTING_VINES = RegistryKey.of("twisting_vines"); - RegistryKey TWISTING_VINES_PLANT = RegistryKey.unsafeOf("twisting_vines_plant"); + RegistryKey TWISTING_VINES_PLANT = RegistryKey.of("twisting_vines_plant"); - RegistryKey VAULT = RegistryKey.unsafeOf("vault"); + RegistryKey VAULT = RegistryKey.of("vault"); - RegistryKey VERDANT_FROGLIGHT = RegistryKey.unsafeOf("verdant_froglight"); + RegistryKey VERDANT_FROGLIGHT = RegistryKey.of("verdant_froglight"); - RegistryKey VINE = RegistryKey.unsafeOf("vine"); + RegistryKey VINE = RegistryKey.of("vine"); - RegistryKey VOID_AIR = RegistryKey.unsafeOf("void_air"); + RegistryKey VOID_AIR = RegistryKey.of("void_air"); - RegistryKey WALL_TORCH = RegistryKey.unsafeOf("wall_torch"); + RegistryKey WALL_TORCH = RegistryKey.of("wall_torch"); - RegistryKey WARPED_BUTTON = RegistryKey.unsafeOf("warped_button"); + RegistryKey WARPED_BUTTON = RegistryKey.of("warped_button"); - RegistryKey WARPED_DOOR = RegistryKey.unsafeOf("warped_door"); + RegistryKey WARPED_DOOR = RegistryKey.of("warped_door"); - RegistryKey WARPED_FENCE = RegistryKey.unsafeOf("warped_fence"); + RegistryKey WARPED_FENCE = RegistryKey.of("warped_fence"); - RegistryKey WARPED_FENCE_GATE = RegistryKey.unsafeOf("warped_fence_gate"); + RegistryKey WARPED_FENCE_GATE = RegistryKey.of("warped_fence_gate"); - RegistryKey WARPED_FUNGUS = RegistryKey.unsafeOf("warped_fungus"); + RegistryKey WARPED_FUNGUS = RegistryKey.of("warped_fungus"); - RegistryKey WARPED_HANGING_SIGN = RegistryKey.unsafeOf("warped_hanging_sign"); + RegistryKey WARPED_HANGING_SIGN = RegistryKey.of("warped_hanging_sign"); - RegistryKey WARPED_HYPHAE = RegistryKey.unsafeOf("warped_hyphae"); + RegistryKey WARPED_HYPHAE = RegistryKey.of("warped_hyphae"); - RegistryKey WARPED_NYLIUM = RegistryKey.unsafeOf("warped_nylium"); + RegistryKey WARPED_NYLIUM = RegistryKey.of("warped_nylium"); - RegistryKey WARPED_PLANKS = RegistryKey.unsafeOf("warped_planks"); + RegistryKey WARPED_PLANKS = RegistryKey.of("warped_planks"); - RegistryKey WARPED_PRESSURE_PLATE = RegistryKey.unsafeOf("warped_pressure_plate"); + RegistryKey WARPED_PRESSURE_PLATE = RegistryKey.of("warped_pressure_plate"); - RegistryKey WARPED_ROOTS = RegistryKey.unsafeOf("warped_roots"); + RegistryKey WARPED_ROOTS = RegistryKey.of("warped_roots"); - RegistryKey WARPED_SHELF = RegistryKey.unsafeOf("warped_shelf"); + RegistryKey WARPED_SHELF = RegistryKey.of("warped_shelf"); - RegistryKey WARPED_SIGN = RegistryKey.unsafeOf("warped_sign"); + RegistryKey WARPED_SIGN = RegistryKey.of("warped_sign"); - RegistryKey WARPED_SLAB = RegistryKey.unsafeOf("warped_slab"); + RegistryKey WARPED_SLAB = RegistryKey.of("warped_slab"); - RegistryKey WARPED_STAIRS = RegistryKey.unsafeOf("warped_stairs"); + RegistryKey WARPED_STAIRS = RegistryKey.of("warped_stairs"); - RegistryKey WARPED_STEM = RegistryKey.unsafeOf("warped_stem"); + RegistryKey WARPED_STEM = RegistryKey.of("warped_stem"); - RegistryKey WARPED_TRAPDOOR = RegistryKey.unsafeOf("warped_trapdoor"); + RegistryKey WARPED_TRAPDOOR = RegistryKey.of("warped_trapdoor"); - RegistryKey WARPED_WALL_HANGING_SIGN = RegistryKey.unsafeOf("warped_wall_hanging_sign"); + RegistryKey WARPED_WALL_HANGING_SIGN = RegistryKey.of("warped_wall_hanging_sign"); - RegistryKey WARPED_WALL_SIGN = RegistryKey.unsafeOf("warped_wall_sign"); + RegistryKey WARPED_WALL_SIGN = RegistryKey.of("warped_wall_sign"); - RegistryKey WARPED_WART_BLOCK = RegistryKey.unsafeOf("warped_wart_block"); + RegistryKey WARPED_WART_BLOCK = RegistryKey.of("warped_wart_block"); - RegistryKey WATER = RegistryKey.unsafeOf("water"); + RegistryKey WATER = RegistryKey.of("water"); - RegistryKey WATER_CAULDRON = RegistryKey.unsafeOf("water_cauldron"); + RegistryKey WATER_CAULDRON = RegistryKey.of("water_cauldron"); - RegistryKey WAXED_CHISELED_COPPER = RegistryKey.unsafeOf("waxed_chiseled_copper"); + RegistryKey WAXED_CHISELED_COPPER = RegistryKey.of("waxed_chiseled_copper"); - RegistryKey WAXED_COPPER_BARS = RegistryKey.unsafeOf("waxed_copper_bars"); + RegistryKey WAXED_COPPER_BARS = RegistryKey.of("waxed_copper_bars"); - RegistryKey WAXED_COPPER_BLOCK = RegistryKey.unsafeOf("waxed_copper_block"); + RegistryKey WAXED_COPPER_BLOCK = RegistryKey.of("waxed_copper_block"); - RegistryKey WAXED_COPPER_BULB = RegistryKey.unsafeOf("waxed_copper_bulb"); + RegistryKey WAXED_COPPER_BULB = RegistryKey.of("waxed_copper_bulb"); - RegistryKey WAXED_COPPER_CHAIN = RegistryKey.unsafeOf("waxed_copper_chain"); + RegistryKey WAXED_COPPER_CHAIN = RegistryKey.of("waxed_copper_chain"); - RegistryKey WAXED_COPPER_CHEST = RegistryKey.unsafeOf("waxed_copper_chest"); + RegistryKey WAXED_COPPER_CHEST = RegistryKey.of("waxed_copper_chest"); - RegistryKey WAXED_COPPER_DOOR = RegistryKey.unsafeOf("waxed_copper_door"); + RegistryKey WAXED_COPPER_DOOR = RegistryKey.of("waxed_copper_door"); - RegistryKey WAXED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("waxed_copper_golem_statue"); + RegistryKey WAXED_COPPER_GOLEM_STATUE = RegistryKey.of("waxed_copper_golem_statue"); - RegistryKey WAXED_COPPER_GRATE = RegistryKey.unsafeOf("waxed_copper_grate"); + RegistryKey WAXED_COPPER_GRATE = RegistryKey.of("waxed_copper_grate"); - RegistryKey WAXED_COPPER_LANTERN = RegistryKey.unsafeOf("waxed_copper_lantern"); + RegistryKey WAXED_COPPER_LANTERN = RegistryKey.of("waxed_copper_lantern"); - RegistryKey WAXED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("waxed_copper_trapdoor"); + RegistryKey WAXED_COPPER_TRAPDOOR = RegistryKey.of("waxed_copper_trapdoor"); - RegistryKey WAXED_CUT_COPPER = RegistryKey.unsafeOf("waxed_cut_copper"); + RegistryKey WAXED_CUT_COPPER = RegistryKey.of("waxed_cut_copper"); - RegistryKey WAXED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("waxed_cut_copper_slab"); + RegistryKey WAXED_CUT_COPPER_SLAB = RegistryKey.of("waxed_cut_copper_slab"); - RegistryKey WAXED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("waxed_cut_copper_stairs"); + RegistryKey WAXED_CUT_COPPER_STAIRS = RegistryKey.of("waxed_cut_copper_stairs"); - RegistryKey WAXED_EXPOSED_CHISELED_COPPER = RegistryKey.unsafeOf("waxed_exposed_chiseled_copper"); + RegistryKey WAXED_EXPOSED_CHISELED_COPPER = RegistryKey.of("waxed_exposed_chiseled_copper"); - RegistryKey WAXED_EXPOSED_COPPER = RegistryKey.unsafeOf("waxed_exposed_copper"); + RegistryKey WAXED_EXPOSED_COPPER = RegistryKey.of("waxed_exposed_copper"); - RegistryKey WAXED_EXPOSED_COPPER_BARS = RegistryKey.unsafeOf("waxed_exposed_copper_bars"); + RegistryKey WAXED_EXPOSED_COPPER_BARS = RegistryKey.of("waxed_exposed_copper_bars"); - RegistryKey WAXED_EXPOSED_COPPER_BULB = RegistryKey.unsafeOf("waxed_exposed_copper_bulb"); + RegistryKey WAXED_EXPOSED_COPPER_BULB = RegistryKey.of("waxed_exposed_copper_bulb"); - RegistryKey WAXED_EXPOSED_COPPER_CHAIN = RegistryKey.unsafeOf("waxed_exposed_copper_chain"); + RegistryKey WAXED_EXPOSED_COPPER_CHAIN = RegistryKey.of("waxed_exposed_copper_chain"); - RegistryKey WAXED_EXPOSED_COPPER_CHEST = RegistryKey.unsafeOf("waxed_exposed_copper_chest"); + RegistryKey WAXED_EXPOSED_COPPER_CHEST = RegistryKey.of("waxed_exposed_copper_chest"); - RegistryKey WAXED_EXPOSED_COPPER_DOOR = RegistryKey.unsafeOf("waxed_exposed_copper_door"); + RegistryKey WAXED_EXPOSED_COPPER_DOOR = RegistryKey.of("waxed_exposed_copper_door"); - RegistryKey WAXED_EXPOSED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("waxed_exposed_copper_golem_statue"); + RegistryKey WAXED_EXPOSED_COPPER_GOLEM_STATUE = RegistryKey.of("waxed_exposed_copper_golem_statue"); - RegistryKey WAXED_EXPOSED_COPPER_GRATE = RegistryKey.unsafeOf("waxed_exposed_copper_grate"); + RegistryKey WAXED_EXPOSED_COPPER_GRATE = RegistryKey.of("waxed_exposed_copper_grate"); - RegistryKey WAXED_EXPOSED_COPPER_LANTERN = RegistryKey.unsafeOf("waxed_exposed_copper_lantern"); + RegistryKey WAXED_EXPOSED_COPPER_LANTERN = RegistryKey.of("waxed_exposed_copper_lantern"); - RegistryKey WAXED_EXPOSED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("waxed_exposed_copper_trapdoor"); + RegistryKey WAXED_EXPOSED_COPPER_TRAPDOOR = RegistryKey.of("waxed_exposed_copper_trapdoor"); - RegistryKey WAXED_EXPOSED_CUT_COPPER = RegistryKey.unsafeOf("waxed_exposed_cut_copper"); + RegistryKey WAXED_EXPOSED_CUT_COPPER = RegistryKey.of("waxed_exposed_cut_copper"); - RegistryKey WAXED_EXPOSED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("waxed_exposed_cut_copper_slab"); + RegistryKey WAXED_EXPOSED_CUT_COPPER_SLAB = RegistryKey.of("waxed_exposed_cut_copper_slab"); - RegistryKey WAXED_EXPOSED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("waxed_exposed_cut_copper_stairs"); + RegistryKey WAXED_EXPOSED_CUT_COPPER_STAIRS = RegistryKey.of("waxed_exposed_cut_copper_stairs"); - RegistryKey WAXED_EXPOSED_LIGHTNING_ROD = RegistryKey.unsafeOf("waxed_exposed_lightning_rod"); + RegistryKey WAXED_EXPOSED_LIGHTNING_ROD = RegistryKey.of("waxed_exposed_lightning_rod"); - RegistryKey WAXED_LIGHTNING_ROD = RegistryKey.unsafeOf("waxed_lightning_rod"); + RegistryKey WAXED_LIGHTNING_ROD = RegistryKey.of("waxed_lightning_rod"); - RegistryKey WAXED_OXIDIZED_CHISELED_COPPER = RegistryKey.unsafeOf("waxed_oxidized_chiseled_copper"); + RegistryKey WAXED_OXIDIZED_CHISELED_COPPER = RegistryKey.of("waxed_oxidized_chiseled_copper"); - RegistryKey WAXED_OXIDIZED_COPPER = RegistryKey.unsafeOf("waxed_oxidized_copper"); + RegistryKey WAXED_OXIDIZED_COPPER = RegistryKey.of("waxed_oxidized_copper"); - RegistryKey WAXED_OXIDIZED_COPPER_BARS = RegistryKey.unsafeOf("waxed_oxidized_copper_bars"); + RegistryKey WAXED_OXIDIZED_COPPER_BARS = RegistryKey.of("waxed_oxidized_copper_bars"); - RegistryKey WAXED_OXIDIZED_COPPER_BULB = RegistryKey.unsafeOf("waxed_oxidized_copper_bulb"); + RegistryKey WAXED_OXIDIZED_COPPER_BULB = RegistryKey.of("waxed_oxidized_copper_bulb"); - RegistryKey WAXED_OXIDIZED_COPPER_CHAIN = RegistryKey.unsafeOf("waxed_oxidized_copper_chain"); + RegistryKey WAXED_OXIDIZED_COPPER_CHAIN = RegistryKey.of("waxed_oxidized_copper_chain"); - RegistryKey WAXED_OXIDIZED_COPPER_CHEST = RegistryKey.unsafeOf("waxed_oxidized_copper_chest"); + RegistryKey WAXED_OXIDIZED_COPPER_CHEST = RegistryKey.of("waxed_oxidized_copper_chest"); - RegistryKey WAXED_OXIDIZED_COPPER_DOOR = RegistryKey.unsafeOf("waxed_oxidized_copper_door"); + RegistryKey WAXED_OXIDIZED_COPPER_DOOR = RegistryKey.of("waxed_oxidized_copper_door"); - RegistryKey WAXED_OXIDIZED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("waxed_oxidized_copper_golem_statue"); + RegistryKey WAXED_OXIDIZED_COPPER_GOLEM_STATUE = RegistryKey.of("waxed_oxidized_copper_golem_statue"); - RegistryKey WAXED_OXIDIZED_COPPER_GRATE = RegistryKey.unsafeOf("waxed_oxidized_copper_grate"); + RegistryKey WAXED_OXIDIZED_COPPER_GRATE = RegistryKey.of("waxed_oxidized_copper_grate"); - RegistryKey WAXED_OXIDIZED_COPPER_LANTERN = RegistryKey.unsafeOf("waxed_oxidized_copper_lantern"); + RegistryKey WAXED_OXIDIZED_COPPER_LANTERN = RegistryKey.of("waxed_oxidized_copper_lantern"); - RegistryKey WAXED_OXIDIZED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("waxed_oxidized_copper_trapdoor"); + RegistryKey WAXED_OXIDIZED_COPPER_TRAPDOOR = RegistryKey.of("waxed_oxidized_copper_trapdoor"); - RegistryKey WAXED_OXIDIZED_CUT_COPPER = RegistryKey.unsafeOf("waxed_oxidized_cut_copper"); + RegistryKey WAXED_OXIDIZED_CUT_COPPER = RegistryKey.of("waxed_oxidized_cut_copper"); - RegistryKey WAXED_OXIDIZED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("waxed_oxidized_cut_copper_slab"); + RegistryKey WAXED_OXIDIZED_CUT_COPPER_SLAB = RegistryKey.of("waxed_oxidized_cut_copper_slab"); - RegistryKey WAXED_OXIDIZED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("waxed_oxidized_cut_copper_stairs"); + RegistryKey WAXED_OXIDIZED_CUT_COPPER_STAIRS = RegistryKey.of("waxed_oxidized_cut_copper_stairs"); - RegistryKey WAXED_OXIDIZED_LIGHTNING_ROD = RegistryKey.unsafeOf("waxed_oxidized_lightning_rod"); + RegistryKey WAXED_OXIDIZED_LIGHTNING_ROD = RegistryKey.of("waxed_oxidized_lightning_rod"); - RegistryKey WAXED_WEATHERED_CHISELED_COPPER = RegistryKey.unsafeOf("waxed_weathered_chiseled_copper"); + RegistryKey WAXED_WEATHERED_CHISELED_COPPER = RegistryKey.of("waxed_weathered_chiseled_copper"); - RegistryKey WAXED_WEATHERED_COPPER = RegistryKey.unsafeOf("waxed_weathered_copper"); + RegistryKey WAXED_WEATHERED_COPPER = RegistryKey.of("waxed_weathered_copper"); - RegistryKey WAXED_WEATHERED_COPPER_BARS = RegistryKey.unsafeOf("waxed_weathered_copper_bars"); + RegistryKey WAXED_WEATHERED_COPPER_BARS = RegistryKey.of("waxed_weathered_copper_bars"); - RegistryKey WAXED_WEATHERED_COPPER_BULB = RegistryKey.unsafeOf("waxed_weathered_copper_bulb"); + RegistryKey WAXED_WEATHERED_COPPER_BULB = RegistryKey.of("waxed_weathered_copper_bulb"); - RegistryKey WAXED_WEATHERED_COPPER_CHAIN = RegistryKey.unsafeOf("waxed_weathered_copper_chain"); + RegistryKey WAXED_WEATHERED_COPPER_CHAIN = RegistryKey.of("waxed_weathered_copper_chain"); - RegistryKey WAXED_WEATHERED_COPPER_CHEST = RegistryKey.unsafeOf("waxed_weathered_copper_chest"); + RegistryKey WAXED_WEATHERED_COPPER_CHEST = RegistryKey.of("waxed_weathered_copper_chest"); - RegistryKey WAXED_WEATHERED_COPPER_DOOR = RegistryKey.unsafeOf("waxed_weathered_copper_door"); + RegistryKey WAXED_WEATHERED_COPPER_DOOR = RegistryKey.of("waxed_weathered_copper_door"); - RegistryKey WAXED_WEATHERED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("waxed_weathered_copper_golem_statue"); + RegistryKey WAXED_WEATHERED_COPPER_GOLEM_STATUE = RegistryKey.of("waxed_weathered_copper_golem_statue"); - RegistryKey WAXED_WEATHERED_COPPER_GRATE = RegistryKey.unsafeOf("waxed_weathered_copper_grate"); + RegistryKey WAXED_WEATHERED_COPPER_GRATE = RegistryKey.of("waxed_weathered_copper_grate"); - RegistryKey WAXED_WEATHERED_COPPER_LANTERN = RegistryKey.unsafeOf("waxed_weathered_copper_lantern"); + RegistryKey WAXED_WEATHERED_COPPER_LANTERN = RegistryKey.of("waxed_weathered_copper_lantern"); - RegistryKey WAXED_WEATHERED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("waxed_weathered_copper_trapdoor"); + RegistryKey WAXED_WEATHERED_COPPER_TRAPDOOR = RegistryKey.of("waxed_weathered_copper_trapdoor"); - RegistryKey WAXED_WEATHERED_CUT_COPPER = RegistryKey.unsafeOf("waxed_weathered_cut_copper"); + RegistryKey WAXED_WEATHERED_CUT_COPPER = RegistryKey.of("waxed_weathered_cut_copper"); - RegistryKey WAXED_WEATHERED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("waxed_weathered_cut_copper_slab"); + RegistryKey WAXED_WEATHERED_CUT_COPPER_SLAB = RegistryKey.of("waxed_weathered_cut_copper_slab"); - RegistryKey WAXED_WEATHERED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("waxed_weathered_cut_copper_stairs"); + RegistryKey WAXED_WEATHERED_CUT_COPPER_STAIRS = RegistryKey.of("waxed_weathered_cut_copper_stairs"); - RegistryKey WAXED_WEATHERED_LIGHTNING_ROD = RegistryKey.unsafeOf("waxed_weathered_lightning_rod"); + RegistryKey WAXED_WEATHERED_LIGHTNING_ROD = RegistryKey.of("waxed_weathered_lightning_rod"); - RegistryKey WEATHERED_CHISELED_COPPER = RegistryKey.unsafeOf("weathered_chiseled_copper"); + RegistryKey WEATHERED_CHISELED_COPPER = RegistryKey.of("weathered_chiseled_copper"); - RegistryKey WEATHERED_COPPER = RegistryKey.unsafeOf("weathered_copper"); + RegistryKey WEATHERED_COPPER = RegistryKey.of("weathered_copper"); - RegistryKey WEATHERED_COPPER_BARS = RegistryKey.unsafeOf("weathered_copper_bars"); + RegistryKey WEATHERED_COPPER_BARS = RegistryKey.of("weathered_copper_bars"); - RegistryKey WEATHERED_COPPER_BULB = RegistryKey.unsafeOf("weathered_copper_bulb"); + RegistryKey WEATHERED_COPPER_BULB = RegistryKey.of("weathered_copper_bulb"); - RegistryKey WEATHERED_COPPER_CHAIN = RegistryKey.unsafeOf("weathered_copper_chain"); + RegistryKey WEATHERED_COPPER_CHAIN = RegistryKey.of("weathered_copper_chain"); - RegistryKey WEATHERED_COPPER_CHEST = RegistryKey.unsafeOf("weathered_copper_chest"); + RegistryKey WEATHERED_COPPER_CHEST = RegistryKey.of("weathered_copper_chest"); - RegistryKey WEATHERED_COPPER_DOOR = RegistryKey.unsafeOf("weathered_copper_door"); + RegistryKey WEATHERED_COPPER_DOOR = RegistryKey.of("weathered_copper_door"); - RegistryKey WEATHERED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("weathered_copper_golem_statue"); + RegistryKey WEATHERED_COPPER_GOLEM_STATUE = RegistryKey.of("weathered_copper_golem_statue"); - RegistryKey WEATHERED_COPPER_GRATE = RegistryKey.unsafeOf("weathered_copper_grate"); + RegistryKey WEATHERED_COPPER_GRATE = RegistryKey.of("weathered_copper_grate"); - RegistryKey WEATHERED_COPPER_LANTERN = RegistryKey.unsafeOf("weathered_copper_lantern"); + RegistryKey WEATHERED_COPPER_LANTERN = RegistryKey.of("weathered_copper_lantern"); - RegistryKey WEATHERED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("weathered_copper_trapdoor"); + RegistryKey WEATHERED_COPPER_TRAPDOOR = RegistryKey.of("weathered_copper_trapdoor"); - RegistryKey WEATHERED_CUT_COPPER = RegistryKey.unsafeOf("weathered_cut_copper"); + RegistryKey WEATHERED_CUT_COPPER = RegistryKey.of("weathered_cut_copper"); - RegistryKey WEATHERED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("weathered_cut_copper_slab"); + RegistryKey WEATHERED_CUT_COPPER_SLAB = RegistryKey.of("weathered_cut_copper_slab"); - RegistryKey WEATHERED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("weathered_cut_copper_stairs"); + RegistryKey WEATHERED_CUT_COPPER_STAIRS = RegistryKey.of("weathered_cut_copper_stairs"); - RegistryKey WEATHERED_LIGHTNING_ROD = RegistryKey.unsafeOf("weathered_lightning_rod"); + RegistryKey WEATHERED_LIGHTNING_ROD = RegistryKey.of("weathered_lightning_rod"); - RegistryKey WEEPING_VINES = RegistryKey.unsafeOf("weeping_vines"); + RegistryKey WEEPING_VINES = RegistryKey.of("weeping_vines"); - RegistryKey WEEPING_VINES_PLANT = RegistryKey.unsafeOf("weeping_vines_plant"); + RegistryKey WEEPING_VINES_PLANT = RegistryKey.of("weeping_vines_plant"); - RegistryKey WET_SPONGE = RegistryKey.unsafeOf("wet_sponge"); + RegistryKey WET_SPONGE = RegistryKey.of("wet_sponge"); - RegistryKey WHEAT = RegistryKey.unsafeOf("wheat"); + RegistryKey WHEAT = RegistryKey.of("wheat"); - RegistryKey WHITE_BANNER = RegistryKey.unsafeOf("white_banner"); + RegistryKey WHITE_BANNER = RegistryKey.of("white_banner"); - RegistryKey WHITE_BED = RegistryKey.unsafeOf("white_bed"); + RegistryKey WHITE_BED = RegistryKey.of("white_bed"); - RegistryKey WHITE_CANDLE = RegistryKey.unsafeOf("white_candle"); + RegistryKey WHITE_CANDLE = RegistryKey.of("white_candle"); - RegistryKey WHITE_CANDLE_CAKE = RegistryKey.unsafeOf("white_candle_cake"); + RegistryKey WHITE_CANDLE_CAKE = RegistryKey.of("white_candle_cake"); - RegistryKey WHITE_CARPET = RegistryKey.unsafeOf("white_carpet"); + RegistryKey WHITE_CARPET = RegistryKey.of("white_carpet"); - RegistryKey WHITE_CONCRETE = RegistryKey.unsafeOf("white_concrete"); + RegistryKey WHITE_CONCRETE = RegistryKey.of("white_concrete"); - RegistryKey WHITE_CONCRETE_POWDER = RegistryKey.unsafeOf("white_concrete_powder"); + RegistryKey WHITE_CONCRETE_POWDER = RegistryKey.of("white_concrete_powder"); - RegistryKey WHITE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("white_glazed_terracotta"); + RegistryKey WHITE_GLAZED_TERRACOTTA = RegistryKey.of("white_glazed_terracotta"); - RegistryKey WHITE_SHULKER_BOX = RegistryKey.unsafeOf("white_shulker_box"); + RegistryKey WHITE_SHULKER_BOX = RegistryKey.of("white_shulker_box"); - RegistryKey WHITE_STAINED_GLASS = RegistryKey.unsafeOf("white_stained_glass"); + RegistryKey WHITE_STAINED_GLASS = RegistryKey.of("white_stained_glass"); - RegistryKey WHITE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("white_stained_glass_pane"); + RegistryKey WHITE_STAINED_GLASS_PANE = RegistryKey.of("white_stained_glass_pane"); - RegistryKey WHITE_TERRACOTTA = RegistryKey.unsafeOf("white_terracotta"); + RegistryKey WHITE_TERRACOTTA = RegistryKey.of("white_terracotta"); - RegistryKey WHITE_TULIP = RegistryKey.unsafeOf("white_tulip"); + RegistryKey WHITE_TULIP = RegistryKey.of("white_tulip"); - RegistryKey WHITE_WALL_BANNER = RegistryKey.unsafeOf("white_wall_banner"); + RegistryKey WHITE_WALL_BANNER = RegistryKey.of("white_wall_banner"); - RegistryKey WHITE_WOOL = RegistryKey.unsafeOf("white_wool"); + RegistryKey WHITE_WOOL = RegistryKey.of("white_wool"); - RegistryKey WILDFLOWERS = RegistryKey.unsafeOf("wildflowers"); + RegistryKey WILDFLOWERS = RegistryKey.of("wildflowers"); - RegistryKey WITHER_ROSE = RegistryKey.unsafeOf("wither_rose"); + RegistryKey WITHER_ROSE = RegistryKey.of("wither_rose"); - RegistryKey WITHER_SKELETON_SKULL = RegistryKey.unsafeOf("wither_skeleton_skull"); + RegistryKey WITHER_SKELETON_SKULL = RegistryKey.of("wither_skeleton_skull"); - RegistryKey WITHER_SKELETON_WALL_SKULL = RegistryKey.unsafeOf("wither_skeleton_wall_skull"); + RegistryKey WITHER_SKELETON_WALL_SKULL = RegistryKey.of("wither_skeleton_wall_skull"); - RegistryKey YELLOW_BANNER = RegistryKey.unsafeOf("yellow_banner"); + RegistryKey YELLOW_BANNER = RegistryKey.of("yellow_banner"); - RegistryKey YELLOW_BED = RegistryKey.unsafeOf("yellow_bed"); + RegistryKey YELLOW_BED = RegistryKey.of("yellow_bed"); - RegistryKey YELLOW_CANDLE = RegistryKey.unsafeOf("yellow_candle"); + RegistryKey YELLOW_CANDLE = RegistryKey.of("yellow_candle"); - RegistryKey YELLOW_CANDLE_CAKE = RegistryKey.unsafeOf("yellow_candle_cake"); + RegistryKey YELLOW_CANDLE_CAKE = RegistryKey.of("yellow_candle_cake"); - RegistryKey YELLOW_CARPET = RegistryKey.unsafeOf("yellow_carpet"); + RegistryKey YELLOW_CARPET = RegistryKey.of("yellow_carpet"); - RegistryKey YELLOW_CONCRETE = RegistryKey.unsafeOf("yellow_concrete"); + RegistryKey YELLOW_CONCRETE = RegistryKey.of("yellow_concrete"); - RegistryKey YELLOW_CONCRETE_POWDER = RegistryKey.unsafeOf("yellow_concrete_powder"); + RegistryKey YELLOW_CONCRETE_POWDER = RegistryKey.of("yellow_concrete_powder"); - RegistryKey YELLOW_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("yellow_glazed_terracotta"); + RegistryKey YELLOW_GLAZED_TERRACOTTA = RegistryKey.of("yellow_glazed_terracotta"); - RegistryKey YELLOW_SHULKER_BOX = RegistryKey.unsafeOf("yellow_shulker_box"); + RegistryKey YELLOW_SHULKER_BOX = RegistryKey.of("yellow_shulker_box"); - RegistryKey YELLOW_STAINED_GLASS = RegistryKey.unsafeOf("yellow_stained_glass"); + RegistryKey YELLOW_STAINED_GLASS = RegistryKey.of("yellow_stained_glass"); - RegistryKey YELLOW_STAINED_GLASS_PANE = RegistryKey.unsafeOf("yellow_stained_glass_pane"); + RegistryKey YELLOW_STAINED_GLASS_PANE = RegistryKey.of("yellow_stained_glass_pane"); - RegistryKey YELLOW_TERRACOTTA = RegistryKey.unsafeOf("yellow_terracotta"); + RegistryKey YELLOW_TERRACOTTA = RegistryKey.of("yellow_terracotta"); - RegistryKey YELLOW_WALL_BANNER = RegistryKey.unsafeOf("yellow_wall_banner"); + RegistryKey YELLOW_WALL_BANNER = RegistryKey.of("yellow_wall_banner"); - RegistryKey YELLOW_WOOL = RegistryKey.unsafeOf("yellow_wool"); + RegistryKey YELLOW_WOOL = RegistryKey.of("yellow_wool"); - RegistryKey ZOMBIE_HEAD = RegistryKey.unsafeOf("zombie_head"); + RegistryKey ZOMBIE_HEAD = RegistryKey.of("zombie_head"); - RegistryKey ZOMBIE_WALL_HEAD = RegistryKey.unsafeOf("zombie_wall_head"); + RegistryKey ZOMBIE_WALL_HEAD = RegistryKey.of("zombie_wall_head"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/block/BlockSoundTypeKeys.java b/src/autogenerated/java/net/minestom/server/instance/block/BlockSoundTypeKeys.java index e031c3b0819..a74978111aa 100644 --- a/src/autogenerated/java/net/minestom/server/instance/block/BlockSoundTypeKeys.java +++ b/src/autogenerated/java/net/minestom/server/instance/block/BlockSoundTypeKeys.java @@ -11,257 +11,257 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface BlockSoundTypeKeys { - RegistryKey AMETHYST = RegistryKey.unsafeOf("amethyst"); + RegistryKey AMETHYST = RegistryKey.of("amethyst"); - RegistryKey AMETHYST_CLUSTER = RegistryKey.unsafeOf("amethyst_cluster"); + RegistryKey AMETHYST_CLUSTER = RegistryKey.of("amethyst_cluster"); - RegistryKey ANCIENT_DEBRIS = RegistryKey.unsafeOf("ancient_debris"); + RegistryKey ANCIENT_DEBRIS = RegistryKey.of("ancient_debris"); - RegistryKey ANVIL = RegistryKey.unsafeOf("anvil"); + RegistryKey ANVIL = RegistryKey.of("anvil"); - RegistryKey AZALEA = RegistryKey.unsafeOf("azalea"); + RegistryKey AZALEA = RegistryKey.of("azalea"); - RegistryKey AZALEA_LEAVES = RegistryKey.unsafeOf("azalea_leaves"); + RegistryKey AZALEA_LEAVES = RegistryKey.of("azalea_leaves"); - RegistryKey BAMBOO = RegistryKey.unsafeOf("bamboo"); + RegistryKey BAMBOO = RegistryKey.of("bamboo"); - RegistryKey BAMBOO_SAPLING = RegistryKey.unsafeOf("bamboo_sapling"); + RegistryKey BAMBOO_SAPLING = RegistryKey.of("bamboo_sapling"); - RegistryKey BAMBOO_WOOD = RegistryKey.unsafeOf("bamboo_wood"); + RegistryKey BAMBOO_WOOD = RegistryKey.of("bamboo_wood"); - RegistryKey BAMBOO_WOOD_HANGING_SIGN = RegistryKey.unsafeOf("bamboo_wood_hanging_sign"); + RegistryKey BAMBOO_WOOD_HANGING_SIGN = RegistryKey.of("bamboo_wood_hanging_sign"); - RegistryKey BASALT = RegistryKey.unsafeOf("basalt"); + RegistryKey BASALT = RegistryKey.of("basalt"); - RegistryKey BIG_DRIPLEAF = RegistryKey.unsafeOf("big_dripleaf"); + RegistryKey BIG_DRIPLEAF = RegistryKey.of("big_dripleaf"); - RegistryKey BONE_BLOCK = RegistryKey.unsafeOf("bone_block"); + RegistryKey BONE_BLOCK = RegistryKey.of("bone_block"); - RegistryKey CACTUS_FLOWER = RegistryKey.unsafeOf("cactus_flower"); + RegistryKey CACTUS_FLOWER = RegistryKey.of("cactus_flower"); - RegistryKey CALCITE = RegistryKey.unsafeOf("calcite"); + RegistryKey CALCITE = RegistryKey.of("calcite"); - RegistryKey CANDLE = RegistryKey.unsafeOf("candle"); + RegistryKey CANDLE = RegistryKey.of("candle"); - RegistryKey CAVE_VINES = RegistryKey.unsafeOf("cave_vines"); + RegistryKey CAVE_VINES = RegistryKey.of("cave_vines"); - RegistryKey CHAIN = RegistryKey.unsafeOf("chain"); + RegistryKey CHAIN = RegistryKey.of("chain"); - RegistryKey CHERRY_LEAVES = RegistryKey.unsafeOf("cherry_leaves"); + RegistryKey CHERRY_LEAVES = RegistryKey.of("cherry_leaves"); - RegistryKey CHERRY_SAPLING = RegistryKey.unsafeOf("cherry_sapling"); + RegistryKey CHERRY_SAPLING = RegistryKey.of("cherry_sapling"); - RegistryKey CHERRY_WOOD = RegistryKey.unsafeOf("cherry_wood"); + RegistryKey CHERRY_WOOD = RegistryKey.of("cherry_wood"); - RegistryKey CHERRY_WOOD_HANGING_SIGN = RegistryKey.unsafeOf("cherry_wood_hanging_sign"); + RegistryKey CHERRY_WOOD_HANGING_SIGN = RegistryKey.of("cherry_wood_hanging_sign"); - RegistryKey CHISELED_BOOKSHELF = RegistryKey.unsafeOf("chiseled_bookshelf"); + RegistryKey CHISELED_BOOKSHELF = RegistryKey.of("chiseled_bookshelf"); - RegistryKey CINNABAR = RegistryKey.unsafeOf("cinnabar"); + RegistryKey CINNABAR = RegistryKey.of("cinnabar"); - RegistryKey COBWEB = RegistryKey.unsafeOf("cobweb"); + RegistryKey COBWEB = RegistryKey.of("cobweb"); - RegistryKey COPPER = RegistryKey.unsafeOf("copper"); + RegistryKey COPPER = RegistryKey.of("copper"); - RegistryKey COPPER_BULB = RegistryKey.unsafeOf("copper_bulb"); + RegistryKey COPPER_BULB = RegistryKey.of("copper_bulb"); - RegistryKey COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("copper_golem_statue"); + RegistryKey COPPER_GOLEM_STATUE = RegistryKey.of("copper_golem_statue"); - RegistryKey COPPER_GRATE = RegistryKey.unsafeOf("copper_grate"); + RegistryKey COPPER_GRATE = RegistryKey.of("copper_grate"); - RegistryKey CORAL_BLOCK = RegistryKey.unsafeOf("coral_block"); + RegistryKey CORAL_BLOCK = RegistryKey.of("coral_block"); - RegistryKey CREAKING_HEART = RegistryKey.unsafeOf("creaking_heart"); + RegistryKey CREAKING_HEART = RegistryKey.of("creaking_heart"); - RegistryKey CROP = RegistryKey.unsafeOf("crop"); + RegistryKey CROP = RegistryKey.of("crop"); - RegistryKey DECORATED_POT = RegistryKey.unsafeOf("decorated_pot"); + RegistryKey DECORATED_POT = RegistryKey.of("decorated_pot"); - RegistryKey DECORATED_POT_CRACKED = RegistryKey.unsafeOf("decorated_pot_cracked"); + RegistryKey DECORATED_POT_CRACKED = RegistryKey.of("decorated_pot_cracked"); - RegistryKey DEEPSLATE = RegistryKey.unsafeOf("deepslate"); + RegistryKey DEEPSLATE = RegistryKey.of("deepslate"); - RegistryKey DEEPSLATE_BRICKS = RegistryKey.unsafeOf("deepslate_bricks"); + RegistryKey DEEPSLATE_BRICKS = RegistryKey.of("deepslate_bricks"); - RegistryKey DEEPSLATE_TILES = RegistryKey.unsafeOf("deepslate_tiles"); + RegistryKey DEEPSLATE_TILES = RegistryKey.of("deepslate_tiles"); - RegistryKey DRIED_GHAST = RegistryKey.unsafeOf("dried_ghast"); + RegistryKey DRIED_GHAST = RegistryKey.of("dried_ghast"); - RegistryKey DRIPSTONE_BLOCK = RegistryKey.unsafeOf("dripstone_block"); + RegistryKey DRIPSTONE_BLOCK = RegistryKey.of("dripstone_block"); - RegistryKey EMPTY = RegistryKey.unsafeOf("empty"); + RegistryKey EMPTY = RegistryKey.of("empty"); - RegistryKey FLOWERING_AZALEA = RegistryKey.unsafeOf("flowering_azalea"); + RegistryKey FLOWERING_AZALEA = RegistryKey.of("flowering_azalea"); - RegistryKey FROGLIGHT = RegistryKey.unsafeOf("froglight"); + RegistryKey FROGLIGHT = RegistryKey.of("froglight"); - RegistryKey FROGSPAWN = RegistryKey.unsafeOf("frogspawn"); + RegistryKey FROGSPAWN = RegistryKey.of("frogspawn"); - RegistryKey FUNGUS = RegistryKey.unsafeOf("fungus"); + RegistryKey FUNGUS = RegistryKey.of("fungus"); - RegistryKey GILDED_BLACKSTONE = RegistryKey.unsafeOf("gilded_blackstone"); + RegistryKey GILDED_BLACKSTONE = RegistryKey.of("gilded_blackstone"); - RegistryKey GLASS = RegistryKey.unsafeOf("glass"); + RegistryKey GLASS = RegistryKey.of("glass"); - RegistryKey GLOW_LICHEN = RegistryKey.unsafeOf("glow_lichen"); + RegistryKey GLOW_LICHEN = RegistryKey.of("glow_lichen"); - RegistryKey GRASS = RegistryKey.unsafeOf("grass"); + RegistryKey GRASS = RegistryKey.of("grass"); - RegistryKey GRAVEL = RegistryKey.unsafeOf("gravel"); + RegistryKey GRAVEL = RegistryKey.of("gravel"); - RegistryKey HANGING_ROOTS = RegistryKey.unsafeOf("hanging_roots"); + RegistryKey HANGING_ROOTS = RegistryKey.of("hanging_roots"); - RegistryKey HANGING_SIGN = RegistryKey.unsafeOf("hanging_sign"); + RegistryKey HANGING_SIGN = RegistryKey.of("hanging_sign"); - RegistryKey HARD_CROP = RegistryKey.unsafeOf("hard_crop"); + RegistryKey HARD_CROP = RegistryKey.of("hard_crop"); - RegistryKey HEAVY_CORE = RegistryKey.unsafeOf("heavy_core"); + RegistryKey HEAVY_CORE = RegistryKey.of("heavy_core"); - RegistryKey HONEY_BLOCK = RegistryKey.unsafeOf("honey_block"); + RegistryKey HONEY_BLOCK = RegistryKey.of("honey_block"); - RegistryKey IRON = RegistryKey.unsafeOf("iron"); + RegistryKey IRON = RegistryKey.of("iron"); - RegistryKey LADDER = RegistryKey.unsafeOf("ladder"); + RegistryKey LADDER = RegistryKey.of("ladder"); - RegistryKey LANTERN = RegistryKey.unsafeOf("lantern"); + RegistryKey LANTERN = RegistryKey.of("lantern"); - RegistryKey LARGE_AMETHYST_BUD = RegistryKey.unsafeOf("large_amethyst_bud"); + RegistryKey LARGE_AMETHYST_BUD = RegistryKey.of("large_amethyst_bud"); - RegistryKey LEAF_LITTER = RegistryKey.unsafeOf("leaf_litter"); + RegistryKey LEAF_LITTER = RegistryKey.of("leaf_litter"); - RegistryKey LILY_PAD = RegistryKey.unsafeOf("lily_pad"); + RegistryKey LILY_PAD = RegistryKey.of("lily_pad"); - RegistryKey LODESTONE = RegistryKey.unsafeOf("lodestone"); + RegistryKey LODESTONE = RegistryKey.of("lodestone"); - RegistryKey MANGROVE_ROOTS = RegistryKey.unsafeOf("mangrove_roots"); + RegistryKey MANGROVE_ROOTS = RegistryKey.of("mangrove_roots"); - RegistryKey MEDIUM_AMETHYST_BUD = RegistryKey.unsafeOf("medium_amethyst_bud"); + RegistryKey MEDIUM_AMETHYST_BUD = RegistryKey.of("medium_amethyst_bud"); - RegistryKey METAL = RegistryKey.unsafeOf("metal"); + RegistryKey METAL = RegistryKey.of("metal"); - RegistryKey MOSS = RegistryKey.unsafeOf("moss"); + RegistryKey MOSS = RegistryKey.of("moss"); - RegistryKey MOSS_CARPET = RegistryKey.unsafeOf("moss_carpet"); + RegistryKey MOSS_CARPET = RegistryKey.of("moss_carpet"); - RegistryKey MUD = RegistryKey.unsafeOf("mud"); + RegistryKey MUD = RegistryKey.of("mud"); - RegistryKey MUD_BRICKS = RegistryKey.unsafeOf("mud_bricks"); + RegistryKey MUD_BRICKS = RegistryKey.of("mud_bricks"); - RegistryKey MUDDY_MANGROVE_ROOTS = RegistryKey.unsafeOf("muddy_mangrove_roots"); + RegistryKey MUDDY_MANGROVE_ROOTS = RegistryKey.of("muddy_mangrove_roots"); - RegistryKey NETHER_BRICKS = RegistryKey.unsafeOf("nether_bricks"); + RegistryKey NETHER_BRICKS = RegistryKey.of("nether_bricks"); - RegistryKey NETHER_GOLD_ORE = RegistryKey.unsafeOf("nether_gold_ore"); + RegistryKey NETHER_GOLD_ORE = RegistryKey.of("nether_gold_ore"); - RegistryKey NETHER_ORE = RegistryKey.unsafeOf("nether_ore"); + RegistryKey NETHER_ORE = RegistryKey.of("nether_ore"); - RegistryKey NETHER_SPROUTS = RegistryKey.unsafeOf("nether_sprouts"); + RegistryKey NETHER_SPROUTS = RegistryKey.of("nether_sprouts"); - RegistryKey NETHER_WART = RegistryKey.unsafeOf("nether_wart"); + RegistryKey NETHER_WART = RegistryKey.of("nether_wart"); - RegistryKey NETHER_WOOD = RegistryKey.unsafeOf("nether_wood"); + RegistryKey NETHER_WOOD = RegistryKey.of("nether_wood"); - RegistryKey NETHER_WOOD_HANGING_SIGN = RegistryKey.unsafeOf("nether_wood_hanging_sign"); + RegistryKey NETHER_WOOD_HANGING_SIGN = RegistryKey.of("nether_wood_hanging_sign"); - RegistryKey NETHERITE_BLOCK = RegistryKey.unsafeOf("netherite_block"); + RegistryKey NETHERITE_BLOCK = RegistryKey.of("netherite_block"); - RegistryKey NETHERRACK = RegistryKey.unsafeOf("netherrack"); + RegistryKey NETHERRACK = RegistryKey.of("netherrack"); - RegistryKey NYLIUM = RegistryKey.unsafeOf("nylium"); + RegistryKey NYLIUM = RegistryKey.of("nylium"); - RegistryKey PACKED_MUD = RegistryKey.unsafeOf("packed_mud"); + RegistryKey PACKED_MUD = RegistryKey.of("packed_mud"); - RegistryKey PINK_PETALS = RegistryKey.unsafeOf("pink_petals"); + RegistryKey PINK_PETALS = RegistryKey.of("pink_petals"); - RegistryKey POINTED_DRIPSTONE = RegistryKey.unsafeOf("pointed_dripstone"); + RegistryKey POINTED_DRIPSTONE = RegistryKey.of("pointed_dripstone"); - RegistryKey POLISHED_DEEPSLATE = RegistryKey.unsafeOf("polished_deepslate"); + RegistryKey POLISHED_DEEPSLATE = RegistryKey.of("polished_deepslate"); - RegistryKey POLISHED_TUFF = RegistryKey.unsafeOf("polished_tuff"); + RegistryKey POLISHED_TUFF = RegistryKey.of("polished_tuff"); - RegistryKey POTENT_SULFUR = RegistryKey.unsafeOf("potent_sulfur"); + RegistryKey POTENT_SULFUR = RegistryKey.of("potent_sulfur"); - RegistryKey POWDER_SNOW = RegistryKey.unsafeOf("powder_snow"); + RegistryKey POWDER_SNOW = RegistryKey.of("powder_snow"); - RegistryKey RESIN = RegistryKey.unsafeOf("resin"); + RegistryKey RESIN = RegistryKey.of("resin"); - RegistryKey RESIN_BRICKS = RegistryKey.unsafeOf("resin_bricks"); + RegistryKey RESIN_BRICKS = RegistryKey.of("resin_bricks"); - RegistryKey ROOTED_DIRT = RegistryKey.unsafeOf("rooted_dirt"); + RegistryKey ROOTED_DIRT = RegistryKey.of("rooted_dirt"); - RegistryKey ROOTS = RegistryKey.unsafeOf("roots"); + RegistryKey ROOTS = RegistryKey.of("roots"); - RegistryKey SAND = RegistryKey.unsafeOf("sand"); + RegistryKey SAND = RegistryKey.of("sand"); - RegistryKey SCAFFOLDING = RegistryKey.unsafeOf("scaffolding"); + RegistryKey SCAFFOLDING = RegistryKey.of("scaffolding"); - RegistryKey SCULK = RegistryKey.unsafeOf("sculk"); + RegistryKey SCULK = RegistryKey.of("sculk"); - RegistryKey SCULK_CATALYST = RegistryKey.unsafeOf("sculk_catalyst"); + RegistryKey SCULK_CATALYST = RegistryKey.of("sculk_catalyst"); - RegistryKey SCULK_SENSOR = RegistryKey.unsafeOf("sculk_sensor"); + RegistryKey SCULK_SENSOR = RegistryKey.of("sculk_sensor"); - RegistryKey SCULK_SHRIEKER = RegistryKey.unsafeOf("sculk_shrieker"); + RegistryKey SCULK_SHRIEKER = RegistryKey.of("sculk_shrieker"); - RegistryKey SCULK_VEIN = RegistryKey.unsafeOf("sculk_vein"); + RegistryKey SCULK_VEIN = RegistryKey.of("sculk_vein"); - RegistryKey SHELF = RegistryKey.unsafeOf("shelf"); + RegistryKey SHELF = RegistryKey.of("shelf"); - RegistryKey SHROOMLIGHT = RegistryKey.unsafeOf("shroomlight"); + RegistryKey SHROOMLIGHT = RegistryKey.of("shroomlight"); - RegistryKey SLIME_BLOCK = RegistryKey.unsafeOf("slime_block"); + RegistryKey SLIME_BLOCK = RegistryKey.of("slime_block"); - RegistryKey SMALL_AMETHYST_BUD = RegistryKey.unsafeOf("small_amethyst_bud"); + RegistryKey SMALL_AMETHYST_BUD = RegistryKey.of("small_amethyst_bud"); - RegistryKey SMALL_DRIPLEAF = RegistryKey.unsafeOf("small_dripleaf"); + RegistryKey SMALL_DRIPLEAF = RegistryKey.of("small_dripleaf"); - RegistryKey SNOW = RegistryKey.unsafeOf("snow"); + RegistryKey SNOW = RegistryKey.of("snow"); - RegistryKey SOUL_SAND = RegistryKey.unsafeOf("soul_sand"); + RegistryKey SOUL_SAND = RegistryKey.of("soul_sand"); - RegistryKey SOUL_SOIL = RegistryKey.unsafeOf("soul_soil"); + RegistryKey SOUL_SOIL = RegistryKey.of("soul_soil"); - RegistryKey SPAWNER = RegistryKey.unsafeOf("spawner"); + RegistryKey SPAWNER = RegistryKey.of("spawner"); - RegistryKey SPONGE = RegistryKey.unsafeOf("sponge"); + RegistryKey SPONGE = RegistryKey.of("sponge"); - RegistryKey SPORE_BLOSSOM = RegistryKey.unsafeOf("spore_blossom"); + RegistryKey SPORE_BLOSSOM = RegistryKey.of("spore_blossom"); - RegistryKey STEM = RegistryKey.unsafeOf("stem"); + RegistryKey STEM = RegistryKey.of("stem"); - RegistryKey STONE = RegistryKey.unsafeOf("stone"); + RegistryKey STONE = RegistryKey.of("stone"); - RegistryKey SULFUR = RegistryKey.unsafeOf("sulfur"); + RegistryKey SULFUR = RegistryKey.of("sulfur"); - RegistryKey SULFUR_SPIKE = RegistryKey.unsafeOf("sulfur_spike"); + RegistryKey SULFUR_SPIKE = RegistryKey.of("sulfur_spike"); - RegistryKey SUSPICIOUS_GRAVEL = RegistryKey.unsafeOf("suspicious_gravel"); + RegistryKey SUSPICIOUS_GRAVEL = RegistryKey.of("suspicious_gravel"); - RegistryKey SUSPICIOUS_SAND = RegistryKey.unsafeOf("suspicious_sand"); + RegistryKey SUSPICIOUS_SAND = RegistryKey.of("suspicious_sand"); - RegistryKey SWEET_BERRY_BUSH = RegistryKey.unsafeOf("sweet_berry_bush"); + RegistryKey SWEET_BERRY_BUSH = RegistryKey.of("sweet_berry_bush"); - RegistryKey TRIAL_SPAWNER = RegistryKey.unsafeOf("trial_spawner"); + RegistryKey TRIAL_SPAWNER = RegistryKey.of("trial_spawner"); - RegistryKey TUFF = RegistryKey.unsafeOf("tuff"); + RegistryKey TUFF = RegistryKey.of("tuff"); - RegistryKey TUFF_BRICKS = RegistryKey.unsafeOf("tuff_bricks"); + RegistryKey TUFF_BRICKS = RegistryKey.of("tuff_bricks"); - RegistryKey TWISTING_VINES = RegistryKey.unsafeOf("twisting_vines"); + RegistryKey TWISTING_VINES = RegistryKey.of("twisting_vines"); - RegistryKey VAULT = RegistryKey.unsafeOf("vault"); + RegistryKey VAULT = RegistryKey.of("vault"); - RegistryKey VINE = RegistryKey.unsafeOf("vine"); + RegistryKey VINE = RegistryKey.of("vine"); - RegistryKey WART_BLOCK = RegistryKey.unsafeOf("wart_block"); + RegistryKey WART_BLOCK = RegistryKey.of("wart_block"); - RegistryKey WEEPING_VINES = RegistryKey.unsafeOf("weeping_vines"); + RegistryKey WEEPING_VINES = RegistryKey.of("weeping_vines"); - RegistryKey WET_GRASS = RegistryKey.unsafeOf("wet_grass"); + RegistryKey WET_GRASS = RegistryKey.of("wet_grass"); - RegistryKey WET_SPONGE = RegistryKey.unsafeOf("wet_sponge"); + RegistryKey WET_SPONGE = RegistryKey.of("wet_sponge"); - RegistryKey WOOD = RegistryKey.unsafeOf("wood"); + RegistryKey WOOD = RegistryKey.of("wood"); - RegistryKey WOOL = RegistryKey.unsafeOf("wool"); + RegistryKey WOOL = RegistryKey.of("wool"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/block/BlockTags.java b/src/autogenerated/java/net/minestom/server/instance/block/BlockTags.java index aa5179ed2e1..98fe4fbe457 100644 --- a/src/autogenerated/java/net/minestom/server/instance/block/BlockTags.java +++ b/src/autogenerated/java/net/minestom/server/instance/block/BlockTags.java @@ -11,533 +11,533 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface BlockTags { - TagKey ACACIA_LOGS = TagKey.unsafeOf("acacia_logs"); + TagKey ACACIA_LOGS = TagKey.of("acacia_logs"); - TagKey AIR = TagKey.unsafeOf("air"); + TagKey AIR = TagKey.of("air"); - TagKey ALL_HANGING_SIGNS = TagKey.unsafeOf("all_hanging_signs"); + TagKey ALL_HANGING_SIGNS = TagKey.of("all_hanging_signs"); - TagKey ALL_SIGNS = TagKey.unsafeOf("all_signs"); + TagKey ALL_SIGNS = TagKey.of("all_signs"); - TagKey ANCIENT_CITY_REPLACEABLE = TagKey.unsafeOf("ancient_city_replaceable"); + TagKey ANCIENT_CITY_REPLACEABLE = TagKey.of("ancient_city_replaceable"); - TagKey ANIMALS_SPAWNABLE_ON = TagKey.unsafeOf("animals_spawnable_on"); + TagKey ANIMALS_SPAWNABLE_ON = TagKey.of("animals_spawnable_on"); - TagKey ANVIL = TagKey.unsafeOf("anvil"); + TagKey ANVIL = TagKey.of("anvil"); - TagKey ARMADILLO_SPAWNABLE_ON = TagKey.unsafeOf("armadillo_spawnable_on"); + TagKey ARMADILLO_SPAWNABLE_ON = TagKey.of("armadillo_spawnable_on"); - TagKey AXOLOTLS_SPAWNABLE_ON = TagKey.unsafeOf("axolotls_spawnable_on"); + TagKey AXOLOTLS_SPAWNABLE_ON = TagKey.of("axolotls_spawnable_on"); - TagKey AZALEA_GROWS_ON = TagKey.unsafeOf("azalea_grows_on"); + TagKey AZALEA_GROWS_ON = TagKey.of("azalea_grows_on"); - TagKey AZALEA_ROOT_REPLACEABLE = TagKey.unsafeOf("azalea_root_replaceable"); + TagKey AZALEA_ROOT_REPLACEABLE = TagKey.of("azalea_root_replaceable"); - TagKey BADLANDS_TERRACOTTA = TagKey.unsafeOf("badlands_terracotta"); + TagKey BADLANDS_TERRACOTTA = TagKey.of("badlands_terracotta"); - TagKey BAMBOO_BLOCKS = TagKey.unsafeOf("bamboo_blocks"); + TagKey BAMBOO_BLOCKS = TagKey.of("bamboo_blocks"); - TagKey BANNERS = TagKey.unsafeOf("banners"); + TagKey BANNERS = TagKey.of("banners"); - TagKey BARS = TagKey.unsafeOf("bars"); + TagKey BARS = TagKey.of("bars"); - TagKey BASE_STONE_NETHER = TagKey.unsafeOf("base_stone_nether"); + TagKey BASE_STONE_NETHER = TagKey.of("base_stone_nether"); - TagKey BASE_STONE_OVERWORLD = TagKey.unsafeOf("base_stone_overworld"); + TagKey BASE_STONE_OVERWORLD = TagKey.of("base_stone_overworld"); - TagKey BATS_SPAWNABLE_ON = TagKey.unsafeOf("bats_spawnable_on"); + TagKey BATS_SPAWNABLE_ON = TagKey.of("bats_spawnable_on"); - TagKey BEACON_BASE_BLOCKS = TagKey.unsafeOf("beacon_base_blocks"); + TagKey BEACON_BASE_BLOCKS = TagKey.of("beacon_base_blocks"); - TagKey BEDS = TagKey.unsafeOf("beds"); + TagKey BEDS = TagKey.of("beds"); - TagKey BEE_ATTRACTIVE = TagKey.unsafeOf("bee_attractive"); + TagKey BEE_ATTRACTIVE = TagKey.of("bee_attractive"); - TagKey BEE_GROWABLES = TagKey.unsafeOf("bee_growables"); + TagKey BEE_GROWABLES = TagKey.of("bee_growables"); - TagKey BEEHIVES = TagKey.unsafeOf("beehives"); + TagKey BEEHIVES = TagKey.of("beehives"); - TagKey BENEATH_BAMBOO_PODZOL_REPLACEABLE = TagKey.unsafeOf("beneath_bamboo_podzol_replaceable"); + TagKey BENEATH_BAMBOO_PODZOL_REPLACEABLE = TagKey.of("beneath_bamboo_podzol_replaceable"); - TagKey BENEATH_TREE_PODZOL_REPLACEABLE = TagKey.unsafeOf("beneath_tree_podzol_replaceable"); + TagKey BENEATH_TREE_PODZOL_REPLACEABLE = TagKey.of("beneath_tree_podzol_replaceable"); - TagKey BIRCH_LOGS = TagKey.unsafeOf("birch_logs"); + TagKey BIRCH_LOGS = TagKey.of("birch_logs"); - TagKey BLOCKS_WIND_CHARGE_EXPLOSIONS = TagKey.unsafeOf("blocks_wind_charge_explosions"); + TagKey BLOCKS_WIND_CHARGE_EXPLOSIONS = TagKey.of("blocks_wind_charge_explosions"); - TagKey BUTTONS = TagKey.unsafeOf("buttons"); + TagKey BUTTONS = TagKey.of("buttons"); - TagKey CAMEL_SAND_STEP_SOUND_BLOCKS = TagKey.unsafeOf("camel_sand_step_sound_blocks"); + TagKey CAMEL_SAND_STEP_SOUND_BLOCKS = TagKey.of("camel_sand_step_sound_blocks"); - TagKey CAMELS_SPAWNABLE_ON = TagKey.unsafeOf("camels_spawnable_on"); + TagKey CAMELS_SPAWNABLE_ON = TagKey.of("camels_spawnable_on"); - TagKey CAMPFIRES = TagKey.unsafeOf("campfires"); + TagKey CAMPFIRES = TagKey.of("campfires"); - TagKey CAN_GLIDE_THROUGH = TagKey.unsafeOf("can_glide_through"); + TagKey CAN_GLIDE_THROUGH = TagKey.of("can_glide_through"); - TagKey CANDLE_CAKES = TagKey.unsafeOf("candle_cakes"); + TagKey CANDLE_CAKES = TagKey.of("candle_cakes"); - TagKey CANDLES = TagKey.unsafeOf("candles"); + TagKey CANDLES = TagKey.of("candles"); - TagKey CANNOT_REPLACE_BELOW_TREE_TRUNK = TagKey.unsafeOf("cannot_replace_below_tree_trunk"); + TagKey CANNOT_REPLACE_BELOW_TREE_TRUNK = TagKey.of("cannot_replace_below_tree_trunk"); - TagKey CANNOT_SUPPORT_KELP = TagKey.unsafeOf("cannot_support_kelp"); + TagKey CANNOT_SUPPORT_KELP = TagKey.of("cannot_support_kelp"); - TagKey CANNOT_SUPPORT_SEAGRASS = TagKey.unsafeOf("cannot_support_seagrass"); + TagKey CANNOT_SUPPORT_SEAGRASS = TagKey.of("cannot_support_seagrass"); - TagKey CANNOT_SUPPORT_SNOW_LAYER = TagKey.unsafeOf("cannot_support_snow_layer"); + TagKey CANNOT_SUPPORT_SNOW_LAYER = TagKey.of("cannot_support_snow_layer"); - TagKey CAULDRONS = TagKey.unsafeOf("cauldrons"); + TagKey CAULDRONS = TagKey.of("cauldrons"); - TagKey CAUSES_CONTINUOUS_GEYSER_ERUPTIONS = TagKey.unsafeOf("causes_continuous_geyser_eruptions"); + TagKey CAUSES_CONTINUOUS_GEYSER_ERUPTIONS = TagKey.of("causes_continuous_geyser_eruptions"); - TagKey CAUSES_PERIODIC_GEYSER_ERUPTIONS = TagKey.unsafeOf("causes_periodic_geyser_eruptions"); + TagKey CAUSES_PERIODIC_GEYSER_ERUPTIONS = TagKey.of("causes_periodic_geyser_eruptions"); - TagKey CAVE_VINES = TagKey.unsafeOf("cave_vines"); + TagKey CAVE_VINES = TagKey.of("cave_vines"); - TagKey CEILING_HANGING_SIGNS = TagKey.unsafeOf("ceiling_hanging_signs"); + TagKey CEILING_HANGING_SIGNS = TagKey.of("ceiling_hanging_signs"); - TagKey CHAINS = TagKey.unsafeOf("chains"); + TagKey CHAINS = TagKey.of("chains"); - TagKey CHERRY_LOGS = TagKey.unsafeOf("cherry_logs"); + TagKey CHERRY_LOGS = TagKey.of("cherry_logs"); - TagKey CLIMBABLE = TagKey.unsafeOf("climbable"); + TagKey CLIMBABLE = TagKey.of("climbable"); - TagKey COAL_ORES = TagKey.unsafeOf("coal_ores"); + TagKey COAL_ORES = TagKey.of("coal_ores"); - TagKey COMBINATION_STEP_SOUND_BLOCKS = TagKey.unsafeOf("combination_step_sound_blocks"); + TagKey COMBINATION_STEP_SOUND_BLOCKS = TagKey.of("combination_step_sound_blocks"); - TagKey COMPLETES_FIND_TREE_TUTORIAL = TagKey.unsafeOf("completes_find_tree_tutorial"); + TagKey COMPLETES_FIND_TREE_TUTORIAL = TagKey.of("completes_find_tree_tutorial"); - TagKey CONCRETE = TagKey.unsafeOf("concrete"); + TagKey CONCRETE = TagKey.of("concrete"); - TagKey CONCRETE_POWDERS = TagKey.unsafeOf("concrete_powders"); + TagKey CONCRETE_POWDERS = TagKey.of("concrete_powders"); - TagKey CONVERTABLE_TO_MUD = TagKey.unsafeOf("convertable_to_mud"); + TagKey CONVERTABLE_TO_MUD = TagKey.of("convertable_to_mud"); - TagKey COPPER = TagKey.unsafeOf("copper"); + TagKey COPPER = TagKey.of("copper"); - TagKey COPPER_CHESTS = TagKey.unsafeOf("copper_chests"); + TagKey COPPER_CHESTS = TagKey.of("copper_chests"); - TagKey COPPER_GOLEM_STATUES = TagKey.unsafeOf("copper_golem_statues"); + TagKey COPPER_GOLEM_STATUES = TagKey.of("copper_golem_statues"); - TagKey COPPER_ORES = TagKey.unsafeOf("copper_ores"); + TagKey COPPER_ORES = TagKey.of("copper_ores"); - TagKey CORAL_BLOCKS = TagKey.unsafeOf("coral_blocks"); + TagKey CORAL_BLOCKS = TagKey.of("coral_blocks"); - TagKey CORAL_PLANTS = TagKey.unsafeOf("coral_plants"); + TagKey CORAL_PLANTS = TagKey.of("coral_plants"); - TagKey CORALS = TagKey.unsafeOf("corals"); + TagKey CORALS = TagKey.of("corals"); - TagKey CRIMSON_STEMS = TagKey.unsafeOf("crimson_stems"); + TagKey CRIMSON_STEMS = TagKey.of("crimson_stems"); - TagKey CROPS = TagKey.unsafeOf("crops"); + TagKey CROPS = TagKey.of("crops"); - TagKey CRYSTAL_SOUND_BLOCKS = TagKey.unsafeOf("crystal_sound_blocks"); + TagKey CRYSTAL_SOUND_BLOCKS = TagKey.of("crystal_sound_blocks"); - TagKey DAMPENS_VIBRATIONS = TagKey.unsafeOf("dampens_vibrations"); + TagKey DAMPENS_VIBRATIONS = TagKey.of("dampens_vibrations"); - TagKey DARK_OAK_LOGS = TagKey.unsafeOf("dark_oak_logs"); + TagKey DARK_OAK_LOGS = TagKey.of("dark_oak_logs"); - TagKey DEEPSLATE_ORE_REPLACEABLES = TagKey.unsafeOf("deepslate_ore_replaceables"); + TagKey DEEPSLATE_ORE_REPLACEABLES = TagKey.of("deepslate_ore_replaceables"); - TagKey DEFAULT_IMMUNE_TO = TagKey.unsafeOf("default_immune_to"); + TagKey DEFAULT_IMMUNE_TO = TagKey.of("default_immune_to"); - TagKey DIAMOND_ORES = TagKey.unsafeOf("diamond_ores"); + TagKey DIAMOND_ORES = TagKey.of("diamond_ores"); - TagKey DIRT = TagKey.unsafeOf("dirt"); + TagKey DIRT = TagKey.of("dirt"); - TagKey DOES_NOT_BLOCK_HOPPERS = TagKey.unsafeOf("does_not_block_hoppers"); + TagKey DOES_NOT_BLOCK_HOPPERS = TagKey.of("does_not_block_hoppers"); - TagKey DOORS = TagKey.unsafeOf("doors"); + TagKey DOORS = TagKey.of("doors"); - TagKey DRAGON_IMMUNE = TagKey.unsafeOf("dragon_immune"); + TagKey DRAGON_IMMUNE = TagKey.of("dragon_immune"); - TagKey DRAGON_TRANSPARENT = TagKey.unsafeOf("dragon_transparent"); + TagKey DRAGON_TRANSPARENT = TagKey.of("dragon_transparent"); - TagKey DRIPSTONE_REPLACEABLE_BLOCKS = TagKey.unsafeOf("dripstone_replaceable_blocks"); + TagKey DRIPSTONE_REPLACEABLE_BLOCKS = TagKey.of("dripstone_replaceable_blocks"); - TagKey EDIBLE_FOR_SHEEP = TagKey.unsafeOf("edible_for_sheep"); + TagKey EDIBLE_FOR_SHEEP = TagKey.of("edible_for_sheep"); - TagKey EMERALD_ORES = TagKey.unsafeOf("emerald_ores"); + TagKey EMERALD_ORES = TagKey.of("emerald_ores"); - TagKey ENABLES_BUBBLE_COLUMN_DRAG_DOWN = TagKey.unsafeOf("enables_bubble_column_drag_down"); + TagKey ENABLES_BUBBLE_COLUMN_DRAG_DOWN = TagKey.of("enables_bubble_column_drag_down"); - TagKey ENABLES_BUBBLE_COLUMN_PUSH_UP = TagKey.unsafeOf("enables_bubble_column_push_up"); + TagKey ENABLES_BUBBLE_COLUMN_PUSH_UP = TagKey.of("enables_bubble_column_push_up"); - TagKey ENCHANTMENT_POWER_PROVIDER = TagKey.unsafeOf("enchantment_power_provider"); + TagKey ENCHANTMENT_POWER_PROVIDER = TagKey.of("enchantment_power_provider"); - TagKey ENCHANTMENT_POWER_TRANSMITTER = TagKey.unsafeOf("enchantment_power_transmitter"); + TagKey ENCHANTMENT_POWER_TRANSMITTER = TagKey.of("enchantment_power_transmitter"); - TagKey ENDERMAN_HOLDABLE = TagKey.unsafeOf("enderman_holdable"); + TagKey ENDERMAN_HOLDABLE = TagKey.of("enderman_holdable"); - TagKey FALL_DAMAGE_RESETTING = TagKey.unsafeOf("fall_damage_resetting"); + TagKey FALL_DAMAGE_RESETTING = TagKey.of("fall_damage_resetting"); - TagKey FEATURES_CANNOT_REPLACE = TagKey.unsafeOf("features_cannot_replace"); + TagKey FEATURES_CANNOT_REPLACE = TagKey.of("features_cannot_replace"); - TagKey FENCE_GATES = TagKey.unsafeOf("fence_gates"); + TagKey FENCE_GATES = TagKey.of("fence_gates"); - TagKey FENCES = TagKey.unsafeOf("fences"); + TagKey FENCES = TagKey.of("fences"); - TagKey FIRE = TagKey.unsafeOf("fire"); + TagKey FIRE = TagKey.of("fire"); - TagKey FLOWER_POTS = TagKey.unsafeOf("flower_pots"); + TagKey FLOWER_POTS = TagKey.of("flower_pots"); - TagKey FLOWERS = TagKey.unsafeOf("flowers"); + TagKey FLOWERS = TagKey.of("flowers"); - TagKey FOREST_ROCK_CAN_PLACE_ON = TagKey.unsafeOf("forest_rock_can_place_on"); + TagKey FOREST_ROCK_CAN_PLACE_ON = TagKey.of("forest_rock_can_place_on"); - TagKey FOX_IMMUNE_TO = TagKey.unsafeOf("fox_immune_to"); + TagKey FOX_IMMUNE_TO = TagKey.of("fox_immune_to"); - TagKey FOXES_SPAWNABLE_ON = TagKey.unsafeOf("foxes_spawnable_on"); + TagKey FOXES_SPAWNABLE_ON = TagKey.of("foxes_spawnable_on"); - TagKey FROG_PREFER_JUMP_TO = TagKey.unsafeOf("frog_prefer_jump_to"); + TagKey FROG_PREFER_JUMP_TO = TagKey.of("frog_prefer_jump_to"); - TagKey FROGS_SPAWNABLE_ON = TagKey.unsafeOf("frogs_spawnable_on"); + TagKey FROGS_SPAWNABLE_ON = TagKey.of("frogs_spawnable_on"); - TagKey GEODE_INVALID_BLOCKS = TagKey.unsafeOf("geode_invalid_blocks"); + TagKey GEODE_INVALID_BLOCKS = TagKey.of("geode_invalid_blocks"); - TagKey GLAZED_TERRACOTTA = TagKey.unsafeOf("glazed_terracotta"); + TagKey GLAZED_TERRACOTTA = TagKey.of("glazed_terracotta"); - TagKey GOATS_SPAWNABLE_ON = TagKey.unsafeOf("goats_spawnable_on"); + TagKey GOATS_SPAWNABLE_ON = TagKey.of("goats_spawnable_on"); - TagKey GOLD_ORES = TagKey.unsafeOf("gold_ores"); + TagKey GOLD_ORES = TagKey.of("gold_ores"); - TagKey GRASS_BLOCKS = TagKey.unsafeOf("grass_blocks"); + TagKey GRASS_BLOCKS = TagKey.of("grass_blocks"); - TagKey GROWS_CROPS = TagKey.unsafeOf("grows_crops"); + TagKey GROWS_CROPS = TagKey.of("grows_crops"); - TagKey GUARDED_BY_PIGLINS = TagKey.unsafeOf("guarded_by_piglins"); + TagKey GUARDED_BY_PIGLINS = TagKey.of("guarded_by_piglins"); - TagKey HAPPY_GHAST_AVOIDS = TagKey.unsafeOf("happy_ghast_avoids"); + TagKey HAPPY_GHAST_AVOIDS = TagKey.of("happy_ghast_avoids"); - TagKey HOGLIN_REPELLENTS = TagKey.unsafeOf("hoglin_repellents"); + TagKey HOGLIN_REPELLENTS = TagKey.of("hoglin_repellents"); - TagKey HUGE_BROWN_MUSHROOM_CAN_PLACE_ON = TagKey.unsafeOf("huge_brown_mushroom_can_place_on"); + TagKey HUGE_BROWN_MUSHROOM_CAN_PLACE_ON = TagKey.of("huge_brown_mushroom_can_place_on"); - TagKey HUGE_RED_MUSHROOM_CAN_PLACE_ON = TagKey.unsafeOf("huge_red_mushroom_can_place_on"); + TagKey HUGE_RED_MUSHROOM_CAN_PLACE_ON = TagKey.of("huge_red_mushroom_can_place_on"); - TagKey ICE = TagKey.unsafeOf("ice"); + TagKey ICE = TagKey.of("ice"); - TagKey ICE_SPIKE_REPLACEABLE = TagKey.unsafeOf("ice_spike_replaceable"); + TagKey ICE_SPIKE_REPLACEABLE = TagKey.of("ice_spike_replaceable"); - TagKey IMPERMEABLE = TagKey.unsafeOf("impermeable"); + TagKey IMPERMEABLE = TagKey.of("impermeable"); - TagKey INCORRECT_FOR_COPPER_TOOL = TagKey.unsafeOf("incorrect_for_copper_tool"); + TagKey INCORRECT_FOR_COPPER_TOOL = TagKey.of("incorrect_for_copper_tool"); - TagKey INCORRECT_FOR_DIAMOND_TOOL = TagKey.unsafeOf("incorrect_for_diamond_tool"); + TagKey INCORRECT_FOR_DIAMOND_TOOL = TagKey.of("incorrect_for_diamond_tool"); - TagKey INCORRECT_FOR_GOLD_TOOL = TagKey.unsafeOf("incorrect_for_gold_tool"); + TagKey INCORRECT_FOR_GOLD_TOOL = TagKey.of("incorrect_for_gold_tool"); - TagKey INCORRECT_FOR_IRON_TOOL = TagKey.unsafeOf("incorrect_for_iron_tool"); + TagKey INCORRECT_FOR_IRON_TOOL = TagKey.of("incorrect_for_iron_tool"); - TagKey INCORRECT_FOR_NETHERITE_TOOL = TagKey.unsafeOf("incorrect_for_netherite_tool"); + TagKey INCORRECT_FOR_NETHERITE_TOOL = TagKey.of("incorrect_for_netherite_tool"); - TagKey INCORRECT_FOR_STONE_TOOL = TagKey.unsafeOf("incorrect_for_stone_tool"); + TagKey INCORRECT_FOR_STONE_TOOL = TagKey.of("incorrect_for_stone_tool"); - TagKey INCORRECT_FOR_WOODEN_TOOL = TagKey.unsafeOf("incorrect_for_wooden_tool"); + TagKey INCORRECT_FOR_WOODEN_TOOL = TagKey.of("incorrect_for_wooden_tool"); - TagKey INFINIBURN_END = TagKey.unsafeOf("infiniburn_end"); + TagKey INFINIBURN_END = TagKey.of("infiniburn_end"); - TagKey INFINIBURN_NETHER = TagKey.unsafeOf("infiniburn_nether"); + TagKey INFINIBURN_NETHER = TagKey.of("infiniburn_nether"); - TagKey INFINIBURN_OVERWORLD = TagKey.unsafeOf("infiniburn_overworld"); + TagKey INFINIBURN_OVERWORLD = TagKey.of("infiniburn_overworld"); - TagKey INSIDE_STEP_SOUND_BLOCKS = TagKey.unsafeOf("inside_step_sound_blocks"); + TagKey INSIDE_STEP_SOUND_BLOCKS = TagKey.of("inside_step_sound_blocks"); - TagKey INVALID_SPAWN_INSIDE = TagKey.unsafeOf("invalid_spawn_inside"); + TagKey INVALID_SPAWN_INSIDE = TagKey.of("invalid_spawn_inside"); - TagKey IRON_ORES = TagKey.unsafeOf("iron_ores"); + TagKey IRON_ORES = TagKey.of("iron_ores"); - TagKey JUNGLE_LOGS = TagKey.unsafeOf("jungle_logs"); + TagKey JUNGLE_LOGS = TagKey.of("jungle_logs"); - TagKey LANTERNS = TagKey.unsafeOf("lanterns"); + TagKey LANTERNS = TagKey.of("lanterns"); - TagKey LAPIS_ORES = TagKey.unsafeOf("lapis_ores"); + TagKey LAPIS_ORES = TagKey.of("lapis_ores"); - TagKey LAVA_POOL_STONE_CANNOT_REPLACE = TagKey.unsafeOf("lava_pool_stone_cannot_replace"); + TagKey LAVA_POOL_STONE_CANNOT_REPLACE = TagKey.of("lava_pool_stone_cannot_replace"); - TagKey LEAVES = TagKey.unsafeOf("leaves"); + TagKey LEAVES = TagKey.of("leaves"); - TagKey LIGHTNING_RODS = TagKey.unsafeOf("lightning_rods"); + TagKey LIGHTNING_RODS = TagKey.of("lightning_rods"); - TagKey LOGS = TagKey.unsafeOf("logs"); + TagKey LOGS = TagKey.of("logs"); - TagKey LOGS_THAT_BURN = TagKey.unsafeOf("logs_that_burn"); + TagKey LOGS_THAT_BURN = TagKey.of("logs_that_burn"); - TagKey LUSH_GROUND_REPLACEABLE = TagKey.unsafeOf("lush_ground_replaceable"); + TagKey LUSH_GROUND_REPLACEABLE = TagKey.of("lush_ground_replaceable"); - TagKey MAINTAINS_FARMLAND = TagKey.unsafeOf("maintains_farmland"); + TagKey MAINTAINS_FARMLAND = TagKey.of("maintains_farmland"); - TagKey MANGROVE_LOGS = TagKey.unsafeOf("mangrove_logs"); + TagKey MANGROVE_LOGS = TagKey.of("mangrove_logs"); - TagKey MANGROVE_LOGS_CAN_GROW_THROUGH = TagKey.unsafeOf("mangrove_logs_can_grow_through"); + TagKey MANGROVE_LOGS_CAN_GROW_THROUGH = TagKey.of("mangrove_logs_can_grow_through"); - TagKey MANGROVE_ROOTS_CAN_GROW_THROUGH = TagKey.unsafeOf("mangrove_roots_can_grow_through"); + TagKey MANGROVE_ROOTS_CAN_GROW_THROUGH = TagKey.of("mangrove_roots_can_grow_through"); - TagKey MINEABLE_AXE = TagKey.unsafeOf("mineable/axe"); + TagKey MINEABLE_AXE = TagKey.of("mineable/axe"); - TagKey MINEABLE_HOE = TagKey.unsafeOf("mineable/hoe"); + TagKey MINEABLE_HOE = TagKey.of("mineable/hoe"); - TagKey MINEABLE_PICKAXE = TagKey.unsafeOf("mineable/pickaxe"); + TagKey MINEABLE_PICKAXE = TagKey.of("mineable/pickaxe"); - TagKey MINEABLE_SHOVEL = TagKey.unsafeOf("mineable/shovel"); + TagKey MINEABLE_SHOVEL = TagKey.of("mineable/shovel"); - TagKey MOB_INTERACTABLE_DOORS = TagKey.unsafeOf("mob_interactable_doors"); + TagKey MOB_INTERACTABLE_DOORS = TagKey.of("mob_interactable_doors"); - TagKey MOOSHROOMS_SPAWNABLE_ON = TagKey.unsafeOf("mooshrooms_spawnable_on"); + TagKey MOOSHROOMS_SPAWNABLE_ON = TagKey.of("mooshrooms_spawnable_on"); - TagKey MOSS_BLOCKS = TagKey.unsafeOf("moss_blocks"); + TagKey MOSS_BLOCKS = TagKey.of("moss_blocks"); - TagKey MOSS_REPLACEABLE = TagKey.unsafeOf("moss_replaceable"); + TagKey MOSS_REPLACEABLE = TagKey.of("moss_replaceable"); - TagKey MUD = TagKey.unsafeOf("mud"); + TagKey MUD = TagKey.of("mud"); - TagKey NEEDS_DIAMOND_TOOL = TagKey.unsafeOf("needs_diamond_tool"); + TagKey NEEDS_DIAMOND_TOOL = TagKey.of("needs_diamond_tool"); - TagKey NEEDS_IRON_TOOL = TagKey.unsafeOf("needs_iron_tool"); + TagKey NEEDS_IRON_TOOL = TagKey.of("needs_iron_tool"); - TagKey NEEDS_STONE_TOOL = TagKey.unsafeOf("needs_stone_tool"); + TagKey NEEDS_STONE_TOOL = TagKey.of("needs_stone_tool"); - TagKey NETHER_CARVER_REPLACEABLES = TagKey.unsafeOf("nether_carver_replaceables"); + TagKey NETHER_CARVER_REPLACEABLES = TagKey.of("nether_carver_replaceables"); - TagKey NYLIUM = TagKey.unsafeOf("nylium"); + TagKey NYLIUM = TagKey.of("nylium"); - TagKey OAK_LOGS = TagKey.unsafeOf("oak_logs"); + TagKey OAK_LOGS = TagKey.of("oak_logs"); - TagKey OCCLUDES_VIBRATION_SIGNALS = TagKey.unsafeOf("occludes_vibration_signals"); + TagKey OCCLUDES_VIBRATION_SIGNALS = TagKey.of("occludes_vibration_signals"); - TagKey OVERRIDES_MUSHROOM_LIGHT_REQUIREMENT = TagKey.unsafeOf("overrides_mushroom_light_requirement"); + TagKey OVERRIDES_MUSHROOM_LIGHT_REQUIREMENT = TagKey.of("overrides_mushroom_light_requirement"); - TagKey OVERWORLD_CARVER_REPLACEABLES = TagKey.unsafeOf("overworld_carver_replaceables"); + TagKey OVERWORLD_CARVER_REPLACEABLES = TagKey.of("overworld_carver_replaceables"); - TagKey OVERWORLD_NATURAL_LOGS = TagKey.unsafeOf("overworld_natural_logs"); + TagKey OVERWORLD_NATURAL_LOGS = TagKey.of("overworld_natural_logs"); - TagKey PALE_OAK_LOGS = TagKey.unsafeOf("pale_oak_logs"); + TagKey PALE_OAK_LOGS = TagKey.of("pale_oak_logs"); - TagKey PARROTS_SPAWNABLE_ON = TagKey.unsafeOf("parrots_spawnable_on"); + TagKey PARROTS_SPAWNABLE_ON = TagKey.of("parrots_spawnable_on"); - TagKey PIGLIN_REPELLENTS = TagKey.unsafeOf("piglin_repellents"); + TagKey PIGLIN_REPELLENTS = TagKey.of("piglin_repellents"); - TagKey PLANKS = TagKey.unsafeOf("planks"); + TagKey PLANKS = TagKey.of("planks"); - TagKey POLAR_BEAR_IMMUNE_TO = TagKey.unsafeOf("polar_bear_immune_to"); + TagKey POLAR_BEAR_IMMUNE_TO = TagKey.of("polar_bear_immune_to"); - TagKey POLAR_BEARS_SPAWNABLE_ON_ALTERNATE = TagKey.unsafeOf("polar_bears_spawnable_on_alternate"); + TagKey POLAR_BEARS_SPAWNABLE_ON_ALTERNATE = TagKey.of("polar_bears_spawnable_on_alternate"); - TagKey PORTALS = TagKey.unsafeOf("portals"); + TagKey PORTALS = TagKey.of("portals"); - TagKey PRESSURE_PLATES = TagKey.unsafeOf("pressure_plates"); + TagKey PRESSURE_PLATES = TagKey.of("pressure_plates"); - TagKey PREVENT_MOB_SPAWNING_INSIDE = TagKey.unsafeOf("prevent_mob_spawning_inside"); + TagKey PREVENT_MOB_SPAWNING_INSIDE = TagKey.of("prevent_mob_spawning_inside"); - TagKey PREVENTS_NEARBY_LEAF_DECAY = TagKey.unsafeOf("prevents_nearby_leaf_decay"); + TagKey PREVENTS_NEARBY_LEAF_DECAY = TagKey.of("prevents_nearby_leaf_decay"); - TagKey RABBITS_SPAWNABLE_ON = TagKey.unsafeOf("rabbits_spawnable_on"); + TagKey RABBITS_SPAWNABLE_ON = TagKey.of("rabbits_spawnable_on"); - TagKey RAILS = TagKey.unsafeOf("rails"); + TagKey RAILS = TagKey.of("rails"); - TagKey REDSTONE_ORES = TagKey.unsafeOf("redstone_ores"); + TagKey REDSTONE_ORES = TagKey.of("redstone_ores"); - TagKey REPLACEABLE = TagKey.unsafeOf("replaceable"); + TagKey REPLACEABLE = TagKey.of("replaceable"); - TagKey REPLACEABLE_BY_MUSHROOMS = TagKey.unsafeOf("replaceable_by_mushrooms"); + TagKey REPLACEABLE_BY_MUSHROOMS = TagKey.of("replaceable_by_mushrooms"); - TagKey REPLACEABLE_BY_TREES = TagKey.unsafeOf("replaceable_by_trees"); + TagKey REPLACEABLE_BY_TREES = TagKey.of("replaceable_by_trees"); - TagKey SAND = TagKey.unsafeOf("sand"); + TagKey SAND = TagKey.of("sand"); - TagKey SAPLINGS = TagKey.unsafeOf("saplings"); + TagKey SAPLINGS = TagKey.of("saplings"); - TagKey SCULK_REPLACEABLE = TagKey.unsafeOf("sculk_replaceable"); + TagKey SCULK_REPLACEABLE = TagKey.of("sculk_replaceable"); - TagKey SCULK_REPLACEABLE_WORLD_GEN = TagKey.unsafeOf("sculk_replaceable_world_gen"); + TagKey SCULK_REPLACEABLE_WORLD_GEN = TagKey.of("sculk_replaceable_world_gen"); - TagKey SHEARS_EXTREME_BREAKING_SPEED = TagKey.unsafeOf("shears_extreme_breaking_speed"); + TagKey SHEARS_EXTREME_BREAKING_SPEED = TagKey.of("shears_extreme_breaking_speed"); - TagKey SHEARS_MAJOR_BREAKING_SPEED = TagKey.unsafeOf("shears_major_breaking_speed"); + TagKey SHEARS_MAJOR_BREAKING_SPEED = TagKey.of("shears_major_breaking_speed"); - TagKey SHEARS_MINOR_BREAKING_SPEED = TagKey.unsafeOf("shears_minor_breaking_speed"); + TagKey SHEARS_MINOR_BREAKING_SPEED = TagKey.of("shears_minor_breaking_speed"); - TagKey SHULKER_BOXES = TagKey.unsafeOf("shulker_boxes"); + TagKey SHULKER_BOXES = TagKey.of("shulker_boxes"); - TagKey SIGNS = TagKey.unsafeOf("signs"); + TagKey SIGNS = TagKey.of("signs"); - TagKey SLABS = TagKey.unsafeOf("slabs"); + TagKey SLABS = TagKey.of("slabs"); - TagKey SMALL_FLOWERS = TagKey.unsafeOf("small_flowers"); + TagKey SMALL_FLOWERS = TagKey.of("small_flowers"); - TagKey SMELTS_TO_GLASS = TagKey.unsafeOf("smelts_to_glass"); + TagKey SMELTS_TO_GLASS = TagKey.of("smelts_to_glass"); - TagKey SNAPS_GOAT_HORN = TagKey.unsafeOf("snaps_goat_horn"); + TagKey SNAPS_GOAT_HORN = TagKey.of("snaps_goat_horn"); - TagKey SNIFFER_DIGGABLE_BLOCK = TagKey.unsafeOf("sniffer_diggable_block"); + TagKey SNIFFER_DIGGABLE_BLOCK = TagKey.of("sniffer_diggable_block"); - TagKey SNIFFER_EGG_HATCH_BOOST = TagKey.unsafeOf("sniffer_egg_hatch_boost"); + TagKey SNIFFER_EGG_HATCH_BOOST = TagKey.of("sniffer_egg_hatch_boost"); - TagKey SNOW = TagKey.unsafeOf("snow"); + TagKey SNOW = TagKey.of("snow"); - TagKey SNOW_GOLEM_IMMUNE_TO = TagKey.unsafeOf("snow_golem_immune_to"); + TagKey SNOW_GOLEM_IMMUNE_TO = TagKey.of("snow_golem_immune_to"); - TagKey SOUL_FIRE_BASE_BLOCKS = TagKey.unsafeOf("soul_fire_base_blocks"); + TagKey SOUL_FIRE_BASE_BLOCKS = TagKey.of("soul_fire_base_blocks"); - TagKey SOUL_SPEED_BLOCKS = TagKey.unsafeOf("soul_speed_blocks"); + TagKey SOUL_SPEED_BLOCKS = TagKey.of("soul_speed_blocks"); - TagKey SPELEOTHEMS = TagKey.unsafeOf("speleothems"); + TagKey SPELEOTHEMS = TagKey.of("speleothems"); - TagKey SPRUCE_LOGS = TagKey.unsafeOf("spruce_logs"); + TagKey SPRUCE_LOGS = TagKey.of("spruce_logs"); - TagKey STAIRS = TagKey.unsafeOf("stairs"); + TagKey STAIRS = TagKey.of("stairs"); - TagKey STANDING_SIGNS = TagKey.unsafeOf("standing_signs"); + TagKey STANDING_SIGNS = TagKey.of("standing_signs"); - TagKey STONE_BRICKS = TagKey.unsafeOf("stone_bricks"); + TagKey STONE_BRICKS = TagKey.of("stone_bricks"); - TagKey STONE_BUTTONS = TagKey.unsafeOf("stone_buttons"); + TagKey STONE_BUTTONS = TagKey.of("stone_buttons"); - TagKey STONE_ORE_REPLACEABLES = TagKey.unsafeOf("stone_ore_replaceables"); + TagKey STONE_ORE_REPLACEABLES = TagKey.of("stone_ore_replaceables"); - TagKey STONE_PRESSURE_PLATES = TagKey.unsafeOf("stone_pressure_plates"); + TagKey STONE_PRESSURE_PLATES = TagKey.of("stone_pressure_plates"); - TagKey STRAY_IMMUNE_TO = TagKey.unsafeOf("stray_immune_to"); + TagKey STRAY_IMMUNE_TO = TagKey.of("stray_immune_to"); - TagKey STRIDER_WARM_BLOCKS = TagKey.unsafeOf("strider_warm_blocks"); + TagKey STRIDER_WARM_BLOCKS = TagKey.of("strider_warm_blocks"); - TagKey SUBSTRATE_OVERWORLD = TagKey.unsafeOf("substrate_overworld"); + TagKey SUBSTRATE_OVERWORLD = TagKey.of("substrate_overworld"); - TagKey SULFUR_SPIKE_REPLACEABLE_BLOCKS = TagKey.unsafeOf("sulfur_spike_replaceable_blocks"); + TagKey SULFUR_SPIKE_REPLACEABLE_BLOCKS = TagKey.of("sulfur_spike_replaceable_blocks"); - TagKey SUPPORT_OVERRIDE_CACTUS_FLOWER = TagKey.unsafeOf("support_override_cactus_flower"); + TagKey SUPPORT_OVERRIDE_CACTUS_FLOWER = TagKey.of("support_override_cactus_flower"); - TagKey SUPPORT_OVERRIDE_SNOW_LAYER = TagKey.unsafeOf("support_override_snow_layer"); + TagKey SUPPORT_OVERRIDE_SNOW_LAYER = TagKey.of("support_override_snow_layer"); - TagKey SUPPORTS_AZALEA = TagKey.unsafeOf("supports_azalea"); + TagKey SUPPORTS_AZALEA = TagKey.of("supports_azalea"); - TagKey SUPPORTS_BAMBOO = TagKey.unsafeOf("supports_bamboo"); + TagKey SUPPORTS_BAMBOO = TagKey.of("supports_bamboo"); - TagKey SUPPORTS_BIG_DRIPLEAF = TagKey.unsafeOf("supports_big_dripleaf"); + TagKey SUPPORTS_BIG_DRIPLEAF = TagKey.of("supports_big_dripleaf"); - TagKey SUPPORTS_CACTUS = TagKey.unsafeOf("supports_cactus"); + TagKey SUPPORTS_CACTUS = TagKey.of("supports_cactus"); - TagKey SUPPORTS_CHORUS_FLOWER = TagKey.unsafeOf("supports_chorus_flower"); + TagKey SUPPORTS_CHORUS_FLOWER = TagKey.of("supports_chorus_flower"); - TagKey SUPPORTS_CHORUS_PLANT = TagKey.unsafeOf("supports_chorus_plant"); + TagKey SUPPORTS_CHORUS_PLANT = TagKey.of("supports_chorus_plant"); - TagKey SUPPORTS_COCOA = TagKey.unsafeOf("supports_cocoa"); + TagKey SUPPORTS_COCOA = TagKey.of("supports_cocoa"); - TagKey SUPPORTS_CRIMSON_FUNGUS = TagKey.unsafeOf("supports_crimson_fungus"); + TagKey SUPPORTS_CRIMSON_FUNGUS = TagKey.of("supports_crimson_fungus"); - TagKey SUPPORTS_CRIMSON_ROOTS = TagKey.unsafeOf("supports_crimson_roots"); + TagKey SUPPORTS_CRIMSON_ROOTS = TagKey.of("supports_crimson_roots"); - TagKey SUPPORTS_CROPS = TagKey.unsafeOf("supports_crops"); + TagKey SUPPORTS_CROPS = TagKey.of("supports_crops"); - TagKey SUPPORTS_DRY_VEGETATION = TagKey.unsafeOf("supports_dry_vegetation"); + TagKey SUPPORTS_DRY_VEGETATION = TagKey.of("supports_dry_vegetation"); - TagKey SUPPORTS_FROGSPAWN = TagKey.unsafeOf("supports_frogspawn"); + TagKey SUPPORTS_FROGSPAWN = TagKey.of("supports_frogspawn"); - TagKey SUPPORTS_HANGING_MANGROVE_PROPAGULE = TagKey.unsafeOf("supports_hanging_mangrove_propagule"); + TagKey SUPPORTS_HANGING_MANGROVE_PROPAGULE = TagKey.of("supports_hanging_mangrove_propagule"); - TagKey SUPPORTS_LILY_PAD = TagKey.unsafeOf("supports_lily_pad"); + TagKey SUPPORTS_LILY_PAD = TagKey.of("supports_lily_pad"); - TagKey SUPPORTS_MANGROVE_PROPAGULE = TagKey.unsafeOf("supports_mangrove_propagule"); + TagKey SUPPORTS_MANGROVE_PROPAGULE = TagKey.of("supports_mangrove_propagule"); - TagKey SUPPORTS_MELON_STEM = TagKey.unsafeOf("supports_melon_stem"); + TagKey SUPPORTS_MELON_STEM = TagKey.of("supports_melon_stem"); - TagKey SUPPORTS_MELON_STEM_FRUIT = TagKey.unsafeOf("supports_melon_stem_fruit"); + TagKey SUPPORTS_MELON_STEM_FRUIT = TagKey.of("supports_melon_stem_fruit"); - TagKey SUPPORTS_NETHER_SPROUTS = TagKey.unsafeOf("supports_nether_sprouts"); + TagKey SUPPORTS_NETHER_SPROUTS = TagKey.of("supports_nether_sprouts"); - TagKey SUPPORTS_NETHER_WART = TagKey.unsafeOf("supports_nether_wart"); + TagKey SUPPORTS_NETHER_WART = TagKey.of("supports_nether_wart"); - TagKey SUPPORTS_PUMPKIN_STEM = TagKey.unsafeOf("supports_pumpkin_stem"); + TagKey SUPPORTS_PUMPKIN_STEM = TagKey.of("supports_pumpkin_stem"); - TagKey SUPPORTS_PUMPKIN_STEM_FRUIT = TagKey.unsafeOf("supports_pumpkin_stem_fruit"); + TagKey SUPPORTS_PUMPKIN_STEM_FRUIT = TagKey.of("supports_pumpkin_stem_fruit"); - TagKey SUPPORTS_SMALL_DRIPLEAF = TagKey.unsafeOf("supports_small_dripleaf"); + TagKey SUPPORTS_SMALL_DRIPLEAF = TagKey.of("supports_small_dripleaf"); - TagKey SUPPORTS_STEM_CROPS = TagKey.unsafeOf("supports_stem_crops"); + TagKey SUPPORTS_STEM_CROPS = TagKey.of("supports_stem_crops"); - TagKey SUPPORTS_STEM_FRUIT = TagKey.unsafeOf("supports_stem_fruit"); + TagKey SUPPORTS_STEM_FRUIT = TagKey.of("supports_stem_fruit"); - TagKey SUPPORTS_SUGAR_CANE = TagKey.unsafeOf("supports_sugar_cane"); + TagKey SUPPORTS_SUGAR_CANE = TagKey.of("supports_sugar_cane"); - TagKey SUPPORTS_SUGAR_CANE_ADJACENTLY = TagKey.unsafeOf("supports_sugar_cane_adjacently"); + TagKey SUPPORTS_SUGAR_CANE_ADJACENTLY = TagKey.of("supports_sugar_cane_adjacently"); - TagKey SUPPORTS_VEGETATION = TagKey.unsafeOf("supports_vegetation"); + TagKey SUPPORTS_VEGETATION = TagKey.of("supports_vegetation"); - TagKey SUPPORTS_WARPED_FUNGUS = TagKey.unsafeOf("supports_warped_fungus"); + TagKey SUPPORTS_WARPED_FUNGUS = TagKey.of("supports_warped_fungus"); - TagKey SUPPORTS_WARPED_ROOTS = TagKey.unsafeOf("supports_warped_roots"); + TagKey SUPPORTS_WARPED_ROOTS = TagKey.of("supports_warped_roots"); - TagKey SUPPORTS_WITHER_ROSE = TagKey.unsafeOf("supports_wither_rose"); + TagKey SUPPORTS_WITHER_ROSE = TagKey.of("supports_wither_rose"); - TagKey SUPPRESSES_BOUNCE = TagKey.unsafeOf("suppresses_bounce"); + TagKey SUPPRESSES_BOUNCE = TagKey.of("suppresses_bounce"); - TagKey SWORD_EFFICIENT = TagKey.unsafeOf("sword_efficient"); + TagKey SWORD_EFFICIENT = TagKey.of("sword_efficient"); - TagKey SWORD_INSTANTLY_MINES = TagKey.unsafeOf("sword_instantly_mines"); + TagKey SWORD_INSTANTLY_MINES = TagKey.of("sword_instantly_mines"); - TagKey TERRACOTTA = TagKey.unsafeOf("terracotta"); + TagKey TERRACOTTA = TagKey.of("terracotta"); - TagKey TRAIL_RUINS_REPLACEABLE = TagKey.unsafeOf("trail_ruins_replaceable"); + TagKey TRAIL_RUINS_REPLACEABLE = TagKey.of("trail_ruins_replaceable"); - TagKey TRAPDOORS = TagKey.unsafeOf("trapdoors"); + TagKey TRAPDOORS = TagKey.of("trapdoors"); - TagKey TRIGGERS_AMBIENT_DESERT_DRY_VEGETATION_BLOCK_SOUNDS = TagKey.unsafeOf("triggers_ambient_desert_dry_vegetation_block_sounds"); + TagKey TRIGGERS_AMBIENT_DESERT_DRY_VEGETATION_BLOCK_SOUNDS = TagKey.of("triggers_ambient_desert_dry_vegetation_block_sounds"); - TagKey TRIGGERS_AMBIENT_DESERT_SAND_BLOCK_SOUNDS = TagKey.unsafeOf("triggers_ambient_desert_sand_block_sounds"); + TagKey TRIGGERS_AMBIENT_DESERT_SAND_BLOCK_SOUNDS = TagKey.of("triggers_ambient_desert_sand_block_sounds"); - TagKey TRIGGERS_AMBIENT_DRIED_GHAST_BLOCK_SOUNDS = TagKey.unsafeOf("triggers_ambient_dried_ghast_block_sounds"); + TagKey TRIGGERS_AMBIENT_DRIED_GHAST_BLOCK_SOUNDS = TagKey.of("triggers_ambient_dried_ghast_block_sounds"); - TagKey UNDERWATER_BONEMEALS = TagKey.unsafeOf("underwater_bonemeals"); + TagKey UNDERWATER_BONEMEALS = TagKey.of("underwater_bonemeals"); - TagKey UNSTABLE_BOTTOM_CENTER = TagKey.unsafeOf("unstable_bottom_center"); + TagKey UNSTABLE_BOTTOM_CENTER = TagKey.of("unstable_bottom_center"); - TagKey VALID_SPAWN = TagKey.unsafeOf("valid_spawn"); + TagKey VALID_SPAWN = TagKey.of("valid_spawn"); - TagKey VIBRATION_RESONATORS = TagKey.unsafeOf("vibration_resonators"); + TagKey VIBRATION_RESONATORS = TagKey.of("vibration_resonators"); - TagKey WALL_CORALS = TagKey.unsafeOf("wall_corals"); + TagKey WALL_CORALS = TagKey.of("wall_corals"); - TagKey WALL_HANGING_SIGNS = TagKey.unsafeOf("wall_hanging_signs"); + TagKey WALL_HANGING_SIGNS = TagKey.of("wall_hanging_signs"); - TagKey WALL_POST_OVERRIDE = TagKey.unsafeOf("wall_post_override"); + TagKey WALL_POST_OVERRIDE = TagKey.of("wall_post_override"); - TagKey WALL_SIGNS = TagKey.unsafeOf("wall_signs"); + TagKey WALL_SIGNS = TagKey.of("wall_signs"); - TagKey WALLS = TagKey.unsafeOf("walls"); + TagKey WALLS = TagKey.of("walls"); - TagKey WARPED_STEMS = TagKey.unsafeOf("warped_stems"); + TagKey WARPED_STEMS = TagKey.of("warped_stems"); - TagKey WART_BLOCKS = TagKey.unsafeOf("wart_blocks"); + TagKey WART_BLOCKS = TagKey.of("wart_blocks"); - TagKey WITHER_IMMUNE = TagKey.unsafeOf("wither_immune"); + TagKey WITHER_IMMUNE = TagKey.of("wither_immune"); - TagKey WITHER_IMMUNE_TO = TagKey.unsafeOf("wither_immune_to"); + TagKey WITHER_IMMUNE_TO = TagKey.of("wither_immune_to"); - TagKey WITHER_SKELETON_IMMUNE_TO = TagKey.unsafeOf("wither_skeleton_immune_to"); + TagKey WITHER_SKELETON_IMMUNE_TO = TagKey.of("wither_skeleton_immune_to"); - TagKey WITHER_SUMMON_BASE_BLOCKS = TagKey.unsafeOf("wither_summon_base_blocks"); + TagKey WITHER_SUMMON_BASE_BLOCKS = TagKey.of("wither_summon_base_blocks"); - TagKey WOLVES_SPAWNABLE_ON = TagKey.unsafeOf("wolves_spawnable_on"); + TagKey WOLVES_SPAWNABLE_ON = TagKey.of("wolves_spawnable_on"); - TagKey WOODEN_BUTTONS = TagKey.unsafeOf("wooden_buttons"); + TagKey WOODEN_BUTTONS = TagKey.of("wooden_buttons"); - TagKey WOODEN_DOORS = TagKey.unsafeOf("wooden_doors"); + TagKey WOODEN_DOORS = TagKey.of("wooden_doors"); - TagKey WOODEN_FENCES = TagKey.unsafeOf("wooden_fences"); + TagKey WOODEN_FENCES = TagKey.of("wooden_fences"); - TagKey WOODEN_PRESSURE_PLATES = TagKey.unsafeOf("wooden_pressure_plates"); + TagKey WOODEN_PRESSURE_PLATES = TagKey.of("wooden_pressure_plates"); - TagKey WOODEN_SHELVES = TagKey.unsafeOf("wooden_shelves"); + TagKey WOODEN_SHELVES = TagKey.of("wooden_shelves"); - TagKey WOODEN_SLABS = TagKey.unsafeOf("wooden_slabs"); + TagKey WOODEN_SLABS = TagKey.of("wooden_slabs"); - TagKey WOODEN_STAIRS = TagKey.unsafeOf("wooden_stairs"); + TagKey WOODEN_STAIRS = TagKey.of("wooden_stairs"); - TagKey WOODEN_TRAPDOORS = TagKey.unsafeOf("wooden_trapdoors"); + TagKey WOODEN_TRAPDOORS = TagKey.of("wooden_trapdoors"); - TagKey WOOL = TagKey.unsafeOf("wool"); + TagKey WOOL = TagKey.of("wool"); - TagKey WOOL_CARPETS = TagKey.unsafeOf("wool_carpets"); + TagKey WOOL_CARPETS = TagKey.of("wool_carpets"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/block/banner/BannerPatternTags.java b/src/autogenerated/java/net/minestom/server/instance/block/banner/BannerPatternTags.java index ab4e748672c..d91c8d27153 100644 --- a/src/autogenerated/java/net/minestom/server/instance/block/banner/BannerPatternTags.java +++ b/src/autogenerated/java/net/minestom/server/instance/block/banner/BannerPatternTags.java @@ -11,25 +11,25 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface BannerPatternTags { - TagKey NO_ITEM_REQUIRED = TagKey.unsafeOf("no_item_required"); + TagKey NO_ITEM_REQUIRED = TagKey.of("no_item_required"); - TagKey PATTERN_ITEM_BORDURE_INDENTED = TagKey.unsafeOf("pattern_item/bordure_indented"); + TagKey PATTERN_ITEM_BORDURE_INDENTED = TagKey.of("pattern_item/bordure_indented"); - TagKey PATTERN_ITEM_CREEPER = TagKey.unsafeOf("pattern_item/creeper"); + TagKey PATTERN_ITEM_CREEPER = TagKey.of("pattern_item/creeper"); - TagKey PATTERN_ITEM_FIELD_MASONED = TagKey.unsafeOf("pattern_item/field_masoned"); + TagKey PATTERN_ITEM_FIELD_MASONED = TagKey.of("pattern_item/field_masoned"); - TagKey PATTERN_ITEM_FLOW = TagKey.unsafeOf("pattern_item/flow"); + TagKey PATTERN_ITEM_FLOW = TagKey.of("pattern_item/flow"); - TagKey PATTERN_ITEM_FLOWER = TagKey.unsafeOf("pattern_item/flower"); + TagKey PATTERN_ITEM_FLOWER = TagKey.of("pattern_item/flower"); - TagKey PATTERN_ITEM_GLOBE = TagKey.unsafeOf("pattern_item/globe"); + TagKey PATTERN_ITEM_GLOBE = TagKey.of("pattern_item/globe"); - TagKey PATTERN_ITEM_GUSTER = TagKey.unsafeOf("pattern_item/guster"); + TagKey PATTERN_ITEM_GUSTER = TagKey.of("pattern_item/guster"); - TagKey PATTERN_ITEM_MOJANG = TagKey.unsafeOf("pattern_item/mojang"); + TagKey PATTERN_ITEM_MOJANG = TagKey.of("pattern_item/mojang"); - TagKey PATTERN_ITEM_PIGLIN = TagKey.unsafeOf("pattern_item/piglin"); + TagKey PATTERN_ITEM_PIGLIN = TagKey.of("pattern_item/piglin"); - TagKey PATTERN_ITEM_SKULL = TagKey.unsafeOf("pattern_item/skull"); + TagKey PATTERN_ITEM_SKULL = TagKey.of("pattern_item/skull"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/block/banner/BannerPatterns.java b/src/autogenerated/java/net/minestom/server/instance/block/banner/BannerPatterns.java index f0f237ffcff..769ab912ab9 100644 --- a/src/autogenerated/java/net/minestom/server/instance/block/banner/BannerPatterns.java +++ b/src/autogenerated/java/net/minestom/server/instance/block/banner/BannerPatterns.java @@ -9,89 +9,89 @@ */ @SuppressWarnings("unused") sealed interface BannerPatterns permits BannerPattern { - RegistryKey BASE = RegistryKey.unsafeOf("base"); + RegistryKey BASE = RegistryKey.of("base"); - RegistryKey BORDER = RegistryKey.unsafeOf("border"); + RegistryKey BORDER = RegistryKey.of("border"); - RegistryKey BRICKS = RegistryKey.unsafeOf("bricks"); + RegistryKey BRICKS = RegistryKey.of("bricks"); - RegistryKey CIRCLE = RegistryKey.unsafeOf("circle"); + RegistryKey CIRCLE = RegistryKey.of("circle"); - RegistryKey CREEPER = RegistryKey.unsafeOf("creeper"); + RegistryKey CREEPER = RegistryKey.of("creeper"); - RegistryKey CROSS = RegistryKey.unsafeOf("cross"); + RegistryKey CROSS = RegistryKey.of("cross"); - RegistryKey CURLY_BORDER = RegistryKey.unsafeOf("curly_border"); + RegistryKey CURLY_BORDER = RegistryKey.of("curly_border"); - RegistryKey DIAGONAL_LEFT = RegistryKey.unsafeOf("diagonal_left"); + RegistryKey DIAGONAL_LEFT = RegistryKey.of("diagonal_left"); - RegistryKey DIAGONAL_RIGHT = RegistryKey.unsafeOf("diagonal_right"); + RegistryKey DIAGONAL_RIGHT = RegistryKey.of("diagonal_right"); - RegistryKey DIAGONAL_UP_LEFT = RegistryKey.unsafeOf("diagonal_up_left"); + RegistryKey DIAGONAL_UP_LEFT = RegistryKey.of("diagonal_up_left"); - RegistryKey DIAGONAL_UP_RIGHT = RegistryKey.unsafeOf("diagonal_up_right"); + RegistryKey DIAGONAL_UP_RIGHT = RegistryKey.of("diagonal_up_right"); - RegistryKey FLOW = RegistryKey.unsafeOf("flow"); + RegistryKey FLOW = RegistryKey.of("flow"); - RegistryKey FLOWER = RegistryKey.unsafeOf("flower"); + RegistryKey FLOWER = RegistryKey.of("flower"); - RegistryKey GLOBE = RegistryKey.unsafeOf("globe"); + RegistryKey GLOBE = RegistryKey.of("globe"); - RegistryKey GRADIENT = RegistryKey.unsafeOf("gradient"); + RegistryKey GRADIENT = RegistryKey.of("gradient"); - RegistryKey GRADIENT_UP = RegistryKey.unsafeOf("gradient_up"); + RegistryKey GRADIENT_UP = RegistryKey.of("gradient_up"); - RegistryKey GUSTER = RegistryKey.unsafeOf("guster"); + RegistryKey GUSTER = RegistryKey.of("guster"); - RegistryKey HALF_HORIZONTAL = RegistryKey.unsafeOf("half_horizontal"); + RegistryKey HALF_HORIZONTAL = RegistryKey.of("half_horizontal"); - RegistryKey HALF_HORIZONTAL_BOTTOM = RegistryKey.unsafeOf("half_horizontal_bottom"); + RegistryKey HALF_HORIZONTAL_BOTTOM = RegistryKey.of("half_horizontal_bottom"); - RegistryKey HALF_VERTICAL = RegistryKey.unsafeOf("half_vertical"); + RegistryKey HALF_VERTICAL = RegistryKey.of("half_vertical"); - RegistryKey HALF_VERTICAL_RIGHT = RegistryKey.unsafeOf("half_vertical_right"); + RegistryKey HALF_VERTICAL_RIGHT = RegistryKey.of("half_vertical_right"); - RegistryKey MOJANG = RegistryKey.unsafeOf("mojang"); + RegistryKey MOJANG = RegistryKey.of("mojang"); - RegistryKey PIGLIN = RegistryKey.unsafeOf("piglin"); + RegistryKey PIGLIN = RegistryKey.of("piglin"); - RegistryKey RHOMBUS = RegistryKey.unsafeOf("rhombus"); + RegistryKey RHOMBUS = RegistryKey.of("rhombus"); - RegistryKey SKULL = RegistryKey.unsafeOf("skull"); + RegistryKey SKULL = RegistryKey.of("skull"); - RegistryKey SMALL_STRIPES = RegistryKey.unsafeOf("small_stripes"); + RegistryKey SMALL_STRIPES = RegistryKey.of("small_stripes"); - RegistryKey SQUARE_BOTTOM_LEFT = RegistryKey.unsafeOf("square_bottom_left"); + RegistryKey SQUARE_BOTTOM_LEFT = RegistryKey.of("square_bottom_left"); - RegistryKey SQUARE_BOTTOM_RIGHT = RegistryKey.unsafeOf("square_bottom_right"); + RegistryKey SQUARE_BOTTOM_RIGHT = RegistryKey.of("square_bottom_right"); - RegistryKey SQUARE_TOP_LEFT = RegistryKey.unsafeOf("square_top_left"); + RegistryKey SQUARE_TOP_LEFT = RegistryKey.of("square_top_left"); - RegistryKey SQUARE_TOP_RIGHT = RegistryKey.unsafeOf("square_top_right"); + RegistryKey SQUARE_TOP_RIGHT = RegistryKey.of("square_top_right"); - RegistryKey STRAIGHT_CROSS = RegistryKey.unsafeOf("straight_cross"); + RegistryKey STRAIGHT_CROSS = RegistryKey.of("straight_cross"); - RegistryKey STRIPE_BOTTOM = RegistryKey.unsafeOf("stripe_bottom"); + RegistryKey STRIPE_BOTTOM = RegistryKey.of("stripe_bottom"); - RegistryKey STRIPE_CENTER = RegistryKey.unsafeOf("stripe_center"); + RegistryKey STRIPE_CENTER = RegistryKey.of("stripe_center"); - RegistryKey STRIPE_DOWNLEFT = RegistryKey.unsafeOf("stripe_downleft"); + RegistryKey STRIPE_DOWNLEFT = RegistryKey.of("stripe_downleft"); - RegistryKey STRIPE_DOWNRIGHT = RegistryKey.unsafeOf("stripe_downright"); + RegistryKey STRIPE_DOWNRIGHT = RegistryKey.of("stripe_downright"); - RegistryKey STRIPE_LEFT = RegistryKey.unsafeOf("stripe_left"); + RegistryKey STRIPE_LEFT = RegistryKey.of("stripe_left"); - RegistryKey STRIPE_MIDDLE = RegistryKey.unsafeOf("stripe_middle"); + RegistryKey STRIPE_MIDDLE = RegistryKey.of("stripe_middle"); - RegistryKey STRIPE_RIGHT = RegistryKey.unsafeOf("stripe_right"); + RegistryKey STRIPE_RIGHT = RegistryKey.of("stripe_right"); - RegistryKey STRIPE_TOP = RegistryKey.unsafeOf("stripe_top"); + RegistryKey STRIPE_TOP = RegistryKey.of("stripe_top"); - RegistryKey TRIANGLE_BOTTOM = RegistryKey.unsafeOf("triangle_bottom"); + RegistryKey TRIANGLE_BOTTOM = RegistryKey.of("triangle_bottom"); - RegistryKey TRIANGLE_TOP = RegistryKey.unsafeOf("triangle_top"); + RegistryKey TRIANGLE_TOP = RegistryKey.of("triangle_top"); - RegistryKey TRIANGLES_BOTTOM = RegistryKey.unsafeOf("triangles_bottom"); + RegistryKey TRIANGLES_BOTTOM = RegistryKey.of("triangles_bottom"); - RegistryKey TRIANGLES_TOP = RegistryKey.unsafeOf("triangles_top"); + RegistryKey TRIANGLES_TOP = RegistryKey.of("triangles_top"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/block/jukebox/JukeboxSongs.java b/src/autogenerated/java/net/minestom/server/instance/block/jukebox/JukeboxSongs.java index 7a466ff341f..86229e4d99d 100644 --- a/src/autogenerated/java/net/minestom/server/instance/block/jukebox/JukeboxSongs.java +++ b/src/autogenerated/java/net/minestom/server/instance/block/jukebox/JukeboxSongs.java @@ -9,47 +9,47 @@ */ @SuppressWarnings("unused") sealed interface JukeboxSongs permits JukeboxSong { - RegistryKey _11 = RegistryKey.unsafeOf("11"); + RegistryKey _11 = RegistryKey.of("11"); - RegistryKey _13 = RegistryKey.unsafeOf("13"); + RegistryKey _13 = RegistryKey.of("13"); - RegistryKey _5 = RegistryKey.unsafeOf("5"); + RegistryKey _5 = RegistryKey.of("5"); - RegistryKey BLOCKS = RegistryKey.unsafeOf("blocks"); + RegistryKey BLOCKS = RegistryKey.of("blocks"); - RegistryKey BOUNCE = RegistryKey.unsafeOf("bounce"); + RegistryKey BOUNCE = RegistryKey.of("bounce"); - RegistryKey CAT = RegistryKey.unsafeOf("cat"); + RegistryKey CAT = RegistryKey.of("cat"); - RegistryKey CHIRP = RegistryKey.unsafeOf("chirp"); + RegistryKey CHIRP = RegistryKey.of("chirp"); - RegistryKey CREATOR = RegistryKey.unsafeOf("creator"); + RegistryKey CREATOR = RegistryKey.of("creator"); - RegistryKey CREATOR_MUSIC_BOX = RegistryKey.unsafeOf("creator_music_box"); + RegistryKey CREATOR_MUSIC_BOX = RegistryKey.of("creator_music_box"); - RegistryKey FAR = RegistryKey.unsafeOf("far"); + RegistryKey FAR = RegistryKey.of("far"); - RegistryKey LAVA_CHICKEN = RegistryKey.unsafeOf("lava_chicken"); + RegistryKey LAVA_CHICKEN = RegistryKey.of("lava_chicken"); - RegistryKey MALL = RegistryKey.unsafeOf("mall"); + RegistryKey MALL = RegistryKey.of("mall"); - RegistryKey MELLOHI = RegistryKey.unsafeOf("mellohi"); + RegistryKey MELLOHI = RegistryKey.of("mellohi"); - RegistryKey OTHERSIDE = RegistryKey.unsafeOf("otherside"); + RegistryKey OTHERSIDE = RegistryKey.of("otherside"); - RegistryKey PIGSTEP = RegistryKey.unsafeOf("pigstep"); + RegistryKey PIGSTEP = RegistryKey.of("pigstep"); - RegistryKey PRECIPICE = RegistryKey.unsafeOf("precipice"); + RegistryKey PRECIPICE = RegistryKey.of("precipice"); - RegistryKey RELIC = RegistryKey.unsafeOf("relic"); + RegistryKey RELIC = RegistryKey.of("relic"); - RegistryKey STAL = RegistryKey.unsafeOf("stal"); + RegistryKey STAL = RegistryKey.of("stal"); - RegistryKey STRAD = RegistryKey.unsafeOf("strad"); + RegistryKey STRAD = RegistryKey.of("strad"); - RegistryKey TEARS = RegistryKey.unsafeOf("tears"); + RegistryKey TEARS = RegistryKey.of("tears"); - RegistryKey WAIT = RegistryKey.unsafeOf("wait"); + RegistryKey WAIT = RegistryKey.of("wait"); - RegistryKey WARD = RegistryKey.unsafeOf("ward"); + RegistryKey WARD = RegistryKey.of("ward"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/fluid/FluidKeys.java b/src/autogenerated/java/net/minestom/server/instance/fluid/FluidKeys.java index cb419e35c68..7dc300ee7bb 100644 --- a/src/autogenerated/java/net/minestom/server/instance/fluid/FluidKeys.java +++ b/src/autogenerated/java/net/minestom/server/instance/fluid/FluidKeys.java @@ -11,13 +11,13 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface FluidKeys { - RegistryKey EMPTY = RegistryKey.unsafeOf("empty"); + RegistryKey EMPTY = RegistryKey.of("empty"); - RegistryKey FLOWING_LAVA = RegistryKey.unsafeOf("flowing_lava"); + RegistryKey FLOWING_LAVA = RegistryKey.of("flowing_lava"); - RegistryKey FLOWING_WATER = RegistryKey.unsafeOf("flowing_water"); + RegistryKey FLOWING_WATER = RegistryKey.of("flowing_water"); - RegistryKey LAVA = RegistryKey.unsafeOf("lava"); + RegistryKey LAVA = RegistryKey.of("lava"); - RegistryKey WATER = RegistryKey.unsafeOf("water"); + RegistryKey WATER = RegistryKey.of("water"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/fluid/FluidTags.java b/src/autogenerated/java/net/minestom/server/instance/fluid/FluidTags.java index 92795f1f8d3..67f89981e32 100644 --- a/src/autogenerated/java/net/minestom/server/instance/fluid/FluidTags.java +++ b/src/autogenerated/java/net/minestom/server/instance/fluid/FluidTags.java @@ -11,15 +11,15 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface FluidTags { - TagKey BUBBLE_COLUMN_CAN_OCCUPY = TagKey.unsafeOf("bubble_column_can_occupy"); + TagKey BUBBLE_COLUMN_CAN_OCCUPY = TagKey.of("bubble_column_can_occupy"); - TagKey LAVA = TagKey.unsafeOf("lava"); + TagKey LAVA = TagKey.of("lava"); - TagKey SUPPORTS_FROGSPAWN = TagKey.unsafeOf("supports_frogspawn"); + TagKey SUPPORTS_FROGSPAWN = TagKey.of("supports_frogspawn"); - TagKey SUPPORTS_LILY_PAD = TagKey.unsafeOf("supports_lily_pad"); + TagKey SUPPORTS_LILY_PAD = TagKey.of("supports_lily_pad"); - TagKey SUPPORTS_SUGAR_CANE_ADJACENTLY = TagKey.unsafeOf("supports_sugar_cane_adjacently"); + TagKey SUPPORTS_SUGAR_CANE_ADJACENTLY = TagKey.of("supports_sugar_cane_adjacently"); - TagKey WATER = TagKey.unsafeOf("water"); + TagKey WATER = TagKey.of("water"); } diff --git a/src/autogenerated/java/net/minestom/server/instance/gamerule/GameRuleKeys.java b/src/autogenerated/java/net/minestom/server/instance/gamerule/GameRuleKeys.java index 563302a27f3..990dbee5955 100644 --- a/src/autogenerated/java/net/minestom/server/instance/gamerule/GameRuleKeys.java +++ b/src/autogenerated/java/net/minestom/server/instance/gamerule/GameRuleKeys.java @@ -11,121 +11,121 @@ @ApiStatus.NonExtendable @SuppressWarnings("unused") public interface GameRuleKeys { - RegistryKey> ADVANCE_TIME = RegistryKey.unsafeOf("advance_time"); + RegistryKey> ADVANCE_TIME = RegistryKey.of("advance_time"); - RegistryKey> ADVANCE_WEATHER = RegistryKey.unsafeOf("advance_weather"); + RegistryKey> ADVANCE_WEATHER = RegistryKey.of("advance_weather"); - RegistryKey> ALLOW_ENTERING_NETHER_USING_PORTALS = RegistryKey.unsafeOf("allow_entering_nether_using_portals"); + RegistryKey> ALLOW_ENTERING_NETHER_USING_PORTALS = RegistryKey.of("allow_entering_nether_using_portals"); - RegistryKey> BLOCK_DROPS = RegistryKey.unsafeOf("block_drops"); + RegistryKey> BLOCK_DROPS = RegistryKey.of("block_drops"); - RegistryKey> BLOCK_EXPLOSION_DROP_DECAY = RegistryKey.unsafeOf("block_explosion_drop_decay"); + RegistryKey> BLOCK_EXPLOSION_DROP_DECAY = RegistryKey.of("block_explosion_drop_decay"); - RegistryKey> COMMAND_BLOCKS_WORK = RegistryKey.unsafeOf("command_blocks_work"); + RegistryKey> COMMAND_BLOCKS_WORK = RegistryKey.of("command_blocks_work"); - RegistryKey> COMMAND_BLOCK_OUTPUT = RegistryKey.unsafeOf("command_block_output"); + RegistryKey> COMMAND_BLOCK_OUTPUT = RegistryKey.of("command_block_output"); - RegistryKey> DROWNING_DAMAGE = RegistryKey.unsafeOf("drowning_damage"); + RegistryKey> DROWNING_DAMAGE = RegistryKey.of("drowning_damage"); - RegistryKey> ELYTRA_MOVEMENT_CHECK = RegistryKey.unsafeOf("elytra_movement_check"); + RegistryKey> ELYTRA_MOVEMENT_CHECK = RegistryKey.of("elytra_movement_check"); - RegistryKey> ENDER_PEARLS_VANISH_ON_DEATH = RegistryKey.unsafeOf("ender_pearls_vanish_on_death"); + RegistryKey> ENDER_PEARLS_VANISH_ON_DEATH = RegistryKey.of("ender_pearls_vanish_on_death"); - RegistryKey> ENTITY_DROPS = RegistryKey.unsafeOf("entity_drops"); + RegistryKey> ENTITY_DROPS = RegistryKey.of("entity_drops"); - RegistryKey> FALL_DAMAGE = RegistryKey.unsafeOf("fall_damage"); + RegistryKey> FALL_DAMAGE = RegistryKey.of("fall_damage"); - RegistryKey> FIRE_DAMAGE = RegistryKey.unsafeOf("fire_damage"); + RegistryKey> FIRE_DAMAGE = RegistryKey.of("fire_damage"); - RegistryKey> FIRE_SPREAD_RADIUS_AROUND_PLAYER = RegistryKey.unsafeOf("fire_spread_radius_around_player"); + RegistryKey> FIRE_SPREAD_RADIUS_AROUND_PLAYER = RegistryKey.of("fire_spread_radius_around_player"); - RegistryKey> FORGIVE_DEAD_PLAYERS = RegistryKey.unsafeOf("forgive_dead_players"); + RegistryKey> FORGIVE_DEAD_PLAYERS = RegistryKey.of("forgive_dead_players"); - RegistryKey> FREEZE_DAMAGE = RegistryKey.unsafeOf("freeze_damage"); + RegistryKey> FREEZE_DAMAGE = RegistryKey.of("freeze_damage"); - RegistryKey> GLOBAL_SOUND_EVENTS = RegistryKey.unsafeOf("global_sound_events"); + RegistryKey> GLOBAL_SOUND_EVENTS = RegistryKey.of("global_sound_events"); - RegistryKey> IMMEDIATE_RESPAWN = RegistryKey.unsafeOf("immediate_respawn"); + RegistryKey> IMMEDIATE_RESPAWN = RegistryKey.of("immediate_respawn"); - RegistryKey> KEEP_INVENTORY = RegistryKey.unsafeOf("keep_inventory"); + RegistryKey> KEEP_INVENTORY = RegistryKey.of("keep_inventory"); - RegistryKey> LAVA_SOURCE_CONVERSION = RegistryKey.unsafeOf("lava_source_conversion"); + RegistryKey> LAVA_SOURCE_CONVERSION = RegistryKey.of("lava_source_conversion"); - RegistryKey> LIMITED_CRAFTING = RegistryKey.unsafeOf("limited_crafting"); + RegistryKey> LIMITED_CRAFTING = RegistryKey.of("limited_crafting"); - RegistryKey> LOCATOR_BAR = RegistryKey.unsafeOf("locator_bar"); + RegistryKey> LOCATOR_BAR = RegistryKey.of("locator_bar"); - RegistryKey> LOG_ADMIN_COMMANDS = RegistryKey.unsafeOf("log_admin_commands"); + RegistryKey> LOG_ADMIN_COMMANDS = RegistryKey.of("log_admin_commands"); - RegistryKey> MAX_BLOCK_MODIFICATIONS = RegistryKey.unsafeOf("max_block_modifications"); + RegistryKey> MAX_BLOCK_MODIFICATIONS = RegistryKey.of("max_block_modifications"); - RegistryKey> MAX_COMMAND_FORKS = RegistryKey.unsafeOf("max_command_forks"); + RegistryKey> MAX_COMMAND_FORKS = RegistryKey.of("max_command_forks"); - RegistryKey> MAX_COMMAND_SEQUENCE_LENGTH = RegistryKey.unsafeOf("max_command_sequence_length"); + RegistryKey> MAX_COMMAND_SEQUENCE_LENGTH = RegistryKey.of("max_command_sequence_length"); - RegistryKey> MAX_ENTITY_CRAMMING = RegistryKey.unsafeOf("max_entity_cramming"); + RegistryKey> MAX_ENTITY_CRAMMING = RegistryKey.of("max_entity_cramming"); - RegistryKey> MAX_MINECART_SPEED = RegistryKey.unsafeOf("max_minecart_speed"); + RegistryKey> MAX_MINECART_SPEED = RegistryKey.of("max_minecart_speed"); - RegistryKey> MAX_SNOW_ACCUMULATION_HEIGHT = RegistryKey.unsafeOf("max_snow_accumulation_height"); + RegistryKey> MAX_SNOW_ACCUMULATION_HEIGHT = RegistryKey.of("max_snow_accumulation_height"); - RegistryKey> MOB_DROPS = RegistryKey.unsafeOf("mob_drops"); + RegistryKey> MOB_DROPS = RegistryKey.of("mob_drops"); - RegistryKey> MOB_EXPLOSION_DROP_DECAY = RegistryKey.unsafeOf("mob_explosion_drop_decay"); + RegistryKey> MOB_EXPLOSION_DROP_DECAY = RegistryKey.of("mob_explosion_drop_decay"); - RegistryKey> MOB_GRIEFING = RegistryKey.unsafeOf("mob_griefing"); + RegistryKey> MOB_GRIEFING = RegistryKey.of("mob_griefing"); - RegistryKey> NATURAL_HEALTH_REGENERATION = RegistryKey.unsafeOf("natural_health_regeneration"); + RegistryKey> NATURAL_HEALTH_REGENERATION = RegistryKey.of("natural_health_regeneration"); - RegistryKey> PLAYER_MOVEMENT_CHECK = RegistryKey.unsafeOf("player_movement_check"); + RegistryKey> PLAYER_MOVEMENT_CHECK = RegistryKey.of("player_movement_check"); - RegistryKey> PLAYERS_NETHER_PORTAL_CREATIVE_DELAY = RegistryKey.unsafeOf("players_nether_portal_creative_delay"); + RegistryKey> PLAYERS_NETHER_PORTAL_CREATIVE_DELAY = RegistryKey.of("players_nether_portal_creative_delay"); - RegistryKey> PLAYERS_NETHER_PORTAL_DEFAULT_DELAY = RegistryKey.unsafeOf("players_nether_portal_default_delay"); + RegistryKey> PLAYERS_NETHER_PORTAL_DEFAULT_DELAY = RegistryKey.of("players_nether_portal_default_delay"); - RegistryKey> PLAYERS_SLEEPING_PERCENTAGE = RegistryKey.unsafeOf("players_sleeping_percentage"); + RegistryKey> PLAYERS_SLEEPING_PERCENTAGE = RegistryKey.of("players_sleeping_percentage"); - RegistryKey> PROJECTILES_CAN_BREAK_BLOCKS = RegistryKey.unsafeOf("projectiles_can_break_blocks"); + RegistryKey> PROJECTILES_CAN_BREAK_BLOCKS = RegistryKey.of("projectiles_can_break_blocks"); - RegistryKey> PVP = RegistryKey.unsafeOf("pvp"); + RegistryKey> PVP = RegistryKey.of("pvp"); - RegistryKey> RAIDS = RegistryKey.unsafeOf("raids"); + RegistryKey> RAIDS = RegistryKey.of("raids"); - RegistryKey> RANDOM_TICK_SPEED = RegistryKey.unsafeOf("random_tick_speed"); + RegistryKey> RANDOM_TICK_SPEED = RegistryKey.of("random_tick_speed"); - RegistryKey> REDUCED_DEBUG_INFO = RegistryKey.unsafeOf("reduced_debug_info"); + RegistryKey> REDUCED_DEBUG_INFO = RegistryKey.of("reduced_debug_info"); - RegistryKey> RESPAWN_RADIUS = RegistryKey.unsafeOf("respawn_radius"); + RegistryKey> RESPAWN_RADIUS = RegistryKey.of("respawn_radius"); - RegistryKey> SEND_COMMAND_FEEDBACK = RegistryKey.unsafeOf("send_command_feedback"); + RegistryKey> SEND_COMMAND_FEEDBACK = RegistryKey.of("send_command_feedback"); - RegistryKey> SHOW_ADVANCEMENT_MESSAGES = RegistryKey.unsafeOf("show_advancement_messages"); + RegistryKey> SHOW_ADVANCEMENT_MESSAGES = RegistryKey.of("show_advancement_messages"); - RegistryKey> SHOW_DEATH_MESSAGES = RegistryKey.unsafeOf("show_death_messages"); + RegistryKey> SHOW_DEATH_MESSAGES = RegistryKey.of("show_death_messages"); - RegistryKey> SPAWNER_BLOCKS_WORK = RegistryKey.unsafeOf("spawner_blocks_work"); + RegistryKey> SPAWNER_BLOCKS_WORK = RegistryKey.of("spawner_blocks_work"); - RegistryKey> SPAWN_MOBS = RegistryKey.unsafeOf("spawn_mobs"); + RegistryKey> SPAWN_MOBS = RegistryKey.of("spawn_mobs"); - RegistryKey> SPAWN_MONSTERS = RegistryKey.unsafeOf("spawn_monsters"); + RegistryKey> SPAWN_MONSTERS = RegistryKey.of("spawn_monsters"); - RegistryKey> SPAWN_PATROLS = RegistryKey.unsafeOf("spawn_patrols"); + RegistryKey> SPAWN_PATROLS = RegistryKey.of("spawn_patrols"); - RegistryKey> SPAWN_PHANTOMS = RegistryKey.unsafeOf("spawn_phantoms"); + RegistryKey> SPAWN_PHANTOMS = RegistryKey.of("spawn_phantoms"); - RegistryKey> SPAWN_WANDERING_TRADERS = RegistryKey.unsafeOf("spawn_wandering_traders"); + RegistryKey> SPAWN_WANDERING_TRADERS = RegistryKey.of("spawn_wandering_traders"); - RegistryKey> SPAWN_WARDENS = RegistryKey.unsafeOf("spawn_wardens"); + RegistryKey> SPAWN_WARDENS = RegistryKey.of("spawn_wardens"); - RegistryKey> SPECTATORS_GENERATE_CHUNKS = RegistryKey.unsafeOf("spectators_generate_chunks"); + RegistryKey> SPECTATORS_GENERATE_CHUNKS = RegistryKey.of("spectators_generate_chunks"); - RegistryKey> SPREAD_VINES = RegistryKey.unsafeOf("spread_vines"); + RegistryKey> SPREAD_VINES = RegistryKey.of("spread_vines"); - RegistryKey> TNT_EXPLODES = RegistryKey.unsafeOf("tnt_explodes"); + RegistryKey> TNT_EXPLODES = RegistryKey.of("tnt_explodes"); - RegistryKey> TNT_EXPLOSION_DROP_DECAY = RegistryKey.unsafeOf("tnt_explosion_drop_decay"); + RegistryKey> TNT_EXPLOSION_DROP_DECAY = RegistryKey.of("tnt_explosion_drop_decay"); - RegistryKey> UNIVERSAL_ANGER = RegistryKey.unsafeOf("universal_anger"); + RegistryKey> UNIVERSAL_ANGER = RegistryKey.of("universal_anger"); - RegistryKey> WATER_SOURCE_CONVERSION = RegistryKey.unsafeOf("water_source_conversion"); + RegistryKey> WATER_SOURCE_CONVERSION = RegistryKey.of("water_source_conversion"); } diff --git a/src/autogenerated/java/net/minestom/server/item/MaterialKeys.java b/src/autogenerated/java/net/minestom/server/item/MaterialKeys.java index dbe495c16ed..5092821226f 100644 --- a/src/autogenerated/java/net/minestom/server/item/MaterialKeys.java +++ b/src/autogenerated/java/net/minestom/server/item/MaterialKeys.java @@ -11,3077 +11,3077 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface MaterialKeys { - RegistryKey ACACIA_BOAT = RegistryKey.unsafeOf("acacia_boat"); + RegistryKey ACACIA_BOAT = RegistryKey.of("acacia_boat"); - RegistryKey ACACIA_BUTTON = RegistryKey.unsafeOf("acacia_button"); + RegistryKey ACACIA_BUTTON = RegistryKey.of("acacia_button"); - RegistryKey ACACIA_CHEST_BOAT = RegistryKey.unsafeOf("acacia_chest_boat"); + RegistryKey ACACIA_CHEST_BOAT = RegistryKey.of("acacia_chest_boat"); - RegistryKey ACACIA_DOOR = RegistryKey.unsafeOf("acacia_door"); + RegistryKey ACACIA_DOOR = RegistryKey.of("acacia_door"); - RegistryKey ACACIA_FENCE = RegistryKey.unsafeOf("acacia_fence"); + RegistryKey ACACIA_FENCE = RegistryKey.of("acacia_fence"); - RegistryKey ACACIA_FENCE_GATE = RegistryKey.unsafeOf("acacia_fence_gate"); + RegistryKey ACACIA_FENCE_GATE = RegistryKey.of("acacia_fence_gate"); - RegistryKey ACACIA_HANGING_SIGN = RegistryKey.unsafeOf("acacia_hanging_sign"); + RegistryKey ACACIA_HANGING_SIGN = RegistryKey.of("acacia_hanging_sign"); - RegistryKey ACACIA_LEAVES = RegistryKey.unsafeOf("acacia_leaves"); + RegistryKey ACACIA_LEAVES = RegistryKey.of("acacia_leaves"); - RegistryKey ACACIA_LOG = RegistryKey.unsafeOf("acacia_log"); + RegistryKey ACACIA_LOG = RegistryKey.of("acacia_log"); - RegistryKey ACACIA_PLANKS = RegistryKey.unsafeOf("acacia_planks"); + RegistryKey ACACIA_PLANKS = RegistryKey.of("acacia_planks"); - RegistryKey ACACIA_PRESSURE_PLATE = RegistryKey.unsafeOf("acacia_pressure_plate"); + RegistryKey ACACIA_PRESSURE_PLATE = RegistryKey.of("acacia_pressure_plate"); - RegistryKey ACACIA_SAPLING = RegistryKey.unsafeOf("acacia_sapling"); + RegistryKey ACACIA_SAPLING = RegistryKey.of("acacia_sapling"); - RegistryKey ACACIA_SHELF = RegistryKey.unsafeOf("acacia_shelf"); + RegistryKey ACACIA_SHELF = RegistryKey.of("acacia_shelf"); - RegistryKey ACACIA_SIGN = RegistryKey.unsafeOf("acacia_sign"); + RegistryKey ACACIA_SIGN = RegistryKey.of("acacia_sign"); - RegistryKey ACACIA_SLAB = RegistryKey.unsafeOf("acacia_slab"); + RegistryKey ACACIA_SLAB = RegistryKey.of("acacia_slab"); - RegistryKey ACACIA_STAIRS = RegistryKey.unsafeOf("acacia_stairs"); + RegistryKey ACACIA_STAIRS = RegistryKey.of("acacia_stairs"); - RegistryKey ACACIA_TRAPDOOR = RegistryKey.unsafeOf("acacia_trapdoor"); + RegistryKey ACACIA_TRAPDOOR = RegistryKey.of("acacia_trapdoor"); - RegistryKey ACACIA_WOOD = RegistryKey.unsafeOf("acacia_wood"); + RegistryKey ACACIA_WOOD = RegistryKey.of("acacia_wood"); - RegistryKey ACTIVATOR_RAIL = RegistryKey.unsafeOf("activator_rail"); + RegistryKey ACTIVATOR_RAIL = RegistryKey.of("activator_rail"); - RegistryKey AIR = RegistryKey.unsafeOf("air"); + RegistryKey AIR = RegistryKey.of("air"); - RegistryKey ALLAY_SPAWN_EGG = RegistryKey.unsafeOf("allay_spawn_egg"); + RegistryKey ALLAY_SPAWN_EGG = RegistryKey.of("allay_spawn_egg"); - RegistryKey ALLIUM = RegistryKey.unsafeOf("allium"); + RegistryKey ALLIUM = RegistryKey.of("allium"); - RegistryKey AMETHYST_BLOCK = RegistryKey.unsafeOf("amethyst_block"); + RegistryKey AMETHYST_BLOCK = RegistryKey.of("amethyst_block"); - RegistryKey AMETHYST_CLUSTER = RegistryKey.unsafeOf("amethyst_cluster"); + RegistryKey AMETHYST_CLUSTER = RegistryKey.of("amethyst_cluster"); - RegistryKey AMETHYST_SHARD = RegistryKey.unsafeOf("amethyst_shard"); + RegistryKey AMETHYST_SHARD = RegistryKey.of("amethyst_shard"); - RegistryKey ANCIENT_DEBRIS = RegistryKey.unsafeOf("ancient_debris"); + RegistryKey ANCIENT_DEBRIS = RegistryKey.of("ancient_debris"); - RegistryKey ANDESITE = RegistryKey.unsafeOf("andesite"); + RegistryKey ANDESITE = RegistryKey.of("andesite"); - RegistryKey ANDESITE_SLAB = RegistryKey.unsafeOf("andesite_slab"); + RegistryKey ANDESITE_SLAB = RegistryKey.of("andesite_slab"); - RegistryKey ANDESITE_STAIRS = RegistryKey.unsafeOf("andesite_stairs"); + RegistryKey ANDESITE_STAIRS = RegistryKey.of("andesite_stairs"); - RegistryKey ANDESITE_WALL = RegistryKey.unsafeOf("andesite_wall"); + RegistryKey ANDESITE_WALL = RegistryKey.of("andesite_wall"); - RegistryKey ANGLER_POTTERY_SHERD = RegistryKey.unsafeOf("angler_pottery_sherd"); + RegistryKey ANGLER_POTTERY_SHERD = RegistryKey.of("angler_pottery_sherd"); - RegistryKey ANVIL = RegistryKey.unsafeOf("anvil"); + RegistryKey ANVIL = RegistryKey.of("anvil"); - RegistryKey APPLE = RegistryKey.unsafeOf("apple"); + RegistryKey APPLE = RegistryKey.of("apple"); - RegistryKey ARCHER_POTTERY_SHERD = RegistryKey.unsafeOf("archer_pottery_sherd"); + RegistryKey ARCHER_POTTERY_SHERD = RegistryKey.of("archer_pottery_sherd"); - RegistryKey ARMADILLO_SCUTE = RegistryKey.unsafeOf("armadillo_scute"); + RegistryKey ARMADILLO_SCUTE = RegistryKey.of("armadillo_scute"); - RegistryKey ARMADILLO_SPAWN_EGG = RegistryKey.unsafeOf("armadillo_spawn_egg"); + RegistryKey ARMADILLO_SPAWN_EGG = RegistryKey.of("armadillo_spawn_egg"); - RegistryKey ARMOR_STAND = RegistryKey.unsafeOf("armor_stand"); + RegistryKey ARMOR_STAND = RegistryKey.of("armor_stand"); - RegistryKey ARMS_UP_POTTERY_SHERD = RegistryKey.unsafeOf("arms_up_pottery_sherd"); + RegistryKey ARMS_UP_POTTERY_SHERD = RegistryKey.of("arms_up_pottery_sherd"); - RegistryKey ARROW = RegistryKey.unsafeOf("arrow"); + RegistryKey ARROW = RegistryKey.of("arrow"); - RegistryKey AXOLOTL_BUCKET = RegistryKey.unsafeOf("axolotl_bucket"); + RegistryKey AXOLOTL_BUCKET = RegistryKey.of("axolotl_bucket"); - RegistryKey AXOLOTL_SPAWN_EGG = RegistryKey.unsafeOf("axolotl_spawn_egg"); + RegistryKey AXOLOTL_SPAWN_EGG = RegistryKey.of("axolotl_spawn_egg"); - RegistryKey AZALEA = RegistryKey.unsafeOf("azalea"); + RegistryKey AZALEA = RegistryKey.of("azalea"); - RegistryKey AZALEA_LEAVES = RegistryKey.unsafeOf("azalea_leaves"); + RegistryKey AZALEA_LEAVES = RegistryKey.of("azalea_leaves"); - RegistryKey AZURE_BLUET = RegistryKey.unsafeOf("azure_bluet"); + RegistryKey AZURE_BLUET = RegistryKey.of("azure_bluet"); - RegistryKey BAKED_POTATO = RegistryKey.unsafeOf("baked_potato"); + RegistryKey BAKED_POTATO = RegistryKey.of("baked_potato"); - RegistryKey BAMBOO = RegistryKey.unsafeOf("bamboo"); + RegistryKey BAMBOO = RegistryKey.of("bamboo"); - RegistryKey BAMBOO_BLOCK = RegistryKey.unsafeOf("bamboo_block"); + RegistryKey BAMBOO_BLOCK = RegistryKey.of("bamboo_block"); - RegistryKey BAMBOO_BUTTON = RegistryKey.unsafeOf("bamboo_button"); + RegistryKey BAMBOO_BUTTON = RegistryKey.of("bamboo_button"); - RegistryKey BAMBOO_CHEST_RAFT = RegistryKey.unsafeOf("bamboo_chest_raft"); + RegistryKey BAMBOO_CHEST_RAFT = RegistryKey.of("bamboo_chest_raft"); - RegistryKey BAMBOO_DOOR = RegistryKey.unsafeOf("bamboo_door"); + RegistryKey BAMBOO_DOOR = RegistryKey.of("bamboo_door"); - RegistryKey BAMBOO_FENCE = RegistryKey.unsafeOf("bamboo_fence"); + RegistryKey BAMBOO_FENCE = RegistryKey.of("bamboo_fence"); - RegistryKey BAMBOO_FENCE_GATE = RegistryKey.unsafeOf("bamboo_fence_gate"); + RegistryKey BAMBOO_FENCE_GATE = RegistryKey.of("bamboo_fence_gate"); - RegistryKey BAMBOO_HANGING_SIGN = RegistryKey.unsafeOf("bamboo_hanging_sign"); + RegistryKey BAMBOO_HANGING_SIGN = RegistryKey.of("bamboo_hanging_sign"); - RegistryKey BAMBOO_MOSAIC = RegistryKey.unsafeOf("bamboo_mosaic"); + RegistryKey BAMBOO_MOSAIC = RegistryKey.of("bamboo_mosaic"); - RegistryKey BAMBOO_MOSAIC_SLAB = RegistryKey.unsafeOf("bamboo_mosaic_slab"); + RegistryKey BAMBOO_MOSAIC_SLAB = RegistryKey.of("bamboo_mosaic_slab"); - RegistryKey BAMBOO_MOSAIC_STAIRS = RegistryKey.unsafeOf("bamboo_mosaic_stairs"); + RegistryKey BAMBOO_MOSAIC_STAIRS = RegistryKey.of("bamboo_mosaic_stairs"); - RegistryKey BAMBOO_PLANKS = RegistryKey.unsafeOf("bamboo_planks"); + RegistryKey BAMBOO_PLANKS = RegistryKey.of("bamboo_planks"); - RegistryKey BAMBOO_PRESSURE_PLATE = RegistryKey.unsafeOf("bamboo_pressure_plate"); + RegistryKey BAMBOO_PRESSURE_PLATE = RegistryKey.of("bamboo_pressure_plate"); - RegistryKey BAMBOO_RAFT = RegistryKey.unsafeOf("bamboo_raft"); + RegistryKey BAMBOO_RAFT = RegistryKey.of("bamboo_raft"); - RegistryKey BAMBOO_SHELF = RegistryKey.unsafeOf("bamboo_shelf"); + RegistryKey BAMBOO_SHELF = RegistryKey.of("bamboo_shelf"); - RegistryKey BAMBOO_SIGN = RegistryKey.unsafeOf("bamboo_sign"); + RegistryKey BAMBOO_SIGN = RegistryKey.of("bamboo_sign"); - RegistryKey BAMBOO_SLAB = RegistryKey.unsafeOf("bamboo_slab"); + RegistryKey BAMBOO_SLAB = RegistryKey.of("bamboo_slab"); - RegistryKey BAMBOO_STAIRS = RegistryKey.unsafeOf("bamboo_stairs"); + RegistryKey BAMBOO_STAIRS = RegistryKey.of("bamboo_stairs"); - RegistryKey BAMBOO_TRAPDOOR = RegistryKey.unsafeOf("bamboo_trapdoor"); + RegistryKey BAMBOO_TRAPDOOR = RegistryKey.of("bamboo_trapdoor"); - RegistryKey BARREL = RegistryKey.unsafeOf("barrel"); + RegistryKey BARREL = RegistryKey.of("barrel"); - RegistryKey BARRIER = RegistryKey.unsafeOf("barrier"); + RegistryKey BARRIER = RegistryKey.of("barrier"); - RegistryKey BASALT = RegistryKey.unsafeOf("basalt"); + RegistryKey BASALT = RegistryKey.of("basalt"); - RegistryKey BAT_SPAWN_EGG = RegistryKey.unsafeOf("bat_spawn_egg"); + RegistryKey BAT_SPAWN_EGG = RegistryKey.of("bat_spawn_egg"); - RegistryKey BEACON = RegistryKey.unsafeOf("beacon"); + RegistryKey BEACON = RegistryKey.of("beacon"); - RegistryKey BEDROCK = RegistryKey.unsafeOf("bedrock"); + RegistryKey BEDROCK = RegistryKey.of("bedrock"); - RegistryKey BEE_NEST = RegistryKey.unsafeOf("bee_nest"); + RegistryKey BEE_NEST = RegistryKey.of("bee_nest"); - RegistryKey BEE_SPAWN_EGG = RegistryKey.unsafeOf("bee_spawn_egg"); + RegistryKey BEE_SPAWN_EGG = RegistryKey.of("bee_spawn_egg"); - RegistryKey BEEF = RegistryKey.unsafeOf("beef"); + RegistryKey BEEF = RegistryKey.of("beef"); - RegistryKey BEEHIVE = RegistryKey.unsafeOf("beehive"); + RegistryKey BEEHIVE = RegistryKey.of("beehive"); - RegistryKey BEETROOT = RegistryKey.unsafeOf("beetroot"); + RegistryKey BEETROOT = RegistryKey.of("beetroot"); - RegistryKey BEETROOT_SEEDS = RegistryKey.unsafeOf("beetroot_seeds"); + RegistryKey BEETROOT_SEEDS = RegistryKey.of("beetroot_seeds"); - RegistryKey BEETROOT_SOUP = RegistryKey.unsafeOf("beetroot_soup"); + RegistryKey BEETROOT_SOUP = RegistryKey.of("beetroot_soup"); - RegistryKey BELL = RegistryKey.unsafeOf("bell"); + RegistryKey BELL = RegistryKey.of("bell"); - RegistryKey BIG_DRIPLEAF = RegistryKey.unsafeOf("big_dripleaf"); + RegistryKey BIG_DRIPLEAF = RegistryKey.of("big_dripleaf"); - RegistryKey BIRCH_BOAT = RegistryKey.unsafeOf("birch_boat"); + RegistryKey BIRCH_BOAT = RegistryKey.of("birch_boat"); - RegistryKey BIRCH_BUTTON = RegistryKey.unsafeOf("birch_button"); + RegistryKey BIRCH_BUTTON = RegistryKey.of("birch_button"); - RegistryKey BIRCH_CHEST_BOAT = RegistryKey.unsafeOf("birch_chest_boat"); + RegistryKey BIRCH_CHEST_BOAT = RegistryKey.of("birch_chest_boat"); - RegistryKey BIRCH_DOOR = RegistryKey.unsafeOf("birch_door"); + RegistryKey BIRCH_DOOR = RegistryKey.of("birch_door"); - RegistryKey BIRCH_FENCE = RegistryKey.unsafeOf("birch_fence"); + RegistryKey BIRCH_FENCE = RegistryKey.of("birch_fence"); - RegistryKey BIRCH_FENCE_GATE = RegistryKey.unsafeOf("birch_fence_gate"); + RegistryKey BIRCH_FENCE_GATE = RegistryKey.of("birch_fence_gate"); - RegistryKey BIRCH_HANGING_SIGN = RegistryKey.unsafeOf("birch_hanging_sign"); + RegistryKey BIRCH_HANGING_SIGN = RegistryKey.of("birch_hanging_sign"); - RegistryKey BIRCH_LEAVES = RegistryKey.unsafeOf("birch_leaves"); + RegistryKey BIRCH_LEAVES = RegistryKey.of("birch_leaves"); - RegistryKey BIRCH_LOG = RegistryKey.unsafeOf("birch_log"); + RegistryKey BIRCH_LOG = RegistryKey.of("birch_log"); - RegistryKey BIRCH_PLANKS = RegistryKey.unsafeOf("birch_planks"); + RegistryKey BIRCH_PLANKS = RegistryKey.of("birch_planks"); - RegistryKey BIRCH_PRESSURE_PLATE = RegistryKey.unsafeOf("birch_pressure_plate"); + RegistryKey BIRCH_PRESSURE_PLATE = RegistryKey.of("birch_pressure_plate"); - RegistryKey BIRCH_SAPLING = RegistryKey.unsafeOf("birch_sapling"); + RegistryKey BIRCH_SAPLING = RegistryKey.of("birch_sapling"); - RegistryKey BIRCH_SHELF = RegistryKey.unsafeOf("birch_shelf"); + RegistryKey BIRCH_SHELF = RegistryKey.of("birch_shelf"); - RegistryKey BIRCH_SIGN = RegistryKey.unsafeOf("birch_sign"); + RegistryKey BIRCH_SIGN = RegistryKey.of("birch_sign"); - RegistryKey BIRCH_SLAB = RegistryKey.unsafeOf("birch_slab"); + RegistryKey BIRCH_SLAB = RegistryKey.of("birch_slab"); - RegistryKey BIRCH_STAIRS = RegistryKey.unsafeOf("birch_stairs"); + RegistryKey BIRCH_STAIRS = RegistryKey.of("birch_stairs"); - RegistryKey BIRCH_TRAPDOOR = RegistryKey.unsafeOf("birch_trapdoor"); + RegistryKey BIRCH_TRAPDOOR = RegistryKey.of("birch_trapdoor"); - RegistryKey BIRCH_WOOD = RegistryKey.unsafeOf("birch_wood"); + RegistryKey BIRCH_WOOD = RegistryKey.of("birch_wood"); - RegistryKey BLACK_BANNER = RegistryKey.unsafeOf("black_banner"); + RegistryKey BLACK_BANNER = RegistryKey.of("black_banner"); - RegistryKey BLACK_BED = RegistryKey.unsafeOf("black_bed"); + RegistryKey BLACK_BED = RegistryKey.of("black_bed"); - RegistryKey BLACK_BUNDLE = RegistryKey.unsafeOf("black_bundle"); + RegistryKey BLACK_BUNDLE = RegistryKey.of("black_bundle"); - RegistryKey BLACK_CANDLE = RegistryKey.unsafeOf("black_candle"); + RegistryKey BLACK_CANDLE = RegistryKey.of("black_candle"); - RegistryKey BLACK_CARPET = RegistryKey.unsafeOf("black_carpet"); + RegistryKey BLACK_CARPET = RegistryKey.of("black_carpet"); - RegistryKey BLACK_CONCRETE = RegistryKey.unsafeOf("black_concrete"); + RegistryKey BLACK_CONCRETE = RegistryKey.of("black_concrete"); - RegistryKey BLACK_CONCRETE_POWDER = RegistryKey.unsafeOf("black_concrete_powder"); + RegistryKey BLACK_CONCRETE_POWDER = RegistryKey.of("black_concrete_powder"); - RegistryKey BLACK_DYE = RegistryKey.unsafeOf("black_dye"); + RegistryKey BLACK_DYE = RegistryKey.of("black_dye"); - RegistryKey BLACK_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("black_glazed_terracotta"); + RegistryKey BLACK_GLAZED_TERRACOTTA = RegistryKey.of("black_glazed_terracotta"); - RegistryKey BLACK_HARNESS = RegistryKey.unsafeOf("black_harness"); + RegistryKey BLACK_HARNESS = RegistryKey.of("black_harness"); - RegistryKey BLACK_SHULKER_BOX = RegistryKey.unsafeOf("black_shulker_box"); + RegistryKey BLACK_SHULKER_BOX = RegistryKey.of("black_shulker_box"); - RegistryKey BLACK_STAINED_GLASS = RegistryKey.unsafeOf("black_stained_glass"); + RegistryKey BLACK_STAINED_GLASS = RegistryKey.of("black_stained_glass"); - RegistryKey BLACK_STAINED_GLASS_PANE = RegistryKey.unsafeOf("black_stained_glass_pane"); + RegistryKey BLACK_STAINED_GLASS_PANE = RegistryKey.of("black_stained_glass_pane"); - RegistryKey BLACK_TERRACOTTA = RegistryKey.unsafeOf("black_terracotta"); + RegistryKey BLACK_TERRACOTTA = RegistryKey.of("black_terracotta"); - RegistryKey BLACK_WOOL = RegistryKey.unsafeOf("black_wool"); + RegistryKey BLACK_WOOL = RegistryKey.of("black_wool"); - RegistryKey BLACKSTONE = RegistryKey.unsafeOf("blackstone"); + RegistryKey BLACKSTONE = RegistryKey.of("blackstone"); - RegistryKey BLACKSTONE_SLAB = RegistryKey.unsafeOf("blackstone_slab"); + RegistryKey BLACKSTONE_SLAB = RegistryKey.of("blackstone_slab"); - RegistryKey BLACKSTONE_STAIRS = RegistryKey.unsafeOf("blackstone_stairs"); + RegistryKey BLACKSTONE_STAIRS = RegistryKey.of("blackstone_stairs"); - RegistryKey BLACKSTONE_WALL = RegistryKey.unsafeOf("blackstone_wall"); + RegistryKey BLACKSTONE_WALL = RegistryKey.of("blackstone_wall"); - RegistryKey BLADE_POTTERY_SHERD = RegistryKey.unsafeOf("blade_pottery_sherd"); + RegistryKey BLADE_POTTERY_SHERD = RegistryKey.of("blade_pottery_sherd"); - RegistryKey BLAST_FURNACE = RegistryKey.unsafeOf("blast_furnace"); + RegistryKey BLAST_FURNACE = RegistryKey.of("blast_furnace"); - RegistryKey BLAZE_POWDER = RegistryKey.unsafeOf("blaze_powder"); + RegistryKey BLAZE_POWDER = RegistryKey.of("blaze_powder"); - RegistryKey BLAZE_ROD = RegistryKey.unsafeOf("blaze_rod"); + RegistryKey BLAZE_ROD = RegistryKey.of("blaze_rod"); - RegistryKey BLAZE_SPAWN_EGG = RegistryKey.unsafeOf("blaze_spawn_egg"); + RegistryKey BLAZE_SPAWN_EGG = RegistryKey.of("blaze_spawn_egg"); - RegistryKey BLUE_BANNER = RegistryKey.unsafeOf("blue_banner"); + RegistryKey BLUE_BANNER = RegistryKey.of("blue_banner"); - RegistryKey BLUE_BED = RegistryKey.unsafeOf("blue_bed"); + RegistryKey BLUE_BED = RegistryKey.of("blue_bed"); - RegistryKey BLUE_BUNDLE = RegistryKey.unsafeOf("blue_bundle"); + RegistryKey BLUE_BUNDLE = RegistryKey.of("blue_bundle"); - RegistryKey BLUE_CANDLE = RegistryKey.unsafeOf("blue_candle"); + RegistryKey BLUE_CANDLE = RegistryKey.of("blue_candle"); - RegistryKey BLUE_CARPET = RegistryKey.unsafeOf("blue_carpet"); + RegistryKey BLUE_CARPET = RegistryKey.of("blue_carpet"); - RegistryKey BLUE_CONCRETE = RegistryKey.unsafeOf("blue_concrete"); + RegistryKey BLUE_CONCRETE = RegistryKey.of("blue_concrete"); - RegistryKey BLUE_CONCRETE_POWDER = RegistryKey.unsafeOf("blue_concrete_powder"); + RegistryKey BLUE_CONCRETE_POWDER = RegistryKey.of("blue_concrete_powder"); - RegistryKey BLUE_DYE = RegistryKey.unsafeOf("blue_dye"); + RegistryKey BLUE_DYE = RegistryKey.of("blue_dye"); - RegistryKey BLUE_EGG = RegistryKey.unsafeOf("blue_egg"); + RegistryKey BLUE_EGG = RegistryKey.of("blue_egg"); - RegistryKey BLUE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("blue_glazed_terracotta"); + RegistryKey BLUE_GLAZED_TERRACOTTA = RegistryKey.of("blue_glazed_terracotta"); - RegistryKey BLUE_HARNESS = RegistryKey.unsafeOf("blue_harness"); + RegistryKey BLUE_HARNESS = RegistryKey.of("blue_harness"); - RegistryKey BLUE_ICE = RegistryKey.unsafeOf("blue_ice"); + RegistryKey BLUE_ICE = RegistryKey.of("blue_ice"); - RegistryKey BLUE_ORCHID = RegistryKey.unsafeOf("blue_orchid"); + RegistryKey BLUE_ORCHID = RegistryKey.of("blue_orchid"); - RegistryKey BLUE_SHULKER_BOX = RegistryKey.unsafeOf("blue_shulker_box"); + RegistryKey BLUE_SHULKER_BOX = RegistryKey.of("blue_shulker_box"); - RegistryKey BLUE_STAINED_GLASS = RegistryKey.unsafeOf("blue_stained_glass"); + RegistryKey BLUE_STAINED_GLASS = RegistryKey.of("blue_stained_glass"); - RegistryKey BLUE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("blue_stained_glass_pane"); + RegistryKey BLUE_STAINED_GLASS_PANE = RegistryKey.of("blue_stained_glass_pane"); - RegistryKey BLUE_TERRACOTTA = RegistryKey.unsafeOf("blue_terracotta"); + RegistryKey BLUE_TERRACOTTA = RegistryKey.of("blue_terracotta"); - RegistryKey BLUE_WOOL = RegistryKey.unsafeOf("blue_wool"); + RegistryKey BLUE_WOOL = RegistryKey.of("blue_wool"); - RegistryKey BOGGED_SPAWN_EGG = RegistryKey.unsafeOf("bogged_spawn_egg"); + RegistryKey BOGGED_SPAWN_EGG = RegistryKey.of("bogged_spawn_egg"); - RegistryKey BOLT_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("bolt_armor_trim_smithing_template"); + RegistryKey BOLT_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("bolt_armor_trim_smithing_template"); - RegistryKey BONE = RegistryKey.unsafeOf("bone"); + RegistryKey BONE = RegistryKey.of("bone"); - RegistryKey BONE_BLOCK = RegistryKey.unsafeOf("bone_block"); + RegistryKey BONE_BLOCK = RegistryKey.of("bone_block"); - RegistryKey BONE_MEAL = RegistryKey.unsafeOf("bone_meal"); + RegistryKey BONE_MEAL = RegistryKey.of("bone_meal"); - RegistryKey BOOK = RegistryKey.unsafeOf("book"); + RegistryKey BOOK = RegistryKey.of("book"); - RegistryKey BOOKSHELF = RegistryKey.unsafeOf("bookshelf"); + RegistryKey BOOKSHELF = RegistryKey.of("bookshelf"); - RegistryKey BORDURE_INDENTED_BANNER_PATTERN = RegistryKey.unsafeOf("bordure_indented_banner_pattern"); + RegistryKey BORDURE_INDENTED_BANNER_PATTERN = RegistryKey.of("bordure_indented_banner_pattern"); - RegistryKey BOW = RegistryKey.unsafeOf("bow"); + RegistryKey BOW = RegistryKey.of("bow"); - RegistryKey BOWL = RegistryKey.unsafeOf("bowl"); + RegistryKey BOWL = RegistryKey.of("bowl"); - RegistryKey BRAIN_CORAL = RegistryKey.unsafeOf("brain_coral"); + RegistryKey BRAIN_CORAL = RegistryKey.of("brain_coral"); - RegistryKey BRAIN_CORAL_BLOCK = RegistryKey.unsafeOf("brain_coral_block"); + RegistryKey BRAIN_CORAL_BLOCK = RegistryKey.of("brain_coral_block"); - RegistryKey BRAIN_CORAL_FAN = RegistryKey.unsafeOf("brain_coral_fan"); + RegistryKey BRAIN_CORAL_FAN = RegistryKey.of("brain_coral_fan"); - RegistryKey BREAD = RegistryKey.unsafeOf("bread"); + RegistryKey BREAD = RegistryKey.of("bread"); - RegistryKey BREEZE_ROD = RegistryKey.unsafeOf("breeze_rod"); + RegistryKey BREEZE_ROD = RegistryKey.of("breeze_rod"); - RegistryKey BREEZE_SPAWN_EGG = RegistryKey.unsafeOf("breeze_spawn_egg"); + RegistryKey BREEZE_SPAWN_EGG = RegistryKey.of("breeze_spawn_egg"); - RegistryKey BREWER_POTTERY_SHERD = RegistryKey.unsafeOf("brewer_pottery_sherd"); + RegistryKey BREWER_POTTERY_SHERD = RegistryKey.of("brewer_pottery_sherd"); - RegistryKey BREWING_STAND = RegistryKey.unsafeOf("brewing_stand"); + RegistryKey BREWING_STAND = RegistryKey.of("brewing_stand"); - RegistryKey BRICK = RegistryKey.unsafeOf("brick"); + RegistryKey BRICK = RegistryKey.of("brick"); - RegistryKey BRICK_SLAB = RegistryKey.unsafeOf("brick_slab"); + RegistryKey BRICK_SLAB = RegistryKey.of("brick_slab"); - RegistryKey BRICK_STAIRS = RegistryKey.unsafeOf("brick_stairs"); + RegistryKey BRICK_STAIRS = RegistryKey.of("brick_stairs"); - RegistryKey BRICK_WALL = RegistryKey.unsafeOf("brick_wall"); + RegistryKey BRICK_WALL = RegistryKey.of("brick_wall"); - RegistryKey BRICKS = RegistryKey.unsafeOf("bricks"); + RegistryKey BRICKS = RegistryKey.of("bricks"); - RegistryKey BROWN_BANNER = RegistryKey.unsafeOf("brown_banner"); + RegistryKey BROWN_BANNER = RegistryKey.of("brown_banner"); - RegistryKey BROWN_BED = RegistryKey.unsafeOf("brown_bed"); + RegistryKey BROWN_BED = RegistryKey.of("brown_bed"); - RegistryKey BROWN_BUNDLE = RegistryKey.unsafeOf("brown_bundle"); + RegistryKey BROWN_BUNDLE = RegistryKey.of("brown_bundle"); - RegistryKey BROWN_CANDLE = RegistryKey.unsafeOf("brown_candle"); + RegistryKey BROWN_CANDLE = RegistryKey.of("brown_candle"); - RegistryKey BROWN_CARPET = RegistryKey.unsafeOf("brown_carpet"); + RegistryKey BROWN_CARPET = RegistryKey.of("brown_carpet"); - RegistryKey BROWN_CONCRETE = RegistryKey.unsafeOf("brown_concrete"); + RegistryKey BROWN_CONCRETE = RegistryKey.of("brown_concrete"); - RegistryKey BROWN_CONCRETE_POWDER = RegistryKey.unsafeOf("brown_concrete_powder"); + RegistryKey BROWN_CONCRETE_POWDER = RegistryKey.of("brown_concrete_powder"); - RegistryKey BROWN_DYE = RegistryKey.unsafeOf("brown_dye"); + RegistryKey BROWN_DYE = RegistryKey.of("brown_dye"); - RegistryKey BROWN_EGG = RegistryKey.unsafeOf("brown_egg"); + RegistryKey BROWN_EGG = RegistryKey.of("brown_egg"); - RegistryKey BROWN_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("brown_glazed_terracotta"); + RegistryKey BROWN_GLAZED_TERRACOTTA = RegistryKey.of("brown_glazed_terracotta"); - RegistryKey BROWN_HARNESS = RegistryKey.unsafeOf("brown_harness"); + RegistryKey BROWN_HARNESS = RegistryKey.of("brown_harness"); - RegistryKey BROWN_MUSHROOM = RegistryKey.unsafeOf("brown_mushroom"); + RegistryKey BROWN_MUSHROOM = RegistryKey.of("brown_mushroom"); - RegistryKey BROWN_MUSHROOM_BLOCK = RegistryKey.unsafeOf("brown_mushroom_block"); + RegistryKey BROWN_MUSHROOM_BLOCK = RegistryKey.of("brown_mushroom_block"); - RegistryKey BROWN_SHULKER_BOX = RegistryKey.unsafeOf("brown_shulker_box"); + RegistryKey BROWN_SHULKER_BOX = RegistryKey.of("brown_shulker_box"); - RegistryKey BROWN_STAINED_GLASS = RegistryKey.unsafeOf("brown_stained_glass"); + RegistryKey BROWN_STAINED_GLASS = RegistryKey.of("brown_stained_glass"); - RegistryKey BROWN_STAINED_GLASS_PANE = RegistryKey.unsafeOf("brown_stained_glass_pane"); + RegistryKey BROWN_STAINED_GLASS_PANE = RegistryKey.of("brown_stained_glass_pane"); - RegistryKey BROWN_TERRACOTTA = RegistryKey.unsafeOf("brown_terracotta"); + RegistryKey BROWN_TERRACOTTA = RegistryKey.of("brown_terracotta"); - RegistryKey BROWN_WOOL = RegistryKey.unsafeOf("brown_wool"); + RegistryKey BROWN_WOOL = RegistryKey.of("brown_wool"); - RegistryKey BRUSH = RegistryKey.unsafeOf("brush"); + RegistryKey BRUSH = RegistryKey.of("brush"); - RegistryKey BUBBLE_CORAL = RegistryKey.unsafeOf("bubble_coral"); + RegistryKey BUBBLE_CORAL = RegistryKey.of("bubble_coral"); - RegistryKey BUBBLE_CORAL_BLOCK = RegistryKey.unsafeOf("bubble_coral_block"); + RegistryKey BUBBLE_CORAL_BLOCK = RegistryKey.of("bubble_coral_block"); - RegistryKey BUBBLE_CORAL_FAN = RegistryKey.unsafeOf("bubble_coral_fan"); + RegistryKey BUBBLE_CORAL_FAN = RegistryKey.of("bubble_coral_fan"); - RegistryKey BUCKET = RegistryKey.unsafeOf("bucket"); + RegistryKey BUCKET = RegistryKey.of("bucket"); - RegistryKey BUDDING_AMETHYST = RegistryKey.unsafeOf("budding_amethyst"); + RegistryKey BUDDING_AMETHYST = RegistryKey.of("budding_amethyst"); - RegistryKey BUNDLE = RegistryKey.unsafeOf("bundle"); + RegistryKey BUNDLE = RegistryKey.of("bundle"); - RegistryKey BURN_POTTERY_SHERD = RegistryKey.unsafeOf("burn_pottery_sherd"); + RegistryKey BURN_POTTERY_SHERD = RegistryKey.of("burn_pottery_sherd"); - RegistryKey BUSH = RegistryKey.unsafeOf("bush"); + RegistryKey BUSH = RegistryKey.of("bush"); - RegistryKey CACTUS = RegistryKey.unsafeOf("cactus"); + RegistryKey CACTUS = RegistryKey.of("cactus"); - RegistryKey CACTUS_FLOWER = RegistryKey.unsafeOf("cactus_flower"); + RegistryKey CACTUS_FLOWER = RegistryKey.of("cactus_flower"); - RegistryKey CAKE = RegistryKey.unsafeOf("cake"); + RegistryKey CAKE = RegistryKey.of("cake"); - RegistryKey CALCITE = RegistryKey.unsafeOf("calcite"); + RegistryKey CALCITE = RegistryKey.of("calcite"); - RegistryKey CALIBRATED_SCULK_SENSOR = RegistryKey.unsafeOf("calibrated_sculk_sensor"); + RegistryKey CALIBRATED_SCULK_SENSOR = RegistryKey.of("calibrated_sculk_sensor"); - RegistryKey CAMEL_HUSK_SPAWN_EGG = RegistryKey.unsafeOf("camel_husk_spawn_egg"); + RegistryKey CAMEL_HUSK_SPAWN_EGG = RegistryKey.of("camel_husk_spawn_egg"); - RegistryKey CAMEL_SPAWN_EGG = RegistryKey.unsafeOf("camel_spawn_egg"); + RegistryKey CAMEL_SPAWN_EGG = RegistryKey.of("camel_spawn_egg"); - RegistryKey CAMPFIRE = RegistryKey.unsafeOf("campfire"); + RegistryKey CAMPFIRE = RegistryKey.of("campfire"); - RegistryKey CANDLE = RegistryKey.unsafeOf("candle"); + RegistryKey CANDLE = RegistryKey.of("candle"); - RegistryKey CARROT = RegistryKey.unsafeOf("carrot"); + RegistryKey CARROT = RegistryKey.of("carrot"); - RegistryKey CARROT_ON_A_STICK = RegistryKey.unsafeOf("carrot_on_a_stick"); + RegistryKey CARROT_ON_A_STICK = RegistryKey.of("carrot_on_a_stick"); - RegistryKey CARTOGRAPHY_TABLE = RegistryKey.unsafeOf("cartography_table"); + RegistryKey CARTOGRAPHY_TABLE = RegistryKey.of("cartography_table"); - RegistryKey CARVED_PUMPKIN = RegistryKey.unsafeOf("carved_pumpkin"); + RegistryKey CARVED_PUMPKIN = RegistryKey.of("carved_pumpkin"); - RegistryKey CAT_SPAWN_EGG = RegistryKey.unsafeOf("cat_spawn_egg"); + RegistryKey CAT_SPAWN_EGG = RegistryKey.of("cat_spawn_egg"); - RegistryKey CAULDRON = RegistryKey.unsafeOf("cauldron"); + RegistryKey CAULDRON = RegistryKey.of("cauldron"); - RegistryKey CAVE_SPIDER_SPAWN_EGG = RegistryKey.unsafeOf("cave_spider_spawn_egg"); + RegistryKey CAVE_SPIDER_SPAWN_EGG = RegistryKey.of("cave_spider_spawn_egg"); - RegistryKey CHAIN_COMMAND_BLOCK = RegistryKey.unsafeOf("chain_command_block"); + RegistryKey CHAIN_COMMAND_BLOCK = RegistryKey.of("chain_command_block"); - RegistryKey CHAINMAIL_BOOTS = RegistryKey.unsafeOf("chainmail_boots"); + RegistryKey CHAINMAIL_BOOTS = RegistryKey.of("chainmail_boots"); - RegistryKey CHAINMAIL_CHESTPLATE = RegistryKey.unsafeOf("chainmail_chestplate"); + RegistryKey CHAINMAIL_CHESTPLATE = RegistryKey.of("chainmail_chestplate"); - RegistryKey CHAINMAIL_HELMET = RegistryKey.unsafeOf("chainmail_helmet"); + RegistryKey CHAINMAIL_HELMET = RegistryKey.of("chainmail_helmet"); - RegistryKey CHAINMAIL_LEGGINGS = RegistryKey.unsafeOf("chainmail_leggings"); + RegistryKey CHAINMAIL_LEGGINGS = RegistryKey.of("chainmail_leggings"); - RegistryKey CHARCOAL = RegistryKey.unsafeOf("charcoal"); + RegistryKey CHARCOAL = RegistryKey.of("charcoal"); - RegistryKey CHERRY_BOAT = RegistryKey.unsafeOf("cherry_boat"); + RegistryKey CHERRY_BOAT = RegistryKey.of("cherry_boat"); - RegistryKey CHERRY_BUTTON = RegistryKey.unsafeOf("cherry_button"); + RegistryKey CHERRY_BUTTON = RegistryKey.of("cherry_button"); - RegistryKey CHERRY_CHEST_BOAT = RegistryKey.unsafeOf("cherry_chest_boat"); + RegistryKey CHERRY_CHEST_BOAT = RegistryKey.of("cherry_chest_boat"); - RegistryKey CHERRY_DOOR = RegistryKey.unsafeOf("cherry_door"); + RegistryKey CHERRY_DOOR = RegistryKey.of("cherry_door"); - RegistryKey CHERRY_FENCE = RegistryKey.unsafeOf("cherry_fence"); + RegistryKey CHERRY_FENCE = RegistryKey.of("cherry_fence"); - RegistryKey CHERRY_FENCE_GATE = RegistryKey.unsafeOf("cherry_fence_gate"); + RegistryKey CHERRY_FENCE_GATE = RegistryKey.of("cherry_fence_gate"); - RegistryKey CHERRY_HANGING_SIGN = RegistryKey.unsafeOf("cherry_hanging_sign"); + RegistryKey CHERRY_HANGING_SIGN = RegistryKey.of("cherry_hanging_sign"); - RegistryKey CHERRY_LEAVES = RegistryKey.unsafeOf("cherry_leaves"); + RegistryKey CHERRY_LEAVES = RegistryKey.of("cherry_leaves"); - RegistryKey CHERRY_LOG = RegistryKey.unsafeOf("cherry_log"); + RegistryKey CHERRY_LOG = RegistryKey.of("cherry_log"); - RegistryKey CHERRY_PLANKS = RegistryKey.unsafeOf("cherry_planks"); + RegistryKey CHERRY_PLANKS = RegistryKey.of("cherry_planks"); - RegistryKey CHERRY_PRESSURE_PLATE = RegistryKey.unsafeOf("cherry_pressure_plate"); + RegistryKey CHERRY_PRESSURE_PLATE = RegistryKey.of("cherry_pressure_plate"); - RegistryKey CHERRY_SAPLING = RegistryKey.unsafeOf("cherry_sapling"); + RegistryKey CHERRY_SAPLING = RegistryKey.of("cherry_sapling"); - RegistryKey CHERRY_SHELF = RegistryKey.unsafeOf("cherry_shelf"); + RegistryKey CHERRY_SHELF = RegistryKey.of("cherry_shelf"); - RegistryKey CHERRY_SIGN = RegistryKey.unsafeOf("cherry_sign"); + RegistryKey CHERRY_SIGN = RegistryKey.of("cherry_sign"); - RegistryKey CHERRY_SLAB = RegistryKey.unsafeOf("cherry_slab"); + RegistryKey CHERRY_SLAB = RegistryKey.of("cherry_slab"); - RegistryKey CHERRY_STAIRS = RegistryKey.unsafeOf("cherry_stairs"); + RegistryKey CHERRY_STAIRS = RegistryKey.of("cherry_stairs"); - RegistryKey CHERRY_TRAPDOOR = RegistryKey.unsafeOf("cherry_trapdoor"); + RegistryKey CHERRY_TRAPDOOR = RegistryKey.of("cherry_trapdoor"); - RegistryKey CHERRY_WOOD = RegistryKey.unsafeOf("cherry_wood"); + RegistryKey CHERRY_WOOD = RegistryKey.of("cherry_wood"); - RegistryKey CHEST = RegistryKey.unsafeOf("chest"); + RegistryKey CHEST = RegistryKey.of("chest"); - RegistryKey CHEST_MINECART = RegistryKey.unsafeOf("chest_minecart"); + RegistryKey CHEST_MINECART = RegistryKey.of("chest_minecart"); - RegistryKey CHICKEN = RegistryKey.unsafeOf("chicken"); + RegistryKey CHICKEN = RegistryKey.of("chicken"); - RegistryKey CHICKEN_SPAWN_EGG = RegistryKey.unsafeOf("chicken_spawn_egg"); + RegistryKey CHICKEN_SPAWN_EGG = RegistryKey.of("chicken_spawn_egg"); - RegistryKey CHIPPED_ANVIL = RegistryKey.unsafeOf("chipped_anvil"); + RegistryKey CHIPPED_ANVIL = RegistryKey.of("chipped_anvil"); - RegistryKey CHISELED_BOOKSHELF = RegistryKey.unsafeOf("chiseled_bookshelf"); + RegistryKey CHISELED_BOOKSHELF = RegistryKey.of("chiseled_bookshelf"); - RegistryKey CHISELED_CINNABAR = RegistryKey.unsafeOf("chiseled_cinnabar"); + RegistryKey CHISELED_CINNABAR = RegistryKey.of("chiseled_cinnabar"); - RegistryKey CHISELED_COPPER = RegistryKey.unsafeOf("chiseled_copper"); + RegistryKey CHISELED_COPPER = RegistryKey.of("chiseled_copper"); - RegistryKey CHISELED_DEEPSLATE = RegistryKey.unsafeOf("chiseled_deepslate"); + RegistryKey CHISELED_DEEPSLATE = RegistryKey.of("chiseled_deepslate"); - RegistryKey CHISELED_NETHER_BRICKS = RegistryKey.unsafeOf("chiseled_nether_bricks"); + RegistryKey CHISELED_NETHER_BRICKS = RegistryKey.of("chiseled_nether_bricks"); - RegistryKey CHISELED_POLISHED_BLACKSTONE = RegistryKey.unsafeOf("chiseled_polished_blackstone"); + RegistryKey CHISELED_POLISHED_BLACKSTONE = RegistryKey.of("chiseled_polished_blackstone"); - RegistryKey CHISELED_QUARTZ_BLOCK = RegistryKey.unsafeOf("chiseled_quartz_block"); + RegistryKey CHISELED_QUARTZ_BLOCK = RegistryKey.of("chiseled_quartz_block"); - RegistryKey CHISELED_RED_SANDSTONE = RegistryKey.unsafeOf("chiseled_red_sandstone"); + RegistryKey CHISELED_RED_SANDSTONE = RegistryKey.of("chiseled_red_sandstone"); - RegistryKey CHISELED_RESIN_BRICKS = RegistryKey.unsafeOf("chiseled_resin_bricks"); + RegistryKey CHISELED_RESIN_BRICKS = RegistryKey.of("chiseled_resin_bricks"); - RegistryKey CHISELED_SANDSTONE = RegistryKey.unsafeOf("chiseled_sandstone"); + RegistryKey CHISELED_SANDSTONE = RegistryKey.of("chiseled_sandstone"); - RegistryKey CHISELED_STONE_BRICKS = RegistryKey.unsafeOf("chiseled_stone_bricks"); + RegistryKey CHISELED_STONE_BRICKS = RegistryKey.of("chiseled_stone_bricks"); - RegistryKey CHISELED_SULFUR = RegistryKey.unsafeOf("chiseled_sulfur"); + RegistryKey CHISELED_SULFUR = RegistryKey.of("chiseled_sulfur"); - RegistryKey CHISELED_TUFF = RegistryKey.unsafeOf("chiseled_tuff"); + RegistryKey CHISELED_TUFF = RegistryKey.of("chiseled_tuff"); - RegistryKey CHISELED_TUFF_BRICKS = RegistryKey.unsafeOf("chiseled_tuff_bricks"); + RegistryKey CHISELED_TUFF_BRICKS = RegistryKey.of("chiseled_tuff_bricks"); - RegistryKey CHORUS_FLOWER = RegistryKey.unsafeOf("chorus_flower"); + RegistryKey CHORUS_FLOWER = RegistryKey.of("chorus_flower"); - RegistryKey CHORUS_FRUIT = RegistryKey.unsafeOf("chorus_fruit"); + RegistryKey CHORUS_FRUIT = RegistryKey.of("chorus_fruit"); - RegistryKey CHORUS_PLANT = RegistryKey.unsafeOf("chorus_plant"); + RegistryKey CHORUS_PLANT = RegistryKey.of("chorus_plant"); - RegistryKey CINNABAR = RegistryKey.unsafeOf("cinnabar"); + RegistryKey CINNABAR = RegistryKey.of("cinnabar"); - RegistryKey CINNABAR_BRICK_SLAB = RegistryKey.unsafeOf("cinnabar_brick_slab"); + RegistryKey CINNABAR_BRICK_SLAB = RegistryKey.of("cinnabar_brick_slab"); - RegistryKey CINNABAR_BRICK_STAIRS = RegistryKey.unsafeOf("cinnabar_brick_stairs"); + RegistryKey CINNABAR_BRICK_STAIRS = RegistryKey.of("cinnabar_brick_stairs"); - RegistryKey CINNABAR_BRICK_WALL = RegistryKey.unsafeOf("cinnabar_brick_wall"); + RegistryKey CINNABAR_BRICK_WALL = RegistryKey.of("cinnabar_brick_wall"); - RegistryKey CINNABAR_BRICKS = RegistryKey.unsafeOf("cinnabar_bricks"); + RegistryKey CINNABAR_BRICKS = RegistryKey.of("cinnabar_bricks"); - RegistryKey CINNABAR_SLAB = RegistryKey.unsafeOf("cinnabar_slab"); + RegistryKey CINNABAR_SLAB = RegistryKey.of("cinnabar_slab"); - RegistryKey CINNABAR_STAIRS = RegistryKey.unsafeOf("cinnabar_stairs"); + RegistryKey CINNABAR_STAIRS = RegistryKey.of("cinnabar_stairs"); - RegistryKey CINNABAR_WALL = RegistryKey.unsafeOf("cinnabar_wall"); + RegistryKey CINNABAR_WALL = RegistryKey.of("cinnabar_wall"); - RegistryKey CLAY = RegistryKey.unsafeOf("clay"); + RegistryKey CLAY = RegistryKey.of("clay"); - RegistryKey CLAY_BALL = RegistryKey.unsafeOf("clay_ball"); + RegistryKey CLAY_BALL = RegistryKey.of("clay_ball"); - RegistryKey CLOCK = RegistryKey.unsafeOf("clock"); + RegistryKey CLOCK = RegistryKey.of("clock"); - RegistryKey CLOSED_EYEBLOSSOM = RegistryKey.unsafeOf("closed_eyeblossom"); + RegistryKey CLOSED_EYEBLOSSOM = RegistryKey.of("closed_eyeblossom"); - RegistryKey COAL = RegistryKey.unsafeOf("coal"); + RegistryKey COAL = RegistryKey.of("coal"); - RegistryKey COAL_BLOCK = RegistryKey.unsafeOf("coal_block"); + RegistryKey COAL_BLOCK = RegistryKey.of("coal_block"); - RegistryKey COAL_ORE = RegistryKey.unsafeOf("coal_ore"); + RegistryKey COAL_ORE = RegistryKey.of("coal_ore"); - RegistryKey COARSE_DIRT = RegistryKey.unsafeOf("coarse_dirt"); + RegistryKey COARSE_DIRT = RegistryKey.of("coarse_dirt"); - RegistryKey COAST_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("coast_armor_trim_smithing_template"); + RegistryKey COAST_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("coast_armor_trim_smithing_template"); - RegistryKey COBBLED_DEEPSLATE = RegistryKey.unsafeOf("cobbled_deepslate"); + RegistryKey COBBLED_DEEPSLATE = RegistryKey.of("cobbled_deepslate"); - RegistryKey COBBLED_DEEPSLATE_SLAB = RegistryKey.unsafeOf("cobbled_deepslate_slab"); + RegistryKey COBBLED_DEEPSLATE_SLAB = RegistryKey.of("cobbled_deepslate_slab"); - RegistryKey COBBLED_DEEPSLATE_STAIRS = RegistryKey.unsafeOf("cobbled_deepslate_stairs"); + RegistryKey COBBLED_DEEPSLATE_STAIRS = RegistryKey.of("cobbled_deepslate_stairs"); - RegistryKey COBBLED_DEEPSLATE_WALL = RegistryKey.unsafeOf("cobbled_deepslate_wall"); + RegistryKey COBBLED_DEEPSLATE_WALL = RegistryKey.of("cobbled_deepslate_wall"); - RegistryKey COBBLESTONE = RegistryKey.unsafeOf("cobblestone"); + RegistryKey COBBLESTONE = RegistryKey.of("cobblestone"); - RegistryKey COBBLESTONE_SLAB = RegistryKey.unsafeOf("cobblestone_slab"); + RegistryKey COBBLESTONE_SLAB = RegistryKey.of("cobblestone_slab"); - RegistryKey COBBLESTONE_STAIRS = RegistryKey.unsafeOf("cobblestone_stairs"); + RegistryKey COBBLESTONE_STAIRS = RegistryKey.of("cobblestone_stairs"); - RegistryKey COBBLESTONE_WALL = RegistryKey.unsafeOf("cobblestone_wall"); + RegistryKey COBBLESTONE_WALL = RegistryKey.of("cobblestone_wall"); - RegistryKey COBWEB = RegistryKey.unsafeOf("cobweb"); + RegistryKey COBWEB = RegistryKey.of("cobweb"); - RegistryKey COCOA_BEANS = RegistryKey.unsafeOf("cocoa_beans"); + RegistryKey COCOA_BEANS = RegistryKey.of("cocoa_beans"); - RegistryKey COD = RegistryKey.unsafeOf("cod"); + RegistryKey COD = RegistryKey.of("cod"); - RegistryKey COD_BUCKET = RegistryKey.unsafeOf("cod_bucket"); + RegistryKey COD_BUCKET = RegistryKey.of("cod_bucket"); - RegistryKey COD_SPAWN_EGG = RegistryKey.unsafeOf("cod_spawn_egg"); + RegistryKey COD_SPAWN_EGG = RegistryKey.of("cod_spawn_egg"); - RegistryKey COMMAND_BLOCK = RegistryKey.unsafeOf("command_block"); + RegistryKey COMMAND_BLOCK = RegistryKey.of("command_block"); - RegistryKey COMMAND_BLOCK_MINECART = RegistryKey.unsafeOf("command_block_minecart"); + RegistryKey COMMAND_BLOCK_MINECART = RegistryKey.of("command_block_minecart"); - RegistryKey COMPARATOR = RegistryKey.unsafeOf("comparator"); + RegistryKey COMPARATOR = RegistryKey.of("comparator"); - RegistryKey COMPASS = RegistryKey.unsafeOf("compass"); + RegistryKey COMPASS = RegistryKey.of("compass"); - RegistryKey COMPOSTER = RegistryKey.unsafeOf("composter"); + RegistryKey COMPOSTER = RegistryKey.of("composter"); - RegistryKey CONDUIT = RegistryKey.unsafeOf("conduit"); + RegistryKey CONDUIT = RegistryKey.of("conduit"); - RegistryKey COOKED_BEEF = RegistryKey.unsafeOf("cooked_beef"); + RegistryKey COOKED_BEEF = RegistryKey.of("cooked_beef"); - RegistryKey COOKED_CHICKEN = RegistryKey.unsafeOf("cooked_chicken"); + RegistryKey COOKED_CHICKEN = RegistryKey.of("cooked_chicken"); - RegistryKey COOKED_COD = RegistryKey.unsafeOf("cooked_cod"); + RegistryKey COOKED_COD = RegistryKey.of("cooked_cod"); - RegistryKey COOKED_MUTTON = RegistryKey.unsafeOf("cooked_mutton"); + RegistryKey COOKED_MUTTON = RegistryKey.of("cooked_mutton"); - RegistryKey COOKED_PORKCHOP = RegistryKey.unsafeOf("cooked_porkchop"); + RegistryKey COOKED_PORKCHOP = RegistryKey.of("cooked_porkchop"); - RegistryKey COOKED_RABBIT = RegistryKey.unsafeOf("cooked_rabbit"); + RegistryKey COOKED_RABBIT = RegistryKey.of("cooked_rabbit"); - RegistryKey COOKED_SALMON = RegistryKey.unsafeOf("cooked_salmon"); + RegistryKey COOKED_SALMON = RegistryKey.of("cooked_salmon"); - RegistryKey COOKIE = RegistryKey.unsafeOf("cookie"); + RegistryKey COOKIE = RegistryKey.of("cookie"); - RegistryKey COPPER_AXE = RegistryKey.unsafeOf("copper_axe"); + RegistryKey COPPER_AXE = RegistryKey.of("copper_axe"); - RegistryKey COPPER_BARS = RegistryKey.unsafeOf("copper_bars"); + RegistryKey COPPER_BARS = RegistryKey.of("copper_bars"); - RegistryKey COPPER_BLOCK = RegistryKey.unsafeOf("copper_block"); + RegistryKey COPPER_BLOCK = RegistryKey.of("copper_block"); - RegistryKey COPPER_BOOTS = RegistryKey.unsafeOf("copper_boots"); + RegistryKey COPPER_BOOTS = RegistryKey.of("copper_boots"); - RegistryKey COPPER_BULB = RegistryKey.unsafeOf("copper_bulb"); + RegistryKey COPPER_BULB = RegistryKey.of("copper_bulb"); - RegistryKey COPPER_CHAIN = RegistryKey.unsafeOf("copper_chain"); + RegistryKey COPPER_CHAIN = RegistryKey.of("copper_chain"); - RegistryKey COPPER_CHEST = RegistryKey.unsafeOf("copper_chest"); + RegistryKey COPPER_CHEST = RegistryKey.of("copper_chest"); - RegistryKey COPPER_CHESTPLATE = RegistryKey.unsafeOf("copper_chestplate"); + RegistryKey COPPER_CHESTPLATE = RegistryKey.of("copper_chestplate"); - RegistryKey COPPER_DOOR = RegistryKey.unsafeOf("copper_door"); + RegistryKey COPPER_DOOR = RegistryKey.of("copper_door"); - RegistryKey COPPER_GOLEM_SPAWN_EGG = RegistryKey.unsafeOf("copper_golem_spawn_egg"); + RegistryKey COPPER_GOLEM_SPAWN_EGG = RegistryKey.of("copper_golem_spawn_egg"); - RegistryKey COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("copper_golem_statue"); + RegistryKey COPPER_GOLEM_STATUE = RegistryKey.of("copper_golem_statue"); - RegistryKey COPPER_GRATE = RegistryKey.unsafeOf("copper_grate"); + RegistryKey COPPER_GRATE = RegistryKey.of("copper_grate"); - RegistryKey COPPER_HELMET = RegistryKey.unsafeOf("copper_helmet"); + RegistryKey COPPER_HELMET = RegistryKey.of("copper_helmet"); - RegistryKey COPPER_HOE = RegistryKey.unsafeOf("copper_hoe"); + RegistryKey COPPER_HOE = RegistryKey.of("copper_hoe"); - RegistryKey COPPER_HORSE_ARMOR = RegistryKey.unsafeOf("copper_horse_armor"); + RegistryKey COPPER_HORSE_ARMOR = RegistryKey.of("copper_horse_armor"); - RegistryKey COPPER_INGOT = RegistryKey.unsafeOf("copper_ingot"); + RegistryKey COPPER_INGOT = RegistryKey.of("copper_ingot"); - RegistryKey COPPER_LANTERN = RegistryKey.unsafeOf("copper_lantern"); + RegistryKey COPPER_LANTERN = RegistryKey.of("copper_lantern"); - RegistryKey COPPER_LEGGINGS = RegistryKey.unsafeOf("copper_leggings"); + RegistryKey COPPER_LEGGINGS = RegistryKey.of("copper_leggings"); - RegistryKey COPPER_NAUTILUS_ARMOR = RegistryKey.unsafeOf("copper_nautilus_armor"); + RegistryKey COPPER_NAUTILUS_ARMOR = RegistryKey.of("copper_nautilus_armor"); - RegistryKey COPPER_NUGGET = RegistryKey.unsafeOf("copper_nugget"); + RegistryKey COPPER_NUGGET = RegistryKey.of("copper_nugget"); - RegistryKey COPPER_ORE = RegistryKey.unsafeOf("copper_ore"); + RegistryKey COPPER_ORE = RegistryKey.of("copper_ore"); - RegistryKey COPPER_PICKAXE = RegistryKey.unsafeOf("copper_pickaxe"); + RegistryKey COPPER_PICKAXE = RegistryKey.of("copper_pickaxe"); - RegistryKey COPPER_SHOVEL = RegistryKey.unsafeOf("copper_shovel"); + RegistryKey COPPER_SHOVEL = RegistryKey.of("copper_shovel"); - RegistryKey COPPER_SPEAR = RegistryKey.unsafeOf("copper_spear"); + RegistryKey COPPER_SPEAR = RegistryKey.of("copper_spear"); - RegistryKey COPPER_SWORD = RegistryKey.unsafeOf("copper_sword"); + RegistryKey COPPER_SWORD = RegistryKey.of("copper_sword"); - RegistryKey COPPER_TORCH = RegistryKey.unsafeOf("copper_torch"); + RegistryKey COPPER_TORCH = RegistryKey.of("copper_torch"); - RegistryKey COPPER_TRAPDOOR = RegistryKey.unsafeOf("copper_trapdoor"); + RegistryKey COPPER_TRAPDOOR = RegistryKey.of("copper_trapdoor"); - RegistryKey CORNFLOWER = RegistryKey.unsafeOf("cornflower"); + RegistryKey CORNFLOWER = RegistryKey.of("cornflower"); - RegistryKey COW_SPAWN_EGG = RegistryKey.unsafeOf("cow_spawn_egg"); + RegistryKey COW_SPAWN_EGG = RegistryKey.of("cow_spawn_egg"); - RegistryKey CRACKED_DEEPSLATE_BRICKS = RegistryKey.unsafeOf("cracked_deepslate_bricks"); + RegistryKey CRACKED_DEEPSLATE_BRICKS = RegistryKey.of("cracked_deepslate_bricks"); - RegistryKey CRACKED_DEEPSLATE_TILES = RegistryKey.unsafeOf("cracked_deepslate_tiles"); + RegistryKey CRACKED_DEEPSLATE_TILES = RegistryKey.of("cracked_deepslate_tiles"); - RegistryKey CRACKED_NETHER_BRICKS = RegistryKey.unsafeOf("cracked_nether_bricks"); + RegistryKey CRACKED_NETHER_BRICKS = RegistryKey.of("cracked_nether_bricks"); - RegistryKey CRACKED_POLISHED_BLACKSTONE_BRICKS = RegistryKey.unsafeOf("cracked_polished_blackstone_bricks"); + RegistryKey CRACKED_POLISHED_BLACKSTONE_BRICKS = RegistryKey.of("cracked_polished_blackstone_bricks"); - RegistryKey CRACKED_STONE_BRICKS = RegistryKey.unsafeOf("cracked_stone_bricks"); + RegistryKey CRACKED_STONE_BRICKS = RegistryKey.of("cracked_stone_bricks"); - RegistryKey CRAFTER = RegistryKey.unsafeOf("crafter"); + RegistryKey CRAFTER = RegistryKey.of("crafter"); - RegistryKey CRAFTING_TABLE = RegistryKey.unsafeOf("crafting_table"); + RegistryKey CRAFTING_TABLE = RegistryKey.of("crafting_table"); - RegistryKey CREAKING_HEART = RegistryKey.unsafeOf("creaking_heart"); + RegistryKey CREAKING_HEART = RegistryKey.of("creaking_heart"); - RegistryKey CREAKING_SPAWN_EGG = RegistryKey.unsafeOf("creaking_spawn_egg"); + RegistryKey CREAKING_SPAWN_EGG = RegistryKey.of("creaking_spawn_egg"); - RegistryKey CREEPER_BANNER_PATTERN = RegistryKey.unsafeOf("creeper_banner_pattern"); + RegistryKey CREEPER_BANNER_PATTERN = RegistryKey.of("creeper_banner_pattern"); - RegistryKey CREEPER_HEAD = RegistryKey.unsafeOf("creeper_head"); + RegistryKey CREEPER_HEAD = RegistryKey.of("creeper_head"); - RegistryKey CREEPER_SPAWN_EGG = RegistryKey.unsafeOf("creeper_spawn_egg"); + RegistryKey CREEPER_SPAWN_EGG = RegistryKey.of("creeper_spawn_egg"); - RegistryKey CRIMSON_BUTTON = RegistryKey.unsafeOf("crimson_button"); + RegistryKey CRIMSON_BUTTON = RegistryKey.of("crimson_button"); - RegistryKey CRIMSON_DOOR = RegistryKey.unsafeOf("crimson_door"); + RegistryKey CRIMSON_DOOR = RegistryKey.of("crimson_door"); - RegistryKey CRIMSON_FENCE = RegistryKey.unsafeOf("crimson_fence"); + RegistryKey CRIMSON_FENCE = RegistryKey.of("crimson_fence"); - RegistryKey CRIMSON_FENCE_GATE = RegistryKey.unsafeOf("crimson_fence_gate"); + RegistryKey CRIMSON_FENCE_GATE = RegistryKey.of("crimson_fence_gate"); - RegistryKey CRIMSON_FUNGUS = RegistryKey.unsafeOf("crimson_fungus"); + RegistryKey CRIMSON_FUNGUS = RegistryKey.of("crimson_fungus"); - RegistryKey CRIMSON_HANGING_SIGN = RegistryKey.unsafeOf("crimson_hanging_sign"); + RegistryKey CRIMSON_HANGING_SIGN = RegistryKey.of("crimson_hanging_sign"); - RegistryKey CRIMSON_HYPHAE = RegistryKey.unsafeOf("crimson_hyphae"); + RegistryKey CRIMSON_HYPHAE = RegistryKey.of("crimson_hyphae"); - RegistryKey CRIMSON_NYLIUM = RegistryKey.unsafeOf("crimson_nylium"); + RegistryKey CRIMSON_NYLIUM = RegistryKey.of("crimson_nylium"); - RegistryKey CRIMSON_PLANKS = RegistryKey.unsafeOf("crimson_planks"); + RegistryKey CRIMSON_PLANKS = RegistryKey.of("crimson_planks"); - RegistryKey CRIMSON_PRESSURE_PLATE = RegistryKey.unsafeOf("crimson_pressure_plate"); + RegistryKey CRIMSON_PRESSURE_PLATE = RegistryKey.of("crimson_pressure_plate"); - RegistryKey CRIMSON_ROOTS = RegistryKey.unsafeOf("crimson_roots"); + RegistryKey CRIMSON_ROOTS = RegistryKey.of("crimson_roots"); - RegistryKey CRIMSON_SHELF = RegistryKey.unsafeOf("crimson_shelf"); + RegistryKey CRIMSON_SHELF = RegistryKey.of("crimson_shelf"); - RegistryKey CRIMSON_SIGN = RegistryKey.unsafeOf("crimson_sign"); + RegistryKey CRIMSON_SIGN = RegistryKey.of("crimson_sign"); - RegistryKey CRIMSON_SLAB = RegistryKey.unsafeOf("crimson_slab"); + RegistryKey CRIMSON_SLAB = RegistryKey.of("crimson_slab"); - RegistryKey CRIMSON_STAIRS = RegistryKey.unsafeOf("crimson_stairs"); + RegistryKey CRIMSON_STAIRS = RegistryKey.of("crimson_stairs"); - RegistryKey CRIMSON_STEM = RegistryKey.unsafeOf("crimson_stem"); + RegistryKey CRIMSON_STEM = RegistryKey.of("crimson_stem"); - RegistryKey CRIMSON_TRAPDOOR = RegistryKey.unsafeOf("crimson_trapdoor"); + RegistryKey CRIMSON_TRAPDOOR = RegistryKey.of("crimson_trapdoor"); - RegistryKey CROSSBOW = RegistryKey.unsafeOf("crossbow"); + RegistryKey CROSSBOW = RegistryKey.of("crossbow"); - RegistryKey CRYING_OBSIDIAN = RegistryKey.unsafeOf("crying_obsidian"); + RegistryKey CRYING_OBSIDIAN = RegistryKey.of("crying_obsidian"); - RegistryKey CUT_COPPER = RegistryKey.unsafeOf("cut_copper"); + RegistryKey CUT_COPPER = RegistryKey.of("cut_copper"); - RegistryKey CUT_COPPER_SLAB = RegistryKey.unsafeOf("cut_copper_slab"); + RegistryKey CUT_COPPER_SLAB = RegistryKey.of("cut_copper_slab"); - RegistryKey CUT_COPPER_STAIRS = RegistryKey.unsafeOf("cut_copper_stairs"); + RegistryKey CUT_COPPER_STAIRS = RegistryKey.of("cut_copper_stairs"); - RegistryKey CUT_RED_SANDSTONE = RegistryKey.unsafeOf("cut_red_sandstone"); + RegistryKey CUT_RED_SANDSTONE = RegistryKey.of("cut_red_sandstone"); - RegistryKey CUT_RED_SANDSTONE_SLAB = RegistryKey.unsafeOf("cut_red_sandstone_slab"); + RegistryKey CUT_RED_SANDSTONE_SLAB = RegistryKey.of("cut_red_sandstone_slab"); - RegistryKey CUT_SANDSTONE = RegistryKey.unsafeOf("cut_sandstone"); + RegistryKey CUT_SANDSTONE = RegistryKey.of("cut_sandstone"); - RegistryKey CUT_SANDSTONE_SLAB = RegistryKey.unsafeOf("cut_sandstone_slab"); + RegistryKey CUT_SANDSTONE_SLAB = RegistryKey.of("cut_sandstone_slab"); - RegistryKey CYAN_BANNER = RegistryKey.unsafeOf("cyan_banner"); + RegistryKey CYAN_BANNER = RegistryKey.of("cyan_banner"); - RegistryKey CYAN_BED = RegistryKey.unsafeOf("cyan_bed"); + RegistryKey CYAN_BED = RegistryKey.of("cyan_bed"); - RegistryKey CYAN_BUNDLE = RegistryKey.unsafeOf("cyan_bundle"); + RegistryKey CYAN_BUNDLE = RegistryKey.of("cyan_bundle"); - RegistryKey CYAN_CANDLE = RegistryKey.unsafeOf("cyan_candle"); + RegistryKey CYAN_CANDLE = RegistryKey.of("cyan_candle"); - RegistryKey CYAN_CARPET = RegistryKey.unsafeOf("cyan_carpet"); + RegistryKey CYAN_CARPET = RegistryKey.of("cyan_carpet"); - RegistryKey CYAN_CONCRETE = RegistryKey.unsafeOf("cyan_concrete"); + RegistryKey CYAN_CONCRETE = RegistryKey.of("cyan_concrete"); - RegistryKey CYAN_CONCRETE_POWDER = RegistryKey.unsafeOf("cyan_concrete_powder"); + RegistryKey CYAN_CONCRETE_POWDER = RegistryKey.of("cyan_concrete_powder"); - RegistryKey CYAN_DYE = RegistryKey.unsafeOf("cyan_dye"); + RegistryKey CYAN_DYE = RegistryKey.of("cyan_dye"); - RegistryKey CYAN_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("cyan_glazed_terracotta"); + RegistryKey CYAN_GLAZED_TERRACOTTA = RegistryKey.of("cyan_glazed_terracotta"); - RegistryKey CYAN_HARNESS = RegistryKey.unsafeOf("cyan_harness"); + RegistryKey CYAN_HARNESS = RegistryKey.of("cyan_harness"); - RegistryKey CYAN_SHULKER_BOX = RegistryKey.unsafeOf("cyan_shulker_box"); + RegistryKey CYAN_SHULKER_BOX = RegistryKey.of("cyan_shulker_box"); - RegistryKey CYAN_STAINED_GLASS = RegistryKey.unsafeOf("cyan_stained_glass"); + RegistryKey CYAN_STAINED_GLASS = RegistryKey.of("cyan_stained_glass"); - RegistryKey CYAN_STAINED_GLASS_PANE = RegistryKey.unsafeOf("cyan_stained_glass_pane"); + RegistryKey CYAN_STAINED_GLASS_PANE = RegistryKey.of("cyan_stained_glass_pane"); - RegistryKey CYAN_TERRACOTTA = RegistryKey.unsafeOf("cyan_terracotta"); + RegistryKey CYAN_TERRACOTTA = RegistryKey.of("cyan_terracotta"); - RegistryKey CYAN_WOOL = RegistryKey.unsafeOf("cyan_wool"); + RegistryKey CYAN_WOOL = RegistryKey.of("cyan_wool"); - RegistryKey DAMAGED_ANVIL = RegistryKey.unsafeOf("damaged_anvil"); + RegistryKey DAMAGED_ANVIL = RegistryKey.of("damaged_anvil"); - RegistryKey DANDELION = RegistryKey.unsafeOf("dandelion"); + RegistryKey DANDELION = RegistryKey.of("dandelion"); - RegistryKey DANGER_POTTERY_SHERD = RegistryKey.unsafeOf("danger_pottery_sherd"); + RegistryKey DANGER_POTTERY_SHERD = RegistryKey.of("danger_pottery_sherd"); - RegistryKey DARK_OAK_BOAT = RegistryKey.unsafeOf("dark_oak_boat"); + RegistryKey DARK_OAK_BOAT = RegistryKey.of("dark_oak_boat"); - RegistryKey DARK_OAK_BUTTON = RegistryKey.unsafeOf("dark_oak_button"); + RegistryKey DARK_OAK_BUTTON = RegistryKey.of("dark_oak_button"); - RegistryKey DARK_OAK_CHEST_BOAT = RegistryKey.unsafeOf("dark_oak_chest_boat"); + RegistryKey DARK_OAK_CHEST_BOAT = RegistryKey.of("dark_oak_chest_boat"); - RegistryKey DARK_OAK_DOOR = RegistryKey.unsafeOf("dark_oak_door"); + RegistryKey DARK_OAK_DOOR = RegistryKey.of("dark_oak_door"); - RegistryKey DARK_OAK_FENCE = RegistryKey.unsafeOf("dark_oak_fence"); + RegistryKey DARK_OAK_FENCE = RegistryKey.of("dark_oak_fence"); - RegistryKey DARK_OAK_FENCE_GATE = RegistryKey.unsafeOf("dark_oak_fence_gate"); + RegistryKey DARK_OAK_FENCE_GATE = RegistryKey.of("dark_oak_fence_gate"); - RegistryKey DARK_OAK_HANGING_SIGN = RegistryKey.unsafeOf("dark_oak_hanging_sign"); + RegistryKey DARK_OAK_HANGING_SIGN = RegistryKey.of("dark_oak_hanging_sign"); - RegistryKey DARK_OAK_LEAVES = RegistryKey.unsafeOf("dark_oak_leaves"); + RegistryKey DARK_OAK_LEAVES = RegistryKey.of("dark_oak_leaves"); - RegistryKey DARK_OAK_LOG = RegistryKey.unsafeOf("dark_oak_log"); + RegistryKey DARK_OAK_LOG = RegistryKey.of("dark_oak_log"); - RegistryKey DARK_OAK_PLANKS = RegistryKey.unsafeOf("dark_oak_planks"); + RegistryKey DARK_OAK_PLANKS = RegistryKey.of("dark_oak_planks"); - RegistryKey DARK_OAK_PRESSURE_PLATE = RegistryKey.unsafeOf("dark_oak_pressure_plate"); + RegistryKey DARK_OAK_PRESSURE_PLATE = RegistryKey.of("dark_oak_pressure_plate"); - RegistryKey DARK_OAK_SAPLING = RegistryKey.unsafeOf("dark_oak_sapling"); + RegistryKey DARK_OAK_SAPLING = RegistryKey.of("dark_oak_sapling"); - RegistryKey DARK_OAK_SHELF = RegistryKey.unsafeOf("dark_oak_shelf"); + RegistryKey DARK_OAK_SHELF = RegistryKey.of("dark_oak_shelf"); - RegistryKey DARK_OAK_SIGN = RegistryKey.unsafeOf("dark_oak_sign"); + RegistryKey DARK_OAK_SIGN = RegistryKey.of("dark_oak_sign"); - RegistryKey DARK_OAK_SLAB = RegistryKey.unsafeOf("dark_oak_slab"); + RegistryKey DARK_OAK_SLAB = RegistryKey.of("dark_oak_slab"); - RegistryKey DARK_OAK_STAIRS = RegistryKey.unsafeOf("dark_oak_stairs"); + RegistryKey DARK_OAK_STAIRS = RegistryKey.of("dark_oak_stairs"); - RegistryKey DARK_OAK_TRAPDOOR = RegistryKey.unsafeOf("dark_oak_trapdoor"); + RegistryKey DARK_OAK_TRAPDOOR = RegistryKey.of("dark_oak_trapdoor"); - RegistryKey DARK_OAK_WOOD = RegistryKey.unsafeOf("dark_oak_wood"); + RegistryKey DARK_OAK_WOOD = RegistryKey.of("dark_oak_wood"); - RegistryKey DARK_PRISMARINE = RegistryKey.unsafeOf("dark_prismarine"); + RegistryKey DARK_PRISMARINE = RegistryKey.of("dark_prismarine"); - RegistryKey DARK_PRISMARINE_SLAB = RegistryKey.unsafeOf("dark_prismarine_slab"); + RegistryKey DARK_PRISMARINE_SLAB = RegistryKey.of("dark_prismarine_slab"); - RegistryKey DARK_PRISMARINE_STAIRS = RegistryKey.unsafeOf("dark_prismarine_stairs"); + RegistryKey DARK_PRISMARINE_STAIRS = RegistryKey.of("dark_prismarine_stairs"); - RegistryKey DAYLIGHT_DETECTOR = RegistryKey.unsafeOf("daylight_detector"); + RegistryKey DAYLIGHT_DETECTOR = RegistryKey.of("daylight_detector"); - RegistryKey DEAD_BRAIN_CORAL = RegistryKey.unsafeOf("dead_brain_coral"); + RegistryKey DEAD_BRAIN_CORAL = RegistryKey.of("dead_brain_coral"); - RegistryKey DEAD_BRAIN_CORAL_BLOCK = RegistryKey.unsafeOf("dead_brain_coral_block"); + RegistryKey DEAD_BRAIN_CORAL_BLOCK = RegistryKey.of("dead_brain_coral_block"); - RegistryKey DEAD_BRAIN_CORAL_FAN = RegistryKey.unsafeOf("dead_brain_coral_fan"); + RegistryKey DEAD_BRAIN_CORAL_FAN = RegistryKey.of("dead_brain_coral_fan"); - RegistryKey DEAD_BUBBLE_CORAL = RegistryKey.unsafeOf("dead_bubble_coral"); + RegistryKey DEAD_BUBBLE_CORAL = RegistryKey.of("dead_bubble_coral"); - RegistryKey DEAD_BUBBLE_CORAL_BLOCK = RegistryKey.unsafeOf("dead_bubble_coral_block"); + RegistryKey DEAD_BUBBLE_CORAL_BLOCK = RegistryKey.of("dead_bubble_coral_block"); - RegistryKey DEAD_BUBBLE_CORAL_FAN = RegistryKey.unsafeOf("dead_bubble_coral_fan"); + RegistryKey DEAD_BUBBLE_CORAL_FAN = RegistryKey.of("dead_bubble_coral_fan"); - RegistryKey DEAD_BUSH = RegistryKey.unsafeOf("dead_bush"); + RegistryKey DEAD_BUSH = RegistryKey.of("dead_bush"); - RegistryKey DEAD_FIRE_CORAL = RegistryKey.unsafeOf("dead_fire_coral"); + RegistryKey DEAD_FIRE_CORAL = RegistryKey.of("dead_fire_coral"); - RegistryKey DEAD_FIRE_CORAL_BLOCK = RegistryKey.unsafeOf("dead_fire_coral_block"); + RegistryKey DEAD_FIRE_CORAL_BLOCK = RegistryKey.of("dead_fire_coral_block"); - RegistryKey DEAD_FIRE_CORAL_FAN = RegistryKey.unsafeOf("dead_fire_coral_fan"); + RegistryKey DEAD_FIRE_CORAL_FAN = RegistryKey.of("dead_fire_coral_fan"); - RegistryKey DEAD_HORN_CORAL = RegistryKey.unsafeOf("dead_horn_coral"); + RegistryKey DEAD_HORN_CORAL = RegistryKey.of("dead_horn_coral"); - RegistryKey DEAD_HORN_CORAL_BLOCK = RegistryKey.unsafeOf("dead_horn_coral_block"); + RegistryKey DEAD_HORN_CORAL_BLOCK = RegistryKey.of("dead_horn_coral_block"); - RegistryKey DEAD_HORN_CORAL_FAN = RegistryKey.unsafeOf("dead_horn_coral_fan"); + RegistryKey DEAD_HORN_CORAL_FAN = RegistryKey.of("dead_horn_coral_fan"); - RegistryKey DEAD_TUBE_CORAL = RegistryKey.unsafeOf("dead_tube_coral"); + RegistryKey DEAD_TUBE_CORAL = RegistryKey.of("dead_tube_coral"); - RegistryKey DEAD_TUBE_CORAL_BLOCK = RegistryKey.unsafeOf("dead_tube_coral_block"); + RegistryKey DEAD_TUBE_CORAL_BLOCK = RegistryKey.of("dead_tube_coral_block"); - RegistryKey DEAD_TUBE_CORAL_FAN = RegistryKey.unsafeOf("dead_tube_coral_fan"); + RegistryKey DEAD_TUBE_CORAL_FAN = RegistryKey.of("dead_tube_coral_fan"); - RegistryKey DEBUG_STICK = RegistryKey.unsafeOf("debug_stick"); + RegistryKey DEBUG_STICK = RegistryKey.of("debug_stick"); - RegistryKey DECORATED_POT = RegistryKey.unsafeOf("decorated_pot"); + RegistryKey DECORATED_POT = RegistryKey.of("decorated_pot"); - RegistryKey DEEPSLATE = RegistryKey.unsafeOf("deepslate"); + RegistryKey DEEPSLATE = RegistryKey.of("deepslate"); - RegistryKey DEEPSLATE_BRICK_SLAB = RegistryKey.unsafeOf("deepslate_brick_slab"); + RegistryKey DEEPSLATE_BRICK_SLAB = RegistryKey.of("deepslate_brick_slab"); - RegistryKey DEEPSLATE_BRICK_STAIRS = RegistryKey.unsafeOf("deepslate_brick_stairs"); + RegistryKey DEEPSLATE_BRICK_STAIRS = RegistryKey.of("deepslate_brick_stairs"); - RegistryKey DEEPSLATE_BRICK_WALL = RegistryKey.unsafeOf("deepslate_brick_wall"); + RegistryKey DEEPSLATE_BRICK_WALL = RegistryKey.of("deepslate_brick_wall"); - RegistryKey DEEPSLATE_BRICKS = RegistryKey.unsafeOf("deepslate_bricks"); + RegistryKey DEEPSLATE_BRICKS = RegistryKey.of("deepslate_bricks"); - RegistryKey DEEPSLATE_COAL_ORE = RegistryKey.unsafeOf("deepslate_coal_ore"); + RegistryKey DEEPSLATE_COAL_ORE = RegistryKey.of("deepslate_coal_ore"); - RegistryKey DEEPSLATE_COPPER_ORE = RegistryKey.unsafeOf("deepslate_copper_ore"); + RegistryKey DEEPSLATE_COPPER_ORE = RegistryKey.of("deepslate_copper_ore"); - RegistryKey DEEPSLATE_DIAMOND_ORE = RegistryKey.unsafeOf("deepslate_diamond_ore"); + RegistryKey DEEPSLATE_DIAMOND_ORE = RegistryKey.of("deepslate_diamond_ore"); - RegistryKey DEEPSLATE_EMERALD_ORE = RegistryKey.unsafeOf("deepslate_emerald_ore"); + RegistryKey DEEPSLATE_EMERALD_ORE = RegistryKey.of("deepslate_emerald_ore"); - RegistryKey DEEPSLATE_GOLD_ORE = RegistryKey.unsafeOf("deepslate_gold_ore"); + RegistryKey DEEPSLATE_GOLD_ORE = RegistryKey.of("deepslate_gold_ore"); - RegistryKey DEEPSLATE_IRON_ORE = RegistryKey.unsafeOf("deepslate_iron_ore"); + RegistryKey DEEPSLATE_IRON_ORE = RegistryKey.of("deepslate_iron_ore"); - RegistryKey DEEPSLATE_LAPIS_ORE = RegistryKey.unsafeOf("deepslate_lapis_ore"); + RegistryKey DEEPSLATE_LAPIS_ORE = RegistryKey.of("deepslate_lapis_ore"); - RegistryKey DEEPSLATE_REDSTONE_ORE = RegistryKey.unsafeOf("deepslate_redstone_ore"); + RegistryKey DEEPSLATE_REDSTONE_ORE = RegistryKey.of("deepslate_redstone_ore"); - RegistryKey DEEPSLATE_TILE_SLAB = RegistryKey.unsafeOf("deepslate_tile_slab"); + RegistryKey DEEPSLATE_TILE_SLAB = RegistryKey.of("deepslate_tile_slab"); - RegistryKey DEEPSLATE_TILE_STAIRS = RegistryKey.unsafeOf("deepslate_tile_stairs"); + RegistryKey DEEPSLATE_TILE_STAIRS = RegistryKey.of("deepslate_tile_stairs"); - RegistryKey DEEPSLATE_TILE_WALL = RegistryKey.unsafeOf("deepslate_tile_wall"); + RegistryKey DEEPSLATE_TILE_WALL = RegistryKey.of("deepslate_tile_wall"); - RegistryKey DEEPSLATE_TILES = RegistryKey.unsafeOf("deepslate_tiles"); + RegistryKey DEEPSLATE_TILES = RegistryKey.of("deepslate_tiles"); - RegistryKey DETECTOR_RAIL = RegistryKey.unsafeOf("detector_rail"); + RegistryKey DETECTOR_RAIL = RegistryKey.of("detector_rail"); - RegistryKey DIAMOND = RegistryKey.unsafeOf("diamond"); + RegistryKey DIAMOND = RegistryKey.of("diamond"); - RegistryKey DIAMOND_AXE = RegistryKey.unsafeOf("diamond_axe"); + RegistryKey DIAMOND_AXE = RegistryKey.of("diamond_axe"); - RegistryKey DIAMOND_BLOCK = RegistryKey.unsafeOf("diamond_block"); + RegistryKey DIAMOND_BLOCK = RegistryKey.of("diamond_block"); - RegistryKey DIAMOND_BOOTS = RegistryKey.unsafeOf("diamond_boots"); + RegistryKey DIAMOND_BOOTS = RegistryKey.of("diamond_boots"); - RegistryKey DIAMOND_CHESTPLATE = RegistryKey.unsafeOf("diamond_chestplate"); + RegistryKey DIAMOND_CHESTPLATE = RegistryKey.of("diamond_chestplate"); - RegistryKey DIAMOND_HELMET = RegistryKey.unsafeOf("diamond_helmet"); + RegistryKey DIAMOND_HELMET = RegistryKey.of("diamond_helmet"); - RegistryKey DIAMOND_HOE = RegistryKey.unsafeOf("diamond_hoe"); + RegistryKey DIAMOND_HOE = RegistryKey.of("diamond_hoe"); - RegistryKey DIAMOND_HORSE_ARMOR = RegistryKey.unsafeOf("diamond_horse_armor"); + RegistryKey DIAMOND_HORSE_ARMOR = RegistryKey.of("diamond_horse_armor"); - RegistryKey DIAMOND_LEGGINGS = RegistryKey.unsafeOf("diamond_leggings"); + RegistryKey DIAMOND_LEGGINGS = RegistryKey.of("diamond_leggings"); - RegistryKey DIAMOND_NAUTILUS_ARMOR = RegistryKey.unsafeOf("diamond_nautilus_armor"); + RegistryKey DIAMOND_NAUTILUS_ARMOR = RegistryKey.of("diamond_nautilus_armor"); - RegistryKey DIAMOND_ORE = RegistryKey.unsafeOf("diamond_ore"); + RegistryKey DIAMOND_ORE = RegistryKey.of("diamond_ore"); - RegistryKey DIAMOND_PICKAXE = RegistryKey.unsafeOf("diamond_pickaxe"); + RegistryKey DIAMOND_PICKAXE = RegistryKey.of("diamond_pickaxe"); - RegistryKey DIAMOND_SHOVEL = RegistryKey.unsafeOf("diamond_shovel"); + RegistryKey DIAMOND_SHOVEL = RegistryKey.of("diamond_shovel"); - RegistryKey DIAMOND_SPEAR = RegistryKey.unsafeOf("diamond_spear"); + RegistryKey DIAMOND_SPEAR = RegistryKey.of("diamond_spear"); - RegistryKey DIAMOND_SWORD = RegistryKey.unsafeOf("diamond_sword"); + RegistryKey DIAMOND_SWORD = RegistryKey.of("diamond_sword"); - RegistryKey DIORITE = RegistryKey.unsafeOf("diorite"); + RegistryKey DIORITE = RegistryKey.of("diorite"); - RegistryKey DIORITE_SLAB = RegistryKey.unsafeOf("diorite_slab"); + RegistryKey DIORITE_SLAB = RegistryKey.of("diorite_slab"); - RegistryKey DIORITE_STAIRS = RegistryKey.unsafeOf("diorite_stairs"); + RegistryKey DIORITE_STAIRS = RegistryKey.of("diorite_stairs"); - RegistryKey DIORITE_WALL = RegistryKey.unsafeOf("diorite_wall"); + RegistryKey DIORITE_WALL = RegistryKey.of("diorite_wall"); - RegistryKey DIRT = RegistryKey.unsafeOf("dirt"); + RegistryKey DIRT = RegistryKey.of("dirt"); - RegistryKey DIRT_PATH = RegistryKey.unsafeOf("dirt_path"); + RegistryKey DIRT_PATH = RegistryKey.of("dirt_path"); - RegistryKey DISC_FRAGMENT_5 = RegistryKey.unsafeOf("disc_fragment_5"); + RegistryKey DISC_FRAGMENT_5 = RegistryKey.of("disc_fragment_5"); - RegistryKey DISPENSER = RegistryKey.unsafeOf("dispenser"); + RegistryKey DISPENSER = RegistryKey.of("dispenser"); - RegistryKey DOLPHIN_SPAWN_EGG = RegistryKey.unsafeOf("dolphin_spawn_egg"); + RegistryKey DOLPHIN_SPAWN_EGG = RegistryKey.of("dolphin_spawn_egg"); - RegistryKey DONKEY_SPAWN_EGG = RegistryKey.unsafeOf("donkey_spawn_egg"); + RegistryKey DONKEY_SPAWN_EGG = RegistryKey.of("donkey_spawn_egg"); - RegistryKey DRAGON_BREATH = RegistryKey.unsafeOf("dragon_breath"); + RegistryKey DRAGON_BREATH = RegistryKey.of("dragon_breath"); - RegistryKey DRAGON_EGG = RegistryKey.unsafeOf("dragon_egg"); + RegistryKey DRAGON_EGG = RegistryKey.of("dragon_egg"); - RegistryKey DRAGON_HEAD = RegistryKey.unsafeOf("dragon_head"); + RegistryKey DRAGON_HEAD = RegistryKey.of("dragon_head"); - RegistryKey DRIED_GHAST = RegistryKey.unsafeOf("dried_ghast"); + RegistryKey DRIED_GHAST = RegistryKey.of("dried_ghast"); - RegistryKey DRIED_KELP = RegistryKey.unsafeOf("dried_kelp"); + RegistryKey DRIED_KELP = RegistryKey.of("dried_kelp"); - RegistryKey DRIED_KELP_BLOCK = RegistryKey.unsafeOf("dried_kelp_block"); + RegistryKey DRIED_KELP_BLOCK = RegistryKey.of("dried_kelp_block"); - RegistryKey DRIPSTONE_BLOCK = RegistryKey.unsafeOf("dripstone_block"); + RegistryKey DRIPSTONE_BLOCK = RegistryKey.of("dripstone_block"); - RegistryKey DROPPER = RegistryKey.unsafeOf("dropper"); + RegistryKey DROPPER = RegistryKey.of("dropper"); - RegistryKey DROWNED_SPAWN_EGG = RegistryKey.unsafeOf("drowned_spawn_egg"); + RegistryKey DROWNED_SPAWN_EGG = RegistryKey.of("drowned_spawn_egg"); - RegistryKey DUNE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("dune_armor_trim_smithing_template"); + RegistryKey DUNE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("dune_armor_trim_smithing_template"); - RegistryKey ECHO_SHARD = RegistryKey.unsafeOf("echo_shard"); + RegistryKey ECHO_SHARD = RegistryKey.of("echo_shard"); - RegistryKey EGG = RegistryKey.unsafeOf("egg"); + RegistryKey EGG = RegistryKey.of("egg"); - RegistryKey ELDER_GUARDIAN_SPAWN_EGG = RegistryKey.unsafeOf("elder_guardian_spawn_egg"); + RegistryKey ELDER_GUARDIAN_SPAWN_EGG = RegistryKey.of("elder_guardian_spawn_egg"); - RegistryKey ELYTRA = RegistryKey.unsafeOf("elytra"); + RegistryKey ELYTRA = RegistryKey.of("elytra"); - RegistryKey EMERALD = RegistryKey.unsafeOf("emerald"); + RegistryKey EMERALD = RegistryKey.of("emerald"); - RegistryKey EMERALD_BLOCK = RegistryKey.unsafeOf("emerald_block"); + RegistryKey EMERALD_BLOCK = RegistryKey.of("emerald_block"); - RegistryKey EMERALD_ORE = RegistryKey.unsafeOf("emerald_ore"); + RegistryKey EMERALD_ORE = RegistryKey.of("emerald_ore"); - RegistryKey ENCHANTED_BOOK = RegistryKey.unsafeOf("enchanted_book"); + RegistryKey ENCHANTED_BOOK = RegistryKey.of("enchanted_book"); - RegistryKey ENCHANTED_GOLDEN_APPLE = RegistryKey.unsafeOf("enchanted_golden_apple"); + RegistryKey ENCHANTED_GOLDEN_APPLE = RegistryKey.of("enchanted_golden_apple"); - RegistryKey ENCHANTING_TABLE = RegistryKey.unsafeOf("enchanting_table"); + RegistryKey ENCHANTING_TABLE = RegistryKey.of("enchanting_table"); - RegistryKey END_CRYSTAL = RegistryKey.unsafeOf("end_crystal"); + RegistryKey END_CRYSTAL = RegistryKey.of("end_crystal"); - RegistryKey END_PORTAL_FRAME = RegistryKey.unsafeOf("end_portal_frame"); + RegistryKey END_PORTAL_FRAME = RegistryKey.of("end_portal_frame"); - RegistryKey END_ROD = RegistryKey.unsafeOf("end_rod"); + RegistryKey END_ROD = RegistryKey.of("end_rod"); - RegistryKey END_STONE = RegistryKey.unsafeOf("end_stone"); + RegistryKey END_STONE = RegistryKey.of("end_stone"); - RegistryKey END_STONE_BRICK_SLAB = RegistryKey.unsafeOf("end_stone_brick_slab"); + RegistryKey END_STONE_BRICK_SLAB = RegistryKey.of("end_stone_brick_slab"); - RegistryKey END_STONE_BRICK_STAIRS = RegistryKey.unsafeOf("end_stone_brick_stairs"); + RegistryKey END_STONE_BRICK_STAIRS = RegistryKey.of("end_stone_brick_stairs"); - RegistryKey END_STONE_BRICK_WALL = RegistryKey.unsafeOf("end_stone_brick_wall"); + RegistryKey END_STONE_BRICK_WALL = RegistryKey.of("end_stone_brick_wall"); - RegistryKey END_STONE_BRICKS = RegistryKey.unsafeOf("end_stone_bricks"); + RegistryKey END_STONE_BRICKS = RegistryKey.of("end_stone_bricks"); - RegistryKey ENDER_CHEST = RegistryKey.unsafeOf("ender_chest"); + RegistryKey ENDER_CHEST = RegistryKey.of("ender_chest"); - RegistryKey ENDER_DRAGON_SPAWN_EGG = RegistryKey.unsafeOf("ender_dragon_spawn_egg"); + RegistryKey ENDER_DRAGON_SPAWN_EGG = RegistryKey.of("ender_dragon_spawn_egg"); - RegistryKey ENDER_EYE = RegistryKey.unsafeOf("ender_eye"); + RegistryKey ENDER_EYE = RegistryKey.of("ender_eye"); - RegistryKey ENDER_PEARL = RegistryKey.unsafeOf("ender_pearl"); + RegistryKey ENDER_PEARL = RegistryKey.of("ender_pearl"); - RegistryKey ENDERMAN_SPAWN_EGG = RegistryKey.unsafeOf("enderman_spawn_egg"); + RegistryKey ENDERMAN_SPAWN_EGG = RegistryKey.of("enderman_spawn_egg"); - RegistryKey ENDERMITE_SPAWN_EGG = RegistryKey.unsafeOf("endermite_spawn_egg"); + RegistryKey ENDERMITE_SPAWN_EGG = RegistryKey.of("endermite_spawn_egg"); - RegistryKey EVOKER_SPAWN_EGG = RegistryKey.unsafeOf("evoker_spawn_egg"); + RegistryKey EVOKER_SPAWN_EGG = RegistryKey.of("evoker_spawn_egg"); - RegistryKey EXPERIENCE_BOTTLE = RegistryKey.unsafeOf("experience_bottle"); + RegistryKey EXPERIENCE_BOTTLE = RegistryKey.of("experience_bottle"); - RegistryKey EXPLORER_POTTERY_SHERD = RegistryKey.unsafeOf("explorer_pottery_sherd"); + RegistryKey EXPLORER_POTTERY_SHERD = RegistryKey.of("explorer_pottery_sherd"); - RegistryKey EXPOSED_CHISELED_COPPER = RegistryKey.unsafeOf("exposed_chiseled_copper"); + RegistryKey EXPOSED_CHISELED_COPPER = RegistryKey.of("exposed_chiseled_copper"); - RegistryKey EXPOSED_COPPER = RegistryKey.unsafeOf("exposed_copper"); + RegistryKey EXPOSED_COPPER = RegistryKey.of("exposed_copper"); - RegistryKey EXPOSED_COPPER_BARS = RegistryKey.unsafeOf("exposed_copper_bars"); + RegistryKey EXPOSED_COPPER_BARS = RegistryKey.of("exposed_copper_bars"); - RegistryKey EXPOSED_COPPER_BULB = RegistryKey.unsafeOf("exposed_copper_bulb"); + RegistryKey EXPOSED_COPPER_BULB = RegistryKey.of("exposed_copper_bulb"); - RegistryKey EXPOSED_COPPER_CHAIN = RegistryKey.unsafeOf("exposed_copper_chain"); + RegistryKey EXPOSED_COPPER_CHAIN = RegistryKey.of("exposed_copper_chain"); - RegistryKey EXPOSED_COPPER_CHEST = RegistryKey.unsafeOf("exposed_copper_chest"); + RegistryKey EXPOSED_COPPER_CHEST = RegistryKey.of("exposed_copper_chest"); - RegistryKey EXPOSED_COPPER_DOOR = RegistryKey.unsafeOf("exposed_copper_door"); + RegistryKey EXPOSED_COPPER_DOOR = RegistryKey.of("exposed_copper_door"); - RegistryKey EXPOSED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("exposed_copper_golem_statue"); + RegistryKey EXPOSED_COPPER_GOLEM_STATUE = RegistryKey.of("exposed_copper_golem_statue"); - RegistryKey EXPOSED_COPPER_GRATE = RegistryKey.unsafeOf("exposed_copper_grate"); + RegistryKey EXPOSED_COPPER_GRATE = RegistryKey.of("exposed_copper_grate"); - RegistryKey EXPOSED_COPPER_LANTERN = RegistryKey.unsafeOf("exposed_copper_lantern"); + RegistryKey EXPOSED_COPPER_LANTERN = RegistryKey.of("exposed_copper_lantern"); - RegistryKey EXPOSED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("exposed_copper_trapdoor"); + RegistryKey EXPOSED_COPPER_TRAPDOOR = RegistryKey.of("exposed_copper_trapdoor"); - RegistryKey EXPOSED_CUT_COPPER = RegistryKey.unsafeOf("exposed_cut_copper"); + RegistryKey EXPOSED_CUT_COPPER = RegistryKey.of("exposed_cut_copper"); - RegistryKey EXPOSED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("exposed_cut_copper_slab"); + RegistryKey EXPOSED_CUT_COPPER_SLAB = RegistryKey.of("exposed_cut_copper_slab"); - RegistryKey EXPOSED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("exposed_cut_copper_stairs"); + RegistryKey EXPOSED_CUT_COPPER_STAIRS = RegistryKey.of("exposed_cut_copper_stairs"); - RegistryKey EXPOSED_LIGHTNING_ROD = RegistryKey.unsafeOf("exposed_lightning_rod"); + RegistryKey EXPOSED_LIGHTNING_ROD = RegistryKey.of("exposed_lightning_rod"); - RegistryKey EYE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("eye_armor_trim_smithing_template"); + RegistryKey EYE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("eye_armor_trim_smithing_template"); - RegistryKey FARMLAND = RegistryKey.unsafeOf("farmland"); + RegistryKey FARMLAND = RegistryKey.of("farmland"); - RegistryKey FEATHER = RegistryKey.unsafeOf("feather"); + RegistryKey FEATHER = RegistryKey.of("feather"); - RegistryKey FERMENTED_SPIDER_EYE = RegistryKey.unsafeOf("fermented_spider_eye"); + RegistryKey FERMENTED_SPIDER_EYE = RegistryKey.of("fermented_spider_eye"); - RegistryKey FERN = RegistryKey.unsafeOf("fern"); + RegistryKey FERN = RegistryKey.of("fern"); - RegistryKey FIELD_MASONED_BANNER_PATTERN = RegistryKey.unsafeOf("field_masoned_banner_pattern"); + RegistryKey FIELD_MASONED_BANNER_PATTERN = RegistryKey.of("field_masoned_banner_pattern"); - RegistryKey FILLED_MAP = RegistryKey.unsafeOf("filled_map"); + RegistryKey FILLED_MAP = RegistryKey.of("filled_map"); - RegistryKey FIRE_CHARGE = RegistryKey.unsafeOf("fire_charge"); + RegistryKey FIRE_CHARGE = RegistryKey.of("fire_charge"); - RegistryKey FIRE_CORAL = RegistryKey.unsafeOf("fire_coral"); + RegistryKey FIRE_CORAL = RegistryKey.of("fire_coral"); - RegistryKey FIRE_CORAL_BLOCK = RegistryKey.unsafeOf("fire_coral_block"); + RegistryKey FIRE_CORAL_BLOCK = RegistryKey.of("fire_coral_block"); - RegistryKey FIRE_CORAL_FAN = RegistryKey.unsafeOf("fire_coral_fan"); + RegistryKey FIRE_CORAL_FAN = RegistryKey.of("fire_coral_fan"); - RegistryKey FIREFLY_BUSH = RegistryKey.unsafeOf("firefly_bush"); + RegistryKey FIREFLY_BUSH = RegistryKey.of("firefly_bush"); - RegistryKey FIREWORK_ROCKET = RegistryKey.unsafeOf("firework_rocket"); + RegistryKey FIREWORK_ROCKET = RegistryKey.of("firework_rocket"); - RegistryKey FIREWORK_STAR = RegistryKey.unsafeOf("firework_star"); + RegistryKey FIREWORK_STAR = RegistryKey.of("firework_star"); - RegistryKey FISHING_ROD = RegistryKey.unsafeOf("fishing_rod"); + RegistryKey FISHING_ROD = RegistryKey.of("fishing_rod"); - RegistryKey FLETCHING_TABLE = RegistryKey.unsafeOf("fletching_table"); + RegistryKey FLETCHING_TABLE = RegistryKey.of("fletching_table"); - RegistryKey FLINT = RegistryKey.unsafeOf("flint"); + RegistryKey FLINT = RegistryKey.of("flint"); - RegistryKey FLINT_AND_STEEL = RegistryKey.unsafeOf("flint_and_steel"); + RegistryKey FLINT_AND_STEEL = RegistryKey.of("flint_and_steel"); - RegistryKey FLOW_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("flow_armor_trim_smithing_template"); + RegistryKey FLOW_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("flow_armor_trim_smithing_template"); - RegistryKey FLOW_BANNER_PATTERN = RegistryKey.unsafeOf("flow_banner_pattern"); + RegistryKey FLOW_BANNER_PATTERN = RegistryKey.of("flow_banner_pattern"); - RegistryKey FLOW_POTTERY_SHERD = RegistryKey.unsafeOf("flow_pottery_sherd"); + RegistryKey FLOW_POTTERY_SHERD = RegistryKey.of("flow_pottery_sherd"); - RegistryKey FLOWER_BANNER_PATTERN = RegistryKey.unsafeOf("flower_banner_pattern"); + RegistryKey FLOWER_BANNER_PATTERN = RegistryKey.of("flower_banner_pattern"); - RegistryKey FLOWER_POT = RegistryKey.unsafeOf("flower_pot"); + RegistryKey FLOWER_POT = RegistryKey.of("flower_pot"); - RegistryKey FLOWERING_AZALEA = RegistryKey.unsafeOf("flowering_azalea"); + RegistryKey FLOWERING_AZALEA = RegistryKey.of("flowering_azalea"); - RegistryKey FLOWERING_AZALEA_LEAVES = RegistryKey.unsafeOf("flowering_azalea_leaves"); + RegistryKey FLOWERING_AZALEA_LEAVES = RegistryKey.of("flowering_azalea_leaves"); - RegistryKey FOX_SPAWN_EGG = RegistryKey.unsafeOf("fox_spawn_egg"); + RegistryKey FOX_SPAWN_EGG = RegistryKey.of("fox_spawn_egg"); - RegistryKey FRIEND_POTTERY_SHERD = RegistryKey.unsafeOf("friend_pottery_sherd"); + RegistryKey FRIEND_POTTERY_SHERD = RegistryKey.of("friend_pottery_sherd"); - RegistryKey FROG_SPAWN_EGG = RegistryKey.unsafeOf("frog_spawn_egg"); + RegistryKey FROG_SPAWN_EGG = RegistryKey.of("frog_spawn_egg"); - RegistryKey FROGSPAWN = RegistryKey.unsafeOf("frogspawn"); + RegistryKey FROGSPAWN = RegistryKey.of("frogspawn"); - RegistryKey FURNACE = RegistryKey.unsafeOf("furnace"); + RegistryKey FURNACE = RegistryKey.of("furnace"); - RegistryKey FURNACE_MINECART = RegistryKey.unsafeOf("furnace_minecart"); + RegistryKey FURNACE_MINECART = RegistryKey.of("furnace_minecart"); - RegistryKey GHAST_SPAWN_EGG = RegistryKey.unsafeOf("ghast_spawn_egg"); + RegistryKey GHAST_SPAWN_EGG = RegistryKey.of("ghast_spawn_egg"); - RegistryKey GHAST_TEAR = RegistryKey.unsafeOf("ghast_tear"); + RegistryKey GHAST_TEAR = RegistryKey.of("ghast_tear"); - RegistryKey GILDED_BLACKSTONE = RegistryKey.unsafeOf("gilded_blackstone"); + RegistryKey GILDED_BLACKSTONE = RegistryKey.of("gilded_blackstone"); - RegistryKey GLASS = RegistryKey.unsafeOf("glass"); + RegistryKey GLASS = RegistryKey.of("glass"); - RegistryKey GLASS_BOTTLE = RegistryKey.unsafeOf("glass_bottle"); + RegistryKey GLASS_BOTTLE = RegistryKey.of("glass_bottle"); - RegistryKey GLASS_PANE = RegistryKey.unsafeOf("glass_pane"); + RegistryKey GLASS_PANE = RegistryKey.of("glass_pane"); - RegistryKey GLISTERING_MELON_SLICE = RegistryKey.unsafeOf("glistering_melon_slice"); + RegistryKey GLISTERING_MELON_SLICE = RegistryKey.of("glistering_melon_slice"); - RegistryKey GLOBE_BANNER_PATTERN = RegistryKey.unsafeOf("globe_banner_pattern"); + RegistryKey GLOBE_BANNER_PATTERN = RegistryKey.of("globe_banner_pattern"); - RegistryKey GLOW_BERRIES = RegistryKey.unsafeOf("glow_berries"); + RegistryKey GLOW_BERRIES = RegistryKey.of("glow_berries"); - RegistryKey GLOW_INK_SAC = RegistryKey.unsafeOf("glow_ink_sac"); + RegistryKey GLOW_INK_SAC = RegistryKey.of("glow_ink_sac"); - RegistryKey GLOW_ITEM_FRAME = RegistryKey.unsafeOf("glow_item_frame"); + RegistryKey GLOW_ITEM_FRAME = RegistryKey.of("glow_item_frame"); - RegistryKey GLOW_LICHEN = RegistryKey.unsafeOf("glow_lichen"); + RegistryKey GLOW_LICHEN = RegistryKey.of("glow_lichen"); - RegistryKey GLOW_SQUID_SPAWN_EGG = RegistryKey.unsafeOf("glow_squid_spawn_egg"); + RegistryKey GLOW_SQUID_SPAWN_EGG = RegistryKey.of("glow_squid_spawn_egg"); - RegistryKey GLOWSTONE = RegistryKey.unsafeOf("glowstone"); + RegistryKey GLOWSTONE = RegistryKey.of("glowstone"); - RegistryKey GLOWSTONE_DUST = RegistryKey.unsafeOf("glowstone_dust"); + RegistryKey GLOWSTONE_DUST = RegistryKey.of("glowstone_dust"); - RegistryKey GOAT_HORN = RegistryKey.unsafeOf("goat_horn"); + RegistryKey GOAT_HORN = RegistryKey.of("goat_horn"); - RegistryKey GOAT_SPAWN_EGG = RegistryKey.unsafeOf("goat_spawn_egg"); + RegistryKey GOAT_SPAWN_EGG = RegistryKey.of("goat_spawn_egg"); - RegistryKey GOLD_BLOCK = RegistryKey.unsafeOf("gold_block"); + RegistryKey GOLD_BLOCK = RegistryKey.of("gold_block"); - RegistryKey GOLD_INGOT = RegistryKey.unsafeOf("gold_ingot"); + RegistryKey GOLD_INGOT = RegistryKey.of("gold_ingot"); - RegistryKey GOLD_NUGGET = RegistryKey.unsafeOf("gold_nugget"); + RegistryKey GOLD_NUGGET = RegistryKey.of("gold_nugget"); - RegistryKey GOLD_ORE = RegistryKey.unsafeOf("gold_ore"); + RegistryKey GOLD_ORE = RegistryKey.of("gold_ore"); - RegistryKey GOLDEN_APPLE = RegistryKey.unsafeOf("golden_apple"); + RegistryKey GOLDEN_APPLE = RegistryKey.of("golden_apple"); - RegistryKey GOLDEN_AXE = RegistryKey.unsafeOf("golden_axe"); + RegistryKey GOLDEN_AXE = RegistryKey.of("golden_axe"); - RegistryKey GOLDEN_BOOTS = RegistryKey.unsafeOf("golden_boots"); + RegistryKey GOLDEN_BOOTS = RegistryKey.of("golden_boots"); - RegistryKey GOLDEN_CARROT = RegistryKey.unsafeOf("golden_carrot"); + RegistryKey GOLDEN_CARROT = RegistryKey.of("golden_carrot"); - RegistryKey GOLDEN_CHESTPLATE = RegistryKey.unsafeOf("golden_chestplate"); + RegistryKey GOLDEN_CHESTPLATE = RegistryKey.of("golden_chestplate"); - RegistryKey GOLDEN_DANDELION = RegistryKey.unsafeOf("golden_dandelion"); + RegistryKey GOLDEN_DANDELION = RegistryKey.of("golden_dandelion"); - RegistryKey GOLDEN_HELMET = RegistryKey.unsafeOf("golden_helmet"); + RegistryKey GOLDEN_HELMET = RegistryKey.of("golden_helmet"); - RegistryKey GOLDEN_HOE = RegistryKey.unsafeOf("golden_hoe"); + RegistryKey GOLDEN_HOE = RegistryKey.of("golden_hoe"); - RegistryKey GOLDEN_HORSE_ARMOR = RegistryKey.unsafeOf("golden_horse_armor"); + RegistryKey GOLDEN_HORSE_ARMOR = RegistryKey.of("golden_horse_armor"); - RegistryKey GOLDEN_LEGGINGS = RegistryKey.unsafeOf("golden_leggings"); + RegistryKey GOLDEN_LEGGINGS = RegistryKey.of("golden_leggings"); - RegistryKey GOLDEN_NAUTILUS_ARMOR = RegistryKey.unsafeOf("golden_nautilus_armor"); + RegistryKey GOLDEN_NAUTILUS_ARMOR = RegistryKey.of("golden_nautilus_armor"); - RegistryKey GOLDEN_PICKAXE = RegistryKey.unsafeOf("golden_pickaxe"); + RegistryKey GOLDEN_PICKAXE = RegistryKey.of("golden_pickaxe"); - RegistryKey GOLDEN_SHOVEL = RegistryKey.unsafeOf("golden_shovel"); + RegistryKey GOLDEN_SHOVEL = RegistryKey.of("golden_shovel"); - RegistryKey GOLDEN_SPEAR = RegistryKey.unsafeOf("golden_spear"); + RegistryKey GOLDEN_SPEAR = RegistryKey.of("golden_spear"); - RegistryKey GOLDEN_SWORD = RegistryKey.unsafeOf("golden_sword"); + RegistryKey GOLDEN_SWORD = RegistryKey.of("golden_sword"); - RegistryKey GRANITE = RegistryKey.unsafeOf("granite"); + RegistryKey GRANITE = RegistryKey.of("granite"); - RegistryKey GRANITE_SLAB = RegistryKey.unsafeOf("granite_slab"); + RegistryKey GRANITE_SLAB = RegistryKey.of("granite_slab"); - RegistryKey GRANITE_STAIRS = RegistryKey.unsafeOf("granite_stairs"); + RegistryKey GRANITE_STAIRS = RegistryKey.of("granite_stairs"); - RegistryKey GRANITE_WALL = RegistryKey.unsafeOf("granite_wall"); + RegistryKey GRANITE_WALL = RegistryKey.of("granite_wall"); - RegistryKey GRASS_BLOCK = RegistryKey.unsafeOf("grass_block"); + RegistryKey GRASS_BLOCK = RegistryKey.of("grass_block"); - RegistryKey GRAVEL = RegistryKey.unsafeOf("gravel"); + RegistryKey GRAVEL = RegistryKey.of("gravel"); - RegistryKey GRAY_BANNER = RegistryKey.unsafeOf("gray_banner"); + RegistryKey GRAY_BANNER = RegistryKey.of("gray_banner"); - RegistryKey GRAY_BED = RegistryKey.unsafeOf("gray_bed"); + RegistryKey GRAY_BED = RegistryKey.of("gray_bed"); - RegistryKey GRAY_BUNDLE = RegistryKey.unsafeOf("gray_bundle"); + RegistryKey GRAY_BUNDLE = RegistryKey.of("gray_bundle"); - RegistryKey GRAY_CANDLE = RegistryKey.unsafeOf("gray_candle"); + RegistryKey GRAY_CANDLE = RegistryKey.of("gray_candle"); - RegistryKey GRAY_CARPET = RegistryKey.unsafeOf("gray_carpet"); + RegistryKey GRAY_CARPET = RegistryKey.of("gray_carpet"); - RegistryKey GRAY_CONCRETE = RegistryKey.unsafeOf("gray_concrete"); + RegistryKey GRAY_CONCRETE = RegistryKey.of("gray_concrete"); - RegistryKey GRAY_CONCRETE_POWDER = RegistryKey.unsafeOf("gray_concrete_powder"); + RegistryKey GRAY_CONCRETE_POWDER = RegistryKey.of("gray_concrete_powder"); - RegistryKey GRAY_DYE = RegistryKey.unsafeOf("gray_dye"); + RegistryKey GRAY_DYE = RegistryKey.of("gray_dye"); - RegistryKey GRAY_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("gray_glazed_terracotta"); + RegistryKey GRAY_GLAZED_TERRACOTTA = RegistryKey.of("gray_glazed_terracotta"); - RegistryKey GRAY_HARNESS = RegistryKey.unsafeOf("gray_harness"); + RegistryKey GRAY_HARNESS = RegistryKey.of("gray_harness"); - RegistryKey GRAY_SHULKER_BOX = RegistryKey.unsafeOf("gray_shulker_box"); + RegistryKey GRAY_SHULKER_BOX = RegistryKey.of("gray_shulker_box"); - RegistryKey GRAY_STAINED_GLASS = RegistryKey.unsafeOf("gray_stained_glass"); + RegistryKey GRAY_STAINED_GLASS = RegistryKey.of("gray_stained_glass"); - RegistryKey GRAY_STAINED_GLASS_PANE = RegistryKey.unsafeOf("gray_stained_glass_pane"); + RegistryKey GRAY_STAINED_GLASS_PANE = RegistryKey.of("gray_stained_glass_pane"); - RegistryKey GRAY_TERRACOTTA = RegistryKey.unsafeOf("gray_terracotta"); + RegistryKey GRAY_TERRACOTTA = RegistryKey.of("gray_terracotta"); - RegistryKey GRAY_WOOL = RegistryKey.unsafeOf("gray_wool"); + RegistryKey GRAY_WOOL = RegistryKey.of("gray_wool"); - RegistryKey GREEN_BANNER = RegistryKey.unsafeOf("green_banner"); + RegistryKey GREEN_BANNER = RegistryKey.of("green_banner"); - RegistryKey GREEN_BED = RegistryKey.unsafeOf("green_bed"); + RegistryKey GREEN_BED = RegistryKey.of("green_bed"); - RegistryKey GREEN_BUNDLE = RegistryKey.unsafeOf("green_bundle"); + RegistryKey GREEN_BUNDLE = RegistryKey.of("green_bundle"); - RegistryKey GREEN_CANDLE = RegistryKey.unsafeOf("green_candle"); + RegistryKey GREEN_CANDLE = RegistryKey.of("green_candle"); - RegistryKey GREEN_CARPET = RegistryKey.unsafeOf("green_carpet"); + RegistryKey GREEN_CARPET = RegistryKey.of("green_carpet"); - RegistryKey GREEN_CONCRETE = RegistryKey.unsafeOf("green_concrete"); + RegistryKey GREEN_CONCRETE = RegistryKey.of("green_concrete"); - RegistryKey GREEN_CONCRETE_POWDER = RegistryKey.unsafeOf("green_concrete_powder"); + RegistryKey GREEN_CONCRETE_POWDER = RegistryKey.of("green_concrete_powder"); - RegistryKey GREEN_DYE = RegistryKey.unsafeOf("green_dye"); + RegistryKey GREEN_DYE = RegistryKey.of("green_dye"); - RegistryKey GREEN_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("green_glazed_terracotta"); + RegistryKey GREEN_GLAZED_TERRACOTTA = RegistryKey.of("green_glazed_terracotta"); - RegistryKey GREEN_HARNESS = RegistryKey.unsafeOf("green_harness"); + RegistryKey GREEN_HARNESS = RegistryKey.of("green_harness"); - RegistryKey GREEN_SHULKER_BOX = RegistryKey.unsafeOf("green_shulker_box"); + RegistryKey GREEN_SHULKER_BOX = RegistryKey.of("green_shulker_box"); - RegistryKey GREEN_STAINED_GLASS = RegistryKey.unsafeOf("green_stained_glass"); + RegistryKey GREEN_STAINED_GLASS = RegistryKey.of("green_stained_glass"); - RegistryKey GREEN_STAINED_GLASS_PANE = RegistryKey.unsafeOf("green_stained_glass_pane"); + RegistryKey GREEN_STAINED_GLASS_PANE = RegistryKey.of("green_stained_glass_pane"); - RegistryKey GREEN_TERRACOTTA = RegistryKey.unsafeOf("green_terracotta"); + RegistryKey GREEN_TERRACOTTA = RegistryKey.of("green_terracotta"); - RegistryKey GREEN_WOOL = RegistryKey.unsafeOf("green_wool"); + RegistryKey GREEN_WOOL = RegistryKey.of("green_wool"); - RegistryKey GRINDSTONE = RegistryKey.unsafeOf("grindstone"); + RegistryKey GRINDSTONE = RegistryKey.of("grindstone"); - RegistryKey GUARDIAN_SPAWN_EGG = RegistryKey.unsafeOf("guardian_spawn_egg"); + RegistryKey GUARDIAN_SPAWN_EGG = RegistryKey.of("guardian_spawn_egg"); - RegistryKey GUNPOWDER = RegistryKey.unsafeOf("gunpowder"); + RegistryKey GUNPOWDER = RegistryKey.of("gunpowder"); - RegistryKey GUSTER_BANNER_PATTERN = RegistryKey.unsafeOf("guster_banner_pattern"); + RegistryKey GUSTER_BANNER_PATTERN = RegistryKey.of("guster_banner_pattern"); - RegistryKey GUSTER_POTTERY_SHERD = RegistryKey.unsafeOf("guster_pottery_sherd"); + RegistryKey GUSTER_POTTERY_SHERD = RegistryKey.of("guster_pottery_sherd"); - RegistryKey HANGING_ROOTS = RegistryKey.unsafeOf("hanging_roots"); + RegistryKey HANGING_ROOTS = RegistryKey.of("hanging_roots"); - RegistryKey HAPPY_GHAST_SPAWN_EGG = RegistryKey.unsafeOf("happy_ghast_spawn_egg"); + RegistryKey HAPPY_GHAST_SPAWN_EGG = RegistryKey.of("happy_ghast_spawn_egg"); - RegistryKey HAY_BLOCK = RegistryKey.unsafeOf("hay_block"); + RegistryKey HAY_BLOCK = RegistryKey.of("hay_block"); - RegistryKey HEART_OF_THE_SEA = RegistryKey.unsafeOf("heart_of_the_sea"); + RegistryKey HEART_OF_THE_SEA = RegistryKey.of("heart_of_the_sea"); - RegistryKey HEART_POTTERY_SHERD = RegistryKey.unsafeOf("heart_pottery_sherd"); + RegistryKey HEART_POTTERY_SHERD = RegistryKey.of("heart_pottery_sherd"); - RegistryKey HEARTBREAK_POTTERY_SHERD = RegistryKey.unsafeOf("heartbreak_pottery_sherd"); + RegistryKey HEARTBREAK_POTTERY_SHERD = RegistryKey.of("heartbreak_pottery_sherd"); - RegistryKey HEAVY_CORE = RegistryKey.unsafeOf("heavy_core"); + RegistryKey HEAVY_CORE = RegistryKey.of("heavy_core"); - RegistryKey HEAVY_WEIGHTED_PRESSURE_PLATE = RegistryKey.unsafeOf("heavy_weighted_pressure_plate"); + RegistryKey HEAVY_WEIGHTED_PRESSURE_PLATE = RegistryKey.of("heavy_weighted_pressure_plate"); - RegistryKey HOGLIN_SPAWN_EGG = RegistryKey.unsafeOf("hoglin_spawn_egg"); + RegistryKey HOGLIN_SPAWN_EGG = RegistryKey.of("hoglin_spawn_egg"); - RegistryKey HONEY_BLOCK = RegistryKey.unsafeOf("honey_block"); + RegistryKey HONEY_BLOCK = RegistryKey.of("honey_block"); - RegistryKey HONEY_BOTTLE = RegistryKey.unsafeOf("honey_bottle"); + RegistryKey HONEY_BOTTLE = RegistryKey.of("honey_bottle"); - RegistryKey HONEYCOMB = RegistryKey.unsafeOf("honeycomb"); + RegistryKey HONEYCOMB = RegistryKey.of("honeycomb"); - RegistryKey HONEYCOMB_BLOCK = RegistryKey.unsafeOf("honeycomb_block"); + RegistryKey HONEYCOMB_BLOCK = RegistryKey.of("honeycomb_block"); - RegistryKey HOPPER = RegistryKey.unsafeOf("hopper"); + RegistryKey HOPPER = RegistryKey.of("hopper"); - RegistryKey HOPPER_MINECART = RegistryKey.unsafeOf("hopper_minecart"); + RegistryKey HOPPER_MINECART = RegistryKey.of("hopper_minecart"); - RegistryKey HORN_CORAL = RegistryKey.unsafeOf("horn_coral"); + RegistryKey HORN_CORAL = RegistryKey.of("horn_coral"); - RegistryKey HORN_CORAL_BLOCK = RegistryKey.unsafeOf("horn_coral_block"); + RegistryKey HORN_CORAL_BLOCK = RegistryKey.of("horn_coral_block"); - RegistryKey HORN_CORAL_FAN = RegistryKey.unsafeOf("horn_coral_fan"); + RegistryKey HORN_CORAL_FAN = RegistryKey.of("horn_coral_fan"); - RegistryKey HORSE_SPAWN_EGG = RegistryKey.unsafeOf("horse_spawn_egg"); + RegistryKey HORSE_SPAWN_EGG = RegistryKey.of("horse_spawn_egg"); - RegistryKey HOST_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("host_armor_trim_smithing_template"); + RegistryKey HOST_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("host_armor_trim_smithing_template"); - RegistryKey HOWL_POTTERY_SHERD = RegistryKey.unsafeOf("howl_pottery_sherd"); + RegistryKey HOWL_POTTERY_SHERD = RegistryKey.of("howl_pottery_sherd"); - RegistryKey HUSK_SPAWN_EGG = RegistryKey.unsafeOf("husk_spawn_egg"); + RegistryKey HUSK_SPAWN_EGG = RegistryKey.of("husk_spawn_egg"); - RegistryKey ICE = RegistryKey.unsafeOf("ice"); + RegistryKey ICE = RegistryKey.of("ice"); - RegistryKey INFESTED_CHISELED_STONE_BRICKS = RegistryKey.unsafeOf("infested_chiseled_stone_bricks"); + RegistryKey INFESTED_CHISELED_STONE_BRICKS = RegistryKey.of("infested_chiseled_stone_bricks"); - RegistryKey INFESTED_COBBLESTONE = RegistryKey.unsafeOf("infested_cobblestone"); + RegistryKey INFESTED_COBBLESTONE = RegistryKey.of("infested_cobblestone"); - RegistryKey INFESTED_CRACKED_STONE_BRICKS = RegistryKey.unsafeOf("infested_cracked_stone_bricks"); + RegistryKey INFESTED_CRACKED_STONE_BRICKS = RegistryKey.of("infested_cracked_stone_bricks"); - RegistryKey INFESTED_DEEPSLATE = RegistryKey.unsafeOf("infested_deepslate"); + RegistryKey INFESTED_DEEPSLATE = RegistryKey.of("infested_deepslate"); - RegistryKey INFESTED_MOSSY_STONE_BRICKS = RegistryKey.unsafeOf("infested_mossy_stone_bricks"); + RegistryKey INFESTED_MOSSY_STONE_BRICKS = RegistryKey.of("infested_mossy_stone_bricks"); - RegistryKey INFESTED_STONE = RegistryKey.unsafeOf("infested_stone"); + RegistryKey INFESTED_STONE = RegistryKey.of("infested_stone"); - RegistryKey INFESTED_STONE_BRICKS = RegistryKey.unsafeOf("infested_stone_bricks"); + RegistryKey INFESTED_STONE_BRICKS = RegistryKey.of("infested_stone_bricks"); - RegistryKey INK_SAC = RegistryKey.unsafeOf("ink_sac"); + RegistryKey INK_SAC = RegistryKey.of("ink_sac"); - RegistryKey IRON_AXE = RegistryKey.unsafeOf("iron_axe"); + RegistryKey IRON_AXE = RegistryKey.of("iron_axe"); - RegistryKey IRON_BARS = RegistryKey.unsafeOf("iron_bars"); + RegistryKey IRON_BARS = RegistryKey.of("iron_bars"); - RegistryKey IRON_BLOCK = RegistryKey.unsafeOf("iron_block"); + RegistryKey IRON_BLOCK = RegistryKey.of("iron_block"); - RegistryKey IRON_BOOTS = RegistryKey.unsafeOf("iron_boots"); + RegistryKey IRON_BOOTS = RegistryKey.of("iron_boots"); - RegistryKey IRON_CHAIN = RegistryKey.unsafeOf("iron_chain"); + RegistryKey IRON_CHAIN = RegistryKey.of("iron_chain"); - RegistryKey IRON_CHESTPLATE = RegistryKey.unsafeOf("iron_chestplate"); + RegistryKey IRON_CHESTPLATE = RegistryKey.of("iron_chestplate"); - RegistryKey IRON_DOOR = RegistryKey.unsafeOf("iron_door"); + RegistryKey IRON_DOOR = RegistryKey.of("iron_door"); - RegistryKey IRON_GOLEM_SPAWN_EGG = RegistryKey.unsafeOf("iron_golem_spawn_egg"); + RegistryKey IRON_GOLEM_SPAWN_EGG = RegistryKey.of("iron_golem_spawn_egg"); - RegistryKey IRON_HELMET = RegistryKey.unsafeOf("iron_helmet"); + RegistryKey IRON_HELMET = RegistryKey.of("iron_helmet"); - RegistryKey IRON_HOE = RegistryKey.unsafeOf("iron_hoe"); + RegistryKey IRON_HOE = RegistryKey.of("iron_hoe"); - RegistryKey IRON_HORSE_ARMOR = RegistryKey.unsafeOf("iron_horse_armor"); + RegistryKey IRON_HORSE_ARMOR = RegistryKey.of("iron_horse_armor"); - RegistryKey IRON_INGOT = RegistryKey.unsafeOf("iron_ingot"); + RegistryKey IRON_INGOT = RegistryKey.of("iron_ingot"); - RegistryKey IRON_LEGGINGS = RegistryKey.unsafeOf("iron_leggings"); + RegistryKey IRON_LEGGINGS = RegistryKey.of("iron_leggings"); - RegistryKey IRON_NAUTILUS_ARMOR = RegistryKey.unsafeOf("iron_nautilus_armor"); + RegistryKey IRON_NAUTILUS_ARMOR = RegistryKey.of("iron_nautilus_armor"); - RegistryKey IRON_NUGGET = RegistryKey.unsafeOf("iron_nugget"); + RegistryKey IRON_NUGGET = RegistryKey.of("iron_nugget"); - RegistryKey IRON_ORE = RegistryKey.unsafeOf("iron_ore"); + RegistryKey IRON_ORE = RegistryKey.of("iron_ore"); - RegistryKey IRON_PICKAXE = RegistryKey.unsafeOf("iron_pickaxe"); + RegistryKey IRON_PICKAXE = RegistryKey.of("iron_pickaxe"); - RegistryKey IRON_SHOVEL = RegistryKey.unsafeOf("iron_shovel"); + RegistryKey IRON_SHOVEL = RegistryKey.of("iron_shovel"); - RegistryKey IRON_SPEAR = RegistryKey.unsafeOf("iron_spear"); + RegistryKey IRON_SPEAR = RegistryKey.of("iron_spear"); - RegistryKey IRON_SWORD = RegistryKey.unsafeOf("iron_sword"); + RegistryKey IRON_SWORD = RegistryKey.of("iron_sword"); - RegistryKey IRON_TRAPDOOR = RegistryKey.unsafeOf("iron_trapdoor"); + RegistryKey IRON_TRAPDOOR = RegistryKey.of("iron_trapdoor"); - RegistryKey ITEM_FRAME = RegistryKey.unsafeOf("item_frame"); + RegistryKey ITEM_FRAME = RegistryKey.of("item_frame"); - RegistryKey JACK_O_LANTERN = RegistryKey.unsafeOf("jack_o_lantern"); + RegistryKey JACK_O_LANTERN = RegistryKey.of("jack_o_lantern"); - RegistryKey JIGSAW = RegistryKey.unsafeOf("jigsaw"); + RegistryKey JIGSAW = RegistryKey.of("jigsaw"); - RegistryKey JUKEBOX = RegistryKey.unsafeOf("jukebox"); + RegistryKey JUKEBOX = RegistryKey.of("jukebox"); - RegistryKey JUNGLE_BOAT = RegistryKey.unsafeOf("jungle_boat"); + RegistryKey JUNGLE_BOAT = RegistryKey.of("jungle_boat"); - RegistryKey JUNGLE_BUTTON = RegistryKey.unsafeOf("jungle_button"); + RegistryKey JUNGLE_BUTTON = RegistryKey.of("jungle_button"); - RegistryKey JUNGLE_CHEST_BOAT = RegistryKey.unsafeOf("jungle_chest_boat"); + RegistryKey JUNGLE_CHEST_BOAT = RegistryKey.of("jungle_chest_boat"); - RegistryKey JUNGLE_DOOR = RegistryKey.unsafeOf("jungle_door"); + RegistryKey JUNGLE_DOOR = RegistryKey.of("jungle_door"); - RegistryKey JUNGLE_FENCE = RegistryKey.unsafeOf("jungle_fence"); + RegistryKey JUNGLE_FENCE = RegistryKey.of("jungle_fence"); - RegistryKey JUNGLE_FENCE_GATE = RegistryKey.unsafeOf("jungle_fence_gate"); + RegistryKey JUNGLE_FENCE_GATE = RegistryKey.of("jungle_fence_gate"); - RegistryKey JUNGLE_HANGING_SIGN = RegistryKey.unsafeOf("jungle_hanging_sign"); + RegistryKey JUNGLE_HANGING_SIGN = RegistryKey.of("jungle_hanging_sign"); - RegistryKey JUNGLE_LEAVES = RegistryKey.unsafeOf("jungle_leaves"); + RegistryKey JUNGLE_LEAVES = RegistryKey.of("jungle_leaves"); - RegistryKey JUNGLE_LOG = RegistryKey.unsafeOf("jungle_log"); + RegistryKey JUNGLE_LOG = RegistryKey.of("jungle_log"); - RegistryKey JUNGLE_PLANKS = RegistryKey.unsafeOf("jungle_planks"); + RegistryKey JUNGLE_PLANKS = RegistryKey.of("jungle_planks"); - RegistryKey JUNGLE_PRESSURE_PLATE = RegistryKey.unsafeOf("jungle_pressure_plate"); + RegistryKey JUNGLE_PRESSURE_PLATE = RegistryKey.of("jungle_pressure_plate"); - RegistryKey JUNGLE_SAPLING = RegistryKey.unsafeOf("jungle_sapling"); + RegistryKey JUNGLE_SAPLING = RegistryKey.of("jungle_sapling"); - RegistryKey JUNGLE_SHELF = RegistryKey.unsafeOf("jungle_shelf"); + RegistryKey JUNGLE_SHELF = RegistryKey.of("jungle_shelf"); - RegistryKey JUNGLE_SIGN = RegistryKey.unsafeOf("jungle_sign"); + RegistryKey JUNGLE_SIGN = RegistryKey.of("jungle_sign"); - RegistryKey JUNGLE_SLAB = RegistryKey.unsafeOf("jungle_slab"); + RegistryKey JUNGLE_SLAB = RegistryKey.of("jungle_slab"); - RegistryKey JUNGLE_STAIRS = RegistryKey.unsafeOf("jungle_stairs"); + RegistryKey JUNGLE_STAIRS = RegistryKey.of("jungle_stairs"); - RegistryKey JUNGLE_TRAPDOOR = RegistryKey.unsafeOf("jungle_trapdoor"); + RegistryKey JUNGLE_TRAPDOOR = RegistryKey.of("jungle_trapdoor"); - RegistryKey JUNGLE_WOOD = RegistryKey.unsafeOf("jungle_wood"); + RegistryKey JUNGLE_WOOD = RegistryKey.of("jungle_wood"); - RegistryKey KELP = RegistryKey.unsafeOf("kelp"); + RegistryKey KELP = RegistryKey.of("kelp"); - RegistryKey KNOWLEDGE_BOOK = RegistryKey.unsafeOf("knowledge_book"); + RegistryKey KNOWLEDGE_BOOK = RegistryKey.of("knowledge_book"); - RegistryKey LADDER = RegistryKey.unsafeOf("ladder"); + RegistryKey LADDER = RegistryKey.of("ladder"); - RegistryKey LANTERN = RegistryKey.unsafeOf("lantern"); + RegistryKey LANTERN = RegistryKey.of("lantern"); - RegistryKey LAPIS_BLOCK = RegistryKey.unsafeOf("lapis_block"); + RegistryKey LAPIS_BLOCK = RegistryKey.of("lapis_block"); - RegistryKey LAPIS_LAZULI = RegistryKey.unsafeOf("lapis_lazuli"); + RegistryKey LAPIS_LAZULI = RegistryKey.of("lapis_lazuli"); - RegistryKey LAPIS_ORE = RegistryKey.unsafeOf("lapis_ore"); + RegistryKey LAPIS_ORE = RegistryKey.of("lapis_ore"); - RegistryKey LARGE_AMETHYST_BUD = RegistryKey.unsafeOf("large_amethyst_bud"); + RegistryKey LARGE_AMETHYST_BUD = RegistryKey.of("large_amethyst_bud"); - RegistryKey LARGE_FERN = RegistryKey.unsafeOf("large_fern"); + RegistryKey LARGE_FERN = RegistryKey.of("large_fern"); - RegistryKey LAVA_BUCKET = RegistryKey.unsafeOf("lava_bucket"); + RegistryKey LAVA_BUCKET = RegistryKey.of("lava_bucket"); - RegistryKey LEAD = RegistryKey.unsafeOf("lead"); + RegistryKey LEAD = RegistryKey.of("lead"); - RegistryKey LEAF_LITTER = RegistryKey.unsafeOf("leaf_litter"); + RegistryKey LEAF_LITTER = RegistryKey.of("leaf_litter"); - RegistryKey LEATHER = RegistryKey.unsafeOf("leather"); + RegistryKey LEATHER = RegistryKey.of("leather"); - RegistryKey LEATHER_BOOTS = RegistryKey.unsafeOf("leather_boots"); + RegistryKey LEATHER_BOOTS = RegistryKey.of("leather_boots"); - RegistryKey LEATHER_CHESTPLATE = RegistryKey.unsafeOf("leather_chestplate"); + RegistryKey LEATHER_CHESTPLATE = RegistryKey.of("leather_chestplate"); - RegistryKey LEATHER_HELMET = RegistryKey.unsafeOf("leather_helmet"); + RegistryKey LEATHER_HELMET = RegistryKey.of("leather_helmet"); - RegistryKey LEATHER_HORSE_ARMOR = RegistryKey.unsafeOf("leather_horse_armor"); + RegistryKey LEATHER_HORSE_ARMOR = RegistryKey.of("leather_horse_armor"); - RegistryKey LEATHER_LEGGINGS = RegistryKey.unsafeOf("leather_leggings"); + RegistryKey LEATHER_LEGGINGS = RegistryKey.of("leather_leggings"); - RegistryKey LECTERN = RegistryKey.unsafeOf("lectern"); + RegistryKey LECTERN = RegistryKey.of("lectern"); - RegistryKey LEVER = RegistryKey.unsafeOf("lever"); + RegistryKey LEVER = RegistryKey.of("lever"); - RegistryKey LIGHT = RegistryKey.unsafeOf("light"); + RegistryKey LIGHT = RegistryKey.of("light"); - RegistryKey LIGHT_BLUE_BANNER = RegistryKey.unsafeOf("light_blue_banner"); + RegistryKey LIGHT_BLUE_BANNER = RegistryKey.of("light_blue_banner"); - RegistryKey LIGHT_BLUE_BED = RegistryKey.unsafeOf("light_blue_bed"); + RegistryKey LIGHT_BLUE_BED = RegistryKey.of("light_blue_bed"); - RegistryKey LIGHT_BLUE_BUNDLE = RegistryKey.unsafeOf("light_blue_bundle"); + RegistryKey LIGHT_BLUE_BUNDLE = RegistryKey.of("light_blue_bundle"); - RegistryKey LIGHT_BLUE_CANDLE = RegistryKey.unsafeOf("light_blue_candle"); + RegistryKey LIGHT_BLUE_CANDLE = RegistryKey.of("light_blue_candle"); - RegistryKey LIGHT_BLUE_CARPET = RegistryKey.unsafeOf("light_blue_carpet"); + RegistryKey LIGHT_BLUE_CARPET = RegistryKey.of("light_blue_carpet"); - RegistryKey LIGHT_BLUE_CONCRETE = RegistryKey.unsafeOf("light_blue_concrete"); + RegistryKey LIGHT_BLUE_CONCRETE = RegistryKey.of("light_blue_concrete"); - RegistryKey LIGHT_BLUE_CONCRETE_POWDER = RegistryKey.unsafeOf("light_blue_concrete_powder"); + RegistryKey LIGHT_BLUE_CONCRETE_POWDER = RegistryKey.of("light_blue_concrete_powder"); - RegistryKey LIGHT_BLUE_DYE = RegistryKey.unsafeOf("light_blue_dye"); + RegistryKey LIGHT_BLUE_DYE = RegistryKey.of("light_blue_dye"); - RegistryKey LIGHT_BLUE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("light_blue_glazed_terracotta"); + RegistryKey LIGHT_BLUE_GLAZED_TERRACOTTA = RegistryKey.of("light_blue_glazed_terracotta"); - RegistryKey LIGHT_BLUE_HARNESS = RegistryKey.unsafeOf("light_blue_harness"); + RegistryKey LIGHT_BLUE_HARNESS = RegistryKey.of("light_blue_harness"); - RegistryKey LIGHT_BLUE_SHULKER_BOX = RegistryKey.unsafeOf("light_blue_shulker_box"); + RegistryKey LIGHT_BLUE_SHULKER_BOX = RegistryKey.of("light_blue_shulker_box"); - RegistryKey LIGHT_BLUE_STAINED_GLASS = RegistryKey.unsafeOf("light_blue_stained_glass"); + RegistryKey LIGHT_BLUE_STAINED_GLASS = RegistryKey.of("light_blue_stained_glass"); - RegistryKey LIGHT_BLUE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("light_blue_stained_glass_pane"); + RegistryKey LIGHT_BLUE_STAINED_GLASS_PANE = RegistryKey.of("light_blue_stained_glass_pane"); - RegistryKey LIGHT_BLUE_TERRACOTTA = RegistryKey.unsafeOf("light_blue_terracotta"); + RegistryKey LIGHT_BLUE_TERRACOTTA = RegistryKey.of("light_blue_terracotta"); - RegistryKey LIGHT_BLUE_WOOL = RegistryKey.unsafeOf("light_blue_wool"); + RegistryKey LIGHT_BLUE_WOOL = RegistryKey.of("light_blue_wool"); - RegistryKey LIGHT_GRAY_BANNER = RegistryKey.unsafeOf("light_gray_banner"); + RegistryKey LIGHT_GRAY_BANNER = RegistryKey.of("light_gray_banner"); - RegistryKey LIGHT_GRAY_BED = RegistryKey.unsafeOf("light_gray_bed"); + RegistryKey LIGHT_GRAY_BED = RegistryKey.of("light_gray_bed"); - RegistryKey LIGHT_GRAY_BUNDLE = RegistryKey.unsafeOf("light_gray_bundle"); + RegistryKey LIGHT_GRAY_BUNDLE = RegistryKey.of("light_gray_bundle"); - RegistryKey LIGHT_GRAY_CANDLE = RegistryKey.unsafeOf("light_gray_candle"); + RegistryKey LIGHT_GRAY_CANDLE = RegistryKey.of("light_gray_candle"); - RegistryKey LIGHT_GRAY_CARPET = RegistryKey.unsafeOf("light_gray_carpet"); + RegistryKey LIGHT_GRAY_CARPET = RegistryKey.of("light_gray_carpet"); - RegistryKey LIGHT_GRAY_CONCRETE = RegistryKey.unsafeOf("light_gray_concrete"); + RegistryKey LIGHT_GRAY_CONCRETE = RegistryKey.of("light_gray_concrete"); - RegistryKey LIGHT_GRAY_CONCRETE_POWDER = RegistryKey.unsafeOf("light_gray_concrete_powder"); + RegistryKey LIGHT_GRAY_CONCRETE_POWDER = RegistryKey.of("light_gray_concrete_powder"); - RegistryKey LIGHT_GRAY_DYE = RegistryKey.unsafeOf("light_gray_dye"); + RegistryKey LIGHT_GRAY_DYE = RegistryKey.of("light_gray_dye"); - RegistryKey LIGHT_GRAY_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("light_gray_glazed_terracotta"); + RegistryKey LIGHT_GRAY_GLAZED_TERRACOTTA = RegistryKey.of("light_gray_glazed_terracotta"); - RegistryKey LIGHT_GRAY_HARNESS = RegistryKey.unsafeOf("light_gray_harness"); + RegistryKey LIGHT_GRAY_HARNESS = RegistryKey.of("light_gray_harness"); - RegistryKey LIGHT_GRAY_SHULKER_BOX = RegistryKey.unsafeOf("light_gray_shulker_box"); + RegistryKey LIGHT_GRAY_SHULKER_BOX = RegistryKey.of("light_gray_shulker_box"); - RegistryKey LIGHT_GRAY_STAINED_GLASS = RegistryKey.unsafeOf("light_gray_stained_glass"); + RegistryKey LIGHT_GRAY_STAINED_GLASS = RegistryKey.of("light_gray_stained_glass"); - RegistryKey LIGHT_GRAY_STAINED_GLASS_PANE = RegistryKey.unsafeOf("light_gray_stained_glass_pane"); + RegistryKey LIGHT_GRAY_STAINED_GLASS_PANE = RegistryKey.of("light_gray_stained_glass_pane"); - RegistryKey LIGHT_GRAY_TERRACOTTA = RegistryKey.unsafeOf("light_gray_terracotta"); + RegistryKey LIGHT_GRAY_TERRACOTTA = RegistryKey.of("light_gray_terracotta"); - RegistryKey LIGHT_GRAY_WOOL = RegistryKey.unsafeOf("light_gray_wool"); + RegistryKey LIGHT_GRAY_WOOL = RegistryKey.of("light_gray_wool"); - RegistryKey LIGHT_WEIGHTED_PRESSURE_PLATE = RegistryKey.unsafeOf("light_weighted_pressure_plate"); + RegistryKey LIGHT_WEIGHTED_PRESSURE_PLATE = RegistryKey.of("light_weighted_pressure_plate"); - RegistryKey LIGHTNING_ROD = RegistryKey.unsafeOf("lightning_rod"); + RegistryKey LIGHTNING_ROD = RegistryKey.of("lightning_rod"); - RegistryKey LILAC = RegistryKey.unsafeOf("lilac"); + RegistryKey LILAC = RegistryKey.of("lilac"); - RegistryKey LILY_OF_THE_VALLEY = RegistryKey.unsafeOf("lily_of_the_valley"); + RegistryKey LILY_OF_THE_VALLEY = RegistryKey.of("lily_of_the_valley"); - RegistryKey LILY_PAD = RegistryKey.unsafeOf("lily_pad"); + RegistryKey LILY_PAD = RegistryKey.of("lily_pad"); - RegistryKey LIME_BANNER = RegistryKey.unsafeOf("lime_banner"); + RegistryKey LIME_BANNER = RegistryKey.of("lime_banner"); - RegistryKey LIME_BED = RegistryKey.unsafeOf("lime_bed"); + RegistryKey LIME_BED = RegistryKey.of("lime_bed"); - RegistryKey LIME_BUNDLE = RegistryKey.unsafeOf("lime_bundle"); + RegistryKey LIME_BUNDLE = RegistryKey.of("lime_bundle"); - RegistryKey LIME_CANDLE = RegistryKey.unsafeOf("lime_candle"); + RegistryKey LIME_CANDLE = RegistryKey.of("lime_candle"); - RegistryKey LIME_CARPET = RegistryKey.unsafeOf("lime_carpet"); + RegistryKey LIME_CARPET = RegistryKey.of("lime_carpet"); - RegistryKey LIME_CONCRETE = RegistryKey.unsafeOf("lime_concrete"); + RegistryKey LIME_CONCRETE = RegistryKey.of("lime_concrete"); - RegistryKey LIME_CONCRETE_POWDER = RegistryKey.unsafeOf("lime_concrete_powder"); + RegistryKey LIME_CONCRETE_POWDER = RegistryKey.of("lime_concrete_powder"); - RegistryKey LIME_DYE = RegistryKey.unsafeOf("lime_dye"); + RegistryKey LIME_DYE = RegistryKey.of("lime_dye"); - RegistryKey LIME_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("lime_glazed_terracotta"); + RegistryKey LIME_GLAZED_TERRACOTTA = RegistryKey.of("lime_glazed_terracotta"); - RegistryKey LIME_HARNESS = RegistryKey.unsafeOf("lime_harness"); + RegistryKey LIME_HARNESS = RegistryKey.of("lime_harness"); - RegistryKey LIME_SHULKER_BOX = RegistryKey.unsafeOf("lime_shulker_box"); + RegistryKey LIME_SHULKER_BOX = RegistryKey.of("lime_shulker_box"); - RegistryKey LIME_STAINED_GLASS = RegistryKey.unsafeOf("lime_stained_glass"); + RegistryKey LIME_STAINED_GLASS = RegistryKey.of("lime_stained_glass"); - RegistryKey LIME_STAINED_GLASS_PANE = RegistryKey.unsafeOf("lime_stained_glass_pane"); + RegistryKey LIME_STAINED_GLASS_PANE = RegistryKey.of("lime_stained_glass_pane"); - RegistryKey LIME_TERRACOTTA = RegistryKey.unsafeOf("lime_terracotta"); + RegistryKey LIME_TERRACOTTA = RegistryKey.of("lime_terracotta"); - RegistryKey LIME_WOOL = RegistryKey.unsafeOf("lime_wool"); + RegistryKey LIME_WOOL = RegistryKey.of("lime_wool"); - RegistryKey LINGERING_POTION = RegistryKey.unsafeOf("lingering_potion"); + RegistryKey LINGERING_POTION = RegistryKey.of("lingering_potion"); - RegistryKey LLAMA_SPAWN_EGG = RegistryKey.unsafeOf("llama_spawn_egg"); + RegistryKey LLAMA_SPAWN_EGG = RegistryKey.of("llama_spawn_egg"); - RegistryKey LODESTONE = RegistryKey.unsafeOf("lodestone"); + RegistryKey LODESTONE = RegistryKey.of("lodestone"); - RegistryKey LOOM = RegistryKey.unsafeOf("loom"); + RegistryKey LOOM = RegistryKey.of("loom"); - RegistryKey MACE = RegistryKey.unsafeOf("mace"); + RegistryKey MACE = RegistryKey.of("mace"); - RegistryKey MAGENTA_BANNER = RegistryKey.unsafeOf("magenta_banner"); + RegistryKey MAGENTA_BANNER = RegistryKey.of("magenta_banner"); - RegistryKey MAGENTA_BED = RegistryKey.unsafeOf("magenta_bed"); + RegistryKey MAGENTA_BED = RegistryKey.of("magenta_bed"); - RegistryKey MAGENTA_BUNDLE = RegistryKey.unsafeOf("magenta_bundle"); + RegistryKey MAGENTA_BUNDLE = RegistryKey.of("magenta_bundle"); - RegistryKey MAGENTA_CANDLE = RegistryKey.unsafeOf("magenta_candle"); + RegistryKey MAGENTA_CANDLE = RegistryKey.of("magenta_candle"); - RegistryKey MAGENTA_CARPET = RegistryKey.unsafeOf("magenta_carpet"); + RegistryKey MAGENTA_CARPET = RegistryKey.of("magenta_carpet"); - RegistryKey MAGENTA_CONCRETE = RegistryKey.unsafeOf("magenta_concrete"); + RegistryKey MAGENTA_CONCRETE = RegistryKey.of("magenta_concrete"); - RegistryKey MAGENTA_CONCRETE_POWDER = RegistryKey.unsafeOf("magenta_concrete_powder"); + RegistryKey MAGENTA_CONCRETE_POWDER = RegistryKey.of("magenta_concrete_powder"); - RegistryKey MAGENTA_DYE = RegistryKey.unsafeOf("magenta_dye"); + RegistryKey MAGENTA_DYE = RegistryKey.of("magenta_dye"); - RegistryKey MAGENTA_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("magenta_glazed_terracotta"); + RegistryKey MAGENTA_GLAZED_TERRACOTTA = RegistryKey.of("magenta_glazed_terracotta"); - RegistryKey MAGENTA_HARNESS = RegistryKey.unsafeOf("magenta_harness"); + RegistryKey MAGENTA_HARNESS = RegistryKey.of("magenta_harness"); - RegistryKey MAGENTA_SHULKER_BOX = RegistryKey.unsafeOf("magenta_shulker_box"); + RegistryKey MAGENTA_SHULKER_BOX = RegistryKey.of("magenta_shulker_box"); - RegistryKey MAGENTA_STAINED_GLASS = RegistryKey.unsafeOf("magenta_stained_glass"); + RegistryKey MAGENTA_STAINED_GLASS = RegistryKey.of("magenta_stained_glass"); - RegistryKey MAGENTA_STAINED_GLASS_PANE = RegistryKey.unsafeOf("magenta_stained_glass_pane"); + RegistryKey MAGENTA_STAINED_GLASS_PANE = RegistryKey.of("magenta_stained_glass_pane"); - RegistryKey MAGENTA_TERRACOTTA = RegistryKey.unsafeOf("magenta_terracotta"); + RegistryKey MAGENTA_TERRACOTTA = RegistryKey.of("magenta_terracotta"); - RegistryKey MAGENTA_WOOL = RegistryKey.unsafeOf("magenta_wool"); + RegistryKey MAGENTA_WOOL = RegistryKey.of("magenta_wool"); - RegistryKey MAGMA_BLOCK = RegistryKey.unsafeOf("magma_block"); + RegistryKey MAGMA_BLOCK = RegistryKey.of("magma_block"); - RegistryKey MAGMA_CREAM = RegistryKey.unsafeOf("magma_cream"); + RegistryKey MAGMA_CREAM = RegistryKey.of("magma_cream"); - RegistryKey MAGMA_CUBE_SPAWN_EGG = RegistryKey.unsafeOf("magma_cube_spawn_egg"); + RegistryKey MAGMA_CUBE_SPAWN_EGG = RegistryKey.of("magma_cube_spawn_egg"); - RegistryKey MANGROVE_BOAT = RegistryKey.unsafeOf("mangrove_boat"); + RegistryKey MANGROVE_BOAT = RegistryKey.of("mangrove_boat"); - RegistryKey MANGROVE_BUTTON = RegistryKey.unsafeOf("mangrove_button"); + RegistryKey MANGROVE_BUTTON = RegistryKey.of("mangrove_button"); - RegistryKey MANGROVE_CHEST_BOAT = RegistryKey.unsafeOf("mangrove_chest_boat"); + RegistryKey MANGROVE_CHEST_BOAT = RegistryKey.of("mangrove_chest_boat"); - RegistryKey MANGROVE_DOOR = RegistryKey.unsafeOf("mangrove_door"); + RegistryKey MANGROVE_DOOR = RegistryKey.of("mangrove_door"); - RegistryKey MANGROVE_FENCE = RegistryKey.unsafeOf("mangrove_fence"); + RegistryKey MANGROVE_FENCE = RegistryKey.of("mangrove_fence"); - RegistryKey MANGROVE_FENCE_GATE = RegistryKey.unsafeOf("mangrove_fence_gate"); + RegistryKey MANGROVE_FENCE_GATE = RegistryKey.of("mangrove_fence_gate"); - RegistryKey MANGROVE_HANGING_SIGN = RegistryKey.unsafeOf("mangrove_hanging_sign"); + RegistryKey MANGROVE_HANGING_SIGN = RegistryKey.of("mangrove_hanging_sign"); - RegistryKey MANGROVE_LEAVES = RegistryKey.unsafeOf("mangrove_leaves"); + RegistryKey MANGROVE_LEAVES = RegistryKey.of("mangrove_leaves"); - RegistryKey MANGROVE_LOG = RegistryKey.unsafeOf("mangrove_log"); + RegistryKey MANGROVE_LOG = RegistryKey.of("mangrove_log"); - RegistryKey MANGROVE_PLANKS = RegistryKey.unsafeOf("mangrove_planks"); + RegistryKey MANGROVE_PLANKS = RegistryKey.of("mangrove_planks"); - RegistryKey MANGROVE_PRESSURE_PLATE = RegistryKey.unsafeOf("mangrove_pressure_plate"); + RegistryKey MANGROVE_PRESSURE_PLATE = RegistryKey.of("mangrove_pressure_plate"); - RegistryKey MANGROVE_PROPAGULE = RegistryKey.unsafeOf("mangrove_propagule"); + RegistryKey MANGROVE_PROPAGULE = RegistryKey.of("mangrove_propagule"); - RegistryKey MANGROVE_ROOTS = RegistryKey.unsafeOf("mangrove_roots"); + RegistryKey MANGROVE_ROOTS = RegistryKey.of("mangrove_roots"); - RegistryKey MANGROVE_SHELF = RegistryKey.unsafeOf("mangrove_shelf"); + RegistryKey MANGROVE_SHELF = RegistryKey.of("mangrove_shelf"); - RegistryKey MANGROVE_SIGN = RegistryKey.unsafeOf("mangrove_sign"); + RegistryKey MANGROVE_SIGN = RegistryKey.of("mangrove_sign"); - RegistryKey MANGROVE_SLAB = RegistryKey.unsafeOf("mangrove_slab"); + RegistryKey MANGROVE_SLAB = RegistryKey.of("mangrove_slab"); - RegistryKey MANGROVE_STAIRS = RegistryKey.unsafeOf("mangrove_stairs"); + RegistryKey MANGROVE_STAIRS = RegistryKey.of("mangrove_stairs"); - RegistryKey MANGROVE_TRAPDOOR = RegistryKey.unsafeOf("mangrove_trapdoor"); + RegistryKey MANGROVE_TRAPDOOR = RegistryKey.of("mangrove_trapdoor"); - RegistryKey MANGROVE_WOOD = RegistryKey.unsafeOf("mangrove_wood"); + RegistryKey MANGROVE_WOOD = RegistryKey.of("mangrove_wood"); - RegistryKey MAP = RegistryKey.unsafeOf("map"); + RegistryKey MAP = RegistryKey.of("map"); - RegistryKey MEDIUM_AMETHYST_BUD = RegistryKey.unsafeOf("medium_amethyst_bud"); + RegistryKey MEDIUM_AMETHYST_BUD = RegistryKey.of("medium_amethyst_bud"); - RegistryKey MELON = RegistryKey.unsafeOf("melon"); + RegistryKey MELON = RegistryKey.of("melon"); - RegistryKey MELON_SEEDS = RegistryKey.unsafeOf("melon_seeds"); + RegistryKey MELON_SEEDS = RegistryKey.of("melon_seeds"); - RegistryKey MELON_SLICE = RegistryKey.unsafeOf("melon_slice"); + RegistryKey MELON_SLICE = RegistryKey.of("melon_slice"); - RegistryKey MILK_BUCKET = RegistryKey.unsafeOf("milk_bucket"); + RegistryKey MILK_BUCKET = RegistryKey.of("milk_bucket"); - RegistryKey MINECART = RegistryKey.unsafeOf("minecart"); + RegistryKey MINECART = RegistryKey.of("minecart"); - RegistryKey MINER_POTTERY_SHERD = RegistryKey.unsafeOf("miner_pottery_sherd"); + RegistryKey MINER_POTTERY_SHERD = RegistryKey.of("miner_pottery_sherd"); - RegistryKey MOJANG_BANNER_PATTERN = RegistryKey.unsafeOf("mojang_banner_pattern"); + RegistryKey MOJANG_BANNER_PATTERN = RegistryKey.of("mojang_banner_pattern"); - RegistryKey MOOSHROOM_SPAWN_EGG = RegistryKey.unsafeOf("mooshroom_spawn_egg"); + RegistryKey MOOSHROOM_SPAWN_EGG = RegistryKey.of("mooshroom_spawn_egg"); - RegistryKey MOSS_BLOCK = RegistryKey.unsafeOf("moss_block"); + RegistryKey MOSS_BLOCK = RegistryKey.of("moss_block"); - RegistryKey MOSS_CARPET = RegistryKey.unsafeOf("moss_carpet"); + RegistryKey MOSS_CARPET = RegistryKey.of("moss_carpet"); - RegistryKey MOSSY_COBBLESTONE = RegistryKey.unsafeOf("mossy_cobblestone"); + RegistryKey MOSSY_COBBLESTONE = RegistryKey.of("mossy_cobblestone"); - RegistryKey MOSSY_COBBLESTONE_SLAB = RegistryKey.unsafeOf("mossy_cobblestone_slab"); + RegistryKey MOSSY_COBBLESTONE_SLAB = RegistryKey.of("mossy_cobblestone_slab"); - RegistryKey MOSSY_COBBLESTONE_STAIRS = RegistryKey.unsafeOf("mossy_cobblestone_stairs"); + RegistryKey MOSSY_COBBLESTONE_STAIRS = RegistryKey.of("mossy_cobblestone_stairs"); - RegistryKey MOSSY_COBBLESTONE_WALL = RegistryKey.unsafeOf("mossy_cobblestone_wall"); + RegistryKey MOSSY_COBBLESTONE_WALL = RegistryKey.of("mossy_cobblestone_wall"); - RegistryKey MOSSY_STONE_BRICK_SLAB = RegistryKey.unsafeOf("mossy_stone_brick_slab"); + RegistryKey MOSSY_STONE_BRICK_SLAB = RegistryKey.of("mossy_stone_brick_slab"); - RegistryKey MOSSY_STONE_BRICK_STAIRS = RegistryKey.unsafeOf("mossy_stone_brick_stairs"); + RegistryKey MOSSY_STONE_BRICK_STAIRS = RegistryKey.of("mossy_stone_brick_stairs"); - RegistryKey MOSSY_STONE_BRICK_WALL = RegistryKey.unsafeOf("mossy_stone_brick_wall"); + RegistryKey MOSSY_STONE_BRICK_WALL = RegistryKey.of("mossy_stone_brick_wall"); - RegistryKey MOSSY_STONE_BRICKS = RegistryKey.unsafeOf("mossy_stone_bricks"); + RegistryKey MOSSY_STONE_BRICKS = RegistryKey.of("mossy_stone_bricks"); - RegistryKey MOURNER_POTTERY_SHERD = RegistryKey.unsafeOf("mourner_pottery_sherd"); + RegistryKey MOURNER_POTTERY_SHERD = RegistryKey.of("mourner_pottery_sherd"); - RegistryKey MUD = RegistryKey.unsafeOf("mud"); + RegistryKey MUD = RegistryKey.of("mud"); - RegistryKey MUD_BRICK_SLAB = RegistryKey.unsafeOf("mud_brick_slab"); + RegistryKey MUD_BRICK_SLAB = RegistryKey.of("mud_brick_slab"); - RegistryKey MUD_BRICK_STAIRS = RegistryKey.unsafeOf("mud_brick_stairs"); + RegistryKey MUD_BRICK_STAIRS = RegistryKey.of("mud_brick_stairs"); - RegistryKey MUD_BRICK_WALL = RegistryKey.unsafeOf("mud_brick_wall"); + RegistryKey MUD_BRICK_WALL = RegistryKey.of("mud_brick_wall"); - RegistryKey MUD_BRICKS = RegistryKey.unsafeOf("mud_bricks"); + RegistryKey MUD_BRICKS = RegistryKey.of("mud_bricks"); - RegistryKey MUDDY_MANGROVE_ROOTS = RegistryKey.unsafeOf("muddy_mangrove_roots"); + RegistryKey MUDDY_MANGROVE_ROOTS = RegistryKey.of("muddy_mangrove_roots"); - RegistryKey MULE_SPAWN_EGG = RegistryKey.unsafeOf("mule_spawn_egg"); + RegistryKey MULE_SPAWN_EGG = RegistryKey.of("mule_spawn_egg"); - RegistryKey MUSHROOM_STEM = RegistryKey.unsafeOf("mushroom_stem"); + RegistryKey MUSHROOM_STEM = RegistryKey.of("mushroom_stem"); - RegistryKey MUSHROOM_STEW = RegistryKey.unsafeOf("mushroom_stew"); + RegistryKey MUSHROOM_STEW = RegistryKey.of("mushroom_stew"); - RegistryKey MUSIC_DISC_11 = RegistryKey.unsafeOf("music_disc_11"); + RegistryKey MUSIC_DISC_11 = RegistryKey.of("music_disc_11"); - RegistryKey MUSIC_DISC_13 = RegistryKey.unsafeOf("music_disc_13"); + RegistryKey MUSIC_DISC_13 = RegistryKey.of("music_disc_13"); - RegistryKey MUSIC_DISC_5 = RegistryKey.unsafeOf("music_disc_5"); + RegistryKey MUSIC_DISC_5 = RegistryKey.of("music_disc_5"); - RegistryKey MUSIC_DISC_BLOCKS = RegistryKey.unsafeOf("music_disc_blocks"); + RegistryKey MUSIC_DISC_BLOCKS = RegistryKey.of("music_disc_blocks"); - RegistryKey MUSIC_DISC_BOUNCE = RegistryKey.unsafeOf("music_disc_bounce"); + RegistryKey MUSIC_DISC_BOUNCE = RegistryKey.of("music_disc_bounce"); - RegistryKey MUSIC_DISC_CAT = RegistryKey.unsafeOf("music_disc_cat"); + RegistryKey MUSIC_DISC_CAT = RegistryKey.of("music_disc_cat"); - RegistryKey MUSIC_DISC_CHIRP = RegistryKey.unsafeOf("music_disc_chirp"); + RegistryKey MUSIC_DISC_CHIRP = RegistryKey.of("music_disc_chirp"); - RegistryKey MUSIC_DISC_CREATOR = RegistryKey.unsafeOf("music_disc_creator"); + RegistryKey MUSIC_DISC_CREATOR = RegistryKey.of("music_disc_creator"); - RegistryKey MUSIC_DISC_CREATOR_MUSIC_BOX = RegistryKey.unsafeOf("music_disc_creator_music_box"); + RegistryKey MUSIC_DISC_CREATOR_MUSIC_BOX = RegistryKey.of("music_disc_creator_music_box"); - RegistryKey MUSIC_DISC_FAR = RegistryKey.unsafeOf("music_disc_far"); + RegistryKey MUSIC_DISC_FAR = RegistryKey.of("music_disc_far"); - RegistryKey MUSIC_DISC_LAVA_CHICKEN = RegistryKey.unsafeOf("music_disc_lava_chicken"); + RegistryKey MUSIC_DISC_LAVA_CHICKEN = RegistryKey.of("music_disc_lava_chicken"); - RegistryKey MUSIC_DISC_MALL = RegistryKey.unsafeOf("music_disc_mall"); + RegistryKey MUSIC_DISC_MALL = RegistryKey.of("music_disc_mall"); - RegistryKey MUSIC_DISC_MELLOHI = RegistryKey.unsafeOf("music_disc_mellohi"); + RegistryKey MUSIC_DISC_MELLOHI = RegistryKey.of("music_disc_mellohi"); - RegistryKey MUSIC_DISC_OTHERSIDE = RegistryKey.unsafeOf("music_disc_otherside"); + RegistryKey MUSIC_DISC_OTHERSIDE = RegistryKey.of("music_disc_otherside"); - RegistryKey MUSIC_DISC_PIGSTEP = RegistryKey.unsafeOf("music_disc_pigstep"); + RegistryKey MUSIC_DISC_PIGSTEP = RegistryKey.of("music_disc_pigstep"); - RegistryKey MUSIC_DISC_PRECIPICE = RegistryKey.unsafeOf("music_disc_precipice"); + RegistryKey MUSIC_DISC_PRECIPICE = RegistryKey.of("music_disc_precipice"); - RegistryKey MUSIC_DISC_RELIC = RegistryKey.unsafeOf("music_disc_relic"); + RegistryKey MUSIC_DISC_RELIC = RegistryKey.of("music_disc_relic"); - RegistryKey MUSIC_DISC_STAL = RegistryKey.unsafeOf("music_disc_stal"); + RegistryKey MUSIC_DISC_STAL = RegistryKey.of("music_disc_stal"); - RegistryKey MUSIC_DISC_STRAD = RegistryKey.unsafeOf("music_disc_strad"); + RegistryKey MUSIC_DISC_STRAD = RegistryKey.of("music_disc_strad"); - RegistryKey MUSIC_DISC_TEARS = RegistryKey.unsafeOf("music_disc_tears"); + RegistryKey MUSIC_DISC_TEARS = RegistryKey.of("music_disc_tears"); - RegistryKey MUSIC_DISC_WAIT = RegistryKey.unsafeOf("music_disc_wait"); + RegistryKey MUSIC_DISC_WAIT = RegistryKey.of("music_disc_wait"); - RegistryKey MUSIC_DISC_WARD = RegistryKey.unsafeOf("music_disc_ward"); + RegistryKey MUSIC_DISC_WARD = RegistryKey.of("music_disc_ward"); - RegistryKey MUTTON = RegistryKey.unsafeOf("mutton"); + RegistryKey MUTTON = RegistryKey.of("mutton"); - RegistryKey MYCELIUM = RegistryKey.unsafeOf("mycelium"); + RegistryKey MYCELIUM = RegistryKey.of("mycelium"); - RegistryKey NAME_TAG = RegistryKey.unsafeOf("name_tag"); + RegistryKey NAME_TAG = RegistryKey.of("name_tag"); - RegistryKey NAUTILUS_SHELL = RegistryKey.unsafeOf("nautilus_shell"); + RegistryKey NAUTILUS_SHELL = RegistryKey.of("nautilus_shell"); - RegistryKey NAUTILUS_SPAWN_EGG = RegistryKey.unsafeOf("nautilus_spawn_egg"); + RegistryKey NAUTILUS_SPAWN_EGG = RegistryKey.of("nautilus_spawn_egg"); - RegistryKey NETHER_BRICK = RegistryKey.unsafeOf("nether_brick"); + RegistryKey NETHER_BRICK = RegistryKey.of("nether_brick"); - RegistryKey NETHER_BRICK_FENCE = RegistryKey.unsafeOf("nether_brick_fence"); + RegistryKey NETHER_BRICK_FENCE = RegistryKey.of("nether_brick_fence"); - RegistryKey NETHER_BRICK_SLAB = RegistryKey.unsafeOf("nether_brick_slab"); + RegistryKey NETHER_BRICK_SLAB = RegistryKey.of("nether_brick_slab"); - RegistryKey NETHER_BRICK_STAIRS = RegistryKey.unsafeOf("nether_brick_stairs"); + RegistryKey NETHER_BRICK_STAIRS = RegistryKey.of("nether_brick_stairs"); - RegistryKey NETHER_BRICK_WALL = RegistryKey.unsafeOf("nether_brick_wall"); + RegistryKey NETHER_BRICK_WALL = RegistryKey.of("nether_brick_wall"); - RegistryKey NETHER_BRICKS = RegistryKey.unsafeOf("nether_bricks"); + RegistryKey NETHER_BRICKS = RegistryKey.of("nether_bricks"); - RegistryKey NETHER_GOLD_ORE = RegistryKey.unsafeOf("nether_gold_ore"); + RegistryKey NETHER_GOLD_ORE = RegistryKey.of("nether_gold_ore"); - RegistryKey NETHER_QUARTZ_ORE = RegistryKey.unsafeOf("nether_quartz_ore"); + RegistryKey NETHER_QUARTZ_ORE = RegistryKey.of("nether_quartz_ore"); - RegistryKey NETHER_SPROUTS = RegistryKey.unsafeOf("nether_sprouts"); + RegistryKey NETHER_SPROUTS = RegistryKey.of("nether_sprouts"); - RegistryKey NETHER_STAR = RegistryKey.unsafeOf("nether_star"); + RegistryKey NETHER_STAR = RegistryKey.of("nether_star"); - RegistryKey NETHER_WART = RegistryKey.unsafeOf("nether_wart"); + RegistryKey NETHER_WART = RegistryKey.of("nether_wart"); - RegistryKey NETHER_WART_BLOCK = RegistryKey.unsafeOf("nether_wart_block"); + RegistryKey NETHER_WART_BLOCK = RegistryKey.of("nether_wart_block"); - RegistryKey NETHERITE_AXE = RegistryKey.unsafeOf("netherite_axe"); + RegistryKey NETHERITE_AXE = RegistryKey.of("netherite_axe"); - RegistryKey NETHERITE_BLOCK = RegistryKey.unsafeOf("netherite_block"); + RegistryKey NETHERITE_BLOCK = RegistryKey.of("netherite_block"); - RegistryKey NETHERITE_BOOTS = RegistryKey.unsafeOf("netherite_boots"); + RegistryKey NETHERITE_BOOTS = RegistryKey.of("netherite_boots"); - RegistryKey NETHERITE_CHESTPLATE = RegistryKey.unsafeOf("netherite_chestplate"); + RegistryKey NETHERITE_CHESTPLATE = RegistryKey.of("netherite_chestplate"); - RegistryKey NETHERITE_HELMET = RegistryKey.unsafeOf("netherite_helmet"); + RegistryKey NETHERITE_HELMET = RegistryKey.of("netherite_helmet"); - RegistryKey NETHERITE_HOE = RegistryKey.unsafeOf("netherite_hoe"); + RegistryKey NETHERITE_HOE = RegistryKey.of("netherite_hoe"); - RegistryKey NETHERITE_HORSE_ARMOR = RegistryKey.unsafeOf("netherite_horse_armor"); + RegistryKey NETHERITE_HORSE_ARMOR = RegistryKey.of("netherite_horse_armor"); - RegistryKey NETHERITE_INGOT = RegistryKey.unsafeOf("netherite_ingot"); + RegistryKey NETHERITE_INGOT = RegistryKey.of("netherite_ingot"); - RegistryKey NETHERITE_LEGGINGS = RegistryKey.unsafeOf("netherite_leggings"); + RegistryKey NETHERITE_LEGGINGS = RegistryKey.of("netherite_leggings"); - RegistryKey NETHERITE_NAUTILUS_ARMOR = RegistryKey.unsafeOf("netherite_nautilus_armor"); + RegistryKey NETHERITE_NAUTILUS_ARMOR = RegistryKey.of("netherite_nautilus_armor"); - RegistryKey NETHERITE_PICKAXE = RegistryKey.unsafeOf("netherite_pickaxe"); + RegistryKey NETHERITE_PICKAXE = RegistryKey.of("netherite_pickaxe"); - RegistryKey NETHERITE_SCRAP = RegistryKey.unsafeOf("netherite_scrap"); + RegistryKey NETHERITE_SCRAP = RegistryKey.of("netherite_scrap"); - RegistryKey NETHERITE_SHOVEL = RegistryKey.unsafeOf("netherite_shovel"); + RegistryKey NETHERITE_SHOVEL = RegistryKey.of("netherite_shovel"); - RegistryKey NETHERITE_SPEAR = RegistryKey.unsafeOf("netherite_spear"); + RegistryKey NETHERITE_SPEAR = RegistryKey.of("netherite_spear"); - RegistryKey NETHERITE_SWORD = RegistryKey.unsafeOf("netherite_sword"); + RegistryKey NETHERITE_SWORD = RegistryKey.of("netherite_sword"); - RegistryKey NETHERITE_UPGRADE_SMITHING_TEMPLATE = RegistryKey.unsafeOf("netherite_upgrade_smithing_template"); + RegistryKey NETHERITE_UPGRADE_SMITHING_TEMPLATE = RegistryKey.of("netherite_upgrade_smithing_template"); - RegistryKey NETHERRACK = RegistryKey.unsafeOf("netherrack"); + RegistryKey NETHERRACK = RegistryKey.of("netherrack"); - RegistryKey NOTE_BLOCK = RegistryKey.unsafeOf("note_block"); + RegistryKey NOTE_BLOCK = RegistryKey.of("note_block"); - RegistryKey OAK_BOAT = RegistryKey.unsafeOf("oak_boat"); + RegistryKey OAK_BOAT = RegistryKey.of("oak_boat"); - RegistryKey OAK_BUTTON = RegistryKey.unsafeOf("oak_button"); + RegistryKey OAK_BUTTON = RegistryKey.of("oak_button"); - RegistryKey OAK_CHEST_BOAT = RegistryKey.unsafeOf("oak_chest_boat"); + RegistryKey OAK_CHEST_BOAT = RegistryKey.of("oak_chest_boat"); - RegistryKey OAK_DOOR = RegistryKey.unsafeOf("oak_door"); + RegistryKey OAK_DOOR = RegistryKey.of("oak_door"); - RegistryKey OAK_FENCE = RegistryKey.unsafeOf("oak_fence"); + RegistryKey OAK_FENCE = RegistryKey.of("oak_fence"); - RegistryKey OAK_FENCE_GATE = RegistryKey.unsafeOf("oak_fence_gate"); + RegistryKey OAK_FENCE_GATE = RegistryKey.of("oak_fence_gate"); - RegistryKey OAK_HANGING_SIGN = RegistryKey.unsafeOf("oak_hanging_sign"); + RegistryKey OAK_HANGING_SIGN = RegistryKey.of("oak_hanging_sign"); - RegistryKey OAK_LEAVES = RegistryKey.unsafeOf("oak_leaves"); + RegistryKey OAK_LEAVES = RegistryKey.of("oak_leaves"); - RegistryKey OAK_LOG = RegistryKey.unsafeOf("oak_log"); + RegistryKey OAK_LOG = RegistryKey.of("oak_log"); - RegistryKey OAK_PLANKS = RegistryKey.unsafeOf("oak_planks"); + RegistryKey OAK_PLANKS = RegistryKey.of("oak_planks"); - RegistryKey OAK_PRESSURE_PLATE = RegistryKey.unsafeOf("oak_pressure_plate"); + RegistryKey OAK_PRESSURE_PLATE = RegistryKey.of("oak_pressure_plate"); - RegistryKey OAK_SAPLING = RegistryKey.unsafeOf("oak_sapling"); + RegistryKey OAK_SAPLING = RegistryKey.of("oak_sapling"); - RegistryKey OAK_SHELF = RegistryKey.unsafeOf("oak_shelf"); + RegistryKey OAK_SHELF = RegistryKey.of("oak_shelf"); - RegistryKey OAK_SIGN = RegistryKey.unsafeOf("oak_sign"); + RegistryKey OAK_SIGN = RegistryKey.of("oak_sign"); - RegistryKey OAK_SLAB = RegistryKey.unsafeOf("oak_slab"); + RegistryKey OAK_SLAB = RegistryKey.of("oak_slab"); - RegistryKey OAK_STAIRS = RegistryKey.unsafeOf("oak_stairs"); + RegistryKey OAK_STAIRS = RegistryKey.of("oak_stairs"); - RegistryKey OAK_TRAPDOOR = RegistryKey.unsafeOf("oak_trapdoor"); + RegistryKey OAK_TRAPDOOR = RegistryKey.of("oak_trapdoor"); - RegistryKey OAK_WOOD = RegistryKey.unsafeOf("oak_wood"); + RegistryKey OAK_WOOD = RegistryKey.of("oak_wood"); - RegistryKey OBSERVER = RegistryKey.unsafeOf("observer"); + RegistryKey OBSERVER = RegistryKey.of("observer"); - RegistryKey OBSIDIAN = RegistryKey.unsafeOf("obsidian"); + RegistryKey OBSIDIAN = RegistryKey.of("obsidian"); - RegistryKey OCELOT_SPAWN_EGG = RegistryKey.unsafeOf("ocelot_spawn_egg"); + RegistryKey OCELOT_SPAWN_EGG = RegistryKey.of("ocelot_spawn_egg"); - RegistryKey OCHRE_FROGLIGHT = RegistryKey.unsafeOf("ochre_froglight"); + RegistryKey OCHRE_FROGLIGHT = RegistryKey.of("ochre_froglight"); - RegistryKey OMINOUS_BOTTLE = RegistryKey.unsafeOf("ominous_bottle"); + RegistryKey OMINOUS_BOTTLE = RegistryKey.of("ominous_bottle"); - RegistryKey OMINOUS_TRIAL_KEY = RegistryKey.unsafeOf("ominous_trial_key"); + RegistryKey OMINOUS_TRIAL_KEY = RegistryKey.of("ominous_trial_key"); - RegistryKey OPEN_EYEBLOSSOM = RegistryKey.unsafeOf("open_eyeblossom"); + RegistryKey OPEN_EYEBLOSSOM = RegistryKey.of("open_eyeblossom"); - RegistryKey ORANGE_BANNER = RegistryKey.unsafeOf("orange_banner"); + RegistryKey ORANGE_BANNER = RegistryKey.of("orange_banner"); - RegistryKey ORANGE_BED = RegistryKey.unsafeOf("orange_bed"); + RegistryKey ORANGE_BED = RegistryKey.of("orange_bed"); - RegistryKey ORANGE_BUNDLE = RegistryKey.unsafeOf("orange_bundle"); + RegistryKey ORANGE_BUNDLE = RegistryKey.of("orange_bundle"); - RegistryKey ORANGE_CANDLE = RegistryKey.unsafeOf("orange_candle"); + RegistryKey ORANGE_CANDLE = RegistryKey.of("orange_candle"); - RegistryKey ORANGE_CARPET = RegistryKey.unsafeOf("orange_carpet"); + RegistryKey ORANGE_CARPET = RegistryKey.of("orange_carpet"); - RegistryKey ORANGE_CONCRETE = RegistryKey.unsafeOf("orange_concrete"); + RegistryKey ORANGE_CONCRETE = RegistryKey.of("orange_concrete"); - RegistryKey ORANGE_CONCRETE_POWDER = RegistryKey.unsafeOf("orange_concrete_powder"); + RegistryKey ORANGE_CONCRETE_POWDER = RegistryKey.of("orange_concrete_powder"); - RegistryKey ORANGE_DYE = RegistryKey.unsafeOf("orange_dye"); + RegistryKey ORANGE_DYE = RegistryKey.of("orange_dye"); - RegistryKey ORANGE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("orange_glazed_terracotta"); + RegistryKey ORANGE_GLAZED_TERRACOTTA = RegistryKey.of("orange_glazed_terracotta"); - RegistryKey ORANGE_HARNESS = RegistryKey.unsafeOf("orange_harness"); + RegistryKey ORANGE_HARNESS = RegistryKey.of("orange_harness"); - RegistryKey ORANGE_SHULKER_BOX = RegistryKey.unsafeOf("orange_shulker_box"); + RegistryKey ORANGE_SHULKER_BOX = RegistryKey.of("orange_shulker_box"); - RegistryKey ORANGE_STAINED_GLASS = RegistryKey.unsafeOf("orange_stained_glass"); + RegistryKey ORANGE_STAINED_GLASS = RegistryKey.of("orange_stained_glass"); - RegistryKey ORANGE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("orange_stained_glass_pane"); + RegistryKey ORANGE_STAINED_GLASS_PANE = RegistryKey.of("orange_stained_glass_pane"); - RegistryKey ORANGE_TERRACOTTA = RegistryKey.unsafeOf("orange_terracotta"); + RegistryKey ORANGE_TERRACOTTA = RegistryKey.of("orange_terracotta"); - RegistryKey ORANGE_TULIP = RegistryKey.unsafeOf("orange_tulip"); + RegistryKey ORANGE_TULIP = RegistryKey.of("orange_tulip"); - RegistryKey ORANGE_WOOL = RegistryKey.unsafeOf("orange_wool"); + RegistryKey ORANGE_WOOL = RegistryKey.of("orange_wool"); - RegistryKey OXEYE_DAISY = RegistryKey.unsafeOf("oxeye_daisy"); + RegistryKey OXEYE_DAISY = RegistryKey.of("oxeye_daisy"); - RegistryKey OXIDIZED_CHISELED_COPPER = RegistryKey.unsafeOf("oxidized_chiseled_copper"); + RegistryKey OXIDIZED_CHISELED_COPPER = RegistryKey.of("oxidized_chiseled_copper"); - RegistryKey OXIDIZED_COPPER = RegistryKey.unsafeOf("oxidized_copper"); + RegistryKey OXIDIZED_COPPER = RegistryKey.of("oxidized_copper"); - RegistryKey OXIDIZED_COPPER_BARS = RegistryKey.unsafeOf("oxidized_copper_bars"); + RegistryKey OXIDIZED_COPPER_BARS = RegistryKey.of("oxidized_copper_bars"); - RegistryKey OXIDIZED_COPPER_BULB = RegistryKey.unsafeOf("oxidized_copper_bulb"); + RegistryKey OXIDIZED_COPPER_BULB = RegistryKey.of("oxidized_copper_bulb"); - RegistryKey OXIDIZED_COPPER_CHAIN = RegistryKey.unsafeOf("oxidized_copper_chain"); + RegistryKey OXIDIZED_COPPER_CHAIN = RegistryKey.of("oxidized_copper_chain"); - RegistryKey OXIDIZED_COPPER_CHEST = RegistryKey.unsafeOf("oxidized_copper_chest"); + RegistryKey OXIDIZED_COPPER_CHEST = RegistryKey.of("oxidized_copper_chest"); - RegistryKey OXIDIZED_COPPER_DOOR = RegistryKey.unsafeOf("oxidized_copper_door"); + RegistryKey OXIDIZED_COPPER_DOOR = RegistryKey.of("oxidized_copper_door"); - RegistryKey OXIDIZED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("oxidized_copper_golem_statue"); + RegistryKey OXIDIZED_COPPER_GOLEM_STATUE = RegistryKey.of("oxidized_copper_golem_statue"); - RegistryKey OXIDIZED_COPPER_GRATE = RegistryKey.unsafeOf("oxidized_copper_grate"); + RegistryKey OXIDIZED_COPPER_GRATE = RegistryKey.of("oxidized_copper_grate"); - RegistryKey OXIDIZED_COPPER_LANTERN = RegistryKey.unsafeOf("oxidized_copper_lantern"); + RegistryKey OXIDIZED_COPPER_LANTERN = RegistryKey.of("oxidized_copper_lantern"); - RegistryKey OXIDIZED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("oxidized_copper_trapdoor"); + RegistryKey OXIDIZED_COPPER_TRAPDOOR = RegistryKey.of("oxidized_copper_trapdoor"); - RegistryKey OXIDIZED_CUT_COPPER = RegistryKey.unsafeOf("oxidized_cut_copper"); + RegistryKey OXIDIZED_CUT_COPPER = RegistryKey.of("oxidized_cut_copper"); - RegistryKey OXIDIZED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("oxidized_cut_copper_slab"); + RegistryKey OXIDIZED_CUT_COPPER_SLAB = RegistryKey.of("oxidized_cut_copper_slab"); - RegistryKey OXIDIZED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("oxidized_cut_copper_stairs"); + RegistryKey OXIDIZED_CUT_COPPER_STAIRS = RegistryKey.of("oxidized_cut_copper_stairs"); - RegistryKey OXIDIZED_LIGHTNING_ROD = RegistryKey.unsafeOf("oxidized_lightning_rod"); + RegistryKey OXIDIZED_LIGHTNING_ROD = RegistryKey.of("oxidized_lightning_rod"); - RegistryKey PACKED_ICE = RegistryKey.unsafeOf("packed_ice"); + RegistryKey PACKED_ICE = RegistryKey.of("packed_ice"); - RegistryKey PACKED_MUD = RegistryKey.unsafeOf("packed_mud"); + RegistryKey PACKED_MUD = RegistryKey.of("packed_mud"); - RegistryKey PAINTING = RegistryKey.unsafeOf("painting"); + RegistryKey PAINTING = RegistryKey.of("painting"); - RegistryKey PALE_HANGING_MOSS = RegistryKey.unsafeOf("pale_hanging_moss"); + RegistryKey PALE_HANGING_MOSS = RegistryKey.of("pale_hanging_moss"); - RegistryKey PALE_MOSS_BLOCK = RegistryKey.unsafeOf("pale_moss_block"); + RegistryKey PALE_MOSS_BLOCK = RegistryKey.of("pale_moss_block"); - RegistryKey PALE_MOSS_CARPET = RegistryKey.unsafeOf("pale_moss_carpet"); + RegistryKey PALE_MOSS_CARPET = RegistryKey.of("pale_moss_carpet"); - RegistryKey PALE_OAK_BOAT = RegistryKey.unsafeOf("pale_oak_boat"); + RegistryKey PALE_OAK_BOAT = RegistryKey.of("pale_oak_boat"); - RegistryKey PALE_OAK_BUTTON = RegistryKey.unsafeOf("pale_oak_button"); + RegistryKey PALE_OAK_BUTTON = RegistryKey.of("pale_oak_button"); - RegistryKey PALE_OAK_CHEST_BOAT = RegistryKey.unsafeOf("pale_oak_chest_boat"); + RegistryKey PALE_OAK_CHEST_BOAT = RegistryKey.of("pale_oak_chest_boat"); - RegistryKey PALE_OAK_DOOR = RegistryKey.unsafeOf("pale_oak_door"); + RegistryKey PALE_OAK_DOOR = RegistryKey.of("pale_oak_door"); - RegistryKey PALE_OAK_FENCE = RegistryKey.unsafeOf("pale_oak_fence"); + RegistryKey PALE_OAK_FENCE = RegistryKey.of("pale_oak_fence"); - RegistryKey PALE_OAK_FENCE_GATE = RegistryKey.unsafeOf("pale_oak_fence_gate"); + RegistryKey PALE_OAK_FENCE_GATE = RegistryKey.of("pale_oak_fence_gate"); - RegistryKey PALE_OAK_HANGING_SIGN = RegistryKey.unsafeOf("pale_oak_hanging_sign"); + RegistryKey PALE_OAK_HANGING_SIGN = RegistryKey.of("pale_oak_hanging_sign"); - RegistryKey PALE_OAK_LEAVES = RegistryKey.unsafeOf("pale_oak_leaves"); + RegistryKey PALE_OAK_LEAVES = RegistryKey.of("pale_oak_leaves"); - RegistryKey PALE_OAK_LOG = RegistryKey.unsafeOf("pale_oak_log"); + RegistryKey PALE_OAK_LOG = RegistryKey.of("pale_oak_log"); - RegistryKey PALE_OAK_PLANKS = RegistryKey.unsafeOf("pale_oak_planks"); + RegistryKey PALE_OAK_PLANKS = RegistryKey.of("pale_oak_planks"); - RegistryKey PALE_OAK_PRESSURE_PLATE = RegistryKey.unsafeOf("pale_oak_pressure_plate"); + RegistryKey PALE_OAK_PRESSURE_PLATE = RegistryKey.of("pale_oak_pressure_plate"); - RegistryKey PALE_OAK_SAPLING = RegistryKey.unsafeOf("pale_oak_sapling"); + RegistryKey PALE_OAK_SAPLING = RegistryKey.of("pale_oak_sapling"); - RegistryKey PALE_OAK_SHELF = RegistryKey.unsafeOf("pale_oak_shelf"); + RegistryKey PALE_OAK_SHELF = RegistryKey.of("pale_oak_shelf"); - RegistryKey PALE_OAK_SIGN = RegistryKey.unsafeOf("pale_oak_sign"); + RegistryKey PALE_OAK_SIGN = RegistryKey.of("pale_oak_sign"); - RegistryKey PALE_OAK_SLAB = RegistryKey.unsafeOf("pale_oak_slab"); + RegistryKey PALE_OAK_SLAB = RegistryKey.of("pale_oak_slab"); - RegistryKey PALE_OAK_STAIRS = RegistryKey.unsafeOf("pale_oak_stairs"); + RegistryKey PALE_OAK_STAIRS = RegistryKey.of("pale_oak_stairs"); - RegistryKey PALE_OAK_TRAPDOOR = RegistryKey.unsafeOf("pale_oak_trapdoor"); + RegistryKey PALE_OAK_TRAPDOOR = RegistryKey.of("pale_oak_trapdoor"); - RegistryKey PALE_OAK_WOOD = RegistryKey.unsafeOf("pale_oak_wood"); + RegistryKey PALE_OAK_WOOD = RegistryKey.of("pale_oak_wood"); - RegistryKey PANDA_SPAWN_EGG = RegistryKey.unsafeOf("panda_spawn_egg"); + RegistryKey PANDA_SPAWN_EGG = RegistryKey.of("panda_spawn_egg"); - RegistryKey PAPER = RegistryKey.unsafeOf("paper"); + RegistryKey PAPER = RegistryKey.of("paper"); - RegistryKey PARCHED_SPAWN_EGG = RegistryKey.unsafeOf("parched_spawn_egg"); + RegistryKey PARCHED_SPAWN_EGG = RegistryKey.of("parched_spawn_egg"); - RegistryKey PARROT_SPAWN_EGG = RegistryKey.unsafeOf("parrot_spawn_egg"); + RegistryKey PARROT_SPAWN_EGG = RegistryKey.of("parrot_spawn_egg"); - RegistryKey PEARLESCENT_FROGLIGHT = RegistryKey.unsafeOf("pearlescent_froglight"); + RegistryKey PEARLESCENT_FROGLIGHT = RegistryKey.of("pearlescent_froglight"); - RegistryKey PEONY = RegistryKey.unsafeOf("peony"); + RegistryKey PEONY = RegistryKey.of("peony"); - RegistryKey PETRIFIED_OAK_SLAB = RegistryKey.unsafeOf("petrified_oak_slab"); + RegistryKey PETRIFIED_OAK_SLAB = RegistryKey.of("petrified_oak_slab"); - RegistryKey PHANTOM_MEMBRANE = RegistryKey.unsafeOf("phantom_membrane"); + RegistryKey PHANTOM_MEMBRANE = RegistryKey.of("phantom_membrane"); - RegistryKey PHANTOM_SPAWN_EGG = RegistryKey.unsafeOf("phantom_spawn_egg"); + RegistryKey PHANTOM_SPAWN_EGG = RegistryKey.of("phantom_spawn_egg"); - RegistryKey PIG_SPAWN_EGG = RegistryKey.unsafeOf("pig_spawn_egg"); + RegistryKey PIG_SPAWN_EGG = RegistryKey.of("pig_spawn_egg"); - RegistryKey PIGLIN_BANNER_PATTERN = RegistryKey.unsafeOf("piglin_banner_pattern"); + RegistryKey PIGLIN_BANNER_PATTERN = RegistryKey.of("piglin_banner_pattern"); - RegistryKey PIGLIN_BRUTE_SPAWN_EGG = RegistryKey.unsafeOf("piglin_brute_spawn_egg"); + RegistryKey PIGLIN_BRUTE_SPAWN_EGG = RegistryKey.of("piglin_brute_spawn_egg"); - RegistryKey PIGLIN_HEAD = RegistryKey.unsafeOf("piglin_head"); + RegistryKey PIGLIN_HEAD = RegistryKey.of("piglin_head"); - RegistryKey PIGLIN_SPAWN_EGG = RegistryKey.unsafeOf("piglin_spawn_egg"); + RegistryKey PIGLIN_SPAWN_EGG = RegistryKey.of("piglin_spawn_egg"); - RegistryKey PILLAGER_SPAWN_EGG = RegistryKey.unsafeOf("pillager_spawn_egg"); + RegistryKey PILLAGER_SPAWN_EGG = RegistryKey.of("pillager_spawn_egg"); - RegistryKey PINK_BANNER = RegistryKey.unsafeOf("pink_banner"); + RegistryKey PINK_BANNER = RegistryKey.of("pink_banner"); - RegistryKey PINK_BED = RegistryKey.unsafeOf("pink_bed"); + RegistryKey PINK_BED = RegistryKey.of("pink_bed"); - RegistryKey PINK_BUNDLE = RegistryKey.unsafeOf("pink_bundle"); + RegistryKey PINK_BUNDLE = RegistryKey.of("pink_bundle"); - RegistryKey PINK_CANDLE = RegistryKey.unsafeOf("pink_candle"); + RegistryKey PINK_CANDLE = RegistryKey.of("pink_candle"); - RegistryKey PINK_CARPET = RegistryKey.unsafeOf("pink_carpet"); + RegistryKey PINK_CARPET = RegistryKey.of("pink_carpet"); - RegistryKey PINK_CONCRETE = RegistryKey.unsafeOf("pink_concrete"); + RegistryKey PINK_CONCRETE = RegistryKey.of("pink_concrete"); - RegistryKey PINK_CONCRETE_POWDER = RegistryKey.unsafeOf("pink_concrete_powder"); + RegistryKey PINK_CONCRETE_POWDER = RegistryKey.of("pink_concrete_powder"); - RegistryKey PINK_DYE = RegistryKey.unsafeOf("pink_dye"); + RegistryKey PINK_DYE = RegistryKey.of("pink_dye"); - RegistryKey PINK_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("pink_glazed_terracotta"); + RegistryKey PINK_GLAZED_TERRACOTTA = RegistryKey.of("pink_glazed_terracotta"); - RegistryKey PINK_HARNESS = RegistryKey.unsafeOf("pink_harness"); + RegistryKey PINK_HARNESS = RegistryKey.of("pink_harness"); - RegistryKey PINK_PETALS = RegistryKey.unsafeOf("pink_petals"); + RegistryKey PINK_PETALS = RegistryKey.of("pink_petals"); - RegistryKey PINK_SHULKER_BOX = RegistryKey.unsafeOf("pink_shulker_box"); + RegistryKey PINK_SHULKER_BOX = RegistryKey.of("pink_shulker_box"); - RegistryKey PINK_STAINED_GLASS = RegistryKey.unsafeOf("pink_stained_glass"); + RegistryKey PINK_STAINED_GLASS = RegistryKey.of("pink_stained_glass"); - RegistryKey PINK_STAINED_GLASS_PANE = RegistryKey.unsafeOf("pink_stained_glass_pane"); + RegistryKey PINK_STAINED_GLASS_PANE = RegistryKey.of("pink_stained_glass_pane"); - RegistryKey PINK_TERRACOTTA = RegistryKey.unsafeOf("pink_terracotta"); + RegistryKey PINK_TERRACOTTA = RegistryKey.of("pink_terracotta"); - RegistryKey PINK_TULIP = RegistryKey.unsafeOf("pink_tulip"); + RegistryKey PINK_TULIP = RegistryKey.of("pink_tulip"); - RegistryKey PINK_WOOL = RegistryKey.unsafeOf("pink_wool"); + RegistryKey PINK_WOOL = RegistryKey.of("pink_wool"); - RegistryKey PISTON = RegistryKey.unsafeOf("piston"); + RegistryKey PISTON = RegistryKey.of("piston"); - RegistryKey PITCHER_PLANT = RegistryKey.unsafeOf("pitcher_plant"); + RegistryKey PITCHER_PLANT = RegistryKey.of("pitcher_plant"); - RegistryKey PITCHER_POD = RegistryKey.unsafeOf("pitcher_pod"); + RegistryKey PITCHER_POD = RegistryKey.of("pitcher_pod"); - RegistryKey PLAYER_HEAD = RegistryKey.unsafeOf("player_head"); + RegistryKey PLAYER_HEAD = RegistryKey.of("player_head"); - RegistryKey PLENTY_POTTERY_SHERD = RegistryKey.unsafeOf("plenty_pottery_sherd"); + RegistryKey PLENTY_POTTERY_SHERD = RegistryKey.of("plenty_pottery_sherd"); - RegistryKey PODZOL = RegistryKey.unsafeOf("podzol"); + RegistryKey PODZOL = RegistryKey.of("podzol"); - RegistryKey POINTED_DRIPSTONE = RegistryKey.unsafeOf("pointed_dripstone"); + RegistryKey POINTED_DRIPSTONE = RegistryKey.of("pointed_dripstone"); - RegistryKey POISONOUS_POTATO = RegistryKey.unsafeOf("poisonous_potato"); + RegistryKey POISONOUS_POTATO = RegistryKey.of("poisonous_potato"); - RegistryKey POLAR_BEAR_SPAWN_EGG = RegistryKey.unsafeOf("polar_bear_spawn_egg"); + RegistryKey POLAR_BEAR_SPAWN_EGG = RegistryKey.of("polar_bear_spawn_egg"); - RegistryKey POLISHED_ANDESITE = RegistryKey.unsafeOf("polished_andesite"); + RegistryKey POLISHED_ANDESITE = RegistryKey.of("polished_andesite"); - RegistryKey POLISHED_ANDESITE_SLAB = RegistryKey.unsafeOf("polished_andesite_slab"); + RegistryKey POLISHED_ANDESITE_SLAB = RegistryKey.of("polished_andesite_slab"); - RegistryKey POLISHED_ANDESITE_STAIRS = RegistryKey.unsafeOf("polished_andesite_stairs"); + RegistryKey POLISHED_ANDESITE_STAIRS = RegistryKey.of("polished_andesite_stairs"); - RegistryKey POLISHED_BASALT = RegistryKey.unsafeOf("polished_basalt"); + RegistryKey POLISHED_BASALT = RegistryKey.of("polished_basalt"); - RegistryKey POLISHED_BLACKSTONE = RegistryKey.unsafeOf("polished_blackstone"); + RegistryKey POLISHED_BLACKSTONE = RegistryKey.of("polished_blackstone"); - RegistryKey POLISHED_BLACKSTONE_BRICK_SLAB = RegistryKey.unsafeOf("polished_blackstone_brick_slab"); + RegistryKey POLISHED_BLACKSTONE_BRICK_SLAB = RegistryKey.of("polished_blackstone_brick_slab"); - RegistryKey POLISHED_BLACKSTONE_BRICK_STAIRS = RegistryKey.unsafeOf("polished_blackstone_brick_stairs"); + RegistryKey POLISHED_BLACKSTONE_BRICK_STAIRS = RegistryKey.of("polished_blackstone_brick_stairs"); - RegistryKey POLISHED_BLACKSTONE_BRICK_WALL = RegistryKey.unsafeOf("polished_blackstone_brick_wall"); + RegistryKey POLISHED_BLACKSTONE_BRICK_WALL = RegistryKey.of("polished_blackstone_brick_wall"); - RegistryKey POLISHED_BLACKSTONE_BRICKS = RegistryKey.unsafeOf("polished_blackstone_bricks"); + RegistryKey POLISHED_BLACKSTONE_BRICKS = RegistryKey.of("polished_blackstone_bricks"); - RegistryKey POLISHED_BLACKSTONE_BUTTON = RegistryKey.unsafeOf("polished_blackstone_button"); + RegistryKey POLISHED_BLACKSTONE_BUTTON = RegistryKey.of("polished_blackstone_button"); - RegistryKey POLISHED_BLACKSTONE_PRESSURE_PLATE = RegistryKey.unsafeOf("polished_blackstone_pressure_plate"); + RegistryKey POLISHED_BLACKSTONE_PRESSURE_PLATE = RegistryKey.of("polished_blackstone_pressure_plate"); - RegistryKey POLISHED_BLACKSTONE_SLAB = RegistryKey.unsafeOf("polished_blackstone_slab"); + RegistryKey POLISHED_BLACKSTONE_SLAB = RegistryKey.of("polished_blackstone_slab"); - RegistryKey POLISHED_BLACKSTONE_STAIRS = RegistryKey.unsafeOf("polished_blackstone_stairs"); + RegistryKey POLISHED_BLACKSTONE_STAIRS = RegistryKey.of("polished_blackstone_stairs"); - RegistryKey POLISHED_BLACKSTONE_WALL = RegistryKey.unsafeOf("polished_blackstone_wall"); + RegistryKey POLISHED_BLACKSTONE_WALL = RegistryKey.of("polished_blackstone_wall"); - RegistryKey POLISHED_CINNABAR = RegistryKey.unsafeOf("polished_cinnabar"); + RegistryKey POLISHED_CINNABAR = RegistryKey.of("polished_cinnabar"); - RegistryKey POLISHED_CINNABAR_SLAB = RegistryKey.unsafeOf("polished_cinnabar_slab"); + RegistryKey POLISHED_CINNABAR_SLAB = RegistryKey.of("polished_cinnabar_slab"); - RegistryKey POLISHED_CINNABAR_STAIRS = RegistryKey.unsafeOf("polished_cinnabar_stairs"); + RegistryKey POLISHED_CINNABAR_STAIRS = RegistryKey.of("polished_cinnabar_stairs"); - RegistryKey POLISHED_CINNABAR_WALL = RegistryKey.unsafeOf("polished_cinnabar_wall"); + RegistryKey POLISHED_CINNABAR_WALL = RegistryKey.of("polished_cinnabar_wall"); - RegistryKey POLISHED_DEEPSLATE = RegistryKey.unsafeOf("polished_deepslate"); + RegistryKey POLISHED_DEEPSLATE = RegistryKey.of("polished_deepslate"); - RegistryKey POLISHED_DEEPSLATE_SLAB = RegistryKey.unsafeOf("polished_deepslate_slab"); + RegistryKey POLISHED_DEEPSLATE_SLAB = RegistryKey.of("polished_deepslate_slab"); - RegistryKey POLISHED_DEEPSLATE_STAIRS = RegistryKey.unsafeOf("polished_deepslate_stairs"); + RegistryKey POLISHED_DEEPSLATE_STAIRS = RegistryKey.of("polished_deepslate_stairs"); - RegistryKey POLISHED_DEEPSLATE_WALL = RegistryKey.unsafeOf("polished_deepslate_wall"); + RegistryKey POLISHED_DEEPSLATE_WALL = RegistryKey.of("polished_deepslate_wall"); - RegistryKey POLISHED_DIORITE = RegistryKey.unsafeOf("polished_diorite"); + RegistryKey POLISHED_DIORITE = RegistryKey.of("polished_diorite"); - RegistryKey POLISHED_DIORITE_SLAB = RegistryKey.unsafeOf("polished_diorite_slab"); + RegistryKey POLISHED_DIORITE_SLAB = RegistryKey.of("polished_diorite_slab"); - RegistryKey POLISHED_DIORITE_STAIRS = RegistryKey.unsafeOf("polished_diorite_stairs"); + RegistryKey POLISHED_DIORITE_STAIRS = RegistryKey.of("polished_diorite_stairs"); - RegistryKey POLISHED_GRANITE = RegistryKey.unsafeOf("polished_granite"); + RegistryKey POLISHED_GRANITE = RegistryKey.of("polished_granite"); - RegistryKey POLISHED_GRANITE_SLAB = RegistryKey.unsafeOf("polished_granite_slab"); + RegistryKey POLISHED_GRANITE_SLAB = RegistryKey.of("polished_granite_slab"); - RegistryKey POLISHED_GRANITE_STAIRS = RegistryKey.unsafeOf("polished_granite_stairs"); + RegistryKey POLISHED_GRANITE_STAIRS = RegistryKey.of("polished_granite_stairs"); - RegistryKey POLISHED_SULFUR = RegistryKey.unsafeOf("polished_sulfur"); + RegistryKey POLISHED_SULFUR = RegistryKey.of("polished_sulfur"); - RegistryKey POLISHED_SULFUR_SLAB = RegistryKey.unsafeOf("polished_sulfur_slab"); + RegistryKey POLISHED_SULFUR_SLAB = RegistryKey.of("polished_sulfur_slab"); - RegistryKey POLISHED_SULFUR_STAIRS = RegistryKey.unsafeOf("polished_sulfur_stairs"); + RegistryKey POLISHED_SULFUR_STAIRS = RegistryKey.of("polished_sulfur_stairs"); - RegistryKey POLISHED_SULFUR_WALL = RegistryKey.unsafeOf("polished_sulfur_wall"); + RegistryKey POLISHED_SULFUR_WALL = RegistryKey.of("polished_sulfur_wall"); - RegistryKey POLISHED_TUFF = RegistryKey.unsafeOf("polished_tuff"); + RegistryKey POLISHED_TUFF = RegistryKey.of("polished_tuff"); - RegistryKey POLISHED_TUFF_SLAB = RegistryKey.unsafeOf("polished_tuff_slab"); + RegistryKey POLISHED_TUFF_SLAB = RegistryKey.of("polished_tuff_slab"); - RegistryKey POLISHED_TUFF_STAIRS = RegistryKey.unsafeOf("polished_tuff_stairs"); + RegistryKey POLISHED_TUFF_STAIRS = RegistryKey.of("polished_tuff_stairs"); - RegistryKey POLISHED_TUFF_WALL = RegistryKey.unsafeOf("polished_tuff_wall"); + RegistryKey POLISHED_TUFF_WALL = RegistryKey.of("polished_tuff_wall"); - RegistryKey POPPED_CHORUS_FRUIT = RegistryKey.unsafeOf("popped_chorus_fruit"); + RegistryKey POPPED_CHORUS_FRUIT = RegistryKey.of("popped_chorus_fruit"); - RegistryKey POPPY = RegistryKey.unsafeOf("poppy"); + RegistryKey POPPY = RegistryKey.of("poppy"); - RegistryKey PORKCHOP = RegistryKey.unsafeOf("porkchop"); + RegistryKey PORKCHOP = RegistryKey.of("porkchop"); - RegistryKey POTATO = RegistryKey.unsafeOf("potato"); + RegistryKey POTATO = RegistryKey.of("potato"); - RegistryKey POTENT_SULFUR = RegistryKey.unsafeOf("potent_sulfur"); + RegistryKey POTENT_SULFUR = RegistryKey.of("potent_sulfur"); - RegistryKey POTION = RegistryKey.unsafeOf("potion"); + RegistryKey POTION = RegistryKey.of("potion"); - RegistryKey POWDER_SNOW_BUCKET = RegistryKey.unsafeOf("powder_snow_bucket"); + RegistryKey POWDER_SNOW_BUCKET = RegistryKey.of("powder_snow_bucket"); - RegistryKey POWERED_RAIL = RegistryKey.unsafeOf("powered_rail"); + RegistryKey POWERED_RAIL = RegistryKey.of("powered_rail"); - RegistryKey PRISMARINE = RegistryKey.unsafeOf("prismarine"); + RegistryKey PRISMARINE = RegistryKey.of("prismarine"); - RegistryKey PRISMARINE_BRICK_SLAB = RegistryKey.unsafeOf("prismarine_brick_slab"); + RegistryKey PRISMARINE_BRICK_SLAB = RegistryKey.of("prismarine_brick_slab"); - RegistryKey PRISMARINE_BRICK_STAIRS = RegistryKey.unsafeOf("prismarine_brick_stairs"); + RegistryKey PRISMARINE_BRICK_STAIRS = RegistryKey.of("prismarine_brick_stairs"); - RegistryKey PRISMARINE_BRICKS = RegistryKey.unsafeOf("prismarine_bricks"); + RegistryKey PRISMARINE_BRICKS = RegistryKey.of("prismarine_bricks"); - RegistryKey PRISMARINE_CRYSTALS = RegistryKey.unsafeOf("prismarine_crystals"); + RegistryKey PRISMARINE_CRYSTALS = RegistryKey.of("prismarine_crystals"); - RegistryKey PRISMARINE_SHARD = RegistryKey.unsafeOf("prismarine_shard"); + RegistryKey PRISMARINE_SHARD = RegistryKey.of("prismarine_shard"); - RegistryKey PRISMARINE_SLAB = RegistryKey.unsafeOf("prismarine_slab"); + RegistryKey PRISMARINE_SLAB = RegistryKey.of("prismarine_slab"); - RegistryKey PRISMARINE_STAIRS = RegistryKey.unsafeOf("prismarine_stairs"); + RegistryKey PRISMARINE_STAIRS = RegistryKey.of("prismarine_stairs"); - RegistryKey PRISMARINE_WALL = RegistryKey.unsafeOf("prismarine_wall"); + RegistryKey PRISMARINE_WALL = RegistryKey.of("prismarine_wall"); - RegistryKey PRIZE_POTTERY_SHERD = RegistryKey.unsafeOf("prize_pottery_sherd"); + RegistryKey PRIZE_POTTERY_SHERD = RegistryKey.of("prize_pottery_sherd"); - RegistryKey PUFFERFISH = RegistryKey.unsafeOf("pufferfish"); + RegistryKey PUFFERFISH = RegistryKey.of("pufferfish"); - RegistryKey PUFFERFISH_BUCKET = RegistryKey.unsafeOf("pufferfish_bucket"); + RegistryKey PUFFERFISH_BUCKET = RegistryKey.of("pufferfish_bucket"); - RegistryKey PUFFERFISH_SPAWN_EGG = RegistryKey.unsafeOf("pufferfish_spawn_egg"); + RegistryKey PUFFERFISH_SPAWN_EGG = RegistryKey.of("pufferfish_spawn_egg"); - RegistryKey PUMPKIN = RegistryKey.unsafeOf("pumpkin"); + RegistryKey PUMPKIN = RegistryKey.of("pumpkin"); - RegistryKey PUMPKIN_PIE = RegistryKey.unsafeOf("pumpkin_pie"); + RegistryKey PUMPKIN_PIE = RegistryKey.of("pumpkin_pie"); - RegistryKey PUMPKIN_SEEDS = RegistryKey.unsafeOf("pumpkin_seeds"); + RegistryKey PUMPKIN_SEEDS = RegistryKey.of("pumpkin_seeds"); - RegistryKey PURPLE_BANNER = RegistryKey.unsafeOf("purple_banner"); + RegistryKey PURPLE_BANNER = RegistryKey.of("purple_banner"); - RegistryKey PURPLE_BED = RegistryKey.unsafeOf("purple_bed"); + RegistryKey PURPLE_BED = RegistryKey.of("purple_bed"); - RegistryKey PURPLE_BUNDLE = RegistryKey.unsafeOf("purple_bundle"); + RegistryKey PURPLE_BUNDLE = RegistryKey.of("purple_bundle"); - RegistryKey PURPLE_CANDLE = RegistryKey.unsafeOf("purple_candle"); + RegistryKey PURPLE_CANDLE = RegistryKey.of("purple_candle"); - RegistryKey PURPLE_CARPET = RegistryKey.unsafeOf("purple_carpet"); + RegistryKey PURPLE_CARPET = RegistryKey.of("purple_carpet"); - RegistryKey PURPLE_CONCRETE = RegistryKey.unsafeOf("purple_concrete"); + RegistryKey PURPLE_CONCRETE = RegistryKey.of("purple_concrete"); - RegistryKey PURPLE_CONCRETE_POWDER = RegistryKey.unsafeOf("purple_concrete_powder"); + RegistryKey PURPLE_CONCRETE_POWDER = RegistryKey.of("purple_concrete_powder"); - RegistryKey PURPLE_DYE = RegistryKey.unsafeOf("purple_dye"); + RegistryKey PURPLE_DYE = RegistryKey.of("purple_dye"); - RegistryKey PURPLE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("purple_glazed_terracotta"); + RegistryKey PURPLE_GLAZED_TERRACOTTA = RegistryKey.of("purple_glazed_terracotta"); - RegistryKey PURPLE_HARNESS = RegistryKey.unsafeOf("purple_harness"); + RegistryKey PURPLE_HARNESS = RegistryKey.of("purple_harness"); - RegistryKey PURPLE_SHULKER_BOX = RegistryKey.unsafeOf("purple_shulker_box"); + RegistryKey PURPLE_SHULKER_BOX = RegistryKey.of("purple_shulker_box"); - RegistryKey PURPLE_STAINED_GLASS = RegistryKey.unsafeOf("purple_stained_glass"); + RegistryKey PURPLE_STAINED_GLASS = RegistryKey.of("purple_stained_glass"); - RegistryKey PURPLE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("purple_stained_glass_pane"); + RegistryKey PURPLE_STAINED_GLASS_PANE = RegistryKey.of("purple_stained_glass_pane"); - RegistryKey PURPLE_TERRACOTTA = RegistryKey.unsafeOf("purple_terracotta"); + RegistryKey PURPLE_TERRACOTTA = RegistryKey.of("purple_terracotta"); - RegistryKey PURPLE_WOOL = RegistryKey.unsafeOf("purple_wool"); + RegistryKey PURPLE_WOOL = RegistryKey.of("purple_wool"); - RegistryKey PURPUR_BLOCK = RegistryKey.unsafeOf("purpur_block"); + RegistryKey PURPUR_BLOCK = RegistryKey.of("purpur_block"); - RegistryKey PURPUR_PILLAR = RegistryKey.unsafeOf("purpur_pillar"); + RegistryKey PURPUR_PILLAR = RegistryKey.of("purpur_pillar"); - RegistryKey PURPUR_SLAB = RegistryKey.unsafeOf("purpur_slab"); + RegistryKey PURPUR_SLAB = RegistryKey.of("purpur_slab"); - RegistryKey PURPUR_STAIRS = RegistryKey.unsafeOf("purpur_stairs"); + RegistryKey PURPUR_STAIRS = RegistryKey.of("purpur_stairs"); - RegistryKey QUARTZ = RegistryKey.unsafeOf("quartz"); + RegistryKey QUARTZ = RegistryKey.of("quartz"); - RegistryKey QUARTZ_BLOCK = RegistryKey.unsafeOf("quartz_block"); + RegistryKey QUARTZ_BLOCK = RegistryKey.of("quartz_block"); - RegistryKey QUARTZ_BRICKS = RegistryKey.unsafeOf("quartz_bricks"); + RegistryKey QUARTZ_BRICKS = RegistryKey.of("quartz_bricks"); - RegistryKey QUARTZ_PILLAR = RegistryKey.unsafeOf("quartz_pillar"); + RegistryKey QUARTZ_PILLAR = RegistryKey.of("quartz_pillar"); - RegistryKey QUARTZ_SLAB = RegistryKey.unsafeOf("quartz_slab"); + RegistryKey QUARTZ_SLAB = RegistryKey.of("quartz_slab"); - RegistryKey QUARTZ_STAIRS = RegistryKey.unsafeOf("quartz_stairs"); + RegistryKey QUARTZ_STAIRS = RegistryKey.of("quartz_stairs"); - RegistryKey RABBIT = RegistryKey.unsafeOf("rabbit"); + RegistryKey RABBIT = RegistryKey.of("rabbit"); - RegistryKey RABBIT_FOOT = RegistryKey.unsafeOf("rabbit_foot"); + RegistryKey RABBIT_FOOT = RegistryKey.of("rabbit_foot"); - RegistryKey RABBIT_HIDE = RegistryKey.unsafeOf("rabbit_hide"); + RegistryKey RABBIT_HIDE = RegistryKey.of("rabbit_hide"); - RegistryKey RABBIT_SPAWN_EGG = RegistryKey.unsafeOf("rabbit_spawn_egg"); + RegistryKey RABBIT_SPAWN_EGG = RegistryKey.of("rabbit_spawn_egg"); - RegistryKey RABBIT_STEW = RegistryKey.unsafeOf("rabbit_stew"); + RegistryKey RABBIT_STEW = RegistryKey.of("rabbit_stew"); - RegistryKey RAIL = RegistryKey.unsafeOf("rail"); + RegistryKey RAIL = RegistryKey.of("rail"); - RegistryKey RAISER_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("raiser_armor_trim_smithing_template"); + RegistryKey RAISER_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("raiser_armor_trim_smithing_template"); - RegistryKey RAVAGER_SPAWN_EGG = RegistryKey.unsafeOf("ravager_spawn_egg"); + RegistryKey RAVAGER_SPAWN_EGG = RegistryKey.of("ravager_spawn_egg"); - RegistryKey RAW_COPPER = RegistryKey.unsafeOf("raw_copper"); + RegistryKey RAW_COPPER = RegistryKey.of("raw_copper"); - RegistryKey RAW_COPPER_BLOCK = RegistryKey.unsafeOf("raw_copper_block"); + RegistryKey RAW_COPPER_BLOCK = RegistryKey.of("raw_copper_block"); - RegistryKey RAW_GOLD = RegistryKey.unsafeOf("raw_gold"); + RegistryKey RAW_GOLD = RegistryKey.of("raw_gold"); - RegistryKey RAW_GOLD_BLOCK = RegistryKey.unsafeOf("raw_gold_block"); + RegistryKey RAW_GOLD_BLOCK = RegistryKey.of("raw_gold_block"); - RegistryKey RAW_IRON = RegistryKey.unsafeOf("raw_iron"); + RegistryKey RAW_IRON = RegistryKey.of("raw_iron"); - RegistryKey RAW_IRON_BLOCK = RegistryKey.unsafeOf("raw_iron_block"); + RegistryKey RAW_IRON_BLOCK = RegistryKey.of("raw_iron_block"); - RegistryKey RECOVERY_COMPASS = RegistryKey.unsafeOf("recovery_compass"); + RegistryKey RECOVERY_COMPASS = RegistryKey.of("recovery_compass"); - RegistryKey RED_BANNER = RegistryKey.unsafeOf("red_banner"); + RegistryKey RED_BANNER = RegistryKey.of("red_banner"); - RegistryKey RED_BED = RegistryKey.unsafeOf("red_bed"); + RegistryKey RED_BED = RegistryKey.of("red_bed"); - RegistryKey RED_BUNDLE = RegistryKey.unsafeOf("red_bundle"); + RegistryKey RED_BUNDLE = RegistryKey.of("red_bundle"); - RegistryKey RED_CANDLE = RegistryKey.unsafeOf("red_candle"); + RegistryKey RED_CANDLE = RegistryKey.of("red_candle"); - RegistryKey RED_CARPET = RegistryKey.unsafeOf("red_carpet"); + RegistryKey RED_CARPET = RegistryKey.of("red_carpet"); - RegistryKey RED_CONCRETE = RegistryKey.unsafeOf("red_concrete"); + RegistryKey RED_CONCRETE = RegistryKey.of("red_concrete"); - RegistryKey RED_CONCRETE_POWDER = RegistryKey.unsafeOf("red_concrete_powder"); + RegistryKey RED_CONCRETE_POWDER = RegistryKey.of("red_concrete_powder"); - RegistryKey RED_DYE = RegistryKey.unsafeOf("red_dye"); + RegistryKey RED_DYE = RegistryKey.of("red_dye"); - RegistryKey RED_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("red_glazed_terracotta"); + RegistryKey RED_GLAZED_TERRACOTTA = RegistryKey.of("red_glazed_terracotta"); - RegistryKey RED_HARNESS = RegistryKey.unsafeOf("red_harness"); + RegistryKey RED_HARNESS = RegistryKey.of("red_harness"); - RegistryKey RED_MUSHROOM = RegistryKey.unsafeOf("red_mushroom"); + RegistryKey RED_MUSHROOM = RegistryKey.of("red_mushroom"); - RegistryKey RED_MUSHROOM_BLOCK = RegistryKey.unsafeOf("red_mushroom_block"); + RegistryKey RED_MUSHROOM_BLOCK = RegistryKey.of("red_mushroom_block"); - RegistryKey RED_NETHER_BRICK_SLAB = RegistryKey.unsafeOf("red_nether_brick_slab"); + RegistryKey RED_NETHER_BRICK_SLAB = RegistryKey.of("red_nether_brick_slab"); - RegistryKey RED_NETHER_BRICK_STAIRS = RegistryKey.unsafeOf("red_nether_brick_stairs"); + RegistryKey RED_NETHER_BRICK_STAIRS = RegistryKey.of("red_nether_brick_stairs"); - RegistryKey RED_NETHER_BRICK_WALL = RegistryKey.unsafeOf("red_nether_brick_wall"); + RegistryKey RED_NETHER_BRICK_WALL = RegistryKey.of("red_nether_brick_wall"); - RegistryKey RED_NETHER_BRICKS = RegistryKey.unsafeOf("red_nether_bricks"); + RegistryKey RED_NETHER_BRICKS = RegistryKey.of("red_nether_bricks"); - RegistryKey RED_SAND = RegistryKey.unsafeOf("red_sand"); + RegistryKey RED_SAND = RegistryKey.of("red_sand"); - RegistryKey RED_SANDSTONE = RegistryKey.unsafeOf("red_sandstone"); + RegistryKey RED_SANDSTONE = RegistryKey.of("red_sandstone"); - RegistryKey RED_SANDSTONE_SLAB = RegistryKey.unsafeOf("red_sandstone_slab"); + RegistryKey RED_SANDSTONE_SLAB = RegistryKey.of("red_sandstone_slab"); - RegistryKey RED_SANDSTONE_STAIRS = RegistryKey.unsafeOf("red_sandstone_stairs"); + RegistryKey RED_SANDSTONE_STAIRS = RegistryKey.of("red_sandstone_stairs"); - RegistryKey RED_SANDSTONE_WALL = RegistryKey.unsafeOf("red_sandstone_wall"); + RegistryKey RED_SANDSTONE_WALL = RegistryKey.of("red_sandstone_wall"); - RegistryKey RED_SHULKER_BOX = RegistryKey.unsafeOf("red_shulker_box"); + RegistryKey RED_SHULKER_BOX = RegistryKey.of("red_shulker_box"); - RegistryKey RED_STAINED_GLASS = RegistryKey.unsafeOf("red_stained_glass"); + RegistryKey RED_STAINED_GLASS = RegistryKey.of("red_stained_glass"); - RegistryKey RED_STAINED_GLASS_PANE = RegistryKey.unsafeOf("red_stained_glass_pane"); + RegistryKey RED_STAINED_GLASS_PANE = RegistryKey.of("red_stained_glass_pane"); - RegistryKey RED_TERRACOTTA = RegistryKey.unsafeOf("red_terracotta"); + RegistryKey RED_TERRACOTTA = RegistryKey.of("red_terracotta"); - RegistryKey RED_TULIP = RegistryKey.unsafeOf("red_tulip"); + RegistryKey RED_TULIP = RegistryKey.of("red_tulip"); - RegistryKey RED_WOOL = RegistryKey.unsafeOf("red_wool"); + RegistryKey RED_WOOL = RegistryKey.of("red_wool"); - RegistryKey REDSTONE = RegistryKey.unsafeOf("redstone"); + RegistryKey REDSTONE = RegistryKey.of("redstone"); - RegistryKey REDSTONE_BLOCK = RegistryKey.unsafeOf("redstone_block"); + RegistryKey REDSTONE_BLOCK = RegistryKey.of("redstone_block"); - RegistryKey REDSTONE_LAMP = RegistryKey.unsafeOf("redstone_lamp"); + RegistryKey REDSTONE_LAMP = RegistryKey.of("redstone_lamp"); - RegistryKey REDSTONE_ORE = RegistryKey.unsafeOf("redstone_ore"); + RegistryKey REDSTONE_ORE = RegistryKey.of("redstone_ore"); - RegistryKey REDSTONE_TORCH = RegistryKey.unsafeOf("redstone_torch"); + RegistryKey REDSTONE_TORCH = RegistryKey.of("redstone_torch"); - RegistryKey REINFORCED_DEEPSLATE = RegistryKey.unsafeOf("reinforced_deepslate"); + RegistryKey REINFORCED_DEEPSLATE = RegistryKey.of("reinforced_deepslate"); - RegistryKey REPEATER = RegistryKey.unsafeOf("repeater"); + RegistryKey REPEATER = RegistryKey.of("repeater"); - RegistryKey REPEATING_COMMAND_BLOCK = RegistryKey.unsafeOf("repeating_command_block"); + RegistryKey REPEATING_COMMAND_BLOCK = RegistryKey.of("repeating_command_block"); - RegistryKey RESIN_BLOCK = RegistryKey.unsafeOf("resin_block"); + RegistryKey RESIN_BLOCK = RegistryKey.of("resin_block"); - RegistryKey RESIN_BRICK = RegistryKey.unsafeOf("resin_brick"); + RegistryKey RESIN_BRICK = RegistryKey.of("resin_brick"); - RegistryKey RESIN_BRICK_SLAB = RegistryKey.unsafeOf("resin_brick_slab"); + RegistryKey RESIN_BRICK_SLAB = RegistryKey.of("resin_brick_slab"); - RegistryKey RESIN_BRICK_STAIRS = RegistryKey.unsafeOf("resin_brick_stairs"); + RegistryKey RESIN_BRICK_STAIRS = RegistryKey.of("resin_brick_stairs"); - RegistryKey RESIN_BRICK_WALL = RegistryKey.unsafeOf("resin_brick_wall"); + RegistryKey RESIN_BRICK_WALL = RegistryKey.of("resin_brick_wall"); - RegistryKey RESIN_BRICKS = RegistryKey.unsafeOf("resin_bricks"); + RegistryKey RESIN_BRICKS = RegistryKey.of("resin_bricks"); - RegistryKey RESIN_CLUMP = RegistryKey.unsafeOf("resin_clump"); + RegistryKey RESIN_CLUMP = RegistryKey.of("resin_clump"); - RegistryKey RESPAWN_ANCHOR = RegistryKey.unsafeOf("respawn_anchor"); + RegistryKey RESPAWN_ANCHOR = RegistryKey.of("respawn_anchor"); - RegistryKey RIB_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("rib_armor_trim_smithing_template"); + RegistryKey RIB_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("rib_armor_trim_smithing_template"); - RegistryKey ROOTED_DIRT = RegistryKey.unsafeOf("rooted_dirt"); + RegistryKey ROOTED_DIRT = RegistryKey.of("rooted_dirt"); - RegistryKey ROSE_BUSH = RegistryKey.unsafeOf("rose_bush"); + RegistryKey ROSE_BUSH = RegistryKey.of("rose_bush"); - RegistryKey ROTTEN_FLESH = RegistryKey.unsafeOf("rotten_flesh"); + RegistryKey ROTTEN_FLESH = RegistryKey.of("rotten_flesh"); - RegistryKey SADDLE = RegistryKey.unsafeOf("saddle"); + RegistryKey SADDLE = RegistryKey.of("saddle"); - RegistryKey SALMON = RegistryKey.unsafeOf("salmon"); + RegistryKey SALMON = RegistryKey.of("salmon"); - RegistryKey SALMON_BUCKET = RegistryKey.unsafeOf("salmon_bucket"); + RegistryKey SALMON_BUCKET = RegistryKey.of("salmon_bucket"); - RegistryKey SALMON_SPAWN_EGG = RegistryKey.unsafeOf("salmon_spawn_egg"); + RegistryKey SALMON_SPAWN_EGG = RegistryKey.of("salmon_spawn_egg"); - RegistryKey SAND = RegistryKey.unsafeOf("sand"); + RegistryKey SAND = RegistryKey.of("sand"); - RegistryKey SANDSTONE = RegistryKey.unsafeOf("sandstone"); + RegistryKey SANDSTONE = RegistryKey.of("sandstone"); - RegistryKey SANDSTONE_SLAB = RegistryKey.unsafeOf("sandstone_slab"); + RegistryKey SANDSTONE_SLAB = RegistryKey.of("sandstone_slab"); - RegistryKey SANDSTONE_STAIRS = RegistryKey.unsafeOf("sandstone_stairs"); + RegistryKey SANDSTONE_STAIRS = RegistryKey.of("sandstone_stairs"); - RegistryKey SANDSTONE_WALL = RegistryKey.unsafeOf("sandstone_wall"); + RegistryKey SANDSTONE_WALL = RegistryKey.of("sandstone_wall"); - RegistryKey SCAFFOLDING = RegistryKey.unsafeOf("scaffolding"); + RegistryKey SCAFFOLDING = RegistryKey.of("scaffolding"); - RegistryKey SCRAPE_POTTERY_SHERD = RegistryKey.unsafeOf("scrape_pottery_sherd"); + RegistryKey SCRAPE_POTTERY_SHERD = RegistryKey.of("scrape_pottery_sherd"); - RegistryKey SCULK = RegistryKey.unsafeOf("sculk"); + RegistryKey SCULK = RegistryKey.of("sculk"); - RegistryKey SCULK_CATALYST = RegistryKey.unsafeOf("sculk_catalyst"); + RegistryKey SCULK_CATALYST = RegistryKey.of("sculk_catalyst"); - RegistryKey SCULK_SENSOR = RegistryKey.unsafeOf("sculk_sensor"); + RegistryKey SCULK_SENSOR = RegistryKey.of("sculk_sensor"); - RegistryKey SCULK_SHRIEKER = RegistryKey.unsafeOf("sculk_shrieker"); + RegistryKey SCULK_SHRIEKER = RegistryKey.of("sculk_shrieker"); - RegistryKey SCULK_VEIN = RegistryKey.unsafeOf("sculk_vein"); + RegistryKey SCULK_VEIN = RegistryKey.of("sculk_vein"); - RegistryKey SEA_LANTERN = RegistryKey.unsafeOf("sea_lantern"); + RegistryKey SEA_LANTERN = RegistryKey.of("sea_lantern"); - RegistryKey SEA_PICKLE = RegistryKey.unsafeOf("sea_pickle"); + RegistryKey SEA_PICKLE = RegistryKey.of("sea_pickle"); - RegistryKey SEAGRASS = RegistryKey.unsafeOf("seagrass"); + RegistryKey SEAGRASS = RegistryKey.of("seagrass"); - RegistryKey SENTRY_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("sentry_armor_trim_smithing_template"); + RegistryKey SENTRY_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("sentry_armor_trim_smithing_template"); - RegistryKey SHAPER_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("shaper_armor_trim_smithing_template"); + RegistryKey SHAPER_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("shaper_armor_trim_smithing_template"); - RegistryKey SHEAF_POTTERY_SHERD = RegistryKey.unsafeOf("sheaf_pottery_sherd"); + RegistryKey SHEAF_POTTERY_SHERD = RegistryKey.of("sheaf_pottery_sherd"); - RegistryKey SHEARS = RegistryKey.unsafeOf("shears"); + RegistryKey SHEARS = RegistryKey.of("shears"); - RegistryKey SHEEP_SPAWN_EGG = RegistryKey.unsafeOf("sheep_spawn_egg"); + RegistryKey SHEEP_SPAWN_EGG = RegistryKey.of("sheep_spawn_egg"); - RegistryKey SHELTER_POTTERY_SHERD = RegistryKey.unsafeOf("shelter_pottery_sherd"); + RegistryKey SHELTER_POTTERY_SHERD = RegistryKey.of("shelter_pottery_sherd"); - RegistryKey SHIELD = RegistryKey.unsafeOf("shield"); + RegistryKey SHIELD = RegistryKey.of("shield"); - RegistryKey SHORT_DRY_GRASS = RegistryKey.unsafeOf("short_dry_grass"); + RegistryKey SHORT_DRY_GRASS = RegistryKey.of("short_dry_grass"); - RegistryKey SHORT_GRASS = RegistryKey.unsafeOf("short_grass"); + RegistryKey SHORT_GRASS = RegistryKey.of("short_grass"); - RegistryKey SHROOMLIGHT = RegistryKey.unsafeOf("shroomlight"); + RegistryKey SHROOMLIGHT = RegistryKey.of("shroomlight"); - RegistryKey SHULKER_BOX = RegistryKey.unsafeOf("shulker_box"); + RegistryKey SHULKER_BOX = RegistryKey.of("shulker_box"); - RegistryKey SHULKER_SHELL = RegistryKey.unsafeOf("shulker_shell"); + RegistryKey SHULKER_SHELL = RegistryKey.of("shulker_shell"); - RegistryKey SHULKER_SPAWN_EGG = RegistryKey.unsafeOf("shulker_spawn_egg"); + RegistryKey SHULKER_SPAWN_EGG = RegistryKey.of("shulker_spawn_egg"); - RegistryKey SILENCE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("silence_armor_trim_smithing_template"); + RegistryKey SILENCE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("silence_armor_trim_smithing_template"); - RegistryKey SILVERFISH_SPAWN_EGG = RegistryKey.unsafeOf("silverfish_spawn_egg"); + RegistryKey SILVERFISH_SPAWN_EGG = RegistryKey.of("silverfish_spawn_egg"); - RegistryKey SKELETON_HORSE_SPAWN_EGG = RegistryKey.unsafeOf("skeleton_horse_spawn_egg"); + RegistryKey SKELETON_HORSE_SPAWN_EGG = RegistryKey.of("skeleton_horse_spawn_egg"); - RegistryKey SKELETON_SKULL = RegistryKey.unsafeOf("skeleton_skull"); + RegistryKey SKELETON_SKULL = RegistryKey.of("skeleton_skull"); - RegistryKey SKELETON_SPAWN_EGG = RegistryKey.unsafeOf("skeleton_spawn_egg"); + RegistryKey SKELETON_SPAWN_EGG = RegistryKey.of("skeleton_spawn_egg"); - RegistryKey SKULL_BANNER_PATTERN = RegistryKey.unsafeOf("skull_banner_pattern"); + RegistryKey SKULL_BANNER_PATTERN = RegistryKey.of("skull_banner_pattern"); - RegistryKey SKULL_POTTERY_SHERD = RegistryKey.unsafeOf("skull_pottery_sherd"); + RegistryKey SKULL_POTTERY_SHERD = RegistryKey.of("skull_pottery_sherd"); - RegistryKey SLIME_BALL = RegistryKey.unsafeOf("slime_ball"); + RegistryKey SLIME_BALL = RegistryKey.of("slime_ball"); - RegistryKey SLIME_BLOCK = RegistryKey.unsafeOf("slime_block"); + RegistryKey SLIME_BLOCK = RegistryKey.of("slime_block"); - RegistryKey SLIME_SPAWN_EGG = RegistryKey.unsafeOf("slime_spawn_egg"); + RegistryKey SLIME_SPAWN_EGG = RegistryKey.of("slime_spawn_egg"); - RegistryKey SMALL_AMETHYST_BUD = RegistryKey.unsafeOf("small_amethyst_bud"); + RegistryKey SMALL_AMETHYST_BUD = RegistryKey.of("small_amethyst_bud"); - RegistryKey SMALL_DRIPLEAF = RegistryKey.unsafeOf("small_dripleaf"); + RegistryKey SMALL_DRIPLEAF = RegistryKey.of("small_dripleaf"); - RegistryKey SMITHING_TABLE = RegistryKey.unsafeOf("smithing_table"); + RegistryKey SMITHING_TABLE = RegistryKey.of("smithing_table"); - RegistryKey SMOKER = RegistryKey.unsafeOf("smoker"); + RegistryKey SMOKER = RegistryKey.of("smoker"); - RegistryKey SMOOTH_BASALT = RegistryKey.unsafeOf("smooth_basalt"); + RegistryKey SMOOTH_BASALT = RegistryKey.of("smooth_basalt"); - RegistryKey SMOOTH_QUARTZ = RegistryKey.unsafeOf("smooth_quartz"); + RegistryKey SMOOTH_QUARTZ = RegistryKey.of("smooth_quartz"); - RegistryKey SMOOTH_QUARTZ_SLAB = RegistryKey.unsafeOf("smooth_quartz_slab"); + RegistryKey SMOOTH_QUARTZ_SLAB = RegistryKey.of("smooth_quartz_slab"); - RegistryKey SMOOTH_QUARTZ_STAIRS = RegistryKey.unsafeOf("smooth_quartz_stairs"); + RegistryKey SMOOTH_QUARTZ_STAIRS = RegistryKey.of("smooth_quartz_stairs"); - RegistryKey SMOOTH_RED_SANDSTONE = RegistryKey.unsafeOf("smooth_red_sandstone"); + RegistryKey SMOOTH_RED_SANDSTONE = RegistryKey.of("smooth_red_sandstone"); - RegistryKey SMOOTH_RED_SANDSTONE_SLAB = RegistryKey.unsafeOf("smooth_red_sandstone_slab"); + RegistryKey SMOOTH_RED_SANDSTONE_SLAB = RegistryKey.of("smooth_red_sandstone_slab"); - RegistryKey SMOOTH_RED_SANDSTONE_STAIRS = RegistryKey.unsafeOf("smooth_red_sandstone_stairs"); + RegistryKey SMOOTH_RED_SANDSTONE_STAIRS = RegistryKey.of("smooth_red_sandstone_stairs"); - RegistryKey SMOOTH_SANDSTONE = RegistryKey.unsafeOf("smooth_sandstone"); + RegistryKey SMOOTH_SANDSTONE = RegistryKey.of("smooth_sandstone"); - RegistryKey SMOOTH_SANDSTONE_SLAB = RegistryKey.unsafeOf("smooth_sandstone_slab"); + RegistryKey SMOOTH_SANDSTONE_SLAB = RegistryKey.of("smooth_sandstone_slab"); - RegistryKey SMOOTH_SANDSTONE_STAIRS = RegistryKey.unsafeOf("smooth_sandstone_stairs"); + RegistryKey SMOOTH_SANDSTONE_STAIRS = RegistryKey.of("smooth_sandstone_stairs"); - RegistryKey SMOOTH_STONE = RegistryKey.unsafeOf("smooth_stone"); + RegistryKey SMOOTH_STONE = RegistryKey.of("smooth_stone"); - RegistryKey SMOOTH_STONE_SLAB = RegistryKey.unsafeOf("smooth_stone_slab"); + RegistryKey SMOOTH_STONE_SLAB = RegistryKey.of("smooth_stone_slab"); - RegistryKey SNIFFER_EGG = RegistryKey.unsafeOf("sniffer_egg"); + RegistryKey SNIFFER_EGG = RegistryKey.of("sniffer_egg"); - RegistryKey SNIFFER_SPAWN_EGG = RegistryKey.unsafeOf("sniffer_spawn_egg"); + RegistryKey SNIFFER_SPAWN_EGG = RegistryKey.of("sniffer_spawn_egg"); - RegistryKey SNORT_POTTERY_SHERD = RegistryKey.unsafeOf("snort_pottery_sherd"); + RegistryKey SNORT_POTTERY_SHERD = RegistryKey.of("snort_pottery_sherd"); - RegistryKey SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("snout_armor_trim_smithing_template"); + RegistryKey SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("snout_armor_trim_smithing_template"); - RegistryKey SNOW = RegistryKey.unsafeOf("snow"); + RegistryKey SNOW = RegistryKey.of("snow"); - RegistryKey SNOW_BLOCK = RegistryKey.unsafeOf("snow_block"); + RegistryKey SNOW_BLOCK = RegistryKey.of("snow_block"); - RegistryKey SNOW_GOLEM_SPAWN_EGG = RegistryKey.unsafeOf("snow_golem_spawn_egg"); + RegistryKey SNOW_GOLEM_SPAWN_EGG = RegistryKey.of("snow_golem_spawn_egg"); - RegistryKey SNOWBALL = RegistryKey.unsafeOf("snowball"); + RegistryKey SNOWBALL = RegistryKey.of("snowball"); - RegistryKey SOUL_CAMPFIRE = RegistryKey.unsafeOf("soul_campfire"); + RegistryKey SOUL_CAMPFIRE = RegistryKey.of("soul_campfire"); - RegistryKey SOUL_LANTERN = RegistryKey.unsafeOf("soul_lantern"); + RegistryKey SOUL_LANTERN = RegistryKey.of("soul_lantern"); - RegistryKey SOUL_SAND = RegistryKey.unsafeOf("soul_sand"); + RegistryKey SOUL_SAND = RegistryKey.of("soul_sand"); - RegistryKey SOUL_SOIL = RegistryKey.unsafeOf("soul_soil"); + RegistryKey SOUL_SOIL = RegistryKey.of("soul_soil"); - RegistryKey SOUL_TORCH = RegistryKey.unsafeOf("soul_torch"); + RegistryKey SOUL_TORCH = RegistryKey.of("soul_torch"); - RegistryKey SPAWNER = RegistryKey.unsafeOf("spawner"); + RegistryKey SPAWNER = RegistryKey.of("spawner"); - RegistryKey SPECTRAL_ARROW = RegistryKey.unsafeOf("spectral_arrow"); + RegistryKey SPECTRAL_ARROW = RegistryKey.of("spectral_arrow"); - RegistryKey SPIDER_EYE = RegistryKey.unsafeOf("spider_eye"); + RegistryKey SPIDER_EYE = RegistryKey.of("spider_eye"); - RegistryKey SPIDER_SPAWN_EGG = RegistryKey.unsafeOf("spider_spawn_egg"); + RegistryKey SPIDER_SPAWN_EGG = RegistryKey.of("spider_spawn_egg"); - RegistryKey SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("spire_armor_trim_smithing_template"); + RegistryKey SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("spire_armor_trim_smithing_template"); - RegistryKey SPLASH_POTION = RegistryKey.unsafeOf("splash_potion"); + RegistryKey SPLASH_POTION = RegistryKey.of("splash_potion"); - RegistryKey SPONGE = RegistryKey.unsafeOf("sponge"); + RegistryKey SPONGE = RegistryKey.of("sponge"); - RegistryKey SPORE_BLOSSOM = RegistryKey.unsafeOf("spore_blossom"); + RegistryKey SPORE_BLOSSOM = RegistryKey.of("spore_blossom"); - RegistryKey SPRUCE_BOAT = RegistryKey.unsafeOf("spruce_boat"); + RegistryKey SPRUCE_BOAT = RegistryKey.of("spruce_boat"); - RegistryKey SPRUCE_BUTTON = RegistryKey.unsafeOf("spruce_button"); + RegistryKey SPRUCE_BUTTON = RegistryKey.of("spruce_button"); - RegistryKey SPRUCE_CHEST_BOAT = RegistryKey.unsafeOf("spruce_chest_boat"); + RegistryKey SPRUCE_CHEST_BOAT = RegistryKey.of("spruce_chest_boat"); - RegistryKey SPRUCE_DOOR = RegistryKey.unsafeOf("spruce_door"); + RegistryKey SPRUCE_DOOR = RegistryKey.of("spruce_door"); - RegistryKey SPRUCE_FENCE = RegistryKey.unsafeOf("spruce_fence"); + RegistryKey SPRUCE_FENCE = RegistryKey.of("spruce_fence"); - RegistryKey SPRUCE_FENCE_GATE = RegistryKey.unsafeOf("spruce_fence_gate"); + RegistryKey SPRUCE_FENCE_GATE = RegistryKey.of("spruce_fence_gate"); - RegistryKey SPRUCE_HANGING_SIGN = RegistryKey.unsafeOf("spruce_hanging_sign"); + RegistryKey SPRUCE_HANGING_SIGN = RegistryKey.of("spruce_hanging_sign"); - RegistryKey SPRUCE_LEAVES = RegistryKey.unsafeOf("spruce_leaves"); + RegistryKey SPRUCE_LEAVES = RegistryKey.of("spruce_leaves"); - RegistryKey SPRUCE_LOG = RegistryKey.unsafeOf("spruce_log"); + RegistryKey SPRUCE_LOG = RegistryKey.of("spruce_log"); - RegistryKey SPRUCE_PLANKS = RegistryKey.unsafeOf("spruce_planks"); + RegistryKey SPRUCE_PLANKS = RegistryKey.of("spruce_planks"); - RegistryKey SPRUCE_PRESSURE_PLATE = RegistryKey.unsafeOf("spruce_pressure_plate"); + RegistryKey SPRUCE_PRESSURE_PLATE = RegistryKey.of("spruce_pressure_plate"); - RegistryKey SPRUCE_SAPLING = RegistryKey.unsafeOf("spruce_sapling"); + RegistryKey SPRUCE_SAPLING = RegistryKey.of("spruce_sapling"); - RegistryKey SPRUCE_SHELF = RegistryKey.unsafeOf("spruce_shelf"); + RegistryKey SPRUCE_SHELF = RegistryKey.of("spruce_shelf"); - RegistryKey SPRUCE_SIGN = RegistryKey.unsafeOf("spruce_sign"); + RegistryKey SPRUCE_SIGN = RegistryKey.of("spruce_sign"); - RegistryKey SPRUCE_SLAB = RegistryKey.unsafeOf("spruce_slab"); + RegistryKey SPRUCE_SLAB = RegistryKey.of("spruce_slab"); - RegistryKey SPRUCE_STAIRS = RegistryKey.unsafeOf("spruce_stairs"); + RegistryKey SPRUCE_STAIRS = RegistryKey.of("spruce_stairs"); - RegistryKey SPRUCE_TRAPDOOR = RegistryKey.unsafeOf("spruce_trapdoor"); + RegistryKey SPRUCE_TRAPDOOR = RegistryKey.of("spruce_trapdoor"); - RegistryKey SPRUCE_WOOD = RegistryKey.unsafeOf("spruce_wood"); + RegistryKey SPRUCE_WOOD = RegistryKey.of("spruce_wood"); - RegistryKey SPYGLASS = RegistryKey.unsafeOf("spyglass"); + RegistryKey SPYGLASS = RegistryKey.of("spyglass"); - RegistryKey SQUID_SPAWN_EGG = RegistryKey.unsafeOf("squid_spawn_egg"); + RegistryKey SQUID_SPAWN_EGG = RegistryKey.of("squid_spawn_egg"); - RegistryKey STICK = RegistryKey.unsafeOf("stick"); + RegistryKey STICK = RegistryKey.of("stick"); - RegistryKey STICKY_PISTON = RegistryKey.unsafeOf("sticky_piston"); + RegistryKey STICKY_PISTON = RegistryKey.of("sticky_piston"); - RegistryKey STONE = RegistryKey.unsafeOf("stone"); + RegistryKey STONE = RegistryKey.of("stone"); - RegistryKey STONE_AXE = RegistryKey.unsafeOf("stone_axe"); + RegistryKey STONE_AXE = RegistryKey.of("stone_axe"); - RegistryKey STONE_BRICK_SLAB = RegistryKey.unsafeOf("stone_brick_slab"); + RegistryKey STONE_BRICK_SLAB = RegistryKey.of("stone_brick_slab"); - RegistryKey STONE_BRICK_STAIRS = RegistryKey.unsafeOf("stone_brick_stairs"); + RegistryKey STONE_BRICK_STAIRS = RegistryKey.of("stone_brick_stairs"); - RegistryKey STONE_BRICK_WALL = RegistryKey.unsafeOf("stone_brick_wall"); + RegistryKey STONE_BRICK_WALL = RegistryKey.of("stone_brick_wall"); - RegistryKey STONE_BRICKS = RegistryKey.unsafeOf("stone_bricks"); + RegistryKey STONE_BRICKS = RegistryKey.of("stone_bricks"); - RegistryKey STONE_BUTTON = RegistryKey.unsafeOf("stone_button"); + RegistryKey STONE_BUTTON = RegistryKey.of("stone_button"); - RegistryKey STONE_HOE = RegistryKey.unsafeOf("stone_hoe"); + RegistryKey STONE_HOE = RegistryKey.of("stone_hoe"); - RegistryKey STONE_PICKAXE = RegistryKey.unsafeOf("stone_pickaxe"); + RegistryKey STONE_PICKAXE = RegistryKey.of("stone_pickaxe"); - RegistryKey STONE_PRESSURE_PLATE = RegistryKey.unsafeOf("stone_pressure_plate"); + RegistryKey STONE_PRESSURE_PLATE = RegistryKey.of("stone_pressure_plate"); - RegistryKey STONE_SHOVEL = RegistryKey.unsafeOf("stone_shovel"); + RegistryKey STONE_SHOVEL = RegistryKey.of("stone_shovel"); - RegistryKey STONE_SLAB = RegistryKey.unsafeOf("stone_slab"); + RegistryKey STONE_SLAB = RegistryKey.of("stone_slab"); - RegistryKey STONE_SPEAR = RegistryKey.unsafeOf("stone_spear"); + RegistryKey STONE_SPEAR = RegistryKey.of("stone_spear"); - RegistryKey STONE_STAIRS = RegistryKey.unsafeOf("stone_stairs"); + RegistryKey STONE_STAIRS = RegistryKey.of("stone_stairs"); - RegistryKey STONE_SWORD = RegistryKey.unsafeOf("stone_sword"); + RegistryKey STONE_SWORD = RegistryKey.of("stone_sword"); - RegistryKey STONECUTTER = RegistryKey.unsafeOf("stonecutter"); + RegistryKey STONECUTTER = RegistryKey.of("stonecutter"); - RegistryKey STRAY_SPAWN_EGG = RegistryKey.unsafeOf("stray_spawn_egg"); + RegistryKey STRAY_SPAWN_EGG = RegistryKey.of("stray_spawn_egg"); - RegistryKey STRIDER_SPAWN_EGG = RegistryKey.unsafeOf("strider_spawn_egg"); + RegistryKey STRIDER_SPAWN_EGG = RegistryKey.of("strider_spawn_egg"); - RegistryKey STRING = RegistryKey.unsafeOf("string"); + RegistryKey STRING = RegistryKey.of("string"); - RegistryKey STRIPPED_ACACIA_LOG = RegistryKey.unsafeOf("stripped_acacia_log"); + RegistryKey STRIPPED_ACACIA_LOG = RegistryKey.of("stripped_acacia_log"); - RegistryKey STRIPPED_ACACIA_WOOD = RegistryKey.unsafeOf("stripped_acacia_wood"); + RegistryKey STRIPPED_ACACIA_WOOD = RegistryKey.of("stripped_acacia_wood"); - RegistryKey STRIPPED_BAMBOO_BLOCK = RegistryKey.unsafeOf("stripped_bamboo_block"); + RegistryKey STRIPPED_BAMBOO_BLOCK = RegistryKey.of("stripped_bamboo_block"); - RegistryKey STRIPPED_BIRCH_LOG = RegistryKey.unsafeOf("stripped_birch_log"); + RegistryKey STRIPPED_BIRCH_LOG = RegistryKey.of("stripped_birch_log"); - RegistryKey STRIPPED_BIRCH_WOOD = RegistryKey.unsafeOf("stripped_birch_wood"); + RegistryKey STRIPPED_BIRCH_WOOD = RegistryKey.of("stripped_birch_wood"); - RegistryKey STRIPPED_CHERRY_LOG = RegistryKey.unsafeOf("stripped_cherry_log"); + RegistryKey STRIPPED_CHERRY_LOG = RegistryKey.of("stripped_cherry_log"); - RegistryKey STRIPPED_CHERRY_WOOD = RegistryKey.unsafeOf("stripped_cherry_wood"); + RegistryKey STRIPPED_CHERRY_WOOD = RegistryKey.of("stripped_cherry_wood"); - RegistryKey STRIPPED_CRIMSON_HYPHAE = RegistryKey.unsafeOf("stripped_crimson_hyphae"); + RegistryKey STRIPPED_CRIMSON_HYPHAE = RegistryKey.of("stripped_crimson_hyphae"); - RegistryKey STRIPPED_CRIMSON_STEM = RegistryKey.unsafeOf("stripped_crimson_stem"); + RegistryKey STRIPPED_CRIMSON_STEM = RegistryKey.of("stripped_crimson_stem"); - RegistryKey STRIPPED_DARK_OAK_LOG = RegistryKey.unsafeOf("stripped_dark_oak_log"); + RegistryKey STRIPPED_DARK_OAK_LOG = RegistryKey.of("stripped_dark_oak_log"); - RegistryKey STRIPPED_DARK_OAK_WOOD = RegistryKey.unsafeOf("stripped_dark_oak_wood"); + RegistryKey STRIPPED_DARK_OAK_WOOD = RegistryKey.of("stripped_dark_oak_wood"); - RegistryKey STRIPPED_JUNGLE_LOG = RegistryKey.unsafeOf("stripped_jungle_log"); + RegistryKey STRIPPED_JUNGLE_LOG = RegistryKey.of("stripped_jungle_log"); - RegistryKey STRIPPED_JUNGLE_WOOD = RegistryKey.unsafeOf("stripped_jungle_wood"); + RegistryKey STRIPPED_JUNGLE_WOOD = RegistryKey.of("stripped_jungle_wood"); - RegistryKey STRIPPED_MANGROVE_LOG = RegistryKey.unsafeOf("stripped_mangrove_log"); + RegistryKey STRIPPED_MANGROVE_LOG = RegistryKey.of("stripped_mangrove_log"); - RegistryKey STRIPPED_MANGROVE_WOOD = RegistryKey.unsafeOf("stripped_mangrove_wood"); + RegistryKey STRIPPED_MANGROVE_WOOD = RegistryKey.of("stripped_mangrove_wood"); - RegistryKey STRIPPED_OAK_LOG = RegistryKey.unsafeOf("stripped_oak_log"); + RegistryKey STRIPPED_OAK_LOG = RegistryKey.of("stripped_oak_log"); - RegistryKey STRIPPED_OAK_WOOD = RegistryKey.unsafeOf("stripped_oak_wood"); + RegistryKey STRIPPED_OAK_WOOD = RegistryKey.of("stripped_oak_wood"); - RegistryKey STRIPPED_PALE_OAK_LOG = RegistryKey.unsafeOf("stripped_pale_oak_log"); + RegistryKey STRIPPED_PALE_OAK_LOG = RegistryKey.of("stripped_pale_oak_log"); - RegistryKey STRIPPED_PALE_OAK_WOOD = RegistryKey.unsafeOf("stripped_pale_oak_wood"); + RegistryKey STRIPPED_PALE_OAK_WOOD = RegistryKey.of("stripped_pale_oak_wood"); - RegistryKey STRIPPED_SPRUCE_LOG = RegistryKey.unsafeOf("stripped_spruce_log"); + RegistryKey STRIPPED_SPRUCE_LOG = RegistryKey.of("stripped_spruce_log"); - RegistryKey STRIPPED_SPRUCE_WOOD = RegistryKey.unsafeOf("stripped_spruce_wood"); + RegistryKey STRIPPED_SPRUCE_WOOD = RegistryKey.of("stripped_spruce_wood"); - RegistryKey STRIPPED_WARPED_HYPHAE = RegistryKey.unsafeOf("stripped_warped_hyphae"); + RegistryKey STRIPPED_WARPED_HYPHAE = RegistryKey.of("stripped_warped_hyphae"); - RegistryKey STRIPPED_WARPED_STEM = RegistryKey.unsafeOf("stripped_warped_stem"); + RegistryKey STRIPPED_WARPED_STEM = RegistryKey.of("stripped_warped_stem"); - RegistryKey STRUCTURE_BLOCK = RegistryKey.unsafeOf("structure_block"); + RegistryKey STRUCTURE_BLOCK = RegistryKey.of("structure_block"); - RegistryKey STRUCTURE_VOID = RegistryKey.unsafeOf("structure_void"); + RegistryKey STRUCTURE_VOID = RegistryKey.of("structure_void"); - RegistryKey SUGAR = RegistryKey.unsafeOf("sugar"); + RegistryKey SUGAR = RegistryKey.of("sugar"); - RegistryKey SUGAR_CANE = RegistryKey.unsafeOf("sugar_cane"); + RegistryKey SUGAR_CANE = RegistryKey.of("sugar_cane"); - RegistryKey SULFUR = RegistryKey.unsafeOf("sulfur"); + RegistryKey SULFUR = RegistryKey.of("sulfur"); - RegistryKey SULFUR_BRICK_SLAB = RegistryKey.unsafeOf("sulfur_brick_slab"); + RegistryKey SULFUR_BRICK_SLAB = RegistryKey.of("sulfur_brick_slab"); - RegistryKey SULFUR_BRICK_STAIRS = RegistryKey.unsafeOf("sulfur_brick_stairs"); + RegistryKey SULFUR_BRICK_STAIRS = RegistryKey.of("sulfur_brick_stairs"); - RegistryKey SULFUR_BRICK_WALL = RegistryKey.unsafeOf("sulfur_brick_wall"); + RegistryKey SULFUR_BRICK_WALL = RegistryKey.of("sulfur_brick_wall"); - RegistryKey SULFUR_BRICKS = RegistryKey.unsafeOf("sulfur_bricks"); + RegistryKey SULFUR_BRICKS = RegistryKey.of("sulfur_bricks"); - RegistryKey SULFUR_CUBE_BUCKET = RegistryKey.unsafeOf("sulfur_cube_bucket"); + RegistryKey SULFUR_CUBE_BUCKET = RegistryKey.of("sulfur_cube_bucket"); - RegistryKey SULFUR_CUBE_SPAWN_EGG = RegistryKey.unsafeOf("sulfur_cube_spawn_egg"); + RegistryKey SULFUR_CUBE_SPAWN_EGG = RegistryKey.of("sulfur_cube_spawn_egg"); - RegistryKey SULFUR_SLAB = RegistryKey.unsafeOf("sulfur_slab"); + RegistryKey SULFUR_SLAB = RegistryKey.of("sulfur_slab"); - RegistryKey SULFUR_SPIKE = RegistryKey.unsafeOf("sulfur_spike"); + RegistryKey SULFUR_SPIKE = RegistryKey.of("sulfur_spike"); - RegistryKey SULFUR_STAIRS = RegistryKey.unsafeOf("sulfur_stairs"); + RegistryKey SULFUR_STAIRS = RegistryKey.of("sulfur_stairs"); - RegistryKey SULFUR_WALL = RegistryKey.unsafeOf("sulfur_wall"); + RegistryKey SULFUR_WALL = RegistryKey.of("sulfur_wall"); - RegistryKey SUNFLOWER = RegistryKey.unsafeOf("sunflower"); + RegistryKey SUNFLOWER = RegistryKey.of("sunflower"); - RegistryKey SUSPICIOUS_GRAVEL = RegistryKey.unsafeOf("suspicious_gravel"); + RegistryKey SUSPICIOUS_GRAVEL = RegistryKey.of("suspicious_gravel"); - RegistryKey SUSPICIOUS_SAND = RegistryKey.unsafeOf("suspicious_sand"); + RegistryKey SUSPICIOUS_SAND = RegistryKey.of("suspicious_sand"); - RegistryKey SUSPICIOUS_STEW = RegistryKey.unsafeOf("suspicious_stew"); + RegistryKey SUSPICIOUS_STEW = RegistryKey.of("suspicious_stew"); - RegistryKey SWEET_BERRIES = RegistryKey.unsafeOf("sweet_berries"); + RegistryKey SWEET_BERRIES = RegistryKey.of("sweet_berries"); - RegistryKey TADPOLE_BUCKET = RegistryKey.unsafeOf("tadpole_bucket"); + RegistryKey TADPOLE_BUCKET = RegistryKey.of("tadpole_bucket"); - RegistryKey TADPOLE_SPAWN_EGG = RegistryKey.unsafeOf("tadpole_spawn_egg"); + RegistryKey TADPOLE_SPAWN_EGG = RegistryKey.of("tadpole_spawn_egg"); - RegistryKey TALL_DRY_GRASS = RegistryKey.unsafeOf("tall_dry_grass"); + RegistryKey TALL_DRY_GRASS = RegistryKey.of("tall_dry_grass"); - RegistryKey TALL_GRASS = RegistryKey.unsafeOf("tall_grass"); + RegistryKey TALL_GRASS = RegistryKey.of("tall_grass"); - RegistryKey TARGET = RegistryKey.unsafeOf("target"); + RegistryKey TARGET = RegistryKey.of("target"); - RegistryKey TERRACOTTA = RegistryKey.unsafeOf("terracotta"); + RegistryKey TERRACOTTA = RegistryKey.of("terracotta"); - RegistryKey TEST_BLOCK = RegistryKey.unsafeOf("test_block"); + RegistryKey TEST_BLOCK = RegistryKey.of("test_block"); - RegistryKey TEST_INSTANCE_BLOCK = RegistryKey.unsafeOf("test_instance_block"); + RegistryKey TEST_INSTANCE_BLOCK = RegistryKey.of("test_instance_block"); - RegistryKey TIDE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("tide_armor_trim_smithing_template"); + RegistryKey TIDE_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("tide_armor_trim_smithing_template"); - RegistryKey TINTED_GLASS = RegistryKey.unsafeOf("tinted_glass"); + RegistryKey TINTED_GLASS = RegistryKey.of("tinted_glass"); - RegistryKey TIPPED_ARROW = RegistryKey.unsafeOf("tipped_arrow"); + RegistryKey TIPPED_ARROW = RegistryKey.of("tipped_arrow"); - RegistryKey TNT = RegistryKey.unsafeOf("tnt"); + RegistryKey TNT = RegistryKey.of("tnt"); - RegistryKey TNT_MINECART = RegistryKey.unsafeOf("tnt_minecart"); + RegistryKey TNT_MINECART = RegistryKey.of("tnt_minecart"); - RegistryKey TORCH = RegistryKey.unsafeOf("torch"); + RegistryKey TORCH = RegistryKey.of("torch"); - RegistryKey TORCHFLOWER = RegistryKey.unsafeOf("torchflower"); + RegistryKey TORCHFLOWER = RegistryKey.of("torchflower"); - RegistryKey TORCHFLOWER_SEEDS = RegistryKey.unsafeOf("torchflower_seeds"); + RegistryKey TORCHFLOWER_SEEDS = RegistryKey.of("torchflower_seeds"); - RegistryKey TOTEM_OF_UNDYING = RegistryKey.unsafeOf("totem_of_undying"); + RegistryKey TOTEM_OF_UNDYING = RegistryKey.of("totem_of_undying"); - RegistryKey TRADER_LLAMA_SPAWN_EGG = RegistryKey.unsafeOf("trader_llama_spawn_egg"); + RegistryKey TRADER_LLAMA_SPAWN_EGG = RegistryKey.of("trader_llama_spawn_egg"); - RegistryKey TRAPPED_CHEST = RegistryKey.unsafeOf("trapped_chest"); + RegistryKey TRAPPED_CHEST = RegistryKey.of("trapped_chest"); - RegistryKey TRIAL_KEY = RegistryKey.unsafeOf("trial_key"); + RegistryKey TRIAL_KEY = RegistryKey.of("trial_key"); - RegistryKey TRIAL_SPAWNER = RegistryKey.unsafeOf("trial_spawner"); + RegistryKey TRIAL_SPAWNER = RegistryKey.of("trial_spawner"); - RegistryKey TRIDENT = RegistryKey.unsafeOf("trident"); + RegistryKey TRIDENT = RegistryKey.of("trident"); - RegistryKey TRIPWIRE_HOOK = RegistryKey.unsafeOf("tripwire_hook"); + RegistryKey TRIPWIRE_HOOK = RegistryKey.of("tripwire_hook"); - RegistryKey TROPICAL_FISH = RegistryKey.unsafeOf("tropical_fish"); + RegistryKey TROPICAL_FISH = RegistryKey.of("tropical_fish"); - RegistryKey TROPICAL_FISH_BUCKET = RegistryKey.unsafeOf("tropical_fish_bucket"); + RegistryKey TROPICAL_FISH_BUCKET = RegistryKey.of("tropical_fish_bucket"); - RegistryKey TROPICAL_FISH_SPAWN_EGG = RegistryKey.unsafeOf("tropical_fish_spawn_egg"); + RegistryKey TROPICAL_FISH_SPAWN_EGG = RegistryKey.of("tropical_fish_spawn_egg"); - RegistryKey TUBE_CORAL = RegistryKey.unsafeOf("tube_coral"); + RegistryKey TUBE_CORAL = RegistryKey.of("tube_coral"); - RegistryKey TUBE_CORAL_BLOCK = RegistryKey.unsafeOf("tube_coral_block"); + RegistryKey TUBE_CORAL_BLOCK = RegistryKey.of("tube_coral_block"); - RegistryKey TUBE_CORAL_FAN = RegistryKey.unsafeOf("tube_coral_fan"); + RegistryKey TUBE_CORAL_FAN = RegistryKey.of("tube_coral_fan"); - RegistryKey TUFF = RegistryKey.unsafeOf("tuff"); + RegistryKey TUFF = RegistryKey.of("tuff"); - RegistryKey TUFF_BRICK_SLAB = RegistryKey.unsafeOf("tuff_brick_slab"); + RegistryKey TUFF_BRICK_SLAB = RegistryKey.of("tuff_brick_slab"); - RegistryKey TUFF_BRICK_STAIRS = RegistryKey.unsafeOf("tuff_brick_stairs"); + RegistryKey TUFF_BRICK_STAIRS = RegistryKey.of("tuff_brick_stairs"); - RegistryKey TUFF_BRICK_WALL = RegistryKey.unsafeOf("tuff_brick_wall"); + RegistryKey TUFF_BRICK_WALL = RegistryKey.of("tuff_brick_wall"); - RegistryKey TUFF_BRICKS = RegistryKey.unsafeOf("tuff_bricks"); + RegistryKey TUFF_BRICKS = RegistryKey.of("tuff_bricks"); - RegistryKey TUFF_SLAB = RegistryKey.unsafeOf("tuff_slab"); + RegistryKey TUFF_SLAB = RegistryKey.of("tuff_slab"); - RegistryKey TUFF_STAIRS = RegistryKey.unsafeOf("tuff_stairs"); + RegistryKey TUFF_STAIRS = RegistryKey.of("tuff_stairs"); - RegistryKey TUFF_WALL = RegistryKey.unsafeOf("tuff_wall"); + RegistryKey TUFF_WALL = RegistryKey.of("tuff_wall"); - RegistryKey TURTLE_EGG = RegistryKey.unsafeOf("turtle_egg"); + RegistryKey TURTLE_EGG = RegistryKey.of("turtle_egg"); - RegistryKey TURTLE_HELMET = RegistryKey.unsafeOf("turtle_helmet"); + RegistryKey TURTLE_HELMET = RegistryKey.of("turtle_helmet"); - RegistryKey TURTLE_SCUTE = RegistryKey.unsafeOf("turtle_scute"); + RegistryKey TURTLE_SCUTE = RegistryKey.of("turtle_scute"); - RegistryKey TURTLE_SPAWN_EGG = RegistryKey.unsafeOf("turtle_spawn_egg"); + RegistryKey TURTLE_SPAWN_EGG = RegistryKey.of("turtle_spawn_egg"); - RegistryKey TWISTING_VINES = RegistryKey.unsafeOf("twisting_vines"); + RegistryKey TWISTING_VINES = RegistryKey.of("twisting_vines"); - RegistryKey VAULT = RegistryKey.unsafeOf("vault"); + RegistryKey VAULT = RegistryKey.of("vault"); - RegistryKey VERDANT_FROGLIGHT = RegistryKey.unsafeOf("verdant_froglight"); + RegistryKey VERDANT_FROGLIGHT = RegistryKey.of("verdant_froglight"); - RegistryKey VEX_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("vex_armor_trim_smithing_template"); + RegistryKey VEX_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("vex_armor_trim_smithing_template"); - RegistryKey VEX_SPAWN_EGG = RegistryKey.unsafeOf("vex_spawn_egg"); + RegistryKey VEX_SPAWN_EGG = RegistryKey.of("vex_spawn_egg"); - RegistryKey VILLAGER_SPAWN_EGG = RegistryKey.unsafeOf("villager_spawn_egg"); + RegistryKey VILLAGER_SPAWN_EGG = RegistryKey.of("villager_spawn_egg"); - RegistryKey VINDICATOR_SPAWN_EGG = RegistryKey.unsafeOf("vindicator_spawn_egg"); + RegistryKey VINDICATOR_SPAWN_EGG = RegistryKey.of("vindicator_spawn_egg"); - RegistryKey VINE = RegistryKey.unsafeOf("vine"); + RegistryKey VINE = RegistryKey.of("vine"); - RegistryKey WANDERING_TRADER_SPAWN_EGG = RegistryKey.unsafeOf("wandering_trader_spawn_egg"); + RegistryKey WANDERING_TRADER_SPAWN_EGG = RegistryKey.of("wandering_trader_spawn_egg"); - RegistryKey WARD_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("ward_armor_trim_smithing_template"); + RegistryKey WARD_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("ward_armor_trim_smithing_template"); - RegistryKey WARDEN_SPAWN_EGG = RegistryKey.unsafeOf("warden_spawn_egg"); + RegistryKey WARDEN_SPAWN_EGG = RegistryKey.of("warden_spawn_egg"); - RegistryKey WARPED_BUTTON = RegistryKey.unsafeOf("warped_button"); + RegistryKey WARPED_BUTTON = RegistryKey.of("warped_button"); - RegistryKey WARPED_DOOR = RegistryKey.unsafeOf("warped_door"); + RegistryKey WARPED_DOOR = RegistryKey.of("warped_door"); - RegistryKey WARPED_FENCE = RegistryKey.unsafeOf("warped_fence"); + RegistryKey WARPED_FENCE = RegistryKey.of("warped_fence"); - RegistryKey WARPED_FENCE_GATE = RegistryKey.unsafeOf("warped_fence_gate"); + RegistryKey WARPED_FENCE_GATE = RegistryKey.of("warped_fence_gate"); - RegistryKey WARPED_FUNGUS = RegistryKey.unsafeOf("warped_fungus"); + RegistryKey WARPED_FUNGUS = RegistryKey.of("warped_fungus"); - RegistryKey WARPED_FUNGUS_ON_A_STICK = RegistryKey.unsafeOf("warped_fungus_on_a_stick"); + RegistryKey WARPED_FUNGUS_ON_A_STICK = RegistryKey.of("warped_fungus_on_a_stick"); - RegistryKey WARPED_HANGING_SIGN = RegistryKey.unsafeOf("warped_hanging_sign"); + RegistryKey WARPED_HANGING_SIGN = RegistryKey.of("warped_hanging_sign"); - RegistryKey WARPED_HYPHAE = RegistryKey.unsafeOf("warped_hyphae"); + RegistryKey WARPED_HYPHAE = RegistryKey.of("warped_hyphae"); - RegistryKey WARPED_NYLIUM = RegistryKey.unsafeOf("warped_nylium"); + RegistryKey WARPED_NYLIUM = RegistryKey.of("warped_nylium"); - RegistryKey WARPED_PLANKS = RegistryKey.unsafeOf("warped_planks"); + RegistryKey WARPED_PLANKS = RegistryKey.of("warped_planks"); - RegistryKey WARPED_PRESSURE_PLATE = RegistryKey.unsafeOf("warped_pressure_plate"); + RegistryKey WARPED_PRESSURE_PLATE = RegistryKey.of("warped_pressure_plate"); - RegistryKey WARPED_ROOTS = RegistryKey.unsafeOf("warped_roots"); + RegistryKey WARPED_ROOTS = RegistryKey.of("warped_roots"); - RegistryKey WARPED_SHELF = RegistryKey.unsafeOf("warped_shelf"); + RegistryKey WARPED_SHELF = RegistryKey.of("warped_shelf"); - RegistryKey WARPED_SIGN = RegistryKey.unsafeOf("warped_sign"); + RegistryKey WARPED_SIGN = RegistryKey.of("warped_sign"); - RegistryKey WARPED_SLAB = RegistryKey.unsafeOf("warped_slab"); + RegistryKey WARPED_SLAB = RegistryKey.of("warped_slab"); - RegistryKey WARPED_STAIRS = RegistryKey.unsafeOf("warped_stairs"); + RegistryKey WARPED_STAIRS = RegistryKey.of("warped_stairs"); - RegistryKey WARPED_STEM = RegistryKey.unsafeOf("warped_stem"); + RegistryKey WARPED_STEM = RegistryKey.of("warped_stem"); - RegistryKey WARPED_TRAPDOOR = RegistryKey.unsafeOf("warped_trapdoor"); + RegistryKey WARPED_TRAPDOOR = RegistryKey.of("warped_trapdoor"); - RegistryKey WARPED_WART_BLOCK = RegistryKey.unsafeOf("warped_wart_block"); + RegistryKey WARPED_WART_BLOCK = RegistryKey.of("warped_wart_block"); - RegistryKey WATER_BUCKET = RegistryKey.unsafeOf("water_bucket"); + RegistryKey WATER_BUCKET = RegistryKey.of("water_bucket"); - RegistryKey WAXED_CHISELED_COPPER = RegistryKey.unsafeOf("waxed_chiseled_copper"); + RegistryKey WAXED_CHISELED_COPPER = RegistryKey.of("waxed_chiseled_copper"); - RegistryKey WAXED_COPPER_BARS = RegistryKey.unsafeOf("waxed_copper_bars"); + RegistryKey WAXED_COPPER_BARS = RegistryKey.of("waxed_copper_bars"); - RegistryKey WAXED_COPPER_BLOCK = RegistryKey.unsafeOf("waxed_copper_block"); + RegistryKey WAXED_COPPER_BLOCK = RegistryKey.of("waxed_copper_block"); - RegistryKey WAXED_COPPER_BULB = RegistryKey.unsafeOf("waxed_copper_bulb"); + RegistryKey WAXED_COPPER_BULB = RegistryKey.of("waxed_copper_bulb"); - RegistryKey WAXED_COPPER_CHAIN = RegistryKey.unsafeOf("waxed_copper_chain"); + RegistryKey WAXED_COPPER_CHAIN = RegistryKey.of("waxed_copper_chain"); - RegistryKey WAXED_COPPER_CHEST = RegistryKey.unsafeOf("waxed_copper_chest"); + RegistryKey WAXED_COPPER_CHEST = RegistryKey.of("waxed_copper_chest"); - RegistryKey WAXED_COPPER_DOOR = RegistryKey.unsafeOf("waxed_copper_door"); + RegistryKey WAXED_COPPER_DOOR = RegistryKey.of("waxed_copper_door"); - RegistryKey WAXED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("waxed_copper_golem_statue"); + RegistryKey WAXED_COPPER_GOLEM_STATUE = RegistryKey.of("waxed_copper_golem_statue"); - RegistryKey WAXED_COPPER_GRATE = RegistryKey.unsafeOf("waxed_copper_grate"); + RegistryKey WAXED_COPPER_GRATE = RegistryKey.of("waxed_copper_grate"); - RegistryKey WAXED_COPPER_LANTERN = RegistryKey.unsafeOf("waxed_copper_lantern"); + RegistryKey WAXED_COPPER_LANTERN = RegistryKey.of("waxed_copper_lantern"); - RegistryKey WAXED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("waxed_copper_trapdoor"); + RegistryKey WAXED_COPPER_TRAPDOOR = RegistryKey.of("waxed_copper_trapdoor"); - RegistryKey WAXED_CUT_COPPER = RegistryKey.unsafeOf("waxed_cut_copper"); + RegistryKey WAXED_CUT_COPPER = RegistryKey.of("waxed_cut_copper"); - RegistryKey WAXED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("waxed_cut_copper_slab"); + RegistryKey WAXED_CUT_COPPER_SLAB = RegistryKey.of("waxed_cut_copper_slab"); - RegistryKey WAXED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("waxed_cut_copper_stairs"); + RegistryKey WAXED_CUT_COPPER_STAIRS = RegistryKey.of("waxed_cut_copper_stairs"); - RegistryKey WAXED_EXPOSED_CHISELED_COPPER = RegistryKey.unsafeOf("waxed_exposed_chiseled_copper"); + RegistryKey WAXED_EXPOSED_CHISELED_COPPER = RegistryKey.of("waxed_exposed_chiseled_copper"); - RegistryKey WAXED_EXPOSED_COPPER = RegistryKey.unsafeOf("waxed_exposed_copper"); + RegistryKey WAXED_EXPOSED_COPPER = RegistryKey.of("waxed_exposed_copper"); - RegistryKey WAXED_EXPOSED_COPPER_BARS = RegistryKey.unsafeOf("waxed_exposed_copper_bars"); + RegistryKey WAXED_EXPOSED_COPPER_BARS = RegistryKey.of("waxed_exposed_copper_bars"); - RegistryKey WAXED_EXPOSED_COPPER_BULB = RegistryKey.unsafeOf("waxed_exposed_copper_bulb"); + RegistryKey WAXED_EXPOSED_COPPER_BULB = RegistryKey.of("waxed_exposed_copper_bulb"); - RegistryKey WAXED_EXPOSED_COPPER_CHAIN = RegistryKey.unsafeOf("waxed_exposed_copper_chain"); + RegistryKey WAXED_EXPOSED_COPPER_CHAIN = RegistryKey.of("waxed_exposed_copper_chain"); - RegistryKey WAXED_EXPOSED_COPPER_CHEST = RegistryKey.unsafeOf("waxed_exposed_copper_chest"); + RegistryKey WAXED_EXPOSED_COPPER_CHEST = RegistryKey.of("waxed_exposed_copper_chest"); - RegistryKey WAXED_EXPOSED_COPPER_DOOR = RegistryKey.unsafeOf("waxed_exposed_copper_door"); + RegistryKey WAXED_EXPOSED_COPPER_DOOR = RegistryKey.of("waxed_exposed_copper_door"); - RegistryKey WAXED_EXPOSED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("waxed_exposed_copper_golem_statue"); + RegistryKey WAXED_EXPOSED_COPPER_GOLEM_STATUE = RegistryKey.of("waxed_exposed_copper_golem_statue"); - RegistryKey WAXED_EXPOSED_COPPER_GRATE = RegistryKey.unsafeOf("waxed_exposed_copper_grate"); + RegistryKey WAXED_EXPOSED_COPPER_GRATE = RegistryKey.of("waxed_exposed_copper_grate"); - RegistryKey WAXED_EXPOSED_COPPER_LANTERN = RegistryKey.unsafeOf("waxed_exposed_copper_lantern"); + RegistryKey WAXED_EXPOSED_COPPER_LANTERN = RegistryKey.of("waxed_exposed_copper_lantern"); - RegistryKey WAXED_EXPOSED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("waxed_exposed_copper_trapdoor"); + RegistryKey WAXED_EXPOSED_COPPER_TRAPDOOR = RegistryKey.of("waxed_exposed_copper_trapdoor"); - RegistryKey WAXED_EXPOSED_CUT_COPPER = RegistryKey.unsafeOf("waxed_exposed_cut_copper"); + RegistryKey WAXED_EXPOSED_CUT_COPPER = RegistryKey.of("waxed_exposed_cut_copper"); - RegistryKey WAXED_EXPOSED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("waxed_exposed_cut_copper_slab"); + RegistryKey WAXED_EXPOSED_CUT_COPPER_SLAB = RegistryKey.of("waxed_exposed_cut_copper_slab"); - RegistryKey WAXED_EXPOSED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("waxed_exposed_cut_copper_stairs"); + RegistryKey WAXED_EXPOSED_CUT_COPPER_STAIRS = RegistryKey.of("waxed_exposed_cut_copper_stairs"); - RegistryKey WAXED_EXPOSED_LIGHTNING_ROD = RegistryKey.unsafeOf("waxed_exposed_lightning_rod"); + RegistryKey WAXED_EXPOSED_LIGHTNING_ROD = RegistryKey.of("waxed_exposed_lightning_rod"); - RegistryKey WAXED_LIGHTNING_ROD = RegistryKey.unsafeOf("waxed_lightning_rod"); + RegistryKey WAXED_LIGHTNING_ROD = RegistryKey.of("waxed_lightning_rod"); - RegistryKey WAXED_OXIDIZED_CHISELED_COPPER = RegistryKey.unsafeOf("waxed_oxidized_chiseled_copper"); + RegistryKey WAXED_OXIDIZED_CHISELED_COPPER = RegistryKey.of("waxed_oxidized_chiseled_copper"); - RegistryKey WAXED_OXIDIZED_COPPER = RegistryKey.unsafeOf("waxed_oxidized_copper"); + RegistryKey WAXED_OXIDIZED_COPPER = RegistryKey.of("waxed_oxidized_copper"); - RegistryKey WAXED_OXIDIZED_COPPER_BARS = RegistryKey.unsafeOf("waxed_oxidized_copper_bars"); + RegistryKey WAXED_OXIDIZED_COPPER_BARS = RegistryKey.of("waxed_oxidized_copper_bars"); - RegistryKey WAXED_OXIDIZED_COPPER_BULB = RegistryKey.unsafeOf("waxed_oxidized_copper_bulb"); + RegistryKey WAXED_OXIDIZED_COPPER_BULB = RegistryKey.of("waxed_oxidized_copper_bulb"); - RegistryKey WAXED_OXIDIZED_COPPER_CHAIN = RegistryKey.unsafeOf("waxed_oxidized_copper_chain"); + RegistryKey WAXED_OXIDIZED_COPPER_CHAIN = RegistryKey.of("waxed_oxidized_copper_chain"); - RegistryKey WAXED_OXIDIZED_COPPER_CHEST = RegistryKey.unsafeOf("waxed_oxidized_copper_chest"); + RegistryKey WAXED_OXIDIZED_COPPER_CHEST = RegistryKey.of("waxed_oxidized_copper_chest"); - RegistryKey WAXED_OXIDIZED_COPPER_DOOR = RegistryKey.unsafeOf("waxed_oxidized_copper_door"); + RegistryKey WAXED_OXIDIZED_COPPER_DOOR = RegistryKey.of("waxed_oxidized_copper_door"); - RegistryKey WAXED_OXIDIZED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("waxed_oxidized_copper_golem_statue"); + RegistryKey WAXED_OXIDIZED_COPPER_GOLEM_STATUE = RegistryKey.of("waxed_oxidized_copper_golem_statue"); - RegistryKey WAXED_OXIDIZED_COPPER_GRATE = RegistryKey.unsafeOf("waxed_oxidized_copper_grate"); + RegistryKey WAXED_OXIDIZED_COPPER_GRATE = RegistryKey.of("waxed_oxidized_copper_grate"); - RegistryKey WAXED_OXIDIZED_COPPER_LANTERN = RegistryKey.unsafeOf("waxed_oxidized_copper_lantern"); + RegistryKey WAXED_OXIDIZED_COPPER_LANTERN = RegistryKey.of("waxed_oxidized_copper_lantern"); - RegistryKey WAXED_OXIDIZED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("waxed_oxidized_copper_trapdoor"); + RegistryKey WAXED_OXIDIZED_COPPER_TRAPDOOR = RegistryKey.of("waxed_oxidized_copper_trapdoor"); - RegistryKey WAXED_OXIDIZED_CUT_COPPER = RegistryKey.unsafeOf("waxed_oxidized_cut_copper"); + RegistryKey WAXED_OXIDIZED_CUT_COPPER = RegistryKey.of("waxed_oxidized_cut_copper"); - RegistryKey WAXED_OXIDIZED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("waxed_oxidized_cut_copper_slab"); + RegistryKey WAXED_OXIDIZED_CUT_COPPER_SLAB = RegistryKey.of("waxed_oxidized_cut_copper_slab"); - RegistryKey WAXED_OXIDIZED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("waxed_oxidized_cut_copper_stairs"); + RegistryKey WAXED_OXIDIZED_CUT_COPPER_STAIRS = RegistryKey.of("waxed_oxidized_cut_copper_stairs"); - RegistryKey WAXED_OXIDIZED_LIGHTNING_ROD = RegistryKey.unsafeOf("waxed_oxidized_lightning_rod"); + RegistryKey WAXED_OXIDIZED_LIGHTNING_ROD = RegistryKey.of("waxed_oxidized_lightning_rod"); - RegistryKey WAXED_WEATHERED_CHISELED_COPPER = RegistryKey.unsafeOf("waxed_weathered_chiseled_copper"); + RegistryKey WAXED_WEATHERED_CHISELED_COPPER = RegistryKey.of("waxed_weathered_chiseled_copper"); - RegistryKey WAXED_WEATHERED_COPPER = RegistryKey.unsafeOf("waxed_weathered_copper"); + RegistryKey WAXED_WEATHERED_COPPER = RegistryKey.of("waxed_weathered_copper"); - RegistryKey WAXED_WEATHERED_COPPER_BARS = RegistryKey.unsafeOf("waxed_weathered_copper_bars"); + RegistryKey WAXED_WEATHERED_COPPER_BARS = RegistryKey.of("waxed_weathered_copper_bars"); - RegistryKey WAXED_WEATHERED_COPPER_BULB = RegistryKey.unsafeOf("waxed_weathered_copper_bulb"); + RegistryKey WAXED_WEATHERED_COPPER_BULB = RegistryKey.of("waxed_weathered_copper_bulb"); - RegistryKey WAXED_WEATHERED_COPPER_CHAIN = RegistryKey.unsafeOf("waxed_weathered_copper_chain"); + RegistryKey WAXED_WEATHERED_COPPER_CHAIN = RegistryKey.of("waxed_weathered_copper_chain"); - RegistryKey WAXED_WEATHERED_COPPER_CHEST = RegistryKey.unsafeOf("waxed_weathered_copper_chest"); + RegistryKey WAXED_WEATHERED_COPPER_CHEST = RegistryKey.of("waxed_weathered_copper_chest"); - RegistryKey WAXED_WEATHERED_COPPER_DOOR = RegistryKey.unsafeOf("waxed_weathered_copper_door"); + RegistryKey WAXED_WEATHERED_COPPER_DOOR = RegistryKey.of("waxed_weathered_copper_door"); - RegistryKey WAXED_WEATHERED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("waxed_weathered_copper_golem_statue"); + RegistryKey WAXED_WEATHERED_COPPER_GOLEM_STATUE = RegistryKey.of("waxed_weathered_copper_golem_statue"); - RegistryKey WAXED_WEATHERED_COPPER_GRATE = RegistryKey.unsafeOf("waxed_weathered_copper_grate"); + RegistryKey WAXED_WEATHERED_COPPER_GRATE = RegistryKey.of("waxed_weathered_copper_grate"); - RegistryKey WAXED_WEATHERED_COPPER_LANTERN = RegistryKey.unsafeOf("waxed_weathered_copper_lantern"); + RegistryKey WAXED_WEATHERED_COPPER_LANTERN = RegistryKey.of("waxed_weathered_copper_lantern"); - RegistryKey WAXED_WEATHERED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("waxed_weathered_copper_trapdoor"); + RegistryKey WAXED_WEATHERED_COPPER_TRAPDOOR = RegistryKey.of("waxed_weathered_copper_trapdoor"); - RegistryKey WAXED_WEATHERED_CUT_COPPER = RegistryKey.unsafeOf("waxed_weathered_cut_copper"); + RegistryKey WAXED_WEATHERED_CUT_COPPER = RegistryKey.of("waxed_weathered_cut_copper"); - RegistryKey WAXED_WEATHERED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("waxed_weathered_cut_copper_slab"); + RegistryKey WAXED_WEATHERED_CUT_COPPER_SLAB = RegistryKey.of("waxed_weathered_cut_copper_slab"); - RegistryKey WAXED_WEATHERED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("waxed_weathered_cut_copper_stairs"); + RegistryKey WAXED_WEATHERED_CUT_COPPER_STAIRS = RegistryKey.of("waxed_weathered_cut_copper_stairs"); - RegistryKey WAXED_WEATHERED_LIGHTNING_ROD = RegistryKey.unsafeOf("waxed_weathered_lightning_rod"); + RegistryKey WAXED_WEATHERED_LIGHTNING_ROD = RegistryKey.of("waxed_weathered_lightning_rod"); - RegistryKey WAYFINDER_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("wayfinder_armor_trim_smithing_template"); + RegistryKey WAYFINDER_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("wayfinder_armor_trim_smithing_template"); - RegistryKey WEATHERED_CHISELED_COPPER = RegistryKey.unsafeOf("weathered_chiseled_copper"); + RegistryKey WEATHERED_CHISELED_COPPER = RegistryKey.of("weathered_chiseled_copper"); - RegistryKey WEATHERED_COPPER = RegistryKey.unsafeOf("weathered_copper"); + RegistryKey WEATHERED_COPPER = RegistryKey.of("weathered_copper"); - RegistryKey WEATHERED_COPPER_BARS = RegistryKey.unsafeOf("weathered_copper_bars"); + RegistryKey WEATHERED_COPPER_BARS = RegistryKey.of("weathered_copper_bars"); - RegistryKey WEATHERED_COPPER_BULB = RegistryKey.unsafeOf("weathered_copper_bulb"); + RegistryKey WEATHERED_COPPER_BULB = RegistryKey.of("weathered_copper_bulb"); - RegistryKey WEATHERED_COPPER_CHAIN = RegistryKey.unsafeOf("weathered_copper_chain"); + RegistryKey WEATHERED_COPPER_CHAIN = RegistryKey.of("weathered_copper_chain"); - RegistryKey WEATHERED_COPPER_CHEST = RegistryKey.unsafeOf("weathered_copper_chest"); + RegistryKey WEATHERED_COPPER_CHEST = RegistryKey.of("weathered_copper_chest"); - RegistryKey WEATHERED_COPPER_DOOR = RegistryKey.unsafeOf("weathered_copper_door"); + RegistryKey WEATHERED_COPPER_DOOR = RegistryKey.of("weathered_copper_door"); - RegistryKey WEATHERED_COPPER_GOLEM_STATUE = RegistryKey.unsafeOf("weathered_copper_golem_statue"); + RegistryKey WEATHERED_COPPER_GOLEM_STATUE = RegistryKey.of("weathered_copper_golem_statue"); - RegistryKey WEATHERED_COPPER_GRATE = RegistryKey.unsafeOf("weathered_copper_grate"); + RegistryKey WEATHERED_COPPER_GRATE = RegistryKey.of("weathered_copper_grate"); - RegistryKey WEATHERED_COPPER_LANTERN = RegistryKey.unsafeOf("weathered_copper_lantern"); + RegistryKey WEATHERED_COPPER_LANTERN = RegistryKey.of("weathered_copper_lantern"); - RegistryKey WEATHERED_COPPER_TRAPDOOR = RegistryKey.unsafeOf("weathered_copper_trapdoor"); + RegistryKey WEATHERED_COPPER_TRAPDOOR = RegistryKey.of("weathered_copper_trapdoor"); - RegistryKey WEATHERED_CUT_COPPER = RegistryKey.unsafeOf("weathered_cut_copper"); + RegistryKey WEATHERED_CUT_COPPER = RegistryKey.of("weathered_cut_copper"); - RegistryKey WEATHERED_CUT_COPPER_SLAB = RegistryKey.unsafeOf("weathered_cut_copper_slab"); + RegistryKey WEATHERED_CUT_COPPER_SLAB = RegistryKey.of("weathered_cut_copper_slab"); - RegistryKey WEATHERED_CUT_COPPER_STAIRS = RegistryKey.unsafeOf("weathered_cut_copper_stairs"); + RegistryKey WEATHERED_CUT_COPPER_STAIRS = RegistryKey.of("weathered_cut_copper_stairs"); - RegistryKey WEATHERED_LIGHTNING_ROD = RegistryKey.unsafeOf("weathered_lightning_rod"); + RegistryKey WEATHERED_LIGHTNING_ROD = RegistryKey.of("weathered_lightning_rod"); - RegistryKey WEEPING_VINES = RegistryKey.unsafeOf("weeping_vines"); + RegistryKey WEEPING_VINES = RegistryKey.of("weeping_vines"); - RegistryKey WET_SPONGE = RegistryKey.unsafeOf("wet_sponge"); + RegistryKey WET_SPONGE = RegistryKey.of("wet_sponge"); - RegistryKey WHEAT = RegistryKey.unsafeOf("wheat"); + RegistryKey WHEAT = RegistryKey.of("wheat"); - RegistryKey WHEAT_SEEDS = RegistryKey.unsafeOf("wheat_seeds"); + RegistryKey WHEAT_SEEDS = RegistryKey.of("wheat_seeds"); - RegistryKey WHITE_BANNER = RegistryKey.unsafeOf("white_banner"); + RegistryKey WHITE_BANNER = RegistryKey.of("white_banner"); - RegistryKey WHITE_BED = RegistryKey.unsafeOf("white_bed"); + RegistryKey WHITE_BED = RegistryKey.of("white_bed"); - RegistryKey WHITE_BUNDLE = RegistryKey.unsafeOf("white_bundle"); + RegistryKey WHITE_BUNDLE = RegistryKey.of("white_bundle"); - RegistryKey WHITE_CANDLE = RegistryKey.unsafeOf("white_candle"); + RegistryKey WHITE_CANDLE = RegistryKey.of("white_candle"); - RegistryKey WHITE_CARPET = RegistryKey.unsafeOf("white_carpet"); + RegistryKey WHITE_CARPET = RegistryKey.of("white_carpet"); - RegistryKey WHITE_CONCRETE = RegistryKey.unsafeOf("white_concrete"); + RegistryKey WHITE_CONCRETE = RegistryKey.of("white_concrete"); - RegistryKey WHITE_CONCRETE_POWDER = RegistryKey.unsafeOf("white_concrete_powder"); + RegistryKey WHITE_CONCRETE_POWDER = RegistryKey.of("white_concrete_powder"); - RegistryKey WHITE_DYE = RegistryKey.unsafeOf("white_dye"); + RegistryKey WHITE_DYE = RegistryKey.of("white_dye"); - RegistryKey WHITE_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("white_glazed_terracotta"); + RegistryKey WHITE_GLAZED_TERRACOTTA = RegistryKey.of("white_glazed_terracotta"); - RegistryKey WHITE_HARNESS = RegistryKey.unsafeOf("white_harness"); + RegistryKey WHITE_HARNESS = RegistryKey.of("white_harness"); - RegistryKey WHITE_SHULKER_BOX = RegistryKey.unsafeOf("white_shulker_box"); + RegistryKey WHITE_SHULKER_BOX = RegistryKey.of("white_shulker_box"); - RegistryKey WHITE_STAINED_GLASS = RegistryKey.unsafeOf("white_stained_glass"); + RegistryKey WHITE_STAINED_GLASS = RegistryKey.of("white_stained_glass"); - RegistryKey WHITE_STAINED_GLASS_PANE = RegistryKey.unsafeOf("white_stained_glass_pane"); + RegistryKey WHITE_STAINED_GLASS_PANE = RegistryKey.of("white_stained_glass_pane"); - RegistryKey WHITE_TERRACOTTA = RegistryKey.unsafeOf("white_terracotta"); + RegistryKey WHITE_TERRACOTTA = RegistryKey.of("white_terracotta"); - RegistryKey WHITE_TULIP = RegistryKey.unsafeOf("white_tulip"); + RegistryKey WHITE_TULIP = RegistryKey.of("white_tulip"); - RegistryKey WHITE_WOOL = RegistryKey.unsafeOf("white_wool"); + RegistryKey WHITE_WOOL = RegistryKey.of("white_wool"); - RegistryKey WILD_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.unsafeOf("wild_armor_trim_smithing_template"); + RegistryKey WILD_ARMOR_TRIM_SMITHING_TEMPLATE = RegistryKey.of("wild_armor_trim_smithing_template"); - RegistryKey WILDFLOWERS = RegistryKey.unsafeOf("wildflowers"); + RegistryKey WILDFLOWERS = RegistryKey.of("wildflowers"); - RegistryKey WIND_CHARGE = RegistryKey.unsafeOf("wind_charge"); + RegistryKey WIND_CHARGE = RegistryKey.of("wind_charge"); - RegistryKey WITCH_SPAWN_EGG = RegistryKey.unsafeOf("witch_spawn_egg"); + RegistryKey WITCH_SPAWN_EGG = RegistryKey.of("witch_spawn_egg"); - RegistryKey WITHER_ROSE = RegistryKey.unsafeOf("wither_rose"); + RegistryKey WITHER_ROSE = RegistryKey.of("wither_rose"); - RegistryKey WITHER_SKELETON_SKULL = RegistryKey.unsafeOf("wither_skeleton_skull"); + RegistryKey WITHER_SKELETON_SKULL = RegistryKey.of("wither_skeleton_skull"); - RegistryKey WITHER_SKELETON_SPAWN_EGG = RegistryKey.unsafeOf("wither_skeleton_spawn_egg"); + RegistryKey WITHER_SKELETON_SPAWN_EGG = RegistryKey.of("wither_skeleton_spawn_egg"); - RegistryKey WITHER_SPAWN_EGG = RegistryKey.unsafeOf("wither_spawn_egg"); + RegistryKey WITHER_SPAWN_EGG = RegistryKey.of("wither_spawn_egg"); - RegistryKey WOLF_ARMOR = RegistryKey.unsafeOf("wolf_armor"); + RegistryKey WOLF_ARMOR = RegistryKey.of("wolf_armor"); - RegistryKey WOLF_SPAWN_EGG = RegistryKey.unsafeOf("wolf_spawn_egg"); + RegistryKey WOLF_SPAWN_EGG = RegistryKey.of("wolf_spawn_egg"); - RegistryKey WOODEN_AXE = RegistryKey.unsafeOf("wooden_axe"); + RegistryKey WOODEN_AXE = RegistryKey.of("wooden_axe"); - RegistryKey WOODEN_HOE = RegistryKey.unsafeOf("wooden_hoe"); + RegistryKey WOODEN_HOE = RegistryKey.of("wooden_hoe"); - RegistryKey WOODEN_PICKAXE = RegistryKey.unsafeOf("wooden_pickaxe"); + RegistryKey WOODEN_PICKAXE = RegistryKey.of("wooden_pickaxe"); - RegistryKey WOODEN_SHOVEL = RegistryKey.unsafeOf("wooden_shovel"); + RegistryKey WOODEN_SHOVEL = RegistryKey.of("wooden_shovel"); - RegistryKey WOODEN_SPEAR = RegistryKey.unsafeOf("wooden_spear"); + RegistryKey WOODEN_SPEAR = RegistryKey.of("wooden_spear"); - RegistryKey WOODEN_SWORD = RegistryKey.unsafeOf("wooden_sword"); + RegistryKey WOODEN_SWORD = RegistryKey.of("wooden_sword"); - RegistryKey WRITABLE_BOOK = RegistryKey.unsafeOf("writable_book"); + RegistryKey WRITABLE_BOOK = RegistryKey.of("writable_book"); - RegistryKey WRITTEN_BOOK = RegistryKey.unsafeOf("written_book"); + RegistryKey WRITTEN_BOOK = RegistryKey.of("written_book"); - RegistryKey YELLOW_BANNER = RegistryKey.unsafeOf("yellow_banner"); + RegistryKey YELLOW_BANNER = RegistryKey.of("yellow_banner"); - RegistryKey YELLOW_BED = RegistryKey.unsafeOf("yellow_bed"); + RegistryKey YELLOW_BED = RegistryKey.of("yellow_bed"); - RegistryKey YELLOW_BUNDLE = RegistryKey.unsafeOf("yellow_bundle"); + RegistryKey YELLOW_BUNDLE = RegistryKey.of("yellow_bundle"); - RegistryKey YELLOW_CANDLE = RegistryKey.unsafeOf("yellow_candle"); + RegistryKey YELLOW_CANDLE = RegistryKey.of("yellow_candle"); - RegistryKey YELLOW_CARPET = RegistryKey.unsafeOf("yellow_carpet"); + RegistryKey YELLOW_CARPET = RegistryKey.of("yellow_carpet"); - RegistryKey YELLOW_CONCRETE = RegistryKey.unsafeOf("yellow_concrete"); + RegistryKey YELLOW_CONCRETE = RegistryKey.of("yellow_concrete"); - RegistryKey YELLOW_CONCRETE_POWDER = RegistryKey.unsafeOf("yellow_concrete_powder"); + RegistryKey YELLOW_CONCRETE_POWDER = RegistryKey.of("yellow_concrete_powder"); - RegistryKey YELLOW_DYE = RegistryKey.unsafeOf("yellow_dye"); + RegistryKey YELLOW_DYE = RegistryKey.of("yellow_dye"); - RegistryKey YELLOW_GLAZED_TERRACOTTA = RegistryKey.unsafeOf("yellow_glazed_terracotta"); + RegistryKey YELLOW_GLAZED_TERRACOTTA = RegistryKey.of("yellow_glazed_terracotta"); - RegistryKey YELLOW_HARNESS = RegistryKey.unsafeOf("yellow_harness"); + RegistryKey YELLOW_HARNESS = RegistryKey.of("yellow_harness"); - RegistryKey YELLOW_SHULKER_BOX = RegistryKey.unsafeOf("yellow_shulker_box"); + RegistryKey YELLOW_SHULKER_BOX = RegistryKey.of("yellow_shulker_box"); - RegistryKey YELLOW_STAINED_GLASS = RegistryKey.unsafeOf("yellow_stained_glass"); + RegistryKey YELLOW_STAINED_GLASS = RegistryKey.of("yellow_stained_glass"); - RegistryKey YELLOW_STAINED_GLASS_PANE = RegistryKey.unsafeOf("yellow_stained_glass_pane"); + RegistryKey YELLOW_STAINED_GLASS_PANE = RegistryKey.of("yellow_stained_glass_pane"); - RegistryKey YELLOW_TERRACOTTA = RegistryKey.unsafeOf("yellow_terracotta"); + RegistryKey YELLOW_TERRACOTTA = RegistryKey.of("yellow_terracotta"); - RegistryKey YELLOW_WOOL = RegistryKey.unsafeOf("yellow_wool"); + RegistryKey YELLOW_WOOL = RegistryKey.of("yellow_wool"); - RegistryKey ZOGLIN_SPAWN_EGG = RegistryKey.unsafeOf("zoglin_spawn_egg"); + RegistryKey ZOGLIN_SPAWN_EGG = RegistryKey.of("zoglin_spawn_egg"); - RegistryKey ZOMBIE_HEAD = RegistryKey.unsafeOf("zombie_head"); + RegistryKey ZOMBIE_HEAD = RegistryKey.of("zombie_head"); - RegistryKey ZOMBIE_HORSE_SPAWN_EGG = RegistryKey.unsafeOf("zombie_horse_spawn_egg"); + RegistryKey ZOMBIE_HORSE_SPAWN_EGG = RegistryKey.of("zombie_horse_spawn_egg"); - RegistryKey ZOMBIE_NAUTILUS_SPAWN_EGG = RegistryKey.unsafeOf("zombie_nautilus_spawn_egg"); + RegistryKey ZOMBIE_NAUTILUS_SPAWN_EGG = RegistryKey.of("zombie_nautilus_spawn_egg"); - RegistryKey ZOMBIE_SPAWN_EGG = RegistryKey.unsafeOf("zombie_spawn_egg"); + RegistryKey ZOMBIE_SPAWN_EGG = RegistryKey.of("zombie_spawn_egg"); - RegistryKey ZOMBIE_VILLAGER_SPAWN_EGG = RegistryKey.unsafeOf("zombie_villager_spawn_egg"); + RegistryKey ZOMBIE_VILLAGER_SPAWN_EGG = RegistryKey.of("zombie_villager_spawn_egg"); - RegistryKey ZOMBIFIED_PIGLIN_SPAWN_EGG = RegistryKey.unsafeOf("zombified_piglin_spawn_egg"); + RegistryKey ZOMBIFIED_PIGLIN_SPAWN_EGG = RegistryKey.of("zombified_piglin_spawn_egg"); } diff --git a/src/autogenerated/java/net/minestom/server/item/MaterialTags.java b/src/autogenerated/java/net/minestom/server/item/MaterialTags.java index 5a67e360f1b..ec4fff05d2b 100644 --- a/src/autogenerated/java/net/minestom/server/item/MaterialTags.java +++ b/src/autogenerated/java/net/minestom/server/item/MaterialTags.java @@ -11,451 +11,451 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface MaterialTags { - TagKey ACACIA_LOGS = TagKey.unsafeOf("acacia_logs"); + TagKey ACACIA_LOGS = TagKey.of("acacia_logs"); - TagKey ANVIL = TagKey.unsafeOf("anvil"); + TagKey ANVIL = TagKey.of("anvil"); - TagKey ARMADILLO_FOOD = TagKey.unsafeOf("armadillo_food"); + TagKey ARMADILLO_FOOD = TagKey.of("armadillo_food"); - TagKey ARROWS = TagKey.unsafeOf("arrows"); + TagKey ARROWS = TagKey.of("arrows"); - TagKey AXES = TagKey.unsafeOf("axes"); + TagKey AXES = TagKey.of("axes"); - TagKey AXOLOTL_FOOD = TagKey.unsafeOf("axolotl_food"); + TagKey AXOLOTL_FOOD = TagKey.of("axolotl_food"); - TagKey BAMBOO_BLOCKS = TagKey.unsafeOf("bamboo_blocks"); + TagKey BAMBOO_BLOCKS = TagKey.of("bamboo_blocks"); - TagKey BANNERS = TagKey.unsafeOf("banners"); + TagKey BANNERS = TagKey.of("banners"); - TagKey BARS = TagKey.unsafeOf("bars"); + TagKey BARS = TagKey.of("bars"); - TagKey BEACON_PAYMENT_ITEMS = TagKey.unsafeOf("beacon_payment_items"); + TagKey BEACON_PAYMENT_ITEMS = TagKey.of("beacon_payment_items"); - TagKey BEDS = TagKey.unsafeOf("beds"); + TagKey BEDS = TagKey.of("beds"); - TagKey BEE_FOOD = TagKey.unsafeOf("bee_food"); + TagKey BEE_FOOD = TagKey.of("bee_food"); - TagKey BIRCH_LOGS = TagKey.unsafeOf("birch_logs"); + TagKey BIRCH_LOGS = TagKey.of("birch_logs"); - TagKey BOATS = TagKey.unsafeOf("boats"); + TagKey BOATS = TagKey.of("boats"); - TagKey BOOK_CLONING_TARGET = TagKey.unsafeOf("book_cloning_target"); + TagKey BOOK_CLONING_TARGET = TagKey.of("book_cloning_target"); - TagKey BOOKSHELF_BOOKS = TagKey.unsafeOf("bookshelf_books"); + TagKey BOOKSHELF_BOOKS = TagKey.of("bookshelf_books"); - TagKey BREAKS_DECORATED_POTS = TagKey.unsafeOf("breaks_decorated_pots"); + TagKey BREAKS_DECORATED_POTS = TagKey.of("breaks_decorated_pots"); - TagKey BREWING_FUEL = TagKey.unsafeOf("brewing_fuel"); + TagKey BREWING_FUEL = TagKey.of("brewing_fuel"); - TagKey BUNDLES = TagKey.unsafeOf("bundles"); + TagKey BUNDLES = TagKey.of("bundles"); - TagKey BUTTONS = TagKey.unsafeOf("buttons"); + TagKey BUTTONS = TagKey.of("buttons"); - TagKey CAMEL_FOOD = TagKey.unsafeOf("camel_food"); + TagKey CAMEL_FOOD = TagKey.of("camel_food"); - TagKey CAMEL_HUSK_FOOD = TagKey.unsafeOf("camel_husk_food"); + TagKey CAMEL_HUSK_FOOD = TagKey.of("camel_husk_food"); - TagKey CANDLES = TagKey.unsafeOf("candles"); + TagKey CANDLES = TagKey.of("candles"); - TagKey CAT_COLLAR_DYES = TagKey.unsafeOf("cat_collar_dyes"); + TagKey CAT_COLLAR_DYES = TagKey.of("cat_collar_dyes"); - TagKey CAT_FOOD = TagKey.unsafeOf("cat_food"); + TagKey CAT_FOOD = TagKey.of("cat_food"); - TagKey CAULDRON_CAN_REMOVE_DYE = TagKey.unsafeOf("cauldron_can_remove_dye"); + TagKey CAULDRON_CAN_REMOVE_DYE = TagKey.of("cauldron_can_remove_dye"); - TagKey CHAINS = TagKey.unsafeOf("chains"); + TagKey CHAINS = TagKey.of("chains"); - TagKey CHERRY_LOGS = TagKey.unsafeOf("cherry_logs"); + TagKey CHERRY_LOGS = TagKey.of("cherry_logs"); - TagKey CHEST_ARMOR = TagKey.unsafeOf("chest_armor"); + TagKey CHEST_ARMOR = TagKey.of("chest_armor"); - TagKey CHEST_BOATS = TagKey.unsafeOf("chest_boats"); + TagKey CHEST_BOATS = TagKey.of("chest_boats"); - TagKey CHICKEN_FOOD = TagKey.unsafeOf("chicken_food"); + TagKey CHICKEN_FOOD = TagKey.of("chicken_food"); - TagKey CLUSTER_MAX_HARVESTABLES = TagKey.unsafeOf("cluster_max_harvestables"); + TagKey CLUSTER_MAX_HARVESTABLES = TagKey.of("cluster_max_harvestables"); - TagKey COAL_ORES = TagKey.unsafeOf("coal_ores"); + TagKey COAL_ORES = TagKey.of("coal_ores"); - TagKey COALS = TagKey.unsafeOf("coals"); + TagKey COALS = TagKey.of("coals"); - TagKey COMPASSES = TagKey.unsafeOf("compasses"); + TagKey COMPASSES = TagKey.of("compasses"); - TagKey COMPLETES_FIND_TREE_TUTORIAL = TagKey.unsafeOf("completes_find_tree_tutorial"); + TagKey COMPLETES_FIND_TREE_TUTORIAL = TagKey.of("completes_find_tree_tutorial"); - TagKey CONCRETE = TagKey.unsafeOf("concrete"); + TagKey CONCRETE = TagKey.of("concrete"); - TagKey CONCRETE_POWDERS = TagKey.unsafeOf("concrete_powders"); + TagKey CONCRETE_POWDERS = TagKey.of("concrete_powders"); - TagKey COPPER = TagKey.unsafeOf("copper"); + TagKey COPPER = TagKey.of("copper"); - TagKey COPPER_CHESTS = TagKey.unsafeOf("copper_chests"); + TagKey COPPER_CHESTS = TagKey.of("copper_chests"); - TagKey COPPER_GOLEM_STATUES = TagKey.unsafeOf("copper_golem_statues"); + TagKey COPPER_GOLEM_STATUES = TagKey.of("copper_golem_statues"); - TagKey COPPER_ORES = TagKey.unsafeOf("copper_ores"); + TagKey COPPER_ORES = TagKey.of("copper_ores"); - TagKey COPPER_TOOL_MATERIALS = TagKey.unsafeOf("copper_tool_materials"); + TagKey COPPER_TOOL_MATERIALS = TagKey.of("copper_tool_materials"); - TagKey COW_FOOD = TagKey.unsafeOf("cow_food"); + TagKey COW_FOOD = TagKey.of("cow_food"); - TagKey CREEPER_DROP_MUSIC_DISCS = TagKey.unsafeOf("creeper_drop_music_discs"); + TagKey CREEPER_DROP_MUSIC_DISCS = TagKey.of("creeper_drop_music_discs"); - TagKey CREEPER_IGNITERS = TagKey.unsafeOf("creeper_igniters"); + TagKey CREEPER_IGNITERS = TagKey.of("creeper_igniters"); - TagKey CRIMSON_STEMS = TagKey.unsafeOf("crimson_stems"); + TagKey CRIMSON_STEMS = TagKey.of("crimson_stems"); - TagKey DAMPENS_VIBRATIONS = TagKey.unsafeOf("dampens_vibrations"); + TagKey DAMPENS_VIBRATIONS = TagKey.of("dampens_vibrations"); - TagKey DARK_OAK_LOGS = TagKey.unsafeOf("dark_oak_logs"); + TagKey DARK_OAK_LOGS = TagKey.of("dark_oak_logs"); - TagKey DECORATED_POT_INGREDIENTS = TagKey.unsafeOf("decorated_pot_ingredients"); + TagKey DECORATED_POT_INGREDIENTS = TagKey.of("decorated_pot_ingredients"); - TagKey DECORATED_POT_SHERDS = TagKey.unsafeOf("decorated_pot_sherds"); + TagKey DECORATED_POT_SHERDS = TagKey.of("decorated_pot_sherds"); - TagKey DIAMOND_ORES = TagKey.unsafeOf("diamond_ores"); + TagKey DIAMOND_ORES = TagKey.of("diamond_ores"); - TagKey DIAMOND_TOOL_MATERIALS = TagKey.unsafeOf("diamond_tool_materials"); + TagKey DIAMOND_TOOL_MATERIALS = TagKey.of("diamond_tool_materials"); - TagKey DIRT = TagKey.unsafeOf("dirt"); + TagKey DIRT = TagKey.of("dirt"); - TagKey DOORS = TagKey.unsafeOf("doors"); + TagKey DOORS = TagKey.of("doors"); - TagKey DROWNED_PREFERRED_WEAPONS = TagKey.unsafeOf("drowned_preferred_weapons"); + TagKey DROWNED_PREFERRED_WEAPONS = TagKey.of("drowned_preferred_weapons"); - TagKey DUPLICATES_ALLAYS = TagKey.unsafeOf("duplicates_allays"); + TagKey DUPLICATES_ALLAYS = TagKey.of("duplicates_allays"); - TagKey DYES = TagKey.unsafeOf("dyes"); + TagKey DYES = TagKey.of("dyes"); - TagKey EGGS = TagKey.unsafeOf("eggs"); + TagKey EGGS = TagKey.of("eggs"); - TagKey EMERALD_ORES = TagKey.unsafeOf("emerald_ores"); + TagKey EMERALD_ORES = TagKey.of("emerald_ores"); - TagKey ENCHANTABLE_ARMOR = TagKey.unsafeOf("enchantable/armor"); + TagKey ENCHANTABLE_ARMOR = TagKey.of("enchantable/armor"); - TagKey ENCHANTABLE_BOW = TagKey.unsafeOf("enchantable/bow"); + TagKey ENCHANTABLE_BOW = TagKey.of("enchantable/bow"); - TagKey ENCHANTABLE_CHEST_ARMOR = TagKey.unsafeOf("enchantable/chest_armor"); + TagKey ENCHANTABLE_CHEST_ARMOR = TagKey.of("enchantable/chest_armor"); - TagKey ENCHANTABLE_CROSSBOW = TagKey.unsafeOf("enchantable/crossbow"); + TagKey ENCHANTABLE_CROSSBOW = TagKey.of("enchantable/crossbow"); - TagKey ENCHANTABLE_DURABILITY = TagKey.unsafeOf("enchantable/durability"); + TagKey ENCHANTABLE_DURABILITY = TagKey.of("enchantable/durability"); - TagKey ENCHANTABLE_EQUIPPABLE = TagKey.unsafeOf("enchantable/equippable"); + TagKey ENCHANTABLE_EQUIPPABLE = TagKey.of("enchantable/equippable"); - TagKey ENCHANTABLE_FIRE_ASPECT = TagKey.unsafeOf("enchantable/fire_aspect"); + TagKey ENCHANTABLE_FIRE_ASPECT = TagKey.of("enchantable/fire_aspect"); - TagKey ENCHANTABLE_FISHING = TagKey.unsafeOf("enchantable/fishing"); + TagKey ENCHANTABLE_FISHING = TagKey.of("enchantable/fishing"); - TagKey ENCHANTABLE_FOOT_ARMOR = TagKey.unsafeOf("enchantable/foot_armor"); + TagKey ENCHANTABLE_FOOT_ARMOR = TagKey.of("enchantable/foot_armor"); - TagKey ENCHANTABLE_HEAD_ARMOR = TagKey.unsafeOf("enchantable/head_armor"); + TagKey ENCHANTABLE_HEAD_ARMOR = TagKey.of("enchantable/head_armor"); - TagKey ENCHANTABLE_LEG_ARMOR = TagKey.unsafeOf("enchantable/leg_armor"); + TagKey ENCHANTABLE_LEG_ARMOR = TagKey.of("enchantable/leg_armor"); - TagKey ENCHANTABLE_LUNGE = TagKey.unsafeOf("enchantable/lunge"); + TagKey ENCHANTABLE_LUNGE = TagKey.of("enchantable/lunge"); - TagKey ENCHANTABLE_MACE = TagKey.unsafeOf("enchantable/mace"); + TagKey ENCHANTABLE_MACE = TagKey.of("enchantable/mace"); - TagKey ENCHANTABLE_MELEE_WEAPON = TagKey.unsafeOf("enchantable/melee_weapon"); + TagKey ENCHANTABLE_MELEE_WEAPON = TagKey.of("enchantable/melee_weapon"); - TagKey ENCHANTABLE_MINING = TagKey.unsafeOf("enchantable/mining"); + TagKey ENCHANTABLE_MINING = TagKey.of("enchantable/mining"); - TagKey ENCHANTABLE_MINING_LOOT = TagKey.unsafeOf("enchantable/mining_loot"); + TagKey ENCHANTABLE_MINING_LOOT = TagKey.of("enchantable/mining_loot"); - TagKey ENCHANTABLE_SHARP_WEAPON = TagKey.unsafeOf("enchantable/sharp_weapon"); + TagKey ENCHANTABLE_SHARP_WEAPON = TagKey.of("enchantable/sharp_weapon"); - TagKey ENCHANTABLE_SWEEPING = TagKey.unsafeOf("enchantable/sweeping"); + TagKey ENCHANTABLE_SWEEPING = TagKey.of("enchantable/sweeping"); - TagKey ENCHANTABLE_TRIDENT = TagKey.unsafeOf("enchantable/trident"); + TagKey ENCHANTABLE_TRIDENT = TagKey.of("enchantable/trident"); - TagKey ENCHANTABLE_VANISHING = TagKey.unsafeOf("enchantable/vanishing"); + TagKey ENCHANTABLE_VANISHING = TagKey.of("enchantable/vanishing"); - TagKey ENCHANTABLE_WEAPON = TagKey.unsafeOf("enchantable/weapon"); + TagKey ENCHANTABLE_WEAPON = TagKey.of("enchantable/weapon"); - TagKey FENCE_GATES = TagKey.unsafeOf("fence_gates"); + TagKey FENCE_GATES = TagKey.of("fence_gates"); - TagKey FENCES = TagKey.unsafeOf("fences"); + TagKey FENCES = TagKey.of("fences"); - TagKey FISHES = TagKey.unsafeOf("fishes"); + TagKey FISHES = TagKey.of("fishes"); - TagKey FLOWERS = TagKey.unsafeOf("flowers"); + TagKey FLOWERS = TagKey.of("flowers"); - TagKey FOOT_ARMOR = TagKey.unsafeOf("foot_armor"); + TagKey FOOT_ARMOR = TagKey.of("foot_armor"); - TagKey FOX_FOOD = TagKey.unsafeOf("fox_food"); + TagKey FOX_FOOD = TagKey.of("fox_food"); - TagKey FREEZE_IMMUNE_WEARABLES = TagKey.unsafeOf("freeze_immune_wearables"); + TagKey FREEZE_IMMUNE_WEARABLES = TagKey.of("freeze_immune_wearables"); - TagKey FROG_FOOD = TagKey.unsafeOf("frog_food"); + TagKey FROG_FOOD = TagKey.of("frog_food"); - TagKey FURNACE_MINECART_FUEL = TagKey.unsafeOf("furnace_minecart_fuel"); + TagKey FURNACE_MINECART_FUEL = TagKey.of("furnace_minecart_fuel"); - TagKey GAZE_DISGUISE_EQUIPMENT = TagKey.unsafeOf("gaze_disguise_equipment"); + TagKey GAZE_DISGUISE_EQUIPMENT = TagKey.of("gaze_disguise_equipment"); - TagKey GLAZED_TERRACOTTA = TagKey.unsafeOf("glazed_terracotta"); + TagKey GLAZED_TERRACOTTA = TagKey.of("glazed_terracotta"); - TagKey GOAT_FOOD = TagKey.unsafeOf("goat_food"); + TagKey GOAT_FOOD = TagKey.of("goat_food"); - TagKey GOLD_ORES = TagKey.unsafeOf("gold_ores"); + TagKey GOLD_ORES = TagKey.of("gold_ores"); - TagKey GOLD_TOOL_MATERIALS = TagKey.unsafeOf("gold_tool_materials"); + TagKey GOLD_TOOL_MATERIALS = TagKey.of("gold_tool_materials"); - TagKey GRASS_BLOCKS = TagKey.unsafeOf("grass_blocks"); + TagKey GRASS_BLOCKS = TagKey.of("grass_blocks"); - TagKey HANGING_SIGNS = TagKey.unsafeOf("hanging_signs"); + TagKey HANGING_SIGNS = TagKey.of("hanging_signs"); - TagKey HAPPY_GHAST_FOOD = TagKey.unsafeOf("happy_ghast_food"); + TagKey HAPPY_GHAST_FOOD = TagKey.of("happy_ghast_food"); - TagKey HAPPY_GHAST_TEMPT_ITEMS = TagKey.unsafeOf("happy_ghast_tempt_items"); + TagKey HAPPY_GHAST_TEMPT_ITEMS = TagKey.of("happy_ghast_tempt_items"); - TagKey HARNESSES = TagKey.unsafeOf("harnesses"); + TagKey HARNESSES = TagKey.of("harnesses"); - TagKey HEAD_ARMOR = TagKey.unsafeOf("head_armor"); + TagKey HEAD_ARMOR = TagKey.of("head_armor"); - TagKey HOES = TagKey.unsafeOf("hoes"); + TagKey HOES = TagKey.of("hoes"); - TagKey HOGLIN_FOOD = TagKey.unsafeOf("hoglin_food"); + TagKey HOGLIN_FOOD = TagKey.of("hoglin_food"); - TagKey HORSE_FOOD = TagKey.unsafeOf("horse_food"); + TagKey HORSE_FOOD = TagKey.of("horse_food"); - TagKey HORSE_TEMPT_ITEMS = TagKey.unsafeOf("horse_tempt_items"); + TagKey HORSE_TEMPT_ITEMS = TagKey.of("horse_tempt_items"); - TagKey IGNORED_BY_PIGLIN_BABIES = TagKey.unsafeOf("ignored_by_piglin_babies"); + TagKey IGNORED_BY_PIGLIN_BABIES = TagKey.of("ignored_by_piglin_babies"); - TagKey IRON_ORES = TagKey.unsafeOf("iron_ores"); + TagKey IRON_ORES = TagKey.of("iron_ores"); - TagKey IRON_TOOL_MATERIALS = TagKey.unsafeOf("iron_tool_materials"); + TagKey IRON_TOOL_MATERIALS = TagKey.of("iron_tool_materials"); - TagKey JUNGLE_LOGS = TagKey.unsafeOf("jungle_logs"); + TagKey JUNGLE_LOGS = TagKey.of("jungle_logs"); - TagKey LANTERNS = TagKey.unsafeOf("lanterns"); + TagKey LANTERNS = TagKey.of("lanterns"); - TagKey LAPIS_ORES = TagKey.unsafeOf("lapis_ores"); + TagKey LAPIS_ORES = TagKey.of("lapis_ores"); - TagKey LEAVES = TagKey.unsafeOf("leaves"); + TagKey LEAVES = TagKey.of("leaves"); - TagKey LECTERN_BOOKS = TagKey.unsafeOf("lectern_books"); + TagKey LECTERN_BOOKS = TagKey.of("lectern_books"); - TagKey LEG_ARMOR = TagKey.unsafeOf("leg_armor"); + TagKey LEG_ARMOR = TagKey.of("leg_armor"); - TagKey LIGHTNING_RODS = TagKey.unsafeOf("lightning_rods"); + TagKey LIGHTNING_RODS = TagKey.of("lightning_rods"); - TagKey LLAMA_FOOD = TagKey.unsafeOf("llama_food"); + TagKey LLAMA_FOOD = TagKey.of("llama_food"); - TagKey LLAMA_TEMPT_ITEMS = TagKey.unsafeOf("llama_tempt_items"); + TagKey LLAMA_TEMPT_ITEMS = TagKey.of("llama_tempt_items"); - TagKey LOGS = TagKey.unsafeOf("logs"); + TagKey LOGS = TagKey.of("logs"); - TagKey LOGS_THAT_BURN = TagKey.unsafeOf("logs_that_burn"); + TagKey LOGS_THAT_BURN = TagKey.of("logs_that_burn"); - TagKey LOOM_DYES = TagKey.unsafeOf("loom_dyes"); + TagKey LOOM_DYES = TagKey.of("loom_dyes"); - TagKey LOOM_PATTERNS = TagKey.unsafeOf("loom_patterns"); + TagKey LOOM_PATTERNS = TagKey.of("loom_patterns"); - TagKey MANGROVE_LOGS = TagKey.unsafeOf("mangrove_logs"); + TagKey MANGROVE_LOGS = TagKey.of("mangrove_logs"); - TagKey MAP_INVISIBILITY_EQUIPMENT = TagKey.unsafeOf("map_invisibility_equipment"); + TagKey MAP_INVISIBILITY_EQUIPMENT = TagKey.of("map_invisibility_equipment"); - TagKey MEAT = TagKey.unsafeOf("meat"); + TagKey MEAT = TagKey.of("meat"); - TagKey METAL_NUGGETS = TagKey.unsafeOf("metal_nuggets"); + TagKey METAL_NUGGETS = TagKey.of("metal_nuggets"); - TagKey MOSS_BLOCKS = TagKey.unsafeOf("moss_blocks"); + TagKey MOSS_BLOCKS = TagKey.of("moss_blocks"); - TagKey MUD = TagKey.unsafeOf("mud"); + TagKey MUD = TagKey.of("mud"); - TagKey NAUTILUS_BUCKET_FOOD = TagKey.unsafeOf("nautilus_bucket_food"); + TagKey NAUTILUS_BUCKET_FOOD = TagKey.of("nautilus_bucket_food"); - TagKey NAUTILUS_FOOD = TagKey.unsafeOf("nautilus_food"); + TagKey NAUTILUS_FOOD = TagKey.of("nautilus_food"); - TagKey NAUTILUS_TAMING_ITEMS = TagKey.unsafeOf("nautilus_taming_items"); + TagKey NAUTILUS_TAMING_ITEMS = TagKey.of("nautilus_taming_items"); - TagKey NETHERITE_TOOL_MATERIALS = TagKey.unsafeOf("netherite_tool_materials"); + TagKey NETHERITE_TOOL_MATERIALS = TagKey.of("netherite_tool_materials"); - TagKey NON_FLAMMABLE_WOOD = TagKey.unsafeOf("non_flammable_wood"); + TagKey NON_FLAMMABLE_WOOD = TagKey.of("non_flammable_wood"); - TagKey NOTEBLOCK_TOP_INSTRUMENTS = TagKey.unsafeOf("noteblock_top_instruments"); + TagKey NOTEBLOCK_TOP_INSTRUMENTS = TagKey.of("noteblock_top_instruments"); - TagKey OAK_LOGS = TagKey.unsafeOf("oak_logs"); + TagKey OAK_LOGS = TagKey.of("oak_logs"); - TagKey OCELOT_FOOD = TagKey.unsafeOf("ocelot_food"); + TagKey OCELOT_FOOD = TagKey.of("ocelot_food"); - TagKey PALE_OAK_LOGS = TagKey.unsafeOf("pale_oak_logs"); + TagKey PALE_OAK_LOGS = TagKey.of("pale_oak_logs"); - TagKey PANDA_EATS_FROM_GROUND = TagKey.unsafeOf("panda_eats_from_ground"); + TagKey PANDA_EATS_FROM_GROUND = TagKey.of("panda_eats_from_ground"); - TagKey PANDA_FOOD = TagKey.unsafeOf("panda_food"); + TagKey PANDA_FOOD = TagKey.of("panda_food"); - TagKey PARROT_FOOD = TagKey.unsafeOf("parrot_food"); + TagKey PARROT_FOOD = TagKey.of("parrot_food"); - TagKey PARROT_POISONOUS_FOOD = TagKey.unsafeOf("parrot_poisonous_food"); + TagKey PARROT_POISONOUS_FOOD = TagKey.of("parrot_poisonous_food"); - TagKey PICKAXES = TagKey.unsafeOf("pickaxes"); + TagKey PICKAXES = TagKey.of("pickaxes"); - TagKey PIG_FOOD = TagKey.unsafeOf("pig_food"); + TagKey PIG_FOOD = TagKey.of("pig_food"); - TagKey PIGLIN_FOOD = TagKey.unsafeOf("piglin_food"); + TagKey PIGLIN_FOOD = TagKey.of("piglin_food"); - TagKey PIGLIN_LOVED = TagKey.unsafeOf("piglin_loved"); + TagKey PIGLIN_LOVED = TagKey.of("piglin_loved"); - TagKey PIGLIN_PREFERRED_WEAPONS = TagKey.unsafeOf("piglin_preferred_weapons"); + TagKey PIGLIN_PREFERRED_WEAPONS = TagKey.of("piglin_preferred_weapons"); - TagKey PIGLIN_REPELLENTS = TagKey.unsafeOf("piglin_repellents"); + TagKey PIGLIN_REPELLENTS = TagKey.of("piglin_repellents"); - TagKey PIGLIN_SAFE_ARMOR = TagKey.unsafeOf("piglin_safe_armor"); + TagKey PIGLIN_SAFE_ARMOR = TagKey.of("piglin_safe_armor"); - TagKey PILLAGER_PREFERRED_WEAPONS = TagKey.unsafeOf("pillager_preferred_weapons"); + TagKey PILLAGER_PREFERRED_WEAPONS = TagKey.of("pillager_preferred_weapons"); - TagKey PLANKS = TagKey.unsafeOf("planks"); + TagKey PLANKS = TagKey.of("planks"); - TagKey RABBIT_FOOD = TagKey.unsafeOf("rabbit_food"); + TagKey RABBIT_FOOD = TagKey.of("rabbit_food"); - TagKey RAILS = TagKey.unsafeOf("rails"); + TagKey RAILS = TagKey.of("rails"); - TagKey REDSTONE_ORES = TagKey.unsafeOf("redstone_ores"); + TagKey REDSTONE_ORES = TagKey.of("redstone_ores"); - TagKey REPAIRS_CHAIN_ARMOR = TagKey.unsafeOf("repairs_chain_armor"); + TagKey REPAIRS_CHAIN_ARMOR = TagKey.of("repairs_chain_armor"); - TagKey REPAIRS_COPPER_ARMOR = TagKey.unsafeOf("repairs_copper_armor"); + TagKey REPAIRS_COPPER_ARMOR = TagKey.of("repairs_copper_armor"); - TagKey REPAIRS_DIAMOND_ARMOR = TagKey.unsafeOf("repairs_diamond_armor"); + TagKey REPAIRS_DIAMOND_ARMOR = TagKey.of("repairs_diamond_armor"); - TagKey REPAIRS_GOLD_ARMOR = TagKey.unsafeOf("repairs_gold_armor"); + TagKey REPAIRS_GOLD_ARMOR = TagKey.of("repairs_gold_armor"); - TagKey REPAIRS_IRON_ARMOR = TagKey.unsafeOf("repairs_iron_armor"); + TagKey REPAIRS_IRON_ARMOR = TagKey.of("repairs_iron_armor"); - TagKey REPAIRS_LEATHER_ARMOR = TagKey.unsafeOf("repairs_leather_armor"); + TagKey REPAIRS_LEATHER_ARMOR = TagKey.of("repairs_leather_armor"); - TagKey REPAIRS_NETHERITE_ARMOR = TagKey.unsafeOf("repairs_netherite_armor"); + TagKey REPAIRS_NETHERITE_ARMOR = TagKey.of("repairs_netherite_armor"); - TagKey REPAIRS_TURTLE_HELMET = TagKey.unsafeOf("repairs_turtle_helmet"); + TagKey REPAIRS_TURTLE_HELMET = TagKey.of("repairs_turtle_helmet"); - TagKey REPAIRS_WOLF_ARMOR = TagKey.unsafeOf("repairs_wolf_armor"); + TagKey REPAIRS_WOLF_ARMOR = TagKey.of("repairs_wolf_armor"); - TagKey SAND = TagKey.unsafeOf("sand"); + TagKey SAND = TagKey.of("sand"); - TagKey SAPLINGS = TagKey.unsafeOf("saplings"); + TagKey SAPLINGS = TagKey.of("saplings"); - TagKey SHEARABLE_FROM_COPPER_GOLEM = TagKey.unsafeOf("shearable_from_copper_golem"); + TagKey SHEARABLE_FROM_COPPER_GOLEM = TagKey.of("shearable_from_copper_golem"); - TagKey SHEEP_FOOD = TagKey.unsafeOf("sheep_food"); + TagKey SHEEP_FOOD = TagKey.of("sheep_food"); - TagKey SHOVELS = TagKey.unsafeOf("shovels"); + TagKey SHOVELS = TagKey.of("shovels"); - TagKey SHULKER_BOXES = TagKey.unsafeOf("shulker_boxes"); + TagKey SHULKER_BOXES = TagKey.of("shulker_boxes"); - TagKey SIGNS = TagKey.unsafeOf("signs"); + TagKey SIGNS = TagKey.of("signs"); - TagKey SKELETON_PREFERRED_WEAPONS = TagKey.unsafeOf("skeleton_preferred_weapons"); + TagKey SKELETON_PREFERRED_WEAPONS = TagKey.of("skeleton_preferred_weapons"); - TagKey SKULLS = TagKey.unsafeOf("skulls"); + TagKey SKULLS = TagKey.of("skulls"); - TagKey SLABS = TagKey.unsafeOf("slabs"); + TagKey SLABS = TagKey.of("slabs"); - TagKey SMALL_FLOWERS = TagKey.unsafeOf("small_flowers"); + TagKey SMALL_FLOWERS = TagKey.of("small_flowers"); - TagKey SMELTS_TO_GLASS = TagKey.unsafeOf("smelts_to_glass"); + TagKey SMELTS_TO_GLASS = TagKey.of("smelts_to_glass"); - TagKey SNIFFER_FOOD = TagKey.unsafeOf("sniffer_food"); + TagKey SNIFFER_FOOD = TagKey.of("sniffer_food"); - TagKey SOUL_FIRE_BASE_BLOCKS = TagKey.unsafeOf("soul_fire_base_blocks"); + TagKey SOUL_FIRE_BASE_BLOCKS = TagKey.of("soul_fire_base_blocks"); - TagKey SPEARS = TagKey.unsafeOf("spears"); + TagKey SPEARS = TagKey.of("spears"); - TagKey SPRUCE_LOGS = TagKey.unsafeOf("spruce_logs"); + TagKey SPRUCE_LOGS = TagKey.of("spruce_logs"); - TagKey STAIRS = TagKey.unsafeOf("stairs"); + TagKey STAIRS = TagKey.of("stairs"); - TagKey STONE_BRICKS = TagKey.unsafeOf("stone_bricks"); + TagKey STONE_BRICKS = TagKey.of("stone_bricks"); - TagKey STONE_BUTTONS = TagKey.unsafeOf("stone_buttons"); + TagKey STONE_BUTTONS = TagKey.of("stone_buttons"); - TagKey STONE_CRAFTING_MATERIALS = TagKey.unsafeOf("stone_crafting_materials"); + TagKey STONE_CRAFTING_MATERIALS = TagKey.of("stone_crafting_materials"); - TagKey STONE_TOOL_MATERIALS = TagKey.unsafeOf("stone_tool_materials"); + TagKey STONE_TOOL_MATERIALS = TagKey.of("stone_tool_materials"); - TagKey STRIDER_FOOD = TagKey.unsafeOf("strider_food"); + TagKey STRIDER_FOOD = TagKey.of("strider_food"); - TagKey STRIDER_TEMPT_ITEMS = TagKey.unsafeOf("strider_tempt_items"); + TagKey STRIDER_TEMPT_ITEMS = TagKey.of("strider_tempt_items"); - TagKey SULFUR_CUBE_ARCHETYPE_BOUNCY = TagKey.unsafeOf("sulfur_cube_archetype/bouncy"); + TagKey SULFUR_CUBE_ARCHETYPE_BOUNCY = TagKey.of("sulfur_cube_archetype/bouncy"); - TagKey SULFUR_CUBE_ARCHETYPE_EXPLOSIVE = TagKey.unsafeOf("sulfur_cube_archetype/explosive"); + TagKey SULFUR_CUBE_ARCHETYPE_EXPLOSIVE = TagKey.of("sulfur_cube_archetype/explosive"); - TagKey SULFUR_CUBE_ARCHETYPE_FAST_FLAT = TagKey.unsafeOf("sulfur_cube_archetype/fast_flat"); + TagKey SULFUR_CUBE_ARCHETYPE_FAST_FLAT = TagKey.of("sulfur_cube_archetype/fast_flat"); - TagKey SULFUR_CUBE_ARCHETYPE_FAST_SLIDING = TagKey.unsafeOf("sulfur_cube_archetype/fast_sliding"); + TagKey SULFUR_CUBE_ARCHETYPE_FAST_SLIDING = TagKey.of("sulfur_cube_archetype/fast_sliding"); - TagKey SULFUR_CUBE_ARCHETYPE_HIGH_RESISTANCE = TagKey.unsafeOf("sulfur_cube_archetype/high_resistance"); + TagKey SULFUR_CUBE_ARCHETYPE_HIGH_RESISTANCE = TagKey.of("sulfur_cube_archetype/high_resistance"); - TagKey SULFUR_CUBE_ARCHETYPE_HOT = TagKey.unsafeOf("sulfur_cube_archetype/hot"); + TagKey SULFUR_CUBE_ARCHETYPE_HOT = TagKey.of("sulfur_cube_archetype/hot"); - TagKey SULFUR_CUBE_ARCHETYPE_LIGHT = TagKey.unsafeOf("sulfur_cube_archetype/light"); + TagKey SULFUR_CUBE_ARCHETYPE_LIGHT = TagKey.of("sulfur_cube_archetype/light"); - TagKey SULFUR_CUBE_ARCHETYPE_REGULAR = TagKey.unsafeOf("sulfur_cube_archetype/regular"); + TagKey SULFUR_CUBE_ARCHETYPE_REGULAR = TagKey.of("sulfur_cube_archetype/regular"); - TagKey SULFUR_CUBE_ARCHETYPE_SLOW_BOUNCY = TagKey.unsafeOf("sulfur_cube_archetype/slow_bouncy"); + TagKey SULFUR_CUBE_ARCHETYPE_SLOW_BOUNCY = TagKey.of("sulfur_cube_archetype/slow_bouncy"); - TagKey SULFUR_CUBE_ARCHETYPE_SLOW_FLAT = TagKey.unsafeOf("sulfur_cube_archetype/slow_flat"); + TagKey SULFUR_CUBE_ARCHETYPE_SLOW_FLAT = TagKey.of("sulfur_cube_archetype/slow_flat"); - TagKey SULFUR_CUBE_ARCHETYPE_SLOW_SLIDING = TagKey.unsafeOf("sulfur_cube_archetype/slow_sliding"); + TagKey SULFUR_CUBE_ARCHETYPE_SLOW_SLIDING = TagKey.of("sulfur_cube_archetype/slow_sliding"); - TagKey SULFUR_CUBE_ARCHETYPE_STICKY = TagKey.unsafeOf("sulfur_cube_archetype/sticky"); + TagKey SULFUR_CUBE_ARCHETYPE_STICKY = TagKey.of("sulfur_cube_archetype/sticky"); - TagKey SULFUR_CUBE_FOOD = TagKey.unsafeOf("sulfur_cube_food"); + TagKey SULFUR_CUBE_FOOD = TagKey.of("sulfur_cube_food"); - TagKey SULFUR_CUBE_SWALLOWABLE = TagKey.unsafeOf("sulfur_cube_swallowable"); + TagKey SULFUR_CUBE_SWALLOWABLE = TagKey.of("sulfur_cube_swallowable"); - TagKey SWORDS = TagKey.unsafeOf("swords"); + TagKey SWORDS = TagKey.of("swords"); - TagKey TERRACOTTA = TagKey.unsafeOf("terracotta"); + TagKey TERRACOTTA = TagKey.of("terracotta"); - TagKey TRAPDOORS = TagKey.unsafeOf("trapdoors"); + TagKey TRAPDOORS = TagKey.of("trapdoors"); - TagKey TRIM_MATERIALS = TagKey.unsafeOf("trim_materials"); + TagKey TRIM_MATERIALS = TagKey.of("trim_materials"); - TagKey TRIMMABLE_ARMOR = TagKey.unsafeOf("trimmable_armor"); + TagKey TRIMMABLE_ARMOR = TagKey.of("trimmable_armor"); - TagKey TURTLE_FOOD = TagKey.unsafeOf("turtle_food"); + TagKey TURTLE_FOOD = TagKey.of("turtle_food"); - TagKey VILLAGER_PICKS_UP = TagKey.unsafeOf("villager_picks_up"); + TagKey VILLAGER_PICKS_UP = TagKey.of("villager_picks_up"); - TagKey VILLAGER_PLANTABLE_SEEDS = TagKey.unsafeOf("villager_plantable_seeds"); + TagKey VILLAGER_PLANTABLE_SEEDS = TagKey.of("villager_plantable_seeds"); - TagKey WALLS = TagKey.unsafeOf("walls"); + TagKey WALLS = TagKey.of("walls"); - TagKey WARPED_STEMS = TagKey.unsafeOf("warped_stems"); + TagKey WARPED_STEMS = TagKey.of("warped_stems"); - TagKey WART_BLOCKS = TagKey.unsafeOf("wart_blocks"); + TagKey WART_BLOCKS = TagKey.of("wart_blocks"); - TagKey WITHER_SKELETON_DISLIKED_WEAPONS = TagKey.unsafeOf("wither_skeleton_disliked_weapons"); + TagKey WITHER_SKELETON_DISLIKED_WEAPONS = TagKey.of("wither_skeleton_disliked_weapons"); - TagKey WOLF_COLLAR_DYES = TagKey.unsafeOf("wolf_collar_dyes"); + TagKey WOLF_COLLAR_DYES = TagKey.of("wolf_collar_dyes"); - TagKey WOLF_FOOD = TagKey.unsafeOf("wolf_food"); + TagKey WOLF_FOOD = TagKey.of("wolf_food"); - TagKey WOODEN_BUTTONS = TagKey.unsafeOf("wooden_buttons"); + TagKey WOODEN_BUTTONS = TagKey.of("wooden_buttons"); - TagKey WOODEN_DOORS = TagKey.unsafeOf("wooden_doors"); + TagKey WOODEN_DOORS = TagKey.of("wooden_doors"); - TagKey WOODEN_FENCES = TagKey.unsafeOf("wooden_fences"); + TagKey WOODEN_FENCES = TagKey.of("wooden_fences"); - TagKey WOODEN_PRESSURE_PLATES = TagKey.unsafeOf("wooden_pressure_plates"); + TagKey WOODEN_PRESSURE_PLATES = TagKey.of("wooden_pressure_plates"); - TagKey WOODEN_SHELVES = TagKey.unsafeOf("wooden_shelves"); + TagKey WOODEN_SHELVES = TagKey.of("wooden_shelves"); - TagKey WOODEN_SLABS = TagKey.unsafeOf("wooden_slabs"); + TagKey WOODEN_SLABS = TagKey.of("wooden_slabs"); - TagKey WOODEN_STAIRS = TagKey.unsafeOf("wooden_stairs"); + TagKey WOODEN_STAIRS = TagKey.of("wooden_stairs"); - TagKey WOODEN_TOOL_MATERIALS = TagKey.unsafeOf("wooden_tool_materials"); + TagKey WOODEN_TOOL_MATERIALS = TagKey.of("wooden_tool_materials"); - TagKey WOODEN_TRAPDOORS = TagKey.unsafeOf("wooden_trapdoors"); + TagKey WOODEN_TRAPDOORS = TagKey.of("wooden_trapdoors"); - TagKey WOOL = TagKey.unsafeOf("wool"); + TagKey WOOL = TagKey.of("wool"); - TagKey WOOL_CARPETS = TagKey.unsafeOf("wool_carpets"); + TagKey WOOL_CARPETS = TagKey.of("wool_carpets"); - TagKey ZOMBIE_HORSE_FOOD = TagKey.unsafeOf("zombie_horse_food"); + TagKey ZOMBIE_HORSE_FOOD = TagKey.of("zombie_horse_food"); } diff --git a/src/autogenerated/java/net/minestom/server/item/armor/TrimMaterials.java b/src/autogenerated/java/net/minestom/server/item/armor/TrimMaterials.java index 6ebceb3a96c..ebc9eed7b4e 100644 --- a/src/autogenerated/java/net/minestom/server/item/armor/TrimMaterials.java +++ b/src/autogenerated/java/net/minestom/server/item/armor/TrimMaterials.java @@ -9,25 +9,25 @@ */ @SuppressWarnings("unused") sealed interface TrimMaterials permits TrimMaterial { - RegistryKey AMETHYST = RegistryKey.unsafeOf("amethyst"); + RegistryKey AMETHYST = RegistryKey.of("amethyst"); - RegistryKey COPPER = RegistryKey.unsafeOf("copper"); + RegistryKey COPPER = RegistryKey.of("copper"); - RegistryKey DIAMOND = RegistryKey.unsafeOf("diamond"); + RegistryKey DIAMOND = RegistryKey.of("diamond"); - RegistryKey EMERALD = RegistryKey.unsafeOf("emerald"); + RegistryKey EMERALD = RegistryKey.of("emerald"); - RegistryKey GOLD = RegistryKey.unsafeOf("gold"); + RegistryKey GOLD = RegistryKey.of("gold"); - RegistryKey IRON = RegistryKey.unsafeOf("iron"); + RegistryKey IRON = RegistryKey.of("iron"); - RegistryKey LAPIS = RegistryKey.unsafeOf("lapis"); + RegistryKey LAPIS = RegistryKey.of("lapis"); - RegistryKey NETHERITE = RegistryKey.unsafeOf("netherite"); + RegistryKey NETHERITE = RegistryKey.of("netherite"); - RegistryKey QUARTZ = RegistryKey.unsafeOf("quartz"); + RegistryKey QUARTZ = RegistryKey.of("quartz"); - RegistryKey REDSTONE = RegistryKey.unsafeOf("redstone"); + RegistryKey REDSTONE = RegistryKey.of("redstone"); - RegistryKey RESIN = RegistryKey.unsafeOf("resin"); + RegistryKey RESIN = RegistryKey.of("resin"); } diff --git a/src/autogenerated/java/net/minestom/server/item/armor/TrimPatterns.java b/src/autogenerated/java/net/minestom/server/item/armor/TrimPatterns.java index fd8e887b30c..b5dc3483742 100644 --- a/src/autogenerated/java/net/minestom/server/item/armor/TrimPatterns.java +++ b/src/autogenerated/java/net/minestom/server/item/armor/TrimPatterns.java @@ -9,39 +9,39 @@ */ @SuppressWarnings("unused") sealed interface TrimPatterns permits TrimPattern { - RegistryKey BOLT = RegistryKey.unsafeOf("bolt"); + RegistryKey BOLT = RegistryKey.of("bolt"); - RegistryKey COAST = RegistryKey.unsafeOf("coast"); + RegistryKey COAST = RegistryKey.of("coast"); - RegistryKey DUNE = RegistryKey.unsafeOf("dune"); + RegistryKey DUNE = RegistryKey.of("dune"); - RegistryKey EYE = RegistryKey.unsafeOf("eye"); + RegistryKey EYE = RegistryKey.of("eye"); - RegistryKey FLOW = RegistryKey.unsafeOf("flow"); + RegistryKey FLOW = RegistryKey.of("flow"); - RegistryKey HOST = RegistryKey.unsafeOf("host"); + RegistryKey HOST = RegistryKey.of("host"); - RegistryKey RAISER = RegistryKey.unsafeOf("raiser"); + RegistryKey RAISER = RegistryKey.of("raiser"); - RegistryKey RIB = RegistryKey.unsafeOf("rib"); + RegistryKey RIB = RegistryKey.of("rib"); - RegistryKey SENTRY = RegistryKey.unsafeOf("sentry"); + RegistryKey SENTRY = RegistryKey.of("sentry"); - RegistryKey SHAPER = RegistryKey.unsafeOf("shaper"); + RegistryKey SHAPER = RegistryKey.of("shaper"); - RegistryKey SILENCE = RegistryKey.unsafeOf("silence"); + RegistryKey SILENCE = RegistryKey.of("silence"); - RegistryKey SNOUT = RegistryKey.unsafeOf("snout"); + RegistryKey SNOUT = RegistryKey.of("snout"); - RegistryKey SPIRE = RegistryKey.unsafeOf("spire"); + RegistryKey SPIRE = RegistryKey.of("spire"); - RegistryKey TIDE = RegistryKey.unsafeOf("tide"); + RegistryKey TIDE = RegistryKey.of("tide"); - RegistryKey VEX = RegistryKey.unsafeOf("vex"); + RegistryKey VEX = RegistryKey.of("vex"); - RegistryKey WARD = RegistryKey.unsafeOf("ward"); + RegistryKey WARD = RegistryKey.of("ward"); - RegistryKey WAYFINDER = RegistryKey.unsafeOf("wayfinder"); + RegistryKey WAYFINDER = RegistryKey.of("wayfinder"); - RegistryKey WILD = RegistryKey.unsafeOf("wild"); + RegistryKey WILD = RegistryKey.of("wild"); } diff --git a/src/autogenerated/java/net/minestom/server/item/enchant/EnchantmentTags.java b/src/autogenerated/java/net/minestom/server/item/enchant/EnchantmentTags.java index 8f4f4c56b3a..e99ae15933b 100644 --- a/src/autogenerated/java/net/minestom/server/item/enchant/EnchantmentTags.java +++ b/src/autogenerated/java/net/minestom/server/item/enchant/EnchantmentTags.java @@ -11,47 +11,47 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface EnchantmentTags { - TagKey CURSE = TagKey.unsafeOf("curse"); + TagKey CURSE = TagKey.of("curse"); - TagKey DOUBLE_TRADE_PRICE = TagKey.unsafeOf("double_trade_price"); + TagKey DOUBLE_TRADE_PRICE = TagKey.of("double_trade_price"); - TagKey EXCLUSIVE_SET_ARMOR = TagKey.unsafeOf("exclusive_set/armor"); + TagKey EXCLUSIVE_SET_ARMOR = TagKey.of("exclusive_set/armor"); - TagKey EXCLUSIVE_SET_BOOTS = TagKey.unsafeOf("exclusive_set/boots"); + TagKey EXCLUSIVE_SET_BOOTS = TagKey.of("exclusive_set/boots"); - TagKey EXCLUSIVE_SET_BOW = TagKey.unsafeOf("exclusive_set/bow"); + TagKey EXCLUSIVE_SET_BOW = TagKey.of("exclusive_set/bow"); - TagKey EXCLUSIVE_SET_CROSSBOW = TagKey.unsafeOf("exclusive_set/crossbow"); + TagKey EXCLUSIVE_SET_CROSSBOW = TagKey.of("exclusive_set/crossbow"); - TagKey EXCLUSIVE_SET_DAMAGE = TagKey.unsafeOf("exclusive_set/damage"); + TagKey EXCLUSIVE_SET_DAMAGE = TagKey.of("exclusive_set/damage"); - TagKey EXCLUSIVE_SET_MINING = TagKey.unsafeOf("exclusive_set/mining"); + TagKey EXCLUSIVE_SET_MINING = TagKey.of("exclusive_set/mining"); - TagKey EXCLUSIVE_SET_RIPTIDE = TagKey.unsafeOf("exclusive_set/riptide"); + TagKey EXCLUSIVE_SET_RIPTIDE = TagKey.of("exclusive_set/riptide"); - TagKey IN_ENCHANTING_TABLE = TagKey.unsafeOf("in_enchanting_table"); + TagKey IN_ENCHANTING_TABLE = TagKey.of("in_enchanting_table"); - TagKey NON_TREASURE = TagKey.unsafeOf("non_treasure"); + TagKey NON_TREASURE = TagKey.of("non_treasure"); - TagKey ON_MOB_SPAWN_EQUIPMENT = TagKey.unsafeOf("on_mob_spawn_equipment"); + TagKey ON_MOB_SPAWN_EQUIPMENT = TagKey.of("on_mob_spawn_equipment"); - TagKey ON_RANDOM_LOOT = TagKey.unsafeOf("on_random_loot"); + TagKey ON_RANDOM_LOOT = TagKey.of("on_random_loot"); - TagKey ON_TRADED_EQUIPMENT = TagKey.unsafeOf("on_traded_equipment"); + TagKey ON_TRADED_EQUIPMENT = TagKey.of("on_traded_equipment"); - TagKey PREVENTS_BEE_SPAWNS_WHEN_MINING = TagKey.unsafeOf("prevents_bee_spawns_when_mining"); + TagKey PREVENTS_BEE_SPAWNS_WHEN_MINING = TagKey.of("prevents_bee_spawns_when_mining"); - TagKey PREVENTS_DECORATED_POT_SHATTERING = TagKey.unsafeOf("prevents_decorated_pot_shattering"); + TagKey PREVENTS_DECORATED_POT_SHATTERING = TagKey.of("prevents_decorated_pot_shattering"); - TagKey PREVENTS_ICE_MELTING = TagKey.unsafeOf("prevents_ice_melting"); + TagKey PREVENTS_ICE_MELTING = TagKey.of("prevents_ice_melting"); - TagKey PREVENTS_INFESTED_SPAWNS = TagKey.unsafeOf("prevents_infested_spawns"); + TagKey PREVENTS_INFESTED_SPAWNS = TagKey.of("prevents_infested_spawns"); - TagKey SMELTS_LOOT = TagKey.unsafeOf("smelts_loot"); + TagKey SMELTS_LOOT = TagKey.of("smelts_loot"); - TagKey TOOLTIP_ORDER = TagKey.unsafeOf("tooltip_order"); + TagKey TOOLTIP_ORDER = TagKey.of("tooltip_order"); - TagKey TRADEABLE = TagKey.unsafeOf("tradeable"); + TagKey TRADEABLE = TagKey.of("tradeable"); - TagKey TREASURE = TagKey.unsafeOf("treasure"); + TagKey TREASURE = TagKey.of("treasure"); } diff --git a/src/autogenerated/java/net/minestom/server/item/enchant/Enchantments.java b/src/autogenerated/java/net/minestom/server/item/enchant/Enchantments.java index 509a6f1fcd0..f5497de5236 100644 --- a/src/autogenerated/java/net/minestom/server/item/enchant/Enchantments.java +++ b/src/autogenerated/java/net/minestom/server/item/enchant/Enchantments.java @@ -9,89 +9,89 @@ */ @SuppressWarnings("unused") sealed interface Enchantments permits Enchantment { - RegistryKey AQUA_AFFINITY = RegistryKey.unsafeOf("aqua_affinity"); + RegistryKey AQUA_AFFINITY = RegistryKey.of("aqua_affinity"); - RegistryKey BANE_OF_ARTHROPODS = RegistryKey.unsafeOf("bane_of_arthropods"); + RegistryKey BANE_OF_ARTHROPODS = RegistryKey.of("bane_of_arthropods"); - RegistryKey BINDING_CURSE = RegistryKey.unsafeOf("binding_curse"); + RegistryKey BINDING_CURSE = RegistryKey.of("binding_curse"); - RegistryKey BLAST_PROTECTION = RegistryKey.unsafeOf("blast_protection"); + RegistryKey BLAST_PROTECTION = RegistryKey.of("blast_protection"); - RegistryKey BREACH = RegistryKey.unsafeOf("breach"); + RegistryKey BREACH = RegistryKey.of("breach"); - RegistryKey CHANNELING = RegistryKey.unsafeOf("channeling"); + RegistryKey CHANNELING = RegistryKey.of("channeling"); - RegistryKey DENSITY = RegistryKey.unsafeOf("density"); + RegistryKey DENSITY = RegistryKey.of("density"); - RegistryKey DEPTH_STRIDER = RegistryKey.unsafeOf("depth_strider"); + RegistryKey DEPTH_STRIDER = RegistryKey.of("depth_strider"); - RegistryKey EFFICIENCY = RegistryKey.unsafeOf("efficiency"); + RegistryKey EFFICIENCY = RegistryKey.of("efficiency"); - RegistryKey FEATHER_FALLING = RegistryKey.unsafeOf("feather_falling"); + RegistryKey FEATHER_FALLING = RegistryKey.of("feather_falling"); - RegistryKey FIRE_ASPECT = RegistryKey.unsafeOf("fire_aspect"); + RegistryKey FIRE_ASPECT = RegistryKey.of("fire_aspect"); - RegistryKey FIRE_PROTECTION = RegistryKey.unsafeOf("fire_protection"); + RegistryKey FIRE_PROTECTION = RegistryKey.of("fire_protection"); - RegistryKey FLAME = RegistryKey.unsafeOf("flame"); + RegistryKey FLAME = RegistryKey.of("flame"); - RegistryKey FORTUNE = RegistryKey.unsafeOf("fortune"); + RegistryKey FORTUNE = RegistryKey.of("fortune"); - RegistryKey FROST_WALKER = RegistryKey.unsafeOf("frost_walker"); + RegistryKey FROST_WALKER = RegistryKey.of("frost_walker"); - RegistryKey IMPALING = RegistryKey.unsafeOf("impaling"); + RegistryKey IMPALING = RegistryKey.of("impaling"); - RegistryKey INFINITY = RegistryKey.unsafeOf("infinity"); + RegistryKey INFINITY = RegistryKey.of("infinity"); - RegistryKey KNOCKBACK = RegistryKey.unsafeOf("knockback"); + RegistryKey KNOCKBACK = RegistryKey.of("knockback"); - RegistryKey LOOTING = RegistryKey.unsafeOf("looting"); + RegistryKey LOOTING = RegistryKey.of("looting"); - RegistryKey LOYALTY = RegistryKey.unsafeOf("loyalty"); + RegistryKey LOYALTY = RegistryKey.of("loyalty"); - RegistryKey LUCK_OF_THE_SEA = RegistryKey.unsafeOf("luck_of_the_sea"); + RegistryKey LUCK_OF_THE_SEA = RegistryKey.of("luck_of_the_sea"); - RegistryKey LUNGE = RegistryKey.unsafeOf("lunge"); + RegistryKey LUNGE = RegistryKey.of("lunge"); - RegistryKey LURE = RegistryKey.unsafeOf("lure"); + RegistryKey LURE = RegistryKey.of("lure"); - RegistryKey MENDING = RegistryKey.unsafeOf("mending"); + RegistryKey MENDING = RegistryKey.of("mending"); - RegistryKey MULTISHOT = RegistryKey.unsafeOf("multishot"); + RegistryKey MULTISHOT = RegistryKey.of("multishot"); - RegistryKey PIERCING = RegistryKey.unsafeOf("piercing"); + RegistryKey PIERCING = RegistryKey.of("piercing"); - RegistryKey POWER = RegistryKey.unsafeOf("power"); + RegistryKey POWER = RegistryKey.of("power"); - RegistryKey PROJECTILE_PROTECTION = RegistryKey.unsafeOf("projectile_protection"); + RegistryKey PROJECTILE_PROTECTION = RegistryKey.of("projectile_protection"); - RegistryKey PROTECTION = RegistryKey.unsafeOf("protection"); + RegistryKey PROTECTION = RegistryKey.of("protection"); - RegistryKey PUNCH = RegistryKey.unsafeOf("punch"); + RegistryKey PUNCH = RegistryKey.of("punch"); - RegistryKey QUICK_CHARGE = RegistryKey.unsafeOf("quick_charge"); + RegistryKey QUICK_CHARGE = RegistryKey.of("quick_charge"); - RegistryKey RESPIRATION = RegistryKey.unsafeOf("respiration"); + RegistryKey RESPIRATION = RegistryKey.of("respiration"); - RegistryKey RIPTIDE = RegistryKey.unsafeOf("riptide"); + RegistryKey RIPTIDE = RegistryKey.of("riptide"); - RegistryKey SHARPNESS = RegistryKey.unsafeOf("sharpness"); + RegistryKey SHARPNESS = RegistryKey.of("sharpness"); - RegistryKey SILK_TOUCH = RegistryKey.unsafeOf("silk_touch"); + RegistryKey SILK_TOUCH = RegistryKey.of("silk_touch"); - RegistryKey SMITE = RegistryKey.unsafeOf("smite"); + RegistryKey SMITE = RegistryKey.of("smite"); - RegistryKey SOUL_SPEED = RegistryKey.unsafeOf("soul_speed"); + RegistryKey SOUL_SPEED = RegistryKey.of("soul_speed"); - RegistryKey SWEEPING_EDGE = RegistryKey.unsafeOf("sweeping_edge"); + RegistryKey SWEEPING_EDGE = RegistryKey.of("sweeping_edge"); - RegistryKey SWIFT_SNEAK = RegistryKey.unsafeOf("swift_sneak"); + RegistryKey SWIFT_SNEAK = RegistryKey.of("swift_sneak"); - RegistryKey THORNS = RegistryKey.unsafeOf("thorns"); + RegistryKey THORNS = RegistryKey.of("thorns"); - RegistryKey UNBREAKING = RegistryKey.unsafeOf("unbreaking"); + RegistryKey UNBREAKING = RegistryKey.of("unbreaking"); - RegistryKey VANISHING_CURSE = RegistryKey.unsafeOf("vanishing_curse"); + RegistryKey VANISHING_CURSE = RegistryKey.of("vanishing_curse"); - RegistryKey WIND_BURST = RegistryKey.unsafeOf("wind_burst"); + RegistryKey WIND_BURST = RegistryKey.of("wind_burst"); } diff --git a/src/autogenerated/java/net/minestom/server/item/instrument/InstrumentTags.java b/src/autogenerated/java/net/minestom/server/item/instrument/InstrumentTags.java index a12b76e19ad..5d01266e0ec 100644 --- a/src/autogenerated/java/net/minestom/server/item/instrument/InstrumentTags.java +++ b/src/autogenerated/java/net/minestom/server/item/instrument/InstrumentTags.java @@ -11,9 +11,9 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface InstrumentTags { - TagKey GOAT_HORNS = TagKey.unsafeOf("goat_horns"); + TagKey GOAT_HORNS = TagKey.of("goat_horns"); - TagKey REGULAR_GOAT_HORNS = TagKey.unsafeOf("regular_goat_horns"); + TagKey REGULAR_GOAT_HORNS = TagKey.of("regular_goat_horns"); - TagKey SCREAMING_GOAT_HORNS = TagKey.unsafeOf("screaming_goat_horns"); + TagKey SCREAMING_GOAT_HORNS = TagKey.of("screaming_goat_horns"); } diff --git a/src/autogenerated/java/net/minestom/server/item/instrument/Instruments.java b/src/autogenerated/java/net/minestom/server/item/instrument/Instruments.java index 1325395ca9c..bf82a4240da 100644 --- a/src/autogenerated/java/net/minestom/server/item/instrument/Instruments.java +++ b/src/autogenerated/java/net/minestom/server/item/instrument/Instruments.java @@ -9,19 +9,19 @@ */ @SuppressWarnings("unused") sealed interface Instruments permits Instrument { - RegistryKey ADMIRE_GOAT_HORN = RegistryKey.unsafeOf("admire_goat_horn"); + RegistryKey ADMIRE_GOAT_HORN = RegistryKey.of("admire_goat_horn"); - RegistryKey CALL_GOAT_HORN = RegistryKey.unsafeOf("call_goat_horn"); + RegistryKey CALL_GOAT_HORN = RegistryKey.of("call_goat_horn"); - RegistryKey DREAM_GOAT_HORN = RegistryKey.unsafeOf("dream_goat_horn"); + RegistryKey DREAM_GOAT_HORN = RegistryKey.of("dream_goat_horn"); - RegistryKey FEEL_GOAT_HORN = RegistryKey.unsafeOf("feel_goat_horn"); + RegistryKey FEEL_GOAT_HORN = RegistryKey.of("feel_goat_horn"); - RegistryKey PONDER_GOAT_HORN = RegistryKey.unsafeOf("ponder_goat_horn"); + RegistryKey PONDER_GOAT_HORN = RegistryKey.of("ponder_goat_horn"); - RegistryKey SEEK_GOAT_HORN = RegistryKey.unsafeOf("seek_goat_horn"); + RegistryKey SEEK_GOAT_HORN = RegistryKey.of("seek_goat_horn"); - RegistryKey SING_GOAT_HORN = RegistryKey.unsafeOf("sing_goat_horn"); + RegistryKey SING_GOAT_HORN = RegistryKey.of("sing_goat_horn"); - RegistryKey YEARN_GOAT_HORN = RegistryKey.unsafeOf("yearn_goat_horn"); + RegistryKey YEARN_GOAT_HORN = RegistryKey.of("yearn_goat_horn"); } diff --git a/src/autogenerated/java/net/minestom/server/message/ChatTypes.java b/src/autogenerated/java/net/minestom/server/message/ChatTypes.java index 268d18c7988..4ed68f8a539 100644 --- a/src/autogenerated/java/net/minestom/server/message/ChatTypes.java +++ b/src/autogenerated/java/net/minestom/server/message/ChatTypes.java @@ -9,17 +9,17 @@ */ @SuppressWarnings("unused") sealed interface ChatTypes permits ChatType { - RegistryKey CHAT = RegistryKey.unsafeOf("chat"); + RegistryKey CHAT = RegistryKey.of("chat"); - RegistryKey EMOTE_COMMAND = RegistryKey.unsafeOf("emote_command"); + RegistryKey EMOTE_COMMAND = RegistryKey.of("emote_command"); - RegistryKey MSG_COMMAND_INCOMING = RegistryKey.unsafeOf("msg_command_incoming"); + RegistryKey MSG_COMMAND_INCOMING = RegistryKey.of("msg_command_incoming"); - RegistryKey MSG_COMMAND_OUTGOING = RegistryKey.unsafeOf("msg_command_outgoing"); + RegistryKey MSG_COMMAND_OUTGOING = RegistryKey.of("msg_command_outgoing"); - RegistryKey SAY_COMMAND = RegistryKey.unsafeOf("say_command"); + RegistryKey SAY_COMMAND = RegistryKey.of("say_command"); - RegistryKey TEAM_MSG_COMMAND_INCOMING = RegistryKey.unsafeOf("team_msg_command_incoming"); + RegistryKey TEAM_MSG_COMMAND_INCOMING = RegistryKey.of("team_msg_command_incoming"); - RegistryKey TEAM_MSG_COMMAND_OUTGOING = RegistryKey.unsafeOf("team_msg_command_outgoing"); + RegistryKey TEAM_MSG_COMMAND_OUTGOING = RegistryKey.of("team_msg_command_outgoing"); } diff --git a/src/autogenerated/java/net/minestom/server/particle/ParticleKeys.java b/src/autogenerated/java/net/minestom/server/particle/ParticleKeys.java index d564e76e7cf..aae87cf3eca 100644 --- a/src/autogenerated/java/net/minestom/server/particle/ParticleKeys.java +++ b/src/autogenerated/java/net/minestom/server/particle/ParticleKeys.java @@ -11,253 +11,253 @@ @ApiStatus.NonExtendable @SuppressWarnings("unused") public interface ParticleKeys { - RegistryKey ANGRY_VILLAGER = RegistryKey.unsafeOf("angry_villager"); + RegistryKey ANGRY_VILLAGER = RegistryKey.of("angry_villager"); - RegistryKey BLOCK = RegistryKey.unsafeOf("block"); + RegistryKey BLOCK = RegistryKey.of("block"); - RegistryKey BLOCK_MARKER = RegistryKey.unsafeOf("block_marker"); + RegistryKey BLOCK_MARKER = RegistryKey.of("block_marker"); - RegistryKey BUBBLE = RegistryKey.unsafeOf("bubble"); + RegistryKey BUBBLE = RegistryKey.of("bubble"); - RegistryKey SULFUR_BUBBLES = RegistryKey.unsafeOf("sulfur_bubbles"); + RegistryKey SULFUR_BUBBLES = RegistryKey.of("sulfur_bubbles"); - RegistryKey NOXIOUS_GAS = RegistryKey.unsafeOf("noxious_gas"); + RegistryKey NOXIOUS_GAS = RegistryKey.of("noxious_gas"); - RegistryKey NOXIOUS_GAS_CLOUD = RegistryKey.unsafeOf("noxious_gas_cloud"); + RegistryKey NOXIOUS_GAS_CLOUD = RegistryKey.of("noxious_gas_cloud"); - RegistryKey GEYSER = RegistryKey.unsafeOf("geyser"); + RegistryKey GEYSER = RegistryKey.of("geyser"); - RegistryKey GEYSER_BASE = RegistryKey.unsafeOf("geyser_base"); + RegistryKey GEYSER_BASE = RegistryKey.of("geyser_base"); - RegistryKey GEYSER_POOF = RegistryKey.unsafeOf("geyser_poof"); + RegistryKey GEYSER_POOF = RegistryKey.of("geyser_poof"); - RegistryKey GEYSER_PLUME = RegistryKey.unsafeOf("geyser_plume"); + RegistryKey GEYSER_PLUME = RegistryKey.of("geyser_plume"); - RegistryKey CLOUD = RegistryKey.unsafeOf("cloud"); + RegistryKey CLOUD = RegistryKey.of("cloud"); - RegistryKey COPPER_FIRE_FLAME = RegistryKey.unsafeOf("copper_fire_flame"); + RegistryKey COPPER_FIRE_FLAME = RegistryKey.of("copper_fire_flame"); - RegistryKey CRIT = RegistryKey.unsafeOf("crit"); + RegistryKey CRIT = RegistryKey.of("crit"); - RegistryKey DAMAGE_INDICATOR = RegistryKey.unsafeOf("damage_indicator"); + RegistryKey DAMAGE_INDICATOR = RegistryKey.of("damage_indicator"); - RegistryKey DRAGON_BREATH = RegistryKey.unsafeOf("dragon_breath"); + RegistryKey DRAGON_BREATH = RegistryKey.of("dragon_breath"); - RegistryKey DRIPPING_LAVA = RegistryKey.unsafeOf("dripping_lava"); + RegistryKey DRIPPING_LAVA = RegistryKey.of("dripping_lava"); - RegistryKey FALLING_LAVA = RegistryKey.unsafeOf("falling_lava"); + RegistryKey FALLING_LAVA = RegistryKey.of("falling_lava"); - RegistryKey LANDING_LAVA = RegistryKey.unsafeOf("landing_lava"); + RegistryKey LANDING_LAVA = RegistryKey.of("landing_lava"); - RegistryKey DRIPPING_WATER = RegistryKey.unsafeOf("dripping_water"); + RegistryKey DRIPPING_WATER = RegistryKey.of("dripping_water"); - RegistryKey FALLING_WATER = RegistryKey.unsafeOf("falling_water"); + RegistryKey FALLING_WATER = RegistryKey.of("falling_water"); - RegistryKey DUST = RegistryKey.unsafeOf("dust"); + RegistryKey DUST = RegistryKey.of("dust"); - RegistryKey DUST_COLOR_TRANSITION = RegistryKey.unsafeOf("dust_color_transition"); + RegistryKey DUST_COLOR_TRANSITION = RegistryKey.of("dust_color_transition"); - RegistryKey EFFECT = RegistryKey.unsafeOf("effect"); + RegistryKey EFFECT = RegistryKey.of("effect"); - RegistryKey ELDER_GUARDIAN = RegistryKey.unsafeOf("elder_guardian"); + RegistryKey ELDER_GUARDIAN = RegistryKey.of("elder_guardian"); - RegistryKey ENCHANTED_HIT = RegistryKey.unsafeOf("enchanted_hit"); + RegistryKey ENCHANTED_HIT = RegistryKey.of("enchanted_hit"); - RegistryKey ENCHANT = RegistryKey.unsafeOf("enchant"); + RegistryKey ENCHANT = RegistryKey.of("enchant"); - RegistryKey END_ROD = RegistryKey.unsafeOf("end_rod"); + RegistryKey END_ROD = RegistryKey.of("end_rod"); - RegistryKey ENTITY_EFFECT = RegistryKey.unsafeOf("entity_effect"); + RegistryKey ENTITY_EFFECT = RegistryKey.of("entity_effect"); - RegistryKey EXPLOSION_EMITTER = RegistryKey.unsafeOf("explosion_emitter"); + RegistryKey EXPLOSION_EMITTER = RegistryKey.of("explosion_emitter"); - RegistryKey EXPLOSION = RegistryKey.unsafeOf("explosion"); + RegistryKey EXPLOSION = RegistryKey.of("explosion"); - RegistryKey GUST = RegistryKey.unsafeOf("gust"); + RegistryKey GUST = RegistryKey.of("gust"); - RegistryKey SMALL_GUST = RegistryKey.unsafeOf("small_gust"); + RegistryKey SMALL_GUST = RegistryKey.of("small_gust"); - RegistryKey GUST_EMITTER_LARGE = RegistryKey.unsafeOf("gust_emitter_large"); + RegistryKey GUST_EMITTER_LARGE = RegistryKey.of("gust_emitter_large"); - RegistryKey GUST_EMITTER_SMALL = RegistryKey.unsafeOf("gust_emitter_small"); + RegistryKey GUST_EMITTER_SMALL = RegistryKey.of("gust_emitter_small"); - RegistryKey SONIC_BOOM = RegistryKey.unsafeOf("sonic_boom"); + RegistryKey SONIC_BOOM = RegistryKey.of("sonic_boom"); - RegistryKey FALLING_DUST = RegistryKey.unsafeOf("falling_dust"); + RegistryKey FALLING_DUST = RegistryKey.of("falling_dust"); - RegistryKey FIREWORK = RegistryKey.unsafeOf("firework"); + RegistryKey FIREWORK = RegistryKey.of("firework"); - RegistryKey FISHING = RegistryKey.unsafeOf("fishing"); + RegistryKey FISHING = RegistryKey.of("fishing"); - RegistryKey FLAME = RegistryKey.unsafeOf("flame"); + RegistryKey FLAME = RegistryKey.of("flame"); - RegistryKey INFESTED = RegistryKey.unsafeOf("infested"); + RegistryKey INFESTED = RegistryKey.of("infested"); - RegistryKey CHERRY_LEAVES = RegistryKey.unsafeOf("cherry_leaves"); + RegistryKey CHERRY_LEAVES = RegistryKey.of("cherry_leaves"); - RegistryKey PALE_OAK_LEAVES = RegistryKey.unsafeOf("pale_oak_leaves"); + RegistryKey PALE_OAK_LEAVES = RegistryKey.of("pale_oak_leaves"); - RegistryKey TINTED_LEAVES = RegistryKey.unsafeOf("tinted_leaves"); + RegistryKey TINTED_LEAVES = RegistryKey.of("tinted_leaves"); - RegistryKey SCULK_SOUL = RegistryKey.unsafeOf("sculk_soul"); + RegistryKey SCULK_SOUL = RegistryKey.of("sculk_soul"); - RegistryKey SCULK_CHARGE = RegistryKey.unsafeOf("sculk_charge"); + RegistryKey SCULK_CHARGE = RegistryKey.of("sculk_charge"); - RegistryKey SCULK_CHARGE_POP = RegistryKey.unsafeOf("sculk_charge_pop"); + RegistryKey SCULK_CHARGE_POP = RegistryKey.of("sculk_charge_pop"); - RegistryKey SOUL_FIRE_FLAME = RegistryKey.unsafeOf("soul_fire_flame"); + RegistryKey SOUL_FIRE_FLAME = RegistryKey.of("soul_fire_flame"); - RegistryKey SOUL = RegistryKey.unsafeOf("soul"); + RegistryKey SOUL = RegistryKey.of("soul"); - RegistryKey FLASH = RegistryKey.unsafeOf("flash"); + RegistryKey FLASH = RegistryKey.of("flash"); - RegistryKey HAPPY_VILLAGER = RegistryKey.unsafeOf("happy_villager"); + RegistryKey HAPPY_VILLAGER = RegistryKey.of("happy_villager"); - RegistryKey COMPOSTER = RegistryKey.unsafeOf("composter"); + RegistryKey COMPOSTER = RegistryKey.of("composter"); - RegistryKey HEART = RegistryKey.unsafeOf("heart"); + RegistryKey HEART = RegistryKey.of("heart"); - RegistryKey INSTANT_EFFECT = RegistryKey.unsafeOf("instant_effect"); + RegistryKey INSTANT_EFFECT = RegistryKey.of("instant_effect"); - RegistryKey ITEM = RegistryKey.unsafeOf("item"); + RegistryKey ITEM = RegistryKey.of("item"); - RegistryKey VIBRATION = RegistryKey.unsafeOf("vibration"); + RegistryKey VIBRATION = RegistryKey.of("vibration"); - RegistryKey TRAIL = RegistryKey.unsafeOf("trail"); + RegistryKey TRAIL = RegistryKey.of("trail"); - RegistryKey PAUSE_MOB_GROWTH = RegistryKey.unsafeOf("pause_mob_growth"); + RegistryKey PAUSE_MOB_GROWTH = RegistryKey.of("pause_mob_growth"); - RegistryKey RESET_MOB_GROWTH = RegistryKey.unsafeOf("reset_mob_growth"); + RegistryKey RESET_MOB_GROWTH = RegistryKey.of("reset_mob_growth"); - RegistryKey ITEM_SLIME = RegistryKey.unsafeOf("item_slime"); + RegistryKey ITEM_SLIME = RegistryKey.of("item_slime"); - RegistryKey ITEM_COBWEB = RegistryKey.unsafeOf("item_cobweb"); + RegistryKey ITEM_COBWEB = RegistryKey.of("item_cobweb"); - RegistryKey ITEM_SNOWBALL = RegistryKey.unsafeOf("item_snowball"); + RegistryKey ITEM_SNOWBALL = RegistryKey.of("item_snowball"); - RegistryKey LARGE_SMOKE = RegistryKey.unsafeOf("large_smoke"); + RegistryKey LARGE_SMOKE = RegistryKey.of("large_smoke"); - RegistryKey LAVA = RegistryKey.unsafeOf("lava"); + RegistryKey LAVA = RegistryKey.of("lava"); - RegistryKey MYCELIUM = RegistryKey.unsafeOf("mycelium"); + RegistryKey MYCELIUM = RegistryKey.of("mycelium"); - RegistryKey NOTE = RegistryKey.unsafeOf("note"); + RegistryKey NOTE = RegistryKey.of("note"); - RegistryKey POOF = RegistryKey.unsafeOf("poof"); + RegistryKey POOF = RegistryKey.of("poof"); - RegistryKey PORTAL = RegistryKey.unsafeOf("portal"); + RegistryKey PORTAL = RegistryKey.of("portal"); - RegistryKey RAIN = RegistryKey.unsafeOf("rain"); + RegistryKey RAIN = RegistryKey.of("rain"); - RegistryKey SMOKE = RegistryKey.unsafeOf("smoke"); + RegistryKey SMOKE = RegistryKey.of("smoke"); - RegistryKey WHITE_SMOKE = RegistryKey.unsafeOf("white_smoke"); + RegistryKey WHITE_SMOKE = RegistryKey.of("white_smoke"); - RegistryKey SNEEZE = RegistryKey.unsafeOf("sneeze"); + RegistryKey SNEEZE = RegistryKey.of("sneeze"); - RegistryKey SPIT = RegistryKey.unsafeOf("spit"); + RegistryKey SPIT = RegistryKey.of("spit"); - RegistryKey SQUID_INK = RegistryKey.unsafeOf("squid_ink"); + RegistryKey SQUID_INK = RegistryKey.of("squid_ink"); - RegistryKey SWEEP_ATTACK = RegistryKey.unsafeOf("sweep_attack"); + RegistryKey SWEEP_ATTACK = RegistryKey.of("sweep_attack"); - RegistryKey TOTEM_OF_UNDYING = RegistryKey.unsafeOf("totem_of_undying"); + RegistryKey TOTEM_OF_UNDYING = RegistryKey.of("totem_of_undying"); - RegistryKey UNDERWATER = RegistryKey.unsafeOf("underwater"); + RegistryKey UNDERWATER = RegistryKey.of("underwater"); - RegistryKey SPLASH = RegistryKey.unsafeOf("splash"); + RegistryKey SPLASH = RegistryKey.of("splash"); - RegistryKey WITCH = RegistryKey.unsafeOf("witch"); + RegistryKey WITCH = RegistryKey.of("witch"); - RegistryKey BUBBLE_POP = RegistryKey.unsafeOf("bubble_pop"); + RegistryKey BUBBLE_POP = RegistryKey.of("bubble_pop"); - RegistryKey CURRENT_DOWN = RegistryKey.unsafeOf("current_down"); + RegistryKey CURRENT_DOWN = RegistryKey.of("current_down"); - RegistryKey BUBBLE_COLUMN_UP = RegistryKey.unsafeOf("bubble_column_up"); + RegistryKey BUBBLE_COLUMN_UP = RegistryKey.of("bubble_column_up"); - RegistryKey NAUTILUS = RegistryKey.unsafeOf("nautilus"); + RegistryKey NAUTILUS = RegistryKey.of("nautilus"); - RegistryKey DOLPHIN = RegistryKey.unsafeOf("dolphin"); + RegistryKey DOLPHIN = RegistryKey.of("dolphin"); - RegistryKey CAMPFIRE_COSY_SMOKE = RegistryKey.unsafeOf("campfire_cosy_smoke"); + RegistryKey CAMPFIRE_COSY_SMOKE = RegistryKey.of("campfire_cosy_smoke"); - RegistryKey CAMPFIRE_SIGNAL_SMOKE = RegistryKey.unsafeOf("campfire_signal_smoke"); + RegistryKey CAMPFIRE_SIGNAL_SMOKE = RegistryKey.of("campfire_signal_smoke"); - RegistryKey DRIPPING_HONEY = RegistryKey.unsafeOf("dripping_honey"); + RegistryKey DRIPPING_HONEY = RegistryKey.of("dripping_honey"); - RegistryKey FALLING_HONEY = RegistryKey.unsafeOf("falling_honey"); + RegistryKey FALLING_HONEY = RegistryKey.of("falling_honey"); - RegistryKey LANDING_HONEY = RegistryKey.unsafeOf("landing_honey"); + RegistryKey LANDING_HONEY = RegistryKey.of("landing_honey"); - RegistryKey FALLING_NECTAR = RegistryKey.unsafeOf("falling_nectar"); + RegistryKey FALLING_NECTAR = RegistryKey.of("falling_nectar"); - RegistryKey FALLING_SPORE_BLOSSOM = RegistryKey.unsafeOf("falling_spore_blossom"); + RegistryKey FALLING_SPORE_BLOSSOM = RegistryKey.of("falling_spore_blossom"); - RegistryKey ASH = RegistryKey.unsafeOf("ash"); + RegistryKey ASH = RegistryKey.of("ash"); - RegistryKey CRIMSON_SPORE = RegistryKey.unsafeOf("crimson_spore"); + RegistryKey CRIMSON_SPORE = RegistryKey.of("crimson_spore"); - RegistryKey WARPED_SPORE = RegistryKey.unsafeOf("warped_spore"); + RegistryKey WARPED_SPORE = RegistryKey.of("warped_spore"); - RegistryKey SPORE_BLOSSOM_AIR = RegistryKey.unsafeOf("spore_blossom_air"); + RegistryKey SPORE_BLOSSOM_AIR = RegistryKey.of("spore_blossom_air"); - RegistryKey DRIPPING_OBSIDIAN_TEAR = RegistryKey.unsafeOf("dripping_obsidian_tear"); + RegistryKey DRIPPING_OBSIDIAN_TEAR = RegistryKey.of("dripping_obsidian_tear"); - RegistryKey FALLING_OBSIDIAN_TEAR = RegistryKey.unsafeOf("falling_obsidian_tear"); + RegistryKey FALLING_OBSIDIAN_TEAR = RegistryKey.of("falling_obsidian_tear"); - RegistryKey LANDING_OBSIDIAN_TEAR = RegistryKey.unsafeOf("landing_obsidian_tear"); + RegistryKey LANDING_OBSIDIAN_TEAR = RegistryKey.of("landing_obsidian_tear"); - RegistryKey REVERSE_PORTAL = RegistryKey.unsafeOf("reverse_portal"); + RegistryKey REVERSE_PORTAL = RegistryKey.of("reverse_portal"); - RegistryKey WHITE_ASH = RegistryKey.unsafeOf("white_ash"); + RegistryKey WHITE_ASH = RegistryKey.of("white_ash"); - RegistryKey SMALL_FLAME = RegistryKey.unsafeOf("small_flame"); + RegistryKey SMALL_FLAME = RegistryKey.of("small_flame"); - RegistryKey SNOWFLAKE = RegistryKey.unsafeOf("snowflake"); + RegistryKey SNOWFLAKE = RegistryKey.of("snowflake"); - RegistryKey DRIPPING_DRIPSTONE_LAVA = RegistryKey.unsafeOf("dripping_dripstone_lava"); + RegistryKey DRIPPING_DRIPSTONE_LAVA = RegistryKey.of("dripping_dripstone_lava"); - RegistryKey FALLING_DRIPSTONE_LAVA = RegistryKey.unsafeOf("falling_dripstone_lava"); + RegistryKey FALLING_DRIPSTONE_LAVA = RegistryKey.of("falling_dripstone_lava"); - RegistryKey DRIPPING_DRIPSTONE_WATER = RegistryKey.unsafeOf("dripping_dripstone_water"); + RegistryKey DRIPPING_DRIPSTONE_WATER = RegistryKey.of("dripping_dripstone_water"); - RegistryKey FALLING_DRIPSTONE_WATER = RegistryKey.unsafeOf("falling_dripstone_water"); + RegistryKey FALLING_DRIPSTONE_WATER = RegistryKey.of("falling_dripstone_water"); - RegistryKey GLOW_SQUID_INK = RegistryKey.unsafeOf("glow_squid_ink"); + RegistryKey GLOW_SQUID_INK = RegistryKey.of("glow_squid_ink"); - RegistryKey GLOW = RegistryKey.unsafeOf("glow"); + RegistryKey GLOW = RegistryKey.of("glow"); - RegistryKey WAX_ON = RegistryKey.unsafeOf("wax_on"); + RegistryKey WAX_ON = RegistryKey.of("wax_on"); - RegistryKey WAX_OFF = RegistryKey.unsafeOf("wax_off"); + RegistryKey WAX_OFF = RegistryKey.of("wax_off"); - RegistryKey ELECTRIC_SPARK = RegistryKey.unsafeOf("electric_spark"); + RegistryKey ELECTRIC_SPARK = RegistryKey.of("electric_spark"); - RegistryKey SCRAPE = RegistryKey.unsafeOf("scrape"); + RegistryKey SCRAPE = RegistryKey.of("scrape"); - RegistryKey SHRIEK = RegistryKey.unsafeOf("shriek"); + RegistryKey SHRIEK = RegistryKey.of("shriek"); - RegistryKey EGG_CRACK = RegistryKey.unsafeOf("egg_crack"); + RegistryKey EGG_CRACK = RegistryKey.of("egg_crack"); - RegistryKey DUST_PLUME = RegistryKey.unsafeOf("dust_plume"); + RegistryKey DUST_PLUME = RegistryKey.of("dust_plume"); - RegistryKey TRIAL_SPAWNER_DETECTION = RegistryKey.unsafeOf("trial_spawner_detection"); + RegistryKey TRIAL_SPAWNER_DETECTION = RegistryKey.of("trial_spawner_detection"); - RegistryKey TRIAL_SPAWNER_DETECTION_OMINOUS = RegistryKey.unsafeOf("trial_spawner_detection_ominous"); + RegistryKey TRIAL_SPAWNER_DETECTION_OMINOUS = RegistryKey.of("trial_spawner_detection_ominous"); - RegistryKey VAULT_CONNECTION = RegistryKey.unsafeOf("vault_connection"); + RegistryKey VAULT_CONNECTION = RegistryKey.of("vault_connection"); - RegistryKey DUST_PILLAR = RegistryKey.unsafeOf("dust_pillar"); + RegistryKey DUST_PILLAR = RegistryKey.of("dust_pillar"); - RegistryKey OMINOUS_SPAWNING = RegistryKey.unsafeOf("ominous_spawning"); + RegistryKey OMINOUS_SPAWNING = RegistryKey.of("ominous_spawning"); - RegistryKey RAID_OMEN = RegistryKey.unsafeOf("raid_omen"); + RegistryKey RAID_OMEN = RegistryKey.of("raid_omen"); - RegistryKey TRIAL_OMEN = RegistryKey.unsafeOf("trial_omen"); + RegistryKey TRIAL_OMEN = RegistryKey.of("trial_omen"); - RegistryKey BLOCK_CRUMBLE = RegistryKey.unsafeOf("block_crumble"); + RegistryKey BLOCK_CRUMBLE = RegistryKey.of("block_crumble"); - RegistryKey FIREFLY = RegistryKey.unsafeOf("firefly"); + RegistryKey FIREFLY = RegistryKey.of("firefly"); - RegistryKey SULFUR_CUBE_GOO = RegistryKey.unsafeOf("sulfur_cube_goo"); + RegistryKey SULFUR_CUBE_GOO = RegistryKey.of("sulfur_cube_goo"); } diff --git a/src/autogenerated/java/net/minestom/server/potion/PotionEffectKeys.java b/src/autogenerated/java/net/minestom/server/potion/PotionEffectKeys.java index fab230ead3e..04822225ce3 100644 --- a/src/autogenerated/java/net/minestom/server/potion/PotionEffectKeys.java +++ b/src/autogenerated/java/net/minestom/server/potion/PotionEffectKeys.java @@ -11,83 +11,83 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface PotionEffectKeys { - RegistryKey ABSORPTION = RegistryKey.unsafeOf("absorption"); + RegistryKey ABSORPTION = RegistryKey.of("absorption"); - RegistryKey BAD_OMEN = RegistryKey.unsafeOf("bad_omen"); + RegistryKey BAD_OMEN = RegistryKey.of("bad_omen"); - RegistryKey BLINDNESS = RegistryKey.unsafeOf("blindness"); + RegistryKey BLINDNESS = RegistryKey.of("blindness"); - RegistryKey BREATH_OF_THE_NAUTILUS = RegistryKey.unsafeOf("breath_of_the_nautilus"); + RegistryKey BREATH_OF_THE_NAUTILUS = RegistryKey.of("breath_of_the_nautilus"); - RegistryKey CONDUIT_POWER = RegistryKey.unsafeOf("conduit_power"); + RegistryKey CONDUIT_POWER = RegistryKey.of("conduit_power"); - RegistryKey DARKNESS = RegistryKey.unsafeOf("darkness"); + RegistryKey DARKNESS = RegistryKey.of("darkness"); - RegistryKey DOLPHINS_GRACE = RegistryKey.unsafeOf("dolphins_grace"); + RegistryKey DOLPHINS_GRACE = RegistryKey.of("dolphins_grace"); - RegistryKey FIRE_RESISTANCE = RegistryKey.unsafeOf("fire_resistance"); + RegistryKey FIRE_RESISTANCE = RegistryKey.of("fire_resistance"); - RegistryKey GLOWING = RegistryKey.unsafeOf("glowing"); + RegistryKey GLOWING = RegistryKey.of("glowing"); - RegistryKey HASTE = RegistryKey.unsafeOf("haste"); + RegistryKey HASTE = RegistryKey.of("haste"); - RegistryKey HEALTH_BOOST = RegistryKey.unsafeOf("health_boost"); + RegistryKey HEALTH_BOOST = RegistryKey.of("health_boost"); - RegistryKey HERO_OF_THE_VILLAGE = RegistryKey.unsafeOf("hero_of_the_village"); + RegistryKey HERO_OF_THE_VILLAGE = RegistryKey.of("hero_of_the_village"); - RegistryKey HUNGER = RegistryKey.unsafeOf("hunger"); + RegistryKey HUNGER = RegistryKey.of("hunger"); - RegistryKey INFESTED = RegistryKey.unsafeOf("infested"); + RegistryKey INFESTED = RegistryKey.of("infested"); - RegistryKey INSTANT_DAMAGE = RegistryKey.unsafeOf("instant_damage"); + RegistryKey INSTANT_DAMAGE = RegistryKey.of("instant_damage"); - RegistryKey INSTANT_HEALTH = RegistryKey.unsafeOf("instant_health"); + RegistryKey INSTANT_HEALTH = RegistryKey.of("instant_health"); - RegistryKey INVISIBILITY = RegistryKey.unsafeOf("invisibility"); + RegistryKey INVISIBILITY = RegistryKey.of("invisibility"); - RegistryKey JUMP_BOOST = RegistryKey.unsafeOf("jump_boost"); + RegistryKey JUMP_BOOST = RegistryKey.of("jump_boost"); - RegistryKey LEVITATION = RegistryKey.unsafeOf("levitation"); + RegistryKey LEVITATION = RegistryKey.of("levitation"); - RegistryKey LUCK = RegistryKey.unsafeOf("luck"); + RegistryKey LUCK = RegistryKey.of("luck"); - RegistryKey MINING_FATIGUE = RegistryKey.unsafeOf("mining_fatigue"); + RegistryKey MINING_FATIGUE = RegistryKey.of("mining_fatigue"); - RegistryKey NAUSEA = RegistryKey.unsafeOf("nausea"); + RegistryKey NAUSEA = RegistryKey.of("nausea"); - RegistryKey NIGHT_VISION = RegistryKey.unsafeOf("night_vision"); + RegistryKey NIGHT_VISION = RegistryKey.of("night_vision"); - RegistryKey OOZING = RegistryKey.unsafeOf("oozing"); + RegistryKey OOZING = RegistryKey.of("oozing"); - RegistryKey POISON = RegistryKey.unsafeOf("poison"); + RegistryKey POISON = RegistryKey.of("poison"); - RegistryKey RAID_OMEN = RegistryKey.unsafeOf("raid_omen"); + RegistryKey RAID_OMEN = RegistryKey.of("raid_omen"); - RegistryKey REGENERATION = RegistryKey.unsafeOf("regeneration"); + RegistryKey REGENERATION = RegistryKey.of("regeneration"); - RegistryKey RESISTANCE = RegistryKey.unsafeOf("resistance"); + RegistryKey RESISTANCE = RegistryKey.of("resistance"); - RegistryKey SATURATION = RegistryKey.unsafeOf("saturation"); + RegistryKey SATURATION = RegistryKey.of("saturation"); - RegistryKey SLOW_FALLING = RegistryKey.unsafeOf("slow_falling"); + RegistryKey SLOW_FALLING = RegistryKey.of("slow_falling"); - RegistryKey SLOWNESS = RegistryKey.unsafeOf("slowness"); + RegistryKey SLOWNESS = RegistryKey.of("slowness"); - RegistryKey SPEED = RegistryKey.unsafeOf("speed"); + RegistryKey SPEED = RegistryKey.of("speed"); - RegistryKey STRENGTH = RegistryKey.unsafeOf("strength"); + RegistryKey STRENGTH = RegistryKey.of("strength"); - RegistryKey TRIAL_OMEN = RegistryKey.unsafeOf("trial_omen"); + RegistryKey TRIAL_OMEN = RegistryKey.of("trial_omen"); - RegistryKey UNLUCK = RegistryKey.unsafeOf("unluck"); + RegistryKey UNLUCK = RegistryKey.of("unluck"); - RegistryKey WATER_BREATHING = RegistryKey.unsafeOf("water_breathing"); + RegistryKey WATER_BREATHING = RegistryKey.of("water_breathing"); - RegistryKey WEAKNESS = RegistryKey.unsafeOf("weakness"); + RegistryKey WEAKNESS = RegistryKey.of("weakness"); - RegistryKey WEAVING = RegistryKey.unsafeOf("weaving"); + RegistryKey WEAVING = RegistryKey.of("weaving"); - RegistryKey WIND_CHARGED = RegistryKey.unsafeOf("wind_charged"); + RegistryKey WIND_CHARGED = RegistryKey.of("wind_charged"); - RegistryKey WITHER = RegistryKey.unsafeOf("wither"); + RegistryKey WITHER = RegistryKey.of("wither"); } diff --git a/src/autogenerated/java/net/minestom/server/potion/PotionTypeKeys.java b/src/autogenerated/java/net/minestom/server/potion/PotionTypeKeys.java index f77cc93f05b..c82856457d1 100644 --- a/src/autogenerated/java/net/minestom/server/potion/PotionTypeKeys.java +++ b/src/autogenerated/java/net/minestom/server/potion/PotionTypeKeys.java @@ -11,95 +11,95 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface PotionTypeKeys { - RegistryKey AWKWARD = RegistryKey.unsafeOf("awkward"); + RegistryKey AWKWARD = RegistryKey.of("awkward"); - RegistryKey FIRE_RESISTANCE = RegistryKey.unsafeOf("fire_resistance"); + RegistryKey FIRE_RESISTANCE = RegistryKey.of("fire_resistance"); - RegistryKey HARMING = RegistryKey.unsafeOf("harming"); + RegistryKey HARMING = RegistryKey.of("harming"); - RegistryKey HEALING = RegistryKey.unsafeOf("healing"); + RegistryKey HEALING = RegistryKey.of("healing"); - RegistryKey INFESTED = RegistryKey.unsafeOf("infested"); + RegistryKey INFESTED = RegistryKey.of("infested"); - RegistryKey INVISIBILITY = RegistryKey.unsafeOf("invisibility"); + RegistryKey INVISIBILITY = RegistryKey.of("invisibility"); - RegistryKey LEAPING = RegistryKey.unsafeOf("leaping"); + RegistryKey LEAPING = RegistryKey.of("leaping"); - RegistryKey LONG_FIRE_RESISTANCE = RegistryKey.unsafeOf("long_fire_resistance"); + RegistryKey LONG_FIRE_RESISTANCE = RegistryKey.of("long_fire_resistance"); - RegistryKey LONG_INVISIBILITY = RegistryKey.unsafeOf("long_invisibility"); + RegistryKey LONG_INVISIBILITY = RegistryKey.of("long_invisibility"); - RegistryKey LONG_LEAPING = RegistryKey.unsafeOf("long_leaping"); + RegistryKey LONG_LEAPING = RegistryKey.of("long_leaping"); - RegistryKey LONG_NIGHT_VISION = RegistryKey.unsafeOf("long_night_vision"); + RegistryKey LONG_NIGHT_VISION = RegistryKey.of("long_night_vision"); - RegistryKey LONG_POISON = RegistryKey.unsafeOf("long_poison"); + RegistryKey LONG_POISON = RegistryKey.of("long_poison"); - RegistryKey LONG_REGENERATION = RegistryKey.unsafeOf("long_regeneration"); + RegistryKey LONG_REGENERATION = RegistryKey.of("long_regeneration"); - RegistryKey LONG_SLOW_FALLING = RegistryKey.unsafeOf("long_slow_falling"); + RegistryKey LONG_SLOW_FALLING = RegistryKey.of("long_slow_falling"); - RegistryKey LONG_SLOWNESS = RegistryKey.unsafeOf("long_slowness"); + RegistryKey LONG_SLOWNESS = RegistryKey.of("long_slowness"); - RegistryKey LONG_STRENGTH = RegistryKey.unsafeOf("long_strength"); + RegistryKey LONG_STRENGTH = RegistryKey.of("long_strength"); - RegistryKey LONG_SWIFTNESS = RegistryKey.unsafeOf("long_swiftness"); + RegistryKey LONG_SWIFTNESS = RegistryKey.of("long_swiftness"); - RegistryKey LONG_TURTLE_MASTER = RegistryKey.unsafeOf("long_turtle_master"); + RegistryKey LONG_TURTLE_MASTER = RegistryKey.of("long_turtle_master"); - RegistryKey LONG_WATER_BREATHING = RegistryKey.unsafeOf("long_water_breathing"); + RegistryKey LONG_WATER_BREATHING = RegistryKey.of("long_water_breathing"); - RegistryKey LONG_WEAKNESS = RegistryKey.unsafeOf("long_weakness"); + RegistryKey LONG_WEAKNESS = RegistryKey.of("long_weakness"); - RegistryKey LUCK = RegistryKey.unsafeOf("luck"); + RegistryKey LUCK = RegistryKey.of("luck"); - RegistryKey MUNDANE = RegistryKey.unsafeOf("mundane"); + RegistryKey MUNDANE = RegistryKey.of("mundane"); - RegistryKey NIGHT_VISION = RegistryKey.unsafeOf("night_vision"); + RegistryKey NIGHT_VISION = RegistryKey.of("night_vision"); - RegistryKey OOZING = RegistryKey.unsafeOf("oozing"); + RegistryKey OOZING = RegistryKey.of("oozing"); - RegistryKey POISON = RegistryKey.unsafeOf("poison"); + RegistryKey POISON = RegistryKey.of("poison"); - RegistryKey REGENERATION = RegistryKey.unsafeOf("regeneration"); + RegistryKey REGENERATION = RegistryKey.of("regeneration"); - RegistryKey SLOW_FALLING = RegistryKey.unsafeOf("slow_falling"); + RegistryKey SLOW_FALLING = RegistryKey.of("slow_falling"); - RegistryKey SLOWNESS = RegistryKey.unsafeOf("slowness"); + RegistryKey SLOWNESS = RegistryKey.of("slowness"); - RegistryKey STRENGTH = RegistryKey.unsafeOf("strength"); + RegistryKey STRENGTH = RegistryKey.of("strength"); - RegistryKey STRONG_HARMING = RegistryKey.unsafeOf("strong_harming"); + RegistryKey STRONG_HARMING = RegistryKey.of("strong_harming"); - RegistryKey STRONG_HEALING = RegistryKey.unsafeOf("strong_healing"); + RegistryKey STRONG_HEALING = RegistryKey.of("strong_healing"); - RegistryKey STRONG_LEAPING = RegistryKey.unsafeOf("strong_leaping"); + RegistryKey STRONG_LEAPING = RegistryKey.of("strong_leaping"); - RegistryKey STRONG_POISON = RegistryKey.unsafeOf("strong_poison"); + RegistryKey STRONG_POISON = RegistryKey.of("strong_poison"); - RegistryKey STRONG_REGENERATION = RegistryKey.unsafeOf("strong_regeneration"); + RegistryKey STRONG_REGENERATION = RegistryKey.of("strong_regeneration"); - RegistryKey STRONG_SLOWNESS = RegistryKey.unsafeOf("strong_slowness"); + RegistryKey STRONG_SLOWNESS = RegistryKey.of("strong_slowness"); - RegistryKey STRONG_STRENGTH = RegistryKey.unsafeOf("strong_strength"); + RegistryKey STRONG_STRENGTH = RegistryKey.of("strong_strength"); - RegistryKey STRONG_SWIFTNESS = RegistryKey.unsafeOf("strong_swiftness"); + RegistryKey STRONG_SWIFTNESS = RegistryKey.of("strong_swiftness"); - RegistryKey STRONG_TURTLE_MASTER = RegistryKey.unsafeOf("strong_turtle_master"); + RegistryKey STRONG_TURTLE_MASTER = RegistryKey.of("strong_turtle_master"); - RegistryKey SWIFTNESS = RegistryKey.unsafeOf("swiftness"); + RegistryKey SWIFTNESS = RegistryKey.of("swiftness"); - RegistryKey THICK = RegistryKey.unsafeOf("thick"); + RegistryKey THICK = RegistryKey.of("thick"); - RegistryKey TURTLE_MASTER = RegistryKey.unsafeOf("turtle_master"); + RegistryKey TURTLE_MASTER = RegistryKey.of("turtle_master"); - RegistryKey WATER = RegistryKey.unsafeOf("water"); + RegistryKey WATER = RegistryKey.of("water"); - RegistryKey WATER_BREATHING = RegistryKey.unsafeOf("water_breathing"); + RegistryKey WATER_BREATHING = RegistryKey.of("water_breathing"); - RegistryKey WEAKNESS = RegistryKey.unsafeOf("weakness"); + RegistryKey WEAKNESS = RegistryKey.of("weakness"); - RegistryKey WEAVING = RegistryKey.unsafeOf("weaving"); + RegistryKey WEAVING = RegistryKey.of("weaving"); - RegistryKey WIND_CHARGED = RegistryKey.unsafeOf("wind_charged"); + RegistryKey WIND_CHARGED = RegistryKey.of("wind_charged"); } diff --git a/src/autogenerated/java/net/minestom/server/potion/PotionTypeTags.java b/src/autogenerated/java/net/minestom/server/potion/PotionTypeTags.java index 8822e6782f9..1b29d9e871e 100644 --- a/src/autogenerated/java/net/minestom/server/potion/PotionTypeTags.java +++ b/src/autogenerated/java/net/minestom/server/potion/PotionTypeTags.java @@ -11,5 +11,5 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface PotionTypeTags { - TagKey TRADEABLE = TagKey.unsafeOf("tradeable"); + TagKey TRADEABLE = TagKey.of("tradeable"); } diff --git a/src/autogenerated/java/net/minestom/server/registry/BuiltinRegistries.java b/src/autogenerated/java/net/minestom/server/registry/BuiltinRegistries.java index 45f4382b794..7072075e8bd 100644 --- a/src/autogenerated/java/net/minestom/server/registry/BuiltinRegistries.java +++ b/src/autogenerated/java/net/minestom/server/registry/BuiltinRegistries.java @@ -57,220 +57,220 @@ public interface BuiltinRegistries { /** * The registry key for {@link Attribute}. */ - RegistryKey> ATTRIBUTE = RegistryKey.unsafeOf("attribute"); + RegistryKey> ATTRIBUTE = RegistryKey.of("attribute"); /** * The registry key for {@link BannerPattern}. */ - RegistryKey> BANNER_PATTERN = RegistryKey.unsafeOf("banner_pattern"); + RegistryKey> BANNER_PATTERN = RegistryKey.of("banner_pattern"); /** * The registry key for {@link Block}. */ - RegistryKey> BLOCK = RegistryKey.unsafeOf("block"); + RegistryKey> BLOCK = RegistryKey.of("block"); /** * The registry key for {@link BlockEntityType}. */ - RegistryKey> BLOCK_ENTITY_TYPE = RegistryKey.unsafeOf("block_entity_type"); + RegistryKey> BLOCK_ENTITY_TYPE = RegistryKey.of("block_entity_type"); /** * The registry key for {@link BlockSoundType}. */ - RegistryKey> BLOCK_SOUND_TYPE = RegistryKey.unsafeOf("block_sound_type"); + RegistryKey> BLOCK_SOUND_TYPE = RegistryKey.of("block_sound_type"); /** * The registry key for {@link CatSoundVariant}. */ - RegistryKey> CAT_SOUND_VARIANT = RegistryKey.unsafeOf("cat_sound_variant"); + RegistryKey> CAT_SOUND_VARIANT = RegistryKey.of("cat_sound_variant"); /** * The registry key for {@link CatVariant}. */ - RegistryKey> CAT_VARIANT = RegistryKey.unsafeOf("cat_variant"); + RegistryKey> CAT_VARIANT = RegistryKey.of("cat_variant"); /** * The registry key for {@link ChatType}. */ - RegistryKey> CHAT_TYPE = RegistryKey.unsafeOf("chat_type"); + RegistryKey> CHAT_TYPE = RegistryKey.of("chat_type"); /** * The registry key for {@link ChickenSoundVariant}. */ - RegistryKey> CHICKEN_SOUND_VARIANT = RegistryKey.unsafeOf("chicken_sound_variant"); + RegistryKey> CHICKEN_SOUND_VARIANT = RegistryKey.of("chicken_sound_variant"); /** * The registry key for {@link ChickenVariant}. */ - RegistryKey> CHICKEN_VARIANT = RegistryKey.unsafeOf("chicken_variant"); + RegistryKey> CHICKEN_VARIANT = RegistryKey.of("chicken_variant"); /** * The registry key for {@link ClockTimeMarker}. */ - RegistryKey> CLOCK_TIME_MARKER = RegistryKey.unsafeOf("clock_time_marker"); + RegistryKey> CLOCK_TIME_MARKER = RegistryKey.of("clock_time_marker"); /** * The registry key for {@link CowSoundVariant}. */ - RegistryKey> COW_SOUND_VARIANT = RegistryKey.unsafeOf("cow_sound_variant"); + RegistryKey> COW_SOUND_VARIANT = RegistryKey.of("cow_sound_variant"); /** * The registry key for {@link CowVariant}. */ - RegistryKey> COW_VARIANT = RegistryKey.unsafeOf("cow_variant"); + RegistryKey> COW_VARIANT = RegistryKey.of("cow_variant"); /** * The registry key for {@link StatisticType}. */ - RegistryKey> CUSTOM_STAT = RegistryKey.unsafeOf("custom_stat"); + RegistryKey> CUSTOM_STAT = RegistryKey.of("custom_stat"); /** * The registry key for {@link DamageType}. */ - RegistryKey> DAMAGE_TYPE = RegistryKey.unsafeOf("damage_type"); + RegistryKey> DAMAGE_TYPE = RegistryKey.of("damage_type"); /** * The registry key for {@link Dialog}. */ - RegistryKey> DIALOG = RegistryKey.unsafeOf("dialog"); + RegistryKey> DIALOG = RegistryKey.of("dialog"); /** * The registry key for {@link DimensionType}. */ - RegistryKey> DIMENSION_TYPE = RegistryKey.unsafeOf("dimension_type"); + RegistryKey> DIMENSION_TYPE = RegistryKey.of("dimension_type"); /** * The registry key for {@link Enchantment}. */ - RegistryKey> ENCHANTMENT = RegistryKey.unsafeOf("enchantment"); + RegistryKey> ENCHANTMENT = RegistryKey.of("enchantment"); /** * The registry key for {@link EntityType}. */ - RegistryKey> ENTITY_TYPE = RegistryKey.unsafeOf("entity_type"); + RegistryKey> ENTITY_TYPE = RegistryKey.of("entity_type"); /** * The registry key for {@link FeatureFlag}. */ - RegistryKey> FEATURE_FLAG = RegistryKey.unsafeOf("feature_flag"); + RegistryKey> FEATURE_FLAG = RegistryKey.of("feature_flag"); /** * The registry key for {@link Fluid}. */ - RegistryKey> FLUID = RegistryKey.unsafeOf("fluid"); + RegistryKey> FLUID = RegistryKey.of("fluid"); /** * The registry key for {@link FrogVariant}. */ - RegistryKey> FROG_VARIANT = RegistryKey.unsafeOf("frog_variant"); + RegistryKey> FROG_VARIANT = RegistryKey.of("frog_variant"); /** * The registry key for {@link GameEvent}. */ - RegistryKey> GAME_EVENT = RegistryKey.unsafeOf("game_event"); + RegistryKey> GAME_EVENT = RegistryKey.of("game_event"); /** * The registry key for {@link Instrument}. */ - RegistryKey> INSTRUMENT = RegistryKey.unsafeOf("instrument"); + RegistryKey> INSTRUMENT = RegistryKey.of("instrument"); /** * The registry key for {@link Material}. */ - RegistryKey> ITEM = RegistryKey.unsafeOf("item"); + RegistryKey> ITEM = RegistryKey.of("item"); /** * The registry key for {@link JukeboxSong}. */ - RegistryKey> JUKEBOX_SONG = RegistryKey.unsafeOf("jukebox_song"); + RegistryKey> JUKEBOX_SONG = RegistryKey.of("jukebox_song"); /** * The registry key for {@link PotionEffect}. */ - RegistryKey> MOB_EFFECT = RegistryKey.unsafeOf("mob_effect"); + RegistryKey> MOB_EFFECT = RegistryKey.of("mob_effect"); /** * The registry key for {@link PaintingVariant}. */ - RegistryKey> PAINTING_VARIANT = RegistryKey.unsafeOf("painting_variant"); + RegistryKey> PAINTING_VARIANT = RegistryKey.of("painting_variant"); /** * The registry key for {@link PigSoundVariant}. */ - RegistryKey> PIG_SOUND_VARIANT = RegistryKey.unsafeOf("pig_sound_variant"); + RegistryKey> PIG_SOUND_VARIANT = RegistryKey.of("pig_sound_variant"); /** * The registry key for {@link PigVariant}. */ - RegistryKey> PIG_VARIANT = RegistryKey.unsafeOf("pig_variant"); + RegistryKey> PIG_VARIANT = RegistryKey.of("pig_variant"); /** * The registry key for {@link PotionType}. */ - RegistryKey> POTION = RegistryKey.unsafeOf("potion"); + RegistryKey> POTION = RegistryKey.of("potion"); /** * The registry key for {@link BuiltinSoundEvent}. */ - RegistryKey> SOUND_EVENT = RegistryKey.unsafeOf("sound_event"); + RegistryKey> SOUND_EVENT = RegistryKey.of("sound_event"); /** * The registry key for {@link SulfurCubeArchetype}. */ - RegistryKey> SULFUR_CUBE_ARCHETYPE = RegistryKey.unsafeOf("sulfur_cube_archetype"); + RegistryKey> SULFUR_CUBE_ARCHETYPE = RegistryKey.of("sulfur_cube_archetype"); /** * The registry key for {@link Timeline}. */ - RegistryKey> TIMELINE = RegistryKey.unsafeOf("timeline"); + RegistryKey> TIMELINE = RegistryKey.of("timeline"); /** * The registry key for {@link TrimMaterial}. */ - RegistryKey> TRIM_MATERIAL = RegistryKey.unsafeOf("trim_material"); + RegistryKey> TRIM_MATERIAL = RegistryKey.of("trim_material"); /** * The registry key for {@link TrimPattern}. */ - RegistryKey> TRIM_PATTERN = RegistryKey.unsafeOf("trim_pattern"); + RegistryKey> TRIM_PATTERN = RegistryKey.of("trim_pattern"); /** * The registry key for {@link VillagerProfession}. */ - RegistryKey> VILLAGER_PROFESSION = RegistryKey.unsafeOf("villager_profession"); + RegistryKey> VILLAGER_PROFESSION = RegistryKey.of("villager_profession"); /** * The registry key for {@link WolfSoundVariant}. */ - RegistryKey> WOLF_SOUND_VARIANT = RegistryKey.unsafeOf("wolf_sound_variant"); + RegistryKey> WOLF_SOUND_VARIANT = RegistryKey.of("wolf_sound_variant"); /** * The registry key for {@link WolfVariant}. */ - RegistryKey> WOLF_VARIANT = RegistryKey.unsafeOf("wolf_variant"); + RegistryKey> WOLF_VARIANT = RegistryKey.of("wolf_variant"); /** * The registry key for {@link WorldClock}. */ - RegistryKey> WORLD_CLOCK = RegistryKey.unsafeOf("world_clock"); + RegistryKey> WORLD_CLOCK = RegistryKey.of("world_clock"); /** * The registry key for {@link Biome}. */ - RegistryKey> BIOME = RegistryKey.unsafeOf("worldgen/biome"); + RegistryKey> BIOME = RegistryKey.of("worldgen/biome"); /** * The registry key for {@link ZombieNautilusVariant}. */ - RegistryKey> ZOMBIE_NAUTILUS_VARIANT = RegistryKey.unsafeOf("zombie_nautilus_variant"); + RegistryKey> ZOMBIE_NAUTILUS_VARIANT = RegistryKey.of("zombie_nautilus_variant"); /** * The registry key for {@link Particle}. */ - RegistryKey> PARTICLE_TYPE = RegistryKey.unsafeOf("particle_type"); + RegistryKey> PARTICLE_TYPE = RegistryKey.of("particle_type"); /** * The registry key for {@link GameRule}. */ - RegistryKey>> GAME_RULE = RegistryKey.unsafeOf("game_rule"); + RegistryKey>> GAME_RULE = RegistryKey.of("game_rule"); } diff --git a/src/autogenerated/java/net/minestom/server/sound/SoundEventKeys.java b/src/autogenerated/java/net/minestom/server/sound/SoundEventKeys.java index 83c9e8272bd..b1c8f6ae92c 100644 --- a/src/autogenerated/java/net/minestom/server/sound/SoundEventKeys.java +++ b/src/autogenerated/java/net/minestom/server/sound/SoundEventKeys.java @@ -11,3939 +11,3939 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface SoundEventKeys { - RegistryKey AMBIENT_BASALT_DELTAS_ADDITIONS = RegistryKey.unsafeOf("ambient.basalt_deltas.additions"); + RegistryKey AMBIENT_BASALT_DELTAS_ADDITIONS = RegistryKey.of("ambient.basalt_deltas.additions"); - RegistryKey AMBIENT_BASALT_DELTAS_LOOP = RegistryKey.unsafeOf("ambient.basalt_deltas.loop"); + RegistryKey AMBIENT_BASALT_DELTAS_LOOP = RegistryKey.of("ambient.basalt_deltas.loop"); - RegistryKey AMBIENT_BASALT_DELTAS_MOOD = RegistryKey.unsafeOf("ambient.basalt_deltas.mood"); + RegistryKey AMBIENT_BASALT_DELTAS_MOOD = RegistryKey.of("ambient.basalt_deltas.mood"); - RegistryKey AMBIENT_CAVE = RegistryKey.unsafeOf("ambient.cave"); + RegistryKey AMBIENT_CAVE = RegistryKey.of("ambient.cave"); - RegistryKey AMBIENT_CRIMSON_FOREST_ADDITIONS = RegistryKey.unsafeOf("ambient.crimson_forest.additions"); + RegistryKey AMBIENT_CRIMSON_FOREST_ADDITIONS = RegistryKey.of("ambient.crimson_forest.additions"); - RegistryKey AMBIENT_CRIMSON_FOREST_LOOP = RegistryKey.unsafeOf("ambient.crimson_forest.loop"); + RegistryKey AMBIENT_CRIMSON_FOREST_LOOP = RegistryKey.of("ambient.crimson_forest.loop"); - RegistryKey AMBIENT_CRIMSON_FOREST_MOOD = RegistryKey.unsafeOf("ambient.crimson_forest.mood"); + RegistryKey AMBIENT_CRIMSON_FOREST_MOOD = RegistryKey.of("ambient.crimson_forest.mood"); - RegistryKey AMBIENT_NETHER_WASTES_ADDITIONS = RegistryKey.unsafeOf("ambient.nether_wastes.additions"); + RegistryKey AMBIENT_NETHER_WASTES_ADDITIONS = RegistryKey.of("ambient.nether_wastes.additions"); - RegistryKey AMBIENT_NETHER_WASTES_LOOP = RegistryKey.unsafeOf("ambient.nether_wastes.loop"); + RegistryKey AMBIENT_NETHER_WASTES_LOOP = RegistryKey.of("ambient.nether_wastes.loop"); - RegistryKey AMBIENT_NETHER_WASTES_MOOD = RegistryKey.unsafeOf("ambient.nether_wastes.mood"); + RegistryKey AMBIENT_NETHER_WASTES_MOOD = RegistryKey.of("ambient.nether_wastes.mood"); - RegistryKey AMBIENT_SOUL_SAND_VALLEY_ADDITIONS = RegistryKey.unsafeOf("ambient.soul_sand_valley.additions"); + RegistryKey AMBIENT_SOUL_SAND_VALLEY_ADDITIONS = RegistryKey.of("ambient.soul_sand_valley.additions"); - RegistryKey AMBIENT_SOUL_SAND_VALLEY_LOOP = RegistryKey.unsafeOf("ambient.soul_sand_valley.loop"); + RegistryKey AMBIENT_SOUL_SAND_VALLEY_LOOP = RegistryKey.of("ambient.soul_sand_valley.loop"); - RegistryKey AMBIENT_SOUL_SAND_VALLEY_MOOD = RegistryKey.unsafeOf("ambient.soul_sand_valley.mood"); + RegistryKey AMBIENT_SOUL_SAND_VALLEY_MOOD = RegistryKey.of("ambient.soul_sand_valley.mood"); - RegistryKey AMBIENT_UNDERWATER_ENTER = RegistryKey.unsafeOf("ambient.underwater.enter"); + RegistryKey AMBIENT_UNDERWATER_ENTER = RegistryKey.of("ambient.underwater.enter"); - RegistryKey AMBIENT_UNDERWATER_EXIT = RegistryKey.unsafeOf("ambient.underwater.exit"); + RegistryKey AMBIENT_UNDERWATER_EXIT = RegistryKey.of("ambient.underwater.exit"); - RegistryKey AMBIENT_UNDERWATER_LOOP = RegistryKey.unsafeOf("ambient.underwater.loop"); + RegistryKey AMBIENT_UNDERWATER_LOOP = RegistryKey.of("ambient.underwater.loop"); - RegistryKey AMBIENT_UNDERWATER_LOOP_ADDITIONS = RegistryKey.unsafeOf("ambient.underwater.loop.additions"); + RegistryKey AMBIENT_UNDERWATER_LOOP_ADDITIONS = RegistryKey.of("ambient.underwater.loop.additions"); - RegistryKey AMBIENT_UNDERWATER_LOOP_ADDITIONS_RARE = RegistryKey.unsafeOf("ambient.underwater.loop.additions.rare"); + RegistryKey AMBIENT_UNDERWATER_LOOP_ADDITIONS_RARE = RegistryKey.of("ambient.underwater.loop.additions.rare"); - RegistryKey AMBIENT_UNDERWATER_LOOP_ADDITIONS_ULTRA_RARE = RegistryKey.unsafeOf("ambient.underwater.loop.additions.ultra_rare"); + RegistryKey AMBIENT_UNDERWATER_LOOP_ADDITIONS_ULTRA_RARE = RegistryKey.of("ambient.underwater.loop.additions.ultra_rare"); - RegistryKey AMBIENT_WARPED_FOREST_ADDITIONS = RegistryKey.unsafeOf("ambient.warped_forest.additions"); + RegistryKey AMBIENT_WARPED_FOREST_ADDITIONS = RegistryKey.of("ambient.warped_forest.additions"); - RegistryKey AMBIENT_WARPED_FOREST_LOOP = RegistryKey.unsafeOf("ambient.warped_forest.loop"); + RegistryKey AMBIENT_WARPED_FOREST_LOOP = RegistryKey.of("ambient.warped_forest.loop"); - RegistryKey AMBIENT_WARPED_FOREST_MOOD = RegistryKey.unsafeOf("ambient.warped_forest.mood"); + RegistryKey AMBIENT_WARPED_FOREST_MOOD = RegistryKey.of("ambient.warped_forest.mood"); - RegistryKey BLOCK_AMETHYST_BLOCK_BREAK = RegistryKey.unsafeOf("block.amethyst_block.break"); + RegistryKey BLOCK_AMETHYST_BLOCK_BREAK = RegistryKey.of("block.amethyst_block.break"); - RegistryKey BLOCK_AMETHYST_BLOCK_CHIME = RegistryKey.unsafeOf("block.amethyst_block.chime"); + RegistryKey BLOCK_AMETHYST_BLOCK_CHIME = RegistryKey.of("block.amethyst_block.chime"); - RegistryKey BLOCK_AMETHYST_BLOCK_FALL = RegistryKey.unsafeOf("block.amethyst_block.fall"); + RegistryKey BLOCK_AMETHYST_BLOCK_FALL = RegistryKey.of("block.amethyst_block.fall"); - RegistryKey BLOCK_AMETHYST_BLOCK_HIT = RegistryKey.unsafeOf("block.amethyst_block.hit"); + RegistryKey BLOCK_AMETHYST_BLOCK_HIT = RegistryKey.of("block.amethyst_block.hit"); - RegistryKey BLOCK_AMETHYST_BLOCK_PLACE = RegistryKey.unsafeOf("block.amethyst_block.place"); + RegistryKey BLOCK_AMETHYST_BLOCK_PLACE = RegistryKey.of("block.amethyst_block.place"); - RegistryKey BLOCK_AMETHYST_BLOCK_RESONATE = RegistryKey.unsafeOf("block.amethyst_block.resonate"); + RegistryKey BLOCK_AMETHYST_BLOCK_RESONATE = RegistryKey.of("block.amethyst_block.resonate"); - RegistryKey BLOCK_AMETHYST_BLOCK_STEP = RegistryKey.unsafeOf("block.amethyst_block.step"); + RegistryKey BLOCK_AMETHYST_BLOCK_STEP = RegistryKey.of("block.amethyst_block.step"); - RegistryKey BLOCK_AMETHYST_CLUSTER_BREAK = RegistryKey.unsafeOf("block.amethyst_cluster.break"); + RegistryKey BLOCK_AMETHYST_CLUSTER_BREAK = RegistryKey.of("block.amethyst_cluster.break"); - RegistryKey BLOCK_AMETHYST_CLUSTER_FALL = RegistryKey.unsafeOf("block.amethyst_cluster.fall"); + RegistryKey BLOCK_AMETHYST_CLUSTER_FALL = RegistryKey.of("block.amethyst_cluster.fall"); - RegistryKey BLOCK_AMETHYST_CLUSTER_HIT = RegistryKey.unsafeOf("block.amethyst_cluster.hit"); + RegistryKey BLOCK_AMETHYST_CLUSTER_HIT = RegistryKey.of("block.amethyst_cluster.hit"); - RegistryKey BLOCK_AMETHYST_CLUSTER_PLACE = RegistryKey.unsafeOf("block.amethyst_cluster.place"); + RegistryKey BLOCK_AMETHYST_CLUSTER_PLACE = RegistryKey.of("block.amethyst_cluster.place"); - RegistryKey BLOCK_AMETHYST_CLUSTER_STEP = RegistryKey.unsafeOf("block.amethyst_cluster.step"); + RegistryKey BLOCK_AMETHYST_CLUSTER_STEP = RegistryKey.of("block.amethyst_cluster.step"); - RegistryKey BLOCK_ANCIENT_DEBRIS_BREAK = RegistryKey.unsafeOf("block.ancient_debris.break"); + RegistryKey BLOCK_ANCIENT_DEBRIS_BREAK = RegistryKey.of("block.ancient_debris.break"); - RegistryKey BLOCK_ANCIENT_DEBRIS_FALL = RegistryKey.unsafeOf("block.ancient_debris.fall"); + RegistryKey BLOCK_ANCIENT_DEBRIS_FALL = RegistryKey.of("block.ancient_debris.fall"); - RegistryKey BLOCK_ANCIENT_DEBRIS_HIT = RegistryKey.unsafeOf("block.ancient_debris.hit"); + RegistryKey BLOCK_ANCIENT_DEBRIS_HIT = RegistryKey.of("block.ancient_debris.hit"); - RegistryKey BLOCK_ANCIENT_DEBRIS_PLACE = RegistryKey.unsafeOf("block.ancient_debris.place"); + RegistryKey BLOCK_ANCIENT_DEBRIS_PLACE = RegistryKey.of("block.ancient_debris.place"); - RegistryKey BLOCK_ANCIENT_DEBRIS_STEP = RegistryKey.unsafeOf("block.ancient_debris.step"); + RegistryKey BLOCK_ANCIENT_DEBRIS_STEP = RegistryKey.of("block.ancient_debris.step"); - RegistryKey BLOCK_ANVIL_BREAK = RegistryKey.unsafeOf("block.anvil.break"); + RegistryKey BLOCK_ANVIL_BREAK = RegistryKey.of("block.anvil.break"); - RegistryKey BLOCK_ANVIL_DESTROY = RegistryKey.unsafeOf("block.anvil.destroy"); + RegistryKey BLOCK_ANVIL_DESTROY = RegistryKey.of("block.anvil.destroy"); - RegistryKey BLOCK_ANVIL_FALL = RegistryKey.unsafeOf("block.anvil.fall"); + RegistryKey BLOCK_ANVIL_FALL = RegistryKey.of("block.anvil.fall"); - RegistryKey BLOCK_ANVIL_HIT = RegistryKey.unsafeOf("block.anvil.hit"); + RegistryKey BLOCK_ANVIL_HIT = RegistryKey.of("block.anvil.hit"); - RegistryKey BLOCK_ANVIL_LAND = RegistryKey.unsafeOf("block.anvil.land"); + RegistryKey BLOCK_ANVIL_LAND = RegistryKey.of("block.anvil.land"); - RegistryKey BLOCK_ANVIL_PLACE = RegistryKey.unsafeOf("block.anvil.place"); + RegistryKey BLOCK_ANVIL_PLACE = RegistryKey.of("block.anvil.place"); - RegistryKey BLOCK_ANVIL_STEP = RegistryKey.unsafeOf("block.anvil.step"); + RegistryKey BLOCK_ANVIL_STEP = RegistryKey.of("block.anvil.step"); - RegistryKey BLOCK_ANVIL_USE = RegistryKey.unsafeOf("block.anvil.use"); + RegistryKey BLOCK_ANVIL_USE = RegistryKey.of("block.anvil.use"); - RegistryKey BLOCK_AZALEA_BREAK = RegistryKey.unsafeOf("block.azalea.break"); + RegistryKey BLOCK_AZALEA_BREAK = RegistryKey.of("block.azalea.break"); - RegistryKey BLOCK_AZALEA_FALL = RegistryKey.unsafeOf("block.azalea.fall"); + RegistryKey BLOCK_AZALEA_FALL = RegistryKey.of("block.azalea.fall"); - RegistryKey BLOCK_AZALEA_HIT = RegistryKey.unsafeOf("block.azalea.hit"); + RegistryKey BLOCK_AZALEA_HIT = RegistryKey.of("block.azalea.hit"); - RegistryKey BLOCK_AZALEA_PLACE = RegistryKey.unsafeOf("block.azalea.place"); + RegistryKey BLOCK_AZALEA_PLACE = RegistryKey.of("block.azalea.place"); - RegistryKey BLOCK_AZALEA_STEP = RegistryKey.unsafeOf("block.azalea.step"); + RegistryKey BLOCK_AZALEA_STEP = RegistryKey.of("block.azalea.step"); - RegistryKey BLOCK_AZALEA_LEAVES_BREAK = RegistryKey.unsafeOf("block.azalea_leaves.break"); + RegistryKey BLOCK_AZALEA_LEAVES_BREAK = RegistryKey.of("block.azalea_leaves.break"); - RegistryKey BLOCK_AZALEA_LEAVES_FALL = RegistryKey.unsafeOf("block.azalea_leaves.fall"); + RegistryKey BLOCK_AZALEA_LEAVES_FALL = RegistryKey.of("block.azalea_leaves.fall"); - RegistryKey BLOCK_AZALEA_LEAVES_HIT = RegistryKey.unsafeOf("block.azalea_leaves.hit"); + RegistryKey BLOCK_AZALEA_LEAVES_HIT = RegistryKey.of("block.azalea_leaves.hit"); - RegistryKey BLOCK_AZALEA_LEAVES_PLACE = RegistryKey.unsafeOf("block.azalea_leaves.place"); + RegistryKey BLOCK_AZALEA_LEAVES_PLACE = RegistryKey.of("block.azalea_leaves.place"); - RegistryKey BLOCK_AZALEA_LEAVES_STEP = RegistryKey.unsafeOf("block.azalea_leaves.step"); + RegistryKey BLOCK_AZALEA_LEAVES_STEP = RegistryKey.of("block.azalea_leaves.step"); - RegistryKey BLOCK_BAMBOO_BREAK = RegistryKey.unsafeOf("block.bamboo.break"); + RegistryKey BLOCK_BAMBOO_BREAK = RegistryKey.of("block.bamboo.break"); - RegistryKey BLOCK_BAMBOO_FALL = RegistryKey.unsafeOf("block.bamboo.fall"); + RegistryKey BLOCK_BAMBOO_FALL = RegistryKey.of("block.bamboo.fall"); - RegistryKey BLOCK_BAMBOO_HIT = RegistryKey.unsafeOf("block.bamboo.hit"); + RegistryKey BLOCK_BAMBOO_HIT = RegistryKey.of("block.bamboo.hit"); - RegistryKey BLOCK_BAMBOO_PLACE = RegistryKey.unsafeOf("block.bamboo.place"); + RegistryKey BLOCK_BAMBOO_PLACE = RegistryKey.of("block.bamboo.place"); - RegistryKey BLOCK_BAMBOO_STEP = RegistryKey.unsafeOf("block.bamboo.step"); + RegistryKey BLOCK_BAMBOO_STEP = RegistryKey.of("block.bamboo.step"); - RegistryKey BLOCK_BAMBOO_SAPLING_BREAK = RegistryKey.unsafeOf("block.bamboo_sapling.break"); + RegistryKey BLOCK_BAMBOO_SAPLING_BREAK = RegistryKey.of("block.bamboo_sapling.break"); - RegistryKey BLOCK_BAMBOO_SAPLING_HIT = RegistryKey.unsafeOf("block.bamboo_sapling.hit"); + RegistryKey BLOCK_BAMBOO_SAPLING_HIT = RegistryKey.of("block.bamboo_sapling.hit"); - RegistryKey BLOCK_BAMBOO_SAPLING_PLACE = RegistryKey.unsafeOf("block.bamboo_sapling.place"); + RegistryKey BLOCK_BAMBOO_SAPLING_PLACE = RegistryKey.of("block.bamboo_sapling.place"); - RegistryKey BLOCK_BAMBOO_WOOD_BREAK = RegistryKey.unsafeOf("block.bamboo_wood.break"); + RegistryKey BLOCK_BAMBOO_WOOD_BREAK = RegistryKey.of("block.bamboo_wood.break"); - RegistryKey BLOCK_BAMBOO_WOOD_FALL = RegistryKey.unsafeOf("block.bamboo_wood.fall"); + RegistryKey BLOCK_BAMBOO_WOOD_FALL = RegistryKey.of("block.bamboo_wood.fall"); - RegistryKey BLOCK_BAMBOO_WOOD_HIT = RegistryKey.unsafeOf("block.bamboo_wood.hit"); + RegistryKey BLOCK_BAMBOO_WOOD_HIT = RegistryKey.of("block.bamboo_wood.hit"); - RegistryKey BLOCK_BAMBOO_WOOD_PLACE = RegistryKey.unsafeOf("block.bamboo_wood.place"); + RegistryKey BLOCK_BAMBOO_WOOD_PLACE = RegistryKey.of("block.bamboo_wood.place"); - RegistryKey BLOCK_BAMBOO_WOOD_STEP = RegistryKey.unsafeOf("block.bamboo_wood.step"); + RegistryKey BLOCK_BAMBOO_WOOD_STEP = RegistryKey.of("block.bamboo_wood.step"); - RegistryKey BLOCK_BAMBOO_WOOD_BUTTON_CLICK_OFF = RegistryKey.unsafeOf("block.bamboo_wood_button.click_off"); + RegistryKey BLOCK_BAMBOO_WOOD_BUTTON_CLICK_OFF = RegistryKey.of("block.bamboo_wood_button.click_off"); - RegistryKey BLOCK_BAMBOO_WOOD_BUTTON_CLICK_ON = RegistryKey.unsafeOf("block.bamboo_wood_button.click_on"); + RegistryKey BLOCK_BAMBOO_WOOD_BUTTON_CLICK_ON = RegistryKey.of("block.bamboo_wood_button.click_on"); - RegistryKey BLOCK_BAMBOO_WOOD_DOOR_CLOSE = RegistryKey.unsafeOf("block.bamboo_wood_door.close"); + RegistryKey BLOCK_BAMBOO_WOOD_DOOR_CLOSE = RegistryKey.of("block.bamboo_wood_door.close"); - RegistryKey BLOCK_BAMBOO_WOOD_DOOR_OPEN = RegistryKey.unsafeOf("block.bamboo_wood_door.open"); + RegistryKey BLOCK_BAMBOO_WOOD_DOOR_OPEN = RegistryKey.of("block.bamboo_wood_door.open"); - RegistryKey BLOCK_BAMBOO_WOOD_FENCE_GATE_CLOSE = RegistryKey.unsafeOf("block.bamboo_wood_fence_gate.close"); + RegistryKey BLOCK_BAMBOO_WOOD_FENCE_GATE_CLOSE = RegistryKey.of("block.bamboo_wood_fence_gate.close"); - RegistryKey BLOCK_BAMBOO_WOOD_FENCE_GATE_OPEN = RegistryKey.unsafeOf("block.bamboo_wood_fence_gate.open"); + RegistryKey BLOCK_BAMBOO_WOOD_FENCE_GATE_OPEN = RegistryKey.of("block.bamboo_wood_fence_gate.open"); - RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_BREAK = RegistryKey.unsafeOf("block.bamboo_wood_hanging_sign.break"); + RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_BREAK = RegistryKey.of("block.bamboo_wood_hanging_sign.break"); - RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_FALL = RegistryKey.unsafeOf("block.bamboo_wood_hanging_sign.fall"); + RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_FALL = RegistryKey.of("block.bamboo_wood_hanging_sign.fall"); - RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_HIT = RegistryKey.unsafeOf("block.bamboo_wood_hanging_sign.hit"); + RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_HIT = RegistryKey.of("block.bamboo_wood_hanging_sign.hit"); - RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_PLACE = RegistryKey.unsafeOf("block.bamboo_wood_hanging_sign.place"); + RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_PLACE = RegistryKey.of("block.bamboo_wood_hanging_sign.place"); - RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_STEP = RegistryKey.unsafeOf("block.bamboo_wood_hanging_sign.step"); + RegistryKey BLOCK_BAMBOO_WOOD_HANGING_SIGN_STEP = RegistryKey.of("block.bamboo_wood_hanging_sign.step"); - RegistryKey BLOCK_BAMBOO_WOOD_PRESSURE_PLATE_CLICK_OFF = RegistryKey.unsafeOf("block.bamboo_wood_pressure_plate.click_off"); + RegistryKey BLOCK_BAMBOO_WOOD_PRESSURE_PLATE_CLICK_OFF = RegistryKey.of("block.bamboo_wood_pressure_plate.click_off"); - RegistryKey BLOCK_BAMBOO_WOOD_PRESSURE_PLATE_CLICK_ON = RegistryKey.unsafeOf("block.bamboo_wood_pressure_plate.click_on"); + RegistryKey BLOCK_BAMBOO_WOOD_PRESSURE_PLATE_CLICK_ON = RegistryKey.of("block.bamboo_wood_pressure_plate.click_on"); - RegistryKey BLOCK_BAMBOO_WOOD_TRAPDOOR_CLOSE = RegistryKey.unsafeOf("block.bamboo_wood_trapdoor.close"); + RegistryKey BLOCK_BAMBOO_WOOD_TRAPDOOR_CLOSE = RegistryKey.of("block.bamboo_wood_trapdoor.close"); - RegistryKey BLOCK_BAMBOO_WOOD_TRAPDOOR_OPEN = RegistryKey.unsafeOf("block.bamboo_wood_trapdoor.open"); + RegistryKey BLOCK_BAMBOO_WOOD_TRAPDOOR_OPEN = RegistryKey.of("block.bamboo_wood_trapdoor.open"); - RegistryKey BLOCK_BARREL_CLOSE = RegistryKey.unsafeOf("block.barrel.close"); + RegistryKey BLOCK_BARREL_CLOSE = RegistryKey.of("block.barrel.close"); - RegistryKey BLOCK_BARREL_OPEN = RegistryKey.unsafeOf("block.barrel.open"); + RegistryKey BLOCK_BARREL_OPEN = RegistryKey.of("block.barrel.open"); - RegistryKey BLOCK_BASALT_BREAK = RegistryKey.unsafeOf("block.basalt.break"); + RegistryKey BLOCK_BASALT_BREAK = RegistryKey.of("block.basalt.break"); - RegistryKey BLOCK_BASALT_FALL = RegistryKey.unsafeOf("block.basalt.fall"); + RegistryKey BLOCK_BASALT_FALL = RegistryKey.of("block.basalt.fall"); - RegistryKey BLOCK_BASALT_HIT = RegistryKey.unsafeOf("block.basalt.hit"); + RegistryKey BLOCK_BASALT_HIT = RegistryKey.of("block.basalt.hit"); - RegistryKey BLOCK_BASALT_PLACE = RegistryKey.unsafeOf("block.basalt.place"); + RegistryKey BLOCK_BASALT_PLACE = RegistryKey.of("block.basalt.place"); - RegistryKey BLOCK_BASALT_STEP = RegistryKey.unsafeOf("block.basalt.step"); + RegistryKey BLOCK_BASALT_STEP = RegistryKey.of("block.basalt.step"); - RegistryKey BLOCK_BEACON_ACTIVATE = RegistryKey.unsafeOf("block.beacon.activate"); + RegistryKey BLOCK_BEACON_ACTIVATE = RegistryKey.of("block.beacon.activate"); - RegistryKey BLOCK_BEACON_AMBIENT = RegistryKey.unsafeOf("block.beacon.ambient"); + RegistryKey BLOCK_BEACON_AMBIENT = RegistryKey.of("block.beacon.ambient"); - RegistryKey BLOCK_BEACON_DEACTIVATE = RegistryKey.unsafeOf("block.beacon.deactivate"); + RegistryKey BLOCK_BEACON_DEACTIVATE = RegistryKey.of("block.beacon.deactivate"); - RegistryKey BLOCK_BEACON_POWER_SELECT = RegistryKey.unsafeOf("block.beacon.power_select"); + RegistryKey BLOCK_BEACON_POWER_SELECT = RegistryKey.of("block.beacon.power_select"); - RegistryKey BLOCK_BEEHIVE_DRIP = RegistryKey.unsafeOf("block.beehive.drip"); + RegistryKey BLOCK_BEEHIVE_DRIP = RegistryKey.of("block.beehive.drip"); - RegistryKey BLOCK_BEEHIVE_ENTER = RegistryKey.unsafeOf("block.beehive.enter"); + RegistryKey BLOCK_BEEHIVE_ENTER = RegistryKey.of("block.beehive.enter"); - RegistryKey BLOCK_BEEHIVE_EXIT = RegistryKey.unsafeOf("block.beehive.exit"); + RegistryKey BLOCK_BEEHIVE_EXIT = RegistryKey.of("block.beehive.exit"); - RegistryKey BLOCK_BEEHIVE_SHEAR = RegistryKey.unsafeOf("block.beehive.shear"); + RegistryKey BLOCK_BEEHIVE_SHEAR = RegistryKey.of("block.beehive.shear"); - RegistryKey BLOCK_BEEHIVE_WORK = RegistryKey.unsafeOf("block.beehive.work"); + RegistryKey BLOCK_BEEHIVE_WORK = RegistryKey.of("block.beehive.work"); - RegistryKey BLOCK_BELL_RESONATE = RegistryKey.unsafeOf("block.bell.resonate"); + RegistryKey BLOCK_BELL_RESONATE = RegistryKey.of("block.bell.resonate"); - RegistryKey BLOCK_BELL_USE = RegistryKey.unsafeOf("block.bell.use"); + RegistryKey BLOCK_BELL_USE = RegistryKey.of("block.bell.use"); - RegistryKey BLOCK_BIG_DRIPLEAF_BREAK = RegistryKey.unsafeOf("block.big_dripleaf.break"); + RegistryKey BLOCK_BIG_DRIPLEAF_BREAK = RegistryKey.of("block.big_dripleaf.break"); - RegistryKey BLOCK_BIG_DRIPLEAF_FALL = RegistryKey.unsafeOf("block.big_dripleaf.fall"); + RegistryKey BLOCK_BIG_DRIPLEAF_FALL = RegistryKey.of("block.big_dripleaf.fall"); - RegistryKey BLOCK_BIG_DRIPLEAF_HIT = RegistryKey.unsafeOf("block.big_dripleaf.hit"); + RegistryKey BLOCK_BIG_DRIPLEAF_HIT = RegistryKey.of("block.big_dripleaf.hit"); - RegistryKey BLOCK_BIG_DRIPLEAF_PLACE = RegistryKey.unsafeOf("block.big_dripleaf.place"); + RegistryKey BLOCK_BIG_DRIPLEAF_PLACE = RegistryKey.of("block.big_dripleaf.place"); - RegistryKey BLOCK_BIG_DRIPLEAF_STEP = RegistryKey.unsafeOf("block.big_dripleaf.step"); + RegistryKey BLOCK_BIG_DRIPLEAF_STEP = RegistryKey.of("block.big_dripleaf.step"); - RegistryKey BLOCK_BIG_DRIPLEAF_TILT_DOWN = RegistryKey.unsafeOf("block.big_dripleaf.tilt_down"); + RegistryKey BLOCK_BIG_DRIPLEAF_TILT_DOWN = RegistryKey.of("block.big_dripleaf.tilt_down"); - RegistryKey BLOCK_BIG_DRIPLEAF_TILT_UP = RegistryKey.unsafeOf("block.big_dripleaf.tilt_up"); + RegistryKey BLOCK_BIG_DRIPLEAF_TILT_UP = RegistryKey.of("block.big_dripleaf.tilt_up"); - RegistryKey BLOCK_BLASTFURNACE_FIRE_CRACKLE = RegistryKey.unsafeOf("block.blastfurnace.fire_crackle"); + RegistryKey BLOCK_BLASTFURNACE_FIRE_CRACKLE = RegistryKey.of("block.blastfurnace.fire_crackle"); - RegistryKey BLOCK_BONE_BLOCK_BREAK = RegistryKey.unsafeOf("block.bone_block.break"); + RegistryKey BLOCK_BONE_BLOCK_BREAK = RegistryKey.of("block.bone_block.break"); - RegistryKey BLOCK_BONE_BLOCK_FALL = RegistryKey.unsafeOf("block.bone_block.fall"); + RegistryKey BLOCK_BONE_BLOCK_FALL = RegistryKey.of("block.bone_block.fall"); - RegistryKey BLOCK_BONE_BLOCK_HIT = RegistryKey.unsafeOf("block.bone_block.hit"); + RegistryKey BLOCK_BONE_BLOCK_HIT = RegistryKey.of("block.bone_block.hit"); - RegistryKey BLOCK_BONE_BLOCK_PLACE = RegistryKey.unsafeOf("block.bone_block.place"); + RegistryKey BLOCK_BONE_BLOCK_PLACE = RegistryKey.of("block.bone_block.place"); - RegistryKey BLOCK_BONE_BLOCK_STEP = RegistryKey.unsafeOf("block.bone_block.step"); + RegistryKey BLOCK_BONE_BLOCK_STEP = RegistryKey.of("block.bone_block.step"); - RegistryKey BLOCK_BREWING_STAND_BREW = RegistryKey.unsafeOf("block.brewing_stand.brew"); + RegistryKey BLOCK_BREWING_STAND_BREW = RegistryKey.of("block.brewing_stand.brew"); - RegistryKey BLOCK_BUBBLE_COLUMN_BUBBLE_POP = RegistryKey.unsafeOf("block.bubble_column.bubble_pop"); + RegistryKey BLOCK_BUBBLE_COLUMN_BUBBLE_POP = RegistryKey.of("block.bubble_column.bubble_pop"); - RegistryKey BLOCK_BUBBLE_COLUMN_UPWARDS_AMBIENT = RegistryKey.unsafeOf("block.bubble_column.upwards_ambient"); + RegistryKey BLOCK_BUBBLE_COLUMN_UPWARDS_AMBIENT = RegistryKey.of("block.bubble_column.upwards_ambient"); - RegistryKey BLOCK_BUBBLE_COLUMN_UPWARDS_INSIDE = RegistryKey.unsafeOf("block.bubble_column.upwards_inside"); + RegistryKey BLOCK_BUBBLE_COLUMN_UPWARDS_INSIDE = RegistryKey.of("block.bubble_column.upwards_inside"); - RegistryKey BLOCK_BUBBLE_COLUMN_WHIRLPOOL_AMBIENT = RegistryKey.unsafeOf("block.bubble_column.whirlpool_ambient"); + RegistryKey BLOCK_BUBBLE_COLUMN_WHIRLPOOL_AMBIENT = RegistryKey.of("block.bubble_column.whirlpool_ambient"); - RegistryKey BLOCK_BUBBLE_COLUMN_WHIRLPOOL_INSIDE = RegistryKey.unsafeOf("block.bubble_column.whirlpool_inside"); + RegistryKey BLOCK_BUBBLE_COLUMN_WHIRLPOOL_INSIDE = RegistryKey.of("block.bubble_column.whirlpool_inside"); - RegistryKey BLOCK_CACTUS_FLOWER_BREAK = RegistryKey.unsafeOf("block.cactus_flower.break"); + RegistryKey BLOCK_CACTUS_FLOWER_BREAK = RegistryKey.of("block.cactus_flower.break"); - RegistryKey BLOCK_CACTUS_FLOWER_PLACE = RegistryKey.unsafeOf("block.cactus_flower.place"); + RegistryKey BLOCK_CACTUS_FLOWER_PLACE = RegistryKey.of("block.cactus_flower.place"); - RegistryKey BLOCK_CAKE_ADD_CANDLE = RegistryKey.unsafeOf("block.cake.add_candle"); + RegistryKey BLOCK_CAKE_ADD_CANDLE = RegistryKey.of("block.cake.add_candle"); - RegistryKey BLOCK_CALCITE_BREAK = RegistryKey.unsafeOf("block.calcite.break"); + RegistryKey BLOCK_CALCITE_BREAK = RegistryKey.of("block.calcite.break"); - RegistryKey BLOCK_CALCITE_FALL = RegistryKey.unsafeOf("block.calcite.fall"); + RegistryKey BLOCK_CALCITE_FALL = RegistryKey.of("block.calcite.fall"); - RegistryKey BLOCK_CALCITE_HIT = RegistryKey.unsafeOf("block.calcite.hit"); + RegistryKey BLOCK_CALCITE_HIT = RegistryKey.of("block.calcite.hit"); - RegistryKey BLOCK_CALCITE_PLACE = RegistryKey.unsafeOf("block.calcite.place"); + RegistryKey BLOCK_CALCITE_PLACE = RegistryKey.of("block.calcite.place"); - RegistryKey BLOCK_CALCITE_STEP = RegistryKey.unsafeOf("block.calcite.step"); + RegistryKey BLOCK_CALCITE_STEP = RegistryKey.of("block.calcite.step"); - RegistryKey BLOCK_CAMPFIRE_CRACKLE = RegistryKey.unsafeOf("block.campfire.crackle"); + RegistryKey BLOCK_CAMPFIRE_CRACKLE = RegistryKey.of("block.campfire.crackle"); - RegistryKey BLOCK_CANDLE_AMBIENT = RegistryKey.unsafeOf("block.candle.ambient"); + RegistryKey BLOCK_CANDLE_AMBIENT = RegistryKey.of("block.candle.ambient"); - RegistryKey BLOCK_CANDLE_BREAK = RegistryKey.unsafeOf("block.candle.break"); + RegistryKey BLOCK_CANDLE_BREAK = RegistryKey.of("block.candle.break"); - RegistryKey BLOCK_CANDLE_EXTINGUISH = RegistryKey.unsafeOf("block.candle.extinguish"); + RegistryKey BLOCK_CANDLE_EXTINGUISH = RegistryKey.of("block.candle.extinguish"); - RegistryKey BLOCK_CANDLE_FALL = RegistryKey.unsafeOf("block.candle.fall"); + RegistryKey BLOCK_CANDLE_FALL = RegistryKey.of("block.candle.fall"); - RegistryKey BLOCK_CANDLE_HIT = RegistryKey.unsafeOf("block.candle.hit"); + RegistryKey BLOCK_CANDLE_HIT = RegistryKey.of("block.candle.hit"); - RegistryKey BLOCK_CANDLE_PLACE = RegistryKey.unsafeOf("block.candle.place"); + RegistryKey BLOCK_CANDLE_PLACE = RegistryKey.of("block.candle.place"); - RegistryKey BLOCK_CANDLE_STEP = RegistryKey.unsafeOf("block.candle.step"); + RegistryKey BLOCK_CANDLE_STEP = RegistryKey.of("block.candle.step"); - RegistryKey BLOCK_CAVE_VINES_BREAK = RegistryKey.unsafeOf("block.cave_vines.break"); + RegistryKey BLOCK_CAVE_VINES_BREAK = RegistryKey.of("block.cave_vines.break"); - RegistryKey BLOCK_CAVE_VINES_FALL = RegistryKey.unsafeOf("block.cave_vines.fall"); + RegistryKey BLOCK_CAVE_VINES_FALL = RegistryKey.of("block.cave_vines.fall"); - RegistryKey BLOCK_CAVE_VINES_HIT = RegistryKey.unsafeOf("block.cave_vines.hit"); + RegistryKey BLOCK_CAVE_VINES_HIT = RegistryKey.of("block.cave_vines.hit"); - RegistryKey BLOCK_CAVE_VINES_PICK_BERRIES = RegistryKey.unsafeOf("block.cave_vines.pick_berries"); + RegistryKey BLOCK_CAVE_VINES_PICK_BERRIES = RegistryKey.of("block.cave_vines.pick_berries"); - RegistryKey BLOCK_CAVE_VINES_PLACE = RegistryKey.unsafeOf("block.cave_vines.place"); + RegistryKey BLOCK_CAVE_VINES_PLACE = RegistryKey.of("block.cave_vines.place"); - RegistryKey BLOCK_CAVE_VINES_STEP = RegistryKey.unsafeOf("block.cave_vines.step"); + RegistryKey BLOCK_CAVE_VINES_STEP = RegistryKey.of("block.cave_vines.step"); - RegistryKey BLOCK_CHAIN_BREAK = RegistryKey.unsafeOf("block.chain.break"); + RegistryKey BLOCK_CHAIN_BREAK = RegistryKey.of("block.chain.break"); - RegistryKey BLOCK_CHAIN_FALL = RegistryKey.unsafeOf("block.chain.fall"); + RegistryKey BLOCK_CHAIN_FALL = RegistryKey.of("block.chain.fall"); - RegistryKey BLOCK_CHAIN_HIT = RegistryKey.unsafeOf("block.chain.hit"); + RegistryKey BLOCK_CHAIN_HIT = RegistryKey.of("block.chain.hit"); - RegistryKey BLOCK_CHAIN_PLACE = RegistryKey.unsafeOf("block.chain.place"); + RegistryKey BLOCK_CHAIN_PLACE = RegistryKey.of("block.chain.place"); - RegistryKey BLOCK_CHAIN_STEP = RegistryKey.unsafeOf("block.chain.step"); + RegistryKey BLOCK_CHAIN_STEP = RegistryKey.of("block.chain.step"); - RegistryKey BLOCK_CHERRY_LEAVES_BREAK = RegistryKey.unsafeOf("block.cherry_leaves.break"); + RegistryKey BLOCK_CHERRY_LEAVES_BREAK = RegistryKey.of("block.cherry_leaves.break"); - RegistryKey BLOCK_CHERRY_LEAVES_FALL = RegistryKey.unsafeOf("block.cherry_leaves.fall"); + RegistryKey BLOCK_CHERRY_LEAVES_FALL = RegistryKey.of("block.cherry_leaves.fall"); - RegistryKey BLOCK_CHERRY_LEAVES_HIT = RegistryKey.unsafeOf("block.cherry_leaves.hit"); + RegistryKey BLOCK_CHERRY_LEAVES_HIT = RegistryKey.of("block.cherry_leaves.hit"); - RegistryKey BLOCK_CHERRY_LEAVES_PLACE = RegistryKey.unsafeOf("block.cherry_leaves.place"); + RegistryKey BLOCK_CHERRY_LEAVES_PLACE = RegistryKey.of("block.cherry_leaves.place"); - RegistryKey BLOCK_CHERRY_LEAVES_STEP = RegistryKey.unsafeOf("block.cherry_leaves.step"); + RegistryKey BLOCK_CHERRY_LEAVES_STEP = RegistryKey.of("block.cherry_leaves.step"); - RegistryKey BLOCK_CHERRY_SAPLING_BREAK = RegistryKey.unsafeOf("block.cherry_sapling.break"); + RegistryKey BLOCK_CHERRY_SAPLING_BREAK = RegistryKey.of("block.cherry_sapling.break"); - RegistryKey BLOCK_CHERRY_SAPLING_FALL = RegistryKey.unsafeOf("block.cherry_sapling.fall"); + RegistryKey BLOCK_CHERRY_SAPLING_FALL = RegistryKey.of("block.cherry_sapling.fall"); - RegistryKey BLOCK_CHERRY_SAPLING_HIT = RegistryKey.unsafeOf("block.cherry_sapling.hit"); + RegistryKey BLOCK_CHERRY_SAPLING_HIT = RegistryKey.of("block.cherry_sapling.hit"); - RegistryKey BLOCK_CHERRY_SAPLING_PLACE = RegistryKey.unsafeOf("block.cherry_sapling.place"); + RegistryKey BLOCK_CHERRY_SAPLING_PLACE = RegistryKey.of("block.cherry_sapling.place"); - RegistryKey BLOCK_CHERRY_SAPLING_STEP = RegistryKey.unsafeOf("block.cherry_sapling.step"); + RegistryKey BLOCK_CHERRY_SAPLING_STEP = RegistryKey.of("block.cherry_sapling.step"); - RegistryKey BLOCK_CHERRY_WOOD_BREAK = RegistryKey.unsafeOf("block.cherry_wood.break"); + RegistryKey BLOCK_CHERRY_WOOD_BREAK = RegistryKey.of("block.cherry_wood.break"); - RegistryKey BLOCK_CHERRY_WOOD_FALL = RegistryKey.unsafeOf("block.cherry_wood.fall"); + RegistryKey BLOCK_CHERRY_WOOD_FALL = RegistryKey.of("block.cherry_wood.fall"); - RegistryKey BLOCK_CHERRY_WOOD_HIT = RegistryKey.unsafeOf("block.cherry_wood.hit"); + RegistryKey BLOCK_CHERRY_WOOD_HIT = RegistryKey.of("block.cherry_wood.hit"); - RegistryKey BLOCK_CHERRY_WOOD_PLACE = RegistryKey.unsafeOf("block.cherry_wood.place"); + RegistryKey BLOCK_CHERRY_WOOD_PLACE = RegistryKey.of("block.cherry_wood.place"); - RegistryKey BLOCK_CHERRY_WOOD_STEP = RegistryKey.unsafeOf("block.cherry_wood.step"); + RegistryKey BLOCK_CHERRY_WOOD_STEP = RegistryKey.of("block.cherry_wood.step"); - RegistryKey BLOCK_CHERRY_WOOD_BUTTON_CLICK_OFF = RegistryKey.unsafeOf("block.cherry_wood_button.click_off"); + RegistryKey BLOCK_CHERRY_WOOD_BUTTON_CLICK_OFF = RegistryKey.of("block.cherry_wood_button.click_off"); - RegistryKey BLOCK_CHERRY_WOOD_BUTTON_CLICK_ON = RegistryKey.unsafeOf("block.cherry_wood_button.click_on"); + RegistryKey BLOCK_CHERRY_WOOD_BUTTON_CLICK_ON = RegistryKey.of("block.cherry_wood_button.click_on"); - RegistryKey BLOCK_CHERRY_WOOD_DOOR_CLOSE = RegistryKey.unsafeOf("block.cherry_wood_door.close"); + RegistryKey BLOCK_CHERRY_WOOD_DOOR_CLOSE = RegistryKey.of("block.cherry_wood_door.close"); - RegistryKey BLOCK_CHERRY_WOOD_DOOR_OPEN = RegistryKey.unsafeOf("block.cherry_wood_door.open"); + RegistryKey BLOCK_CHERRY_WOOD_DOOR_OPEN = RegistryKey.of("block.cherry_wood_door.open"); - RegistryKey BLOCK_CHERRY_WOOD_FENCE_GATE_CLOSE = RegistryKey.unsafeOf("block.cherry_wood_fence_gate.close"); + RegistryKey BLOCK_CHERRY_WOOD_FENCE_GATE_CLOSE = RegistryKey.of("block.cherry_wood_fence_gate.close"); - RegistryKey BLOCK_CHERRY_WOOD_FENCE_GATE_OPEN = RegistryKey.unsafeOf("block.cherry_wood_fence_gate.open"); + RegistryKey BLOCK_CHERRY_WOOD_FENCE_GATE_OPEN = RegistryKey.of("block.cherry_wood_fence_gate.open"); - RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_BREAK = RegistryKey.unsafeOf("block.cherry_wood_hanging_sign.break"); + RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_BREAK = RegistryKey.of("block.cherry_wood_hanging_sign.break"); - RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_FALL = RegistryKey.unsafeOf("block.cherry_wood_hanging_sign.fall"); + RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_FALL = RegistryKey.of("block.cherry_wood_hanging_sign.fall"); - RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_HIT = RegistryKey.unsafeOf("block.cherry_wood_hanging_sign.hit"); + RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_HIT = RegistryKey.of("block.cherry_wood_hanging_sign.hit"); - RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_PLACE = RegistryKey.unsafeOf("block.cherry_wood_hanging_sign.place"); + RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_PLACE = RegistryKey.of("block.cherry_wood_hanging_sign.place"); - RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_STEP = RegistryKey.unsafeOf("block.cherry_wood_hanging_sign.step"); + RegistryKey BLOCK_CHERRY_WOOD_HANGING_SIGN_STEP = RegistryKey.of("block.cherry_wood_hanging_sign.step"); - RegistryKey BLOCK_CHERRY_WOOD_PRESSURE_PLATE_CLICK_OFF = RegistryKey.unsafeOf("block.cherry_wood_pressure_plate.click_off"); + RegistryKey BLOCK_CHERRY_WOOD_PRESSURE_PLATE_CLICK_OFF = RegistryKey.of("block.cherry_wood_pressure_plate.click_off"); - RegistryKey BLOCK_CHERRY_WOOD_PRESSURE_PLATE_CLICK_ON = RegistryKey.unsafeOf("block.cherry_wood_pressure_plate.click_on"); + RegistryKey BLOCK_CHERRY_WOOD_PRESSURE_PLATE_CLICK_ON = RegistryKey.of("block.cherry_wood_pressure_plate.click_on"); - RegistryKey BLOCK_CHERRY_WOOD_TRAPDOOR_CLOSE = RegistryKey.unsafeOf("block.cherry_wood_trapdoor.close"); + RegistryKey BLOCK_CHERRY_WOOD_TRAPDOOR_CLOSE = RegistryKey.of("block.cherry_wood_trapdoor.close"); - RegistryKey BLOCK_CHERRY_WOOD_TRAPDOOR_OPEN = RegistryKey.unsafeOf("block.cherry_wood_trapdoor.open"); + RegistryKey BLOCK_CHERRY_WOOD_TRAPDOOR_OPEN = RegistryKey.of("block.cherry_wood_trapdoor.open"); - RegistryKey BLOCK_CHEST_CLOSE = RegistryKey.unsafeOf("block.chest.close"); + RegistryKey BLOCK_CHEST_CLOSE = RegistryKey.of("block.chest.close"); - RegistryKey BLOCK_CHEST_LOCKED = RegistryKey.unsafeOf("block.chest.locked"); + RegistryKey BLOCK_CHEST_LOCKED = RegistryKey.of("block.chest.locked"); - RegistryKey BLOCK_CHEST_OPEN = RegistryKey.unsafeOf("block.chest.open"); + RegistryKey BLOCK_CHEST_OPEN = RegistryKey.of("block.chest.open"); - RegistryKey BLOCK_CHISELED_BOOKSHELF_BREAK = RegistryKey.unsafeOf("block.chiseled_bookshelf.break"); + RegistryKey BLOCK_CHISELED_BOOKSHELF_BREAK = RegistryKey.of("block.chiseled_bookshelf.break"); - RegistryKey BLOCK_CHISELED_BOOKSHELF_FALL = RegistryKey.unsafeOf("block.chiseled_bookshelf.fall"); + RegistryKey BLOCK_CHISELED_BOOKSHELF_FALL = RegistryKey.of("block.chiseled_bookshelf.fall"); - RegistryKey BLOCK_CHISELED_BOOKSHELF_HIT = RegistryKey.unsafeOf("block.chiseled_bookshelf.hit"); + RegistryKey BLOCK_CHISELED_BOOKSHELF_HIT = RegistryKey.of("block.chiseled_bookshelf.hit"); - RegistryKey BLOCK_CHISELED_BOOKSHELF_INSERT = RegistryKey.unsafeOf("block.chiseled_bookshelf.insert"); + RegistryKey BLOCK_CHISELED_BOOKSHELF_INSERT = RegistryKey.of("block.chiseled_bookshelf.insert"); - RegistryKey BLOCK_CHISELED_BOOKSHELF_INSERT_ENCHANTED = RegistryKey.unsafeOf("block.chiseled_bookshelf.insert.enchanted"); + RegistryKey BLOCK_CHISELED_BOOKSHELF_INSERT_ENCHANTED = RegistryKey.of("block.chiseled_bookshelf.insert.enchanted"); - RegistryKey BLOCK_CHISELED_BOOKSHELF_PICKUP = RegistryKey.unsafeOf("block.chiseled_bookshelf.pickup"); + RegistryKey BLOCK_CHISELED_BOOKSHELF_PICKUP = RegistryKey.of("block.chiseled_bookshelf.pickup"); - RegistryKey BLOCK_CHISELED_BOOKSHELF_PICKUP_ENCHANTED = RegistryKey.unsafeOf("block.chiseled_bookshelf.pickup.enchanted"); + RegistryKey BLOCK_CHISELED_BOOKSHELF_PICKUP_ENCHANTED = RegistryKey.of("block.chiseled_bookshelf.pickup.enchanted"); - RegistryKey BLOCK_CHISELED_BOOKSHELF_PLACE = RegistryKey.unsafeOf("block.chiseled_bookshelf.place"); + RegistryKey BLOCK_CHISELED_BOOKSHELF_PLACE = RegistryKey.of("block.chiseled_bookshelf.place"); - RegistryKey BLOCK_CHISELED_BOOKSHELF_STEP = RegistryKey.unsafeOf("block.chiseled_bookshelf.step"); + RegistryKey BLOCK_CHISELED_BOOKSHELF_STEP = RegistryKey.of("block.chiseled_bookshelf.step"); - RegistryKey BLOCK_CHORUS_FLOWER_DEATH = RegistryKey.unsafeOf("block.chorus_flower.death"); + RegistryKey BLOCK_CHORUS_FLOWER_DEATH = RegistryKey.of("block.chorus_flower.death"); - RegistryKey BLOCK_CHORUS_FLOWER_GROW = RegistryKey.unsafeOf("block.chorus_flower.grow"); + RegistryKey BLOCK_CHORUS_FLOWER_GROW = RegistryKey.of("block.chorus_flower.grow"); - RegistryKey BLOCK_CINNABAR_BREAK = RegistryKey.unsafeOf("block.cinnabar.break"); + RegistryKey BLOCK_CINNABAR_BREAK = RegistryKey.of("block.cinnabar.break"); - RegistryKey BLOCK_CINNABAR_FALL = RegistryKey.unsafeOf("block.cinnabar.fall"); + RegistryKey BLOCK_CINNABAR_FALL = RegistryKey.of("block.cinnabar.fall"); - RegistryKey BLOCK_CINNABAR_HIT = RegistryKey.unsafeOf("block.cinnabar.hit"); + RegistryKey BLOCK_CINNABAR_HIT = RegistryKey.of("block.cinnabar.hit"); - RegistryKey BLOCK_CINNABAR_PLACE = RegistryKey.unsafeOf("block.cinnabar.place"); + RegistryKey BLOCK_CINNABAR_PLACE = RegistryKey.of("block.cinnabar.place"); - RegistryKey BLOCK_CINNABAR_STEP = RegistryKey.unsafeOf("block.cinnabar.step"); + RegistryKey BLOCK_CINNABAR_STEP = RegistryKey.of("block.cinnabar.step"); - RegistryKey BLOCK_COBWEB_BREAK = RegistryKey.unsafeOf("block.cobweb.break"); + RegistryKey BLOCK_COBWEB_BREAK = RegistryKey.of("block.cobweb.break"); - RegistryKey BLOCK_COBWEB_FALL = RegistryKey.unsafeOf("block.cobweb.fall"); + RegistryKey BLOCK_COBWEB_FALL = RegistryKey.of("block.cobweb.fall"); - RegistryKey BLOCK_COBWEB_HIT = RegistryKey.unsafeOf("block.cobweb.hit"); + RegistryKey BLOCK_COBWEB_HIT = RegistryKey.of("block.cobweb.hit"); - RegistryKey BLOCK_COBWEB_PLACE = RegistryKey.unsafeOf("block.cobweb.place"); + RegistryKey BLOCK_COBWEB_PLACE = RegistryKey.of("block.cobweb.place"); - RegistryKey BLOCK_COBWEB_STEP = RegistryKey.unsafeOf("block.cobweb.step"); + RegistryKey BLOCK_COBWEB_STEP = RegistryKey.of("block.cobweb.step"); - RegistryKey BLOCK_COMPARATOR_CLICK = RegistryKey.unsafeOf("block.comparator.click"); + RegistryKey BLOCK_COMPARATOR_CLICK = RegistryKey.of("block.comparator.click"); - RegistryKey BLOCK_COMPOSTER_EMPTY = RegistryKey.unsafeOf("block.composter.empty"); + RegistryKey BLOCK_COMPOSTER_EMPTY = RegistryKey.of("block.composter.empty"); - RegistryKey BLOCK_COMPOSTER_FILL = RegistryKey.unsafeOf("block.composter.fill"); + RegistryKey BLOCK_COMPOSTER_FILL = RegistryKey.of("block.composter.fill"); - RegistryKey BLOCK_COMPOSTER_FILL_SUCCESS = RegistryKey.unsafeOf("block.composter.fill_success"); + RegistryKey BLOCK_COMPOSTER_FILL_SUCCESS = RegistryKey.of("block.composter.fill_success"); - RegistryKey BLOCK_COMPOSTER_READY = RegistryKey.unsafeOf("block.composter.ready"); + RegistryKey BLOCK_COMPOSTER_READY = RegistryKey.of("block.composter.ready"); - RegistryKey BLOCK_CONDUIT_ACTIVATE = RegistryKey.unsafeOf("block.conduit.activate"); + RegistryKey BLOCK_CONDUIT_ACTIVATE = RegistryKey.of("block.conduit.activate"); - RegistryKey BLOCK_CONDUIT_AMBIENT = RegistryKey.unsafeOf("block.conduit.ambient"); + RegistryKey BLOCK_CONDUIT_AMBIENT = RegistryKey.of("block.conduit.ambient"); - RegistryKey BLOCK_CONDUIT_AMBIENT_SHORT = RegistryKey.unsafeOf("block.conduit.ambient.short"); + RegistryKey BLOCK_CONDUIT_AMBIENT_SHORT = RegistryKey.of("block.conduit.ambient.short"); - RegistryKey BLOCK_CONDUIT_ATTACK_TARGET = RegistryKey.unsafeOf("block.conduit.attack.target"); + RegistryKey BLOCK_CONDUIT_ATTACK_TARGET = RegistryKey.of("block.conduit.attack.target"); - RegistryKey BLOCK_CONDUIT_DEACTIVATE = RegistryKey.unsafeOf("block.conduit.deactivate"); + RegistryKey BLOCK_CONDUIT_DEACTIVATE = RegistryKey.of("block.conduit.deactivate"); - RegistryKey BLOCK_COPPER_BREAK = RegistryKey.unsafeOf("block.copper.break"); + RegistryKey BLOCK_COPPER_BREAK = RegistryKey.of("block.copper.break"); - RegistryKey BLOCK_COPPER_FALL = RegistryKey.unsafeOf("block.copper.fall"); + RegistryKey BLOCK_COPPER_FALL = RegistryKey.of("block.copper.fall"); - RegistryKey BLOCK_COPPER_HIT = RegistryKey.unsafeOf("block.copper.hit"); + RegistryKey BLOCK_COPPER_HIT = RegistryKey.of("block.copper.hit"); - RegistryKey BLOCK_COPPER_PLACE = RegistryKey.unsafeOf("block.copper.place"); + RegistryKey BLOCK_COPPER_PLACE = RegistryKey.of("block.copper.place"); - RegistryKey BLOCK_COPPER_STEP = RegistryKey.unsafeOf("block.copper.step"); + RegistryKey BLOCK_COPPER_STEP = RegistryKey.of("block.copper.step"); - RegistryKey BLOCK_COPPER_BULB_BREAK = RegistryKey.unsafeOf("block.copper_bulb.break"); + RegistryKey BLOCK_COPPER_BULB_BREAK = RegistryKey.of("block.copper_bulb.break"); - RegistryKey BLOCK_COPPER_BULB_FALL = RegistryKey.unsafeOf("block.copper_bulb.fall"); + RegistryKey BLOCK_COPPER_BULB_FALL = RegistryKey.of("block.copper_bulb.fall"); - RegistryKey BLOCK_COPPER_BULB_HIT = RegistryKey.unsafeOf("block.copper_bulb.hit"); + RegistryKey BLOCK_COPPER_BULB_HIT = RegistryKey.of("block.copper_bulb.hit"); - RegistryKey BLOCK_COPPER_BULB_PLACE = RegistryKey.unsafeOf("block.copper_bulb.place"); + RegistryKey BLOCK_COPPER_BULB_PLACE = RegistryKey.of("block.copper_bulb.place"); - RegistryKey BLOCK_COPPER_BULB_STEP = RegistryKey.unsafeOf("block.copper_bulb.step"); + RegistryKey BLOCK_COPPER_BULB_STEP = RegistryKey.of("block.copper_bulb.step"); - RegistryKey BLOCK_COPPER_BULB_TURN_OFF = RegistryKey.unsafeOf("block.copper_bulb.turn_off"); + RegistryKey BLOCK_COPPER_BULB_TURN_OFF = RegistryKey.of("block.copper_bulb.turn_off"); - RegistryKey BLOCK_COPPER_BULB_TURN_ON = RegistryKey.unsafeOf("block.copper_bulb.turn_on"); + RegistryKey BLOCK_COPPER_BULB_TURN_ON = RegistryKey.of("block.copper_bulb.turn_on"); - RegistryKey BLOCK_COPPER_CHEST_CLOSE = RegistryKey.unsafeOf("block.copper_chest.close"); + RegistryKey BLOCK_COPPER_CHEST_CLOSE = RegistryKey.of("block.copper_chest.close"); - RegistryKey BLOCK_COPPER_CHEST_OPEN = RegistryKey.unsafeOf("block.copper_chest.open"); + RegistryKey BLOCK_COPPER_CHEST_OPEN = RegistryKey.of("block.copper_chest.open"); - RegistryKey BLOCK_COPPER_CHEST_OXIDIZED_CLOSE = RegistryKey.unsafeOf("block.copper_chest_oxidized.close"); + RegistryKey BLOCK_COPPER_CHEST_OXIDIZED_CLOSE = RegistryKey.of("block.copper_chest_oxidized.close"); - RegistryKey BLOCK_COPPER_CHEST_OXIDIZED_OPEN = RegistryKey.unsafeOf("block.copper_chest_oxidized.open"); + RegistryKey BLOCK_COPPER_CHEST_OXIDIZED_OPEN = RegistryKey.of("block.copper_chest_oxidized.open"); - RegistryKey BLOCK_COPPER_CHEST_WEATHERED_CLOSE = RegistryKey.unsafeOf("block.copper_chest_weathered.close"); + RegistryKey BLOCK_COPPER_CHEST_WEATHERED_CLOSE = RegistryKey.of("block.copper_chest_weathered.close"); - RegistryKey BLOCK_COPPER_CHEST_WEATHERED_OPEN = RegistryKey.unsafeOf("block.copper_chest_weathered.open"); + RegistryKey BLOCK_COPPER_CHEST_WEATHERED_OPEN = RegistryKey.of("block.copper_chest_weathered.open"); - RegistryKey BLOCK_COPPER_DOOR_CLOSE = RegistryKey.unsafeOf("block.copper_door.close"); + RegistryKey BLOCK_COPPER_DOOR_CLOSE = RegistryKey.of("block.copper_door.close"); - RegistryKey BLOCK_COPPER_DOOR_OPEN = RegistryKey.unsafeOf("block.copper_door.open"); + RegistryKey BLOCK_COPPER_DOOR_OPEN = RegistryKey.of("block.copper_door.open"); - RegistryKey BLOCK_COPPER_GOLEM_STATUE_BREAK = RegistryKey.unsafeOf("block.copper_golem_statue.break"); + RegistryKey BLOCK_COPPER_GOLEM_STATUE_BREAK = RegistryKey.of("block.copper_golem_statue.break"); - RegistryKey BLOCK_COPPER_GOLEM_STATUE_FALL = RegistryKey.unsafeOf("block.copper_golem_statue.fall"); + RegistryKey BLOCK_COPPER_GOLEM_STATUE_FALL = RegistryKey.of("block.copper_golem_statue.fall"); - RegistryKey BLOCK_COPPER_GOLEM_STATUE_HIT = RegistryKey.unsafeOf("block.copper_golem_statue.hit"); + RegistryKey BLOCK_COPPER_GOLEM_STATUE_HIT = RegistryKey.of("block.copper_golem_statue.hit"); - RegistryKey BLOCK_COPPER_GOLEM_STATUE_PLACE = RegistryKey.unsafeOf("block.copper_golem_statue.place"); + RegistryKey BLOCK_COPPER_GOLEM_STATUE_PLACE = RegistryKey.of("block.copper_golem_statue.place"); - RegistryKey BLOCK_COPPER_GOLEM_STATUE_STEP = RegistryKey.unsafeOf("block.copper_golem_statue.step"); + RegistryKey BLOCK_COPPER_GOLEM_STATUE_STEP = RegistryKey.of("block.copper_golem_statue.step"); - RegistryKey BLOCK_COPPER_GRATE_BREAK = RegistryKey.unsafeOf("block.copper_grate.break"); + RegistryKey BLOCK_COPPER_GRATE_BREAK = RegistryKey.of("block.copper_grate.break"); - RegistryKey BLOCK_COPPER_GRATE_FALL = RegistryKey.unsafeOf("block.copper_grate.fall"); + RegistryKey BLOCK_COPPER_GRATE_FALL = RegistryKey.of("block.copper_grate.fall"); - RegistryKey BLOCK_COPPER_GRATE_HIT = RegistryKey.unsafeOf("block.copper_grate.hit"); + RegistryKey BLOCK_COPPER_GRATE_HIT = RegistryKey.of("block.copper_grate.hit"); - RegistryKey BLOCK_COPPER_GRATE_PLACE = RegistryKey.unsafeOf("block.copper_grate.place"); + RegistryKey BLOCK_COPPER_GRATE_PLACE = RegistryKey.of("block.copper_grate.place"); - RegistryKey BLOCK_COPPER_GRATE_STEP = RegistryKey.unsafeOf("block.copper_grate.step"); + RegistryKey BLOCK_COPPER_GRATE_STEP = RegistryKey.of("block.copper_grate.step"); - RegistryKey BLOCK_COPPER_TRAPDOOR_CLOSE = RegistryKey.unsafeOf("block.copper_trapdoor.close"); + RegistryKey BLOCK_COPPER_TRAPDOOR_CLOSE = RegistryKey.of("block.copper_trapdoor.close"); - RegistryKey BLOCK_COPPER_TRAPDOOR_OPEN = RegistryKey.unsafeOf("block.copper_trapdoor.open"); + RegistryKey BLOCK_COPPER_TRAPDOOR_OPEN = RegistryKey.of("block.copper_trapdoor.open"); - RegistryKey BLOCK_CORAL_BLOCK_BREAK = RegistryKey.unsafeOf("block.coral_block.break"); + RegistryKey BLOCK_CORAL_BLOCK_BREAK = RegistryKey.of("block.coral_block.break"); - RegistryKey BLOCK_CORAL_BLOCK_FALL = RegistryKey.unsafeOf("block.coral_block.fall"); + RegistryKey BLOCK_CORAL_BLOCK_FALL = RegistryKey.of("block.coral_block.fall"); - RegistryKey BLOCK_CORAL_BLOCK_HIT = RegistryKey.unsafeOf("block.coral_block.hit"); + RegistryKey BLOCK_CORAL_BLOCK_HIT = RegistryKey.of("block.coral_block.hit"); - RegistryKey BLOCK_CORAL_BLOCK_PLACE = RegistryKey.unsafeOf("block.coral_block.place"); + RegistryKey BLOCK_CORAL_BLOCK_PLACE = RegistryKey.of("block.coral_block.place"); - RegistryKey BLOCK_CORAL_BLOCK_STEP = RegistryKey.unsafeOf("block.coral_block.step"); + RegistryKey BLOCK_CORAL_BLOCK_STEP = RegistryKey.of("block.coral_block.step"); - RegistryKey BLOCK_CRAFTER_CRAFT = RegistryKey.unsafeOf("block.crafter.craft"); + RegistryKey BLOCK_CRAFTER_CRAFT = RegistryKey.of("block.crafter.craft"); - RegistryKey BLOCK_CRAFTER_FAIL = RegistryKey.unsafeOf("block.crafter.fail"); + RegistryKey BLOCK_CRAFTER_FAIL = RegistryKey.of("block.crafter.fail"); - RegistryKey BLOCK_CREAKING_HEART_BREAK = RegistryKey.unsafeOf("block.creaking_heart.break"); + RegistryKey BLOCK_CREAKING_HEART_BREAK = RegistryKey.of("block.creaking_heart.break"); - RegistryKey BLOCK_CREAKING_HEART_FALL = RegistryKey.unsafeOf("block.creaking_heart.fall"); + RegistryKey BLOCK_CREAKING_HEART_FALL = RegistryKey.of("block.creaking_heart.fall"); - RegistryKey BLOCK_CREAKING_HEART_HIT = RegistryKey.unsafeOf("block.creaking_heart.hit"); + RegistryKey BLOCK_CREAKING_HEART_HIT = RegistryKey.of("block.creaking_heart.hit"); - RegistryKey BLOCK_CREAKING_HEART_HURT = RegistryKey.unsafeOf("block.creaking_heart.hurt"); + RegistryKey BLOCK_CREAKING_HEART_HURT = RegistryKey.of("block.creaking_heart.hurt"); - RegistryKey BLOCK_CREAKING_HEART_IDLE = RegistryKey.unsafeOf("block.creaking_heart.idle"); + RegistryKey BLOCK_CREAKING_HEART_IDLE = RegistryKey.of("block.creaking_heart.idle"); - RegistryKey BLOCK_CREAKING_HEART_PLACE = RegistryKey.unsafeOf("block.creaking_heart.place"); + RegistryKey BLOCK_CREAKING_HEART_PLACE = RegistryKey.of("block.creaking_heart.place"); - RegistryKey BLOCK_CREAKING_HEART_SPAWN = RegistryKey.unsafeOf("block.creaking_heart.spawn"); + RegistryKey BLOCK_CREAKING_HEART_SPAWN = RegistryKey.of("block.creaking_heart.spawn"); - RegistryKey BLOCK_CREAKING_HEART_STEP = RegistryKey.unsafeOf("block.creaking_heart.step"); + RegistryKey BLOCK_CREAKING_HEART_STEP = RegistryKey.of("block.creaking_heart.step"); - RegistryKey BLOCK_CROP_BREAK = RegistryKey.unsafeOf("block.crop.break"); + RegistryKey BLOCK_CROP_BREAK = RegistryKey.of("block.crop.break"); - RegistryKey BLOCK_DEADBUSH_IDLE = RegistryKey.unsafeOf("block.deadbush.idle"); + RegistryKey BLOCK_DEADBUSH_IDLE = RegistryKey.of("block.deadbush.idle"); - RegistryKey BLOCK_DECORATED_POT_BREAK = RegistryKey.unsafeOf("block.decorated_pot.break"); + RegistryKey BLOCK_DECORATED_POT_BREAK = RegistryKey.of("block.decorated_pot.break"); - RegistryKey BLOCK_DECORATED_POT_FALL = RegistryKey.unsafeOf("block.decorated_pot.fall"); + RegistryKey BLOCK_DECORATED_POT_FALL = RegistryKey.of("block.decorated_pot.fall"); - RegistryKey BLOCK_DECORATED_POT_HIT = RegistryKey.unsafeOf("block.decorated_pot.hit"); + RegistryKey BLOCK_DECORATED_POT_HIT = RegistryKey.of("block.decorated_pot.hit"); - RegistryKey BLOCK_DECORATED_POT_INSERT = RegistryKey.unsafeOf("block.decorated_pot.insert"); + RegistryKey BLOCK_DECORATED_POT_INSERT = RegistryKey.of("block.decorated_pot.insert"); - RegistryKey BLOCK_DECORATED_POT_INSERT_FAIL = RegistryKey.unsafeOf("block.decorated_pot.insert_fail"); + RegistryKey BLOCK_DECORATED_POT_INSERT_FAIL = RegistryKey.of("block.decorated_pot.insert_fail"); - RegistryKey BLOCK_DECORATED_POT_PLACE = RegistryKey.unsafeOf("block.decorated_pot.place"); + RegistryKey BLOCK_DECORATED_POT_PLACE = RegistryKey.of("block.decorated_pot.place"); - RegistryKey BLOCK_DECORATED_POT_SHATTER = RegistryKey.unsafeOf("block.decorated_pot.shatter"); + RegistryKey BLOCK_DECORATED_POT_SHATTER = RegistryKey.of("block.decorated_pot.shatter"); - RegistryKey BLOCK_DECORATED_POT_STEP = RegistryKey.unsafeOf("block.decorated_pot.step"); + RegistryKey BLOCK_DECORATED_POT_STEP = RegistryKey.of("block.decorated_pot.step"); - RegistryKey BLOCK_DEEPSLATE_BREAK = RegistryKey.unsafeOf("block.deepslate.break"); + RegistryKey BLOCK_DEEPSLATE_BREAK = RegistryKey.of("block.deepslate.break"); - RegistryKey BLOCK_DEEPSLATE_FALL = RegistryKey.unsafeOf("block.deepslate.fall"); + RegistryKey BLOCK_DEEPSLATE_FALL = RegistryKey.of("block.deepslate.fall"); - RegistryKey BLOCK_DEEPSLATE_HIT = RegistryKey.unsafeOf("block.deepslate.hit"); + RegistryKey BLOCK_DEEPSLATE_HIT = RegistryKey.of("block.deepslate.hit"); - RegistryKey BLOCK_DEEPSLATE_PLACE = RegistryKey.unsafeOf("block.deepslate.place"); + RegistryKey BLOCK_DEEPSLATE_PLACE = RegistryKey.of("block.deepslate.place"); - RegistryKey BLOCK_DEEPSLATE_STEP = RegistryKey.unsafeOf("block.deepslate.step"); + RegistryKey BLOCK_DEEPSLATE_STEP = RegistryKey.of("block.deepslate.step"); - RegistryKey BLOCK_DEEPSLATE_BRICKS_BREAK = RegistryKey.unsafeOf("block.deepslate_bricks.break"); + RegistryKey BLOCK_DEEPSLATE_BRICKS_BREAK = RegistryKey.of("block.deepslate_bricks.break"); - RegistryKey BLOCK_DEEPSLATE_BRICKS_FALL = RegistryKey.unsafeOf("block.deepslate_bricks.fall"); + RegistryKey BLOCK_DEEPSLATE_BRICKS_FALL = RegistryKey.of("block.deepslate_bricks.fall"); - RegistryKey BLOCK_DEEPSLATE_BRICKS_HIT = RegistryKey.unsafeOf("block.deepslate_bricks.hit"); + RegistryKey BLOCK_DEEPSLATE_BRICKS_HIT = RegistryKey.of("block.deepslate_bricks.hit"); - RegistryKey BLOCK_DEEPSLATE_BRICKS_PLACE = RegistryKey.unsafeOf("block.deepslate_bricks.place"); + RegistryKey BLOCK_DEEPSLATE_BRICKS_PLACE = RegistryKey.of("block.deepslate_bricks.place"); - RegistryKey BLOCK_DEEPSLATE_BRICKS_STEP = RegistryKey.unsafeOf("block.deepslate_bricks.step"); + RegistryKey BLOCK_DEEPSLATE_BRICKS_STEP = RegistryKey.of("block.deepslate_bricks.step"); - RegistryKey BLOCK_DEEPSLATE_TILES_BREAK = RegistryKey.unsafeOf("block.deepslate_tiles.break"); + RegistryKey BLOCK_DEEPSLATE_TILES_BREAK = RegistryKey.of("block.deepslate_tiles.break"); - RegistryKey BLOCK_DEEPSLATE_TILES_FALL = RegistryKey.unsafeOf("block.deepslate_tiles.fall"); + RegistryKey BLOCK_DEEPSLATE_TILES_FALL = RegistryKey.of("block.deepslate_tiles.fall"); - RegistryKey BLOCK_DEEPSLATE_TILES_HIT = RegistryKey.unsafeOf("block.deepslate_tiles.hit"); + RegistryKey BLOCK_DEEPSLATE_TILES_HIT = RegistryKey.of("block.deepslate_tiles.hit"); - RegistryKey BLOCK_DEEPSLATE_TILES_PLACE = RegistryKey.unsafeOf("block.deepslate_tiles.place"); + RegistryKey BLOCK_DEEPSLATE_TILES_PLACE = RegistryKey.of("block.deepslate_tiles.place"); - RegistryKey BLOCK_DEEPSLATE_TILES_STEP = RegistryKey.unsafeOf("block.deepslate_tiles.step"); + RegistryKey BLOCK_DEEPSLATE_TILES_STEP = RegistryKey.of("block.deepslate_tiles.step"); - RegistryKey BLOCK_DISPENSER_DISPENSE = RegistryKey.unsafeOf("block.dispenser.dispense"); + RegistryKey BLOCK_DISPENSER_DISPENSE = RegistryKey.of("block.dispenser.dispense"); - RegistryKey BLOCK_DISPENSER_FAIL = RegistryKey.unsafeOf("block.dispenser.fail"); + RegistryKey BLOCK_DISPENSER_FAIL = RegistryKey.of("block.dispenser.fail"); - RegistryKey BLOCK_DISPENSER_LAUNCH = RegistryKey.unsafeOf("block.dispenser.launch"); + RegistryKey BLOCK_DISPENSER_LAUNCH = RegistryKey.of("block.dispenser.launch"); - RegistryKey BLOCK_DRIED_GHAST_AMBIENT = RegistryKey.unsafeOf("block.dried_ghast.ambient"); + RegistryKey BLOCK_DRIED_GHAST_AMBIENT = RegistryKey.of("block.dried_ghast.ambient"); - RegistryKey BLOCK_DRIED_GHAST_AMBIENT_WATER = RegistryKey.unsafeOf("block.dried_ghast.ambient_water"); + RegistryKey BLOCK_DRIED_GHAST_AMBIENT_WATER = RegistryKey.of("block.dried_ghast.ambient_water"); - RegistryKey BLOCK_DRIED_GHAST_BREAK = RegistryKey.unsafeOf("block.dried_ghast.break"); + RegistryKey BLOCK_DRIED_GHAST_BREAK = RegistryKey.of("block.dried_ghast.break"); - RegistryKey BLOCK_DRIED_GHAST_FALL = RegistryKey.unsafeOf("block.dried_ghast.fall"); + RegistryKey BLOCK_DRIED_GHAST_FALL = RegistryKey.of("block.dried_ghast.fall"); - RegistryKey BLOCK_DRIED_GHAST_PLACE = RegistryKey.unsafeOf("block.dried_ghast.place"); + RegistryKey BLOCK_DRIED_GHAST_PLACE = RegistryKey.of("block.dried_ghast.place"); - RegistryKey BLOCK_DRIED_GHAST_PLACE_IN_WATER = RegistryKey.unsafeOf("block.dried_ghast.place_in_water"); + RegistryKey BLOCK_DRIED_GHAST_PLACE_IN_WATER = RegistryKey.of("block.dried_ghast.place_in_water"); - RegistryKey BLOCK_DRIED_GHAST_STEP = RegistryKey.unsafeOf("block.dried_ghast.step"); + RegistryKey BLOCK_DRIED_GHAST_STEP = RegistryKey.of("block.dried_ghast.step"); - RegistryKey BLOCK_DRIED_GHAST_TRANSITION = RegistryKey.unsafeOf("block.dried_ghast.transition"); + RegistryKey BLOCK_DRIED_GHAST_TRANSITION = RegistryKey.of("block.dried_ghast.transition"); - RegistryKey BLOCK_DRIPSTONE_BLOCK_BREAK = RegistryKey.unsafeOf("block.dripstone_block.break"); + RegistryKey BLOCK_DRIPSTONE_BLOCK_BREAK = RegistryKey.of("block.dripstone_block.break"); - RegistryKey BLOCK_DRIPSTONE_BLOCK_FALL = RegistryKey.unsafeOf("block.dripstone_block.fall"); + RegistryKey BLOCK_DRIPSTONE_BLOCK_FALL = RegistryKey.of("block.dripstone_block.fall"); - RegistryKey BLOCK_DRIPSTONE_BLOCK_HIT = RegistryKey.unsafeOf("block.dripstone_block.hit"); + RegistryKey BLOCK_DRIPSTONE_BLOCK_HIT = RegistryKey.of("block.dripstone_block.hit"); - RegistryKey BLOCK_DRIPSTONE_BLOCK_PLACE = RegistryKey.unsafeOf("block.dripstone_block.place"); + RegistryKey BLOCK_DRIPSTONE_BLOCK_PLACE = RegistryKey.of("block.dripstone_block.place"); - RegistryKey BLOCK_DRIPSTONE_BLOCK_STEP = RegistryKey.unsafeOf("block.dripstone_block.step"); + RegistryKey BLOCK_DRIPSTONE_BLOCK_STEP = RegistryKey.of("block.dripstone_block.step"); - RegistryKey BLOCK_DRY_GRASS_AMBIENT = RegistryKey.unsafeOf("block.dry_grass.ambient"); + RegistryKey BLOCK_DRY_GRASS_AMBIENT = RegistryKey.of("block.dry_grass.ambient"); - RegistryKey BLOCK_ENCHANTMENT_TABLE_USE = RegistryKey.unsafeOf("block.enchantment_table.use"); + RegistryKey BLOCK_ENCHANTMENT_TABLE_USE = RegistryKey.of("block.enchantment_table.use"); - RegistryKey BLOCK_END_GATEWAY_SPAWN = RegistryKey.unsafeOf("block.end_gateway.spawn"); + RegistryKey BLOCK_END_GATEWAY_SPAWN = RegistryKey.of("block.end_gateway.spawn"); - RegistryKey BLOCK_END_PORTAL_SPAWN = RegistryKey.unsafeOf("block.end_portal.spawn"); + RegistryKey BLOCK_END_PORTAL_SPAWN = RegistryKey.of("block.end_portal.spawn"); - RegistryKey BLOCK_END_PORTAL_FRAME_FILL = RegistryKey.unsafeOf("block.end_portal_frame.fill"); + RegistryKey BLOCK_END_PORTAL_FRAME_FILL = RegistryKey.of("block.end_portal_frame.fill"); - RegistryKey BLOCK_ENDER_CHEST_CLOSE = RegistryKey.unsafeOf("block.ender_chest.close"); + RegistryKey BLOCK_ENDER_CHEST_CLOSE = RegistryKey.of("block.ender_chest.close"); - RegistryKey BLOCK_ENDER_CHEST_OPEN = RegistryKey.unsafeOf("block.ender_chest.open"); + RegistryKey BLOCK_ENDER_CHEST_OPEN = RegistryKey.of("block.ender_chest.open"); - RegistryKey BLOCK_EYEBLOSSOM_CLOSE = RegistryKey.unsafeOf("block.eyeblossom.close"); + RegistryKey BLOCK_EYEBLOSSOM_CLOSE = RegistryKey.of("block.eyeblossom.close"); - RegistryKey BLOCK_EYEBLOSSOM_CLOSE_LONG = RegistryKey.unsafeOf("block.eyeblossom.close_long"); + RegistryKey BLOCK_EYEBLOSSOM_CLOSE_LONG = RegistryKey.of("block.eyeblossom.close_long"); - RegistryKey BLOCK_EYEBLOSSOM_IDLE = RegistryKey.unsafeOf("block.eyeblossom.idle"); + RegistryKey BLOCK_EYEBLOSSOM_IDLE = RegistryKey.of("block.eyeblossom.idle"); - RegistryKey BLOCK_EYEBLOSSOM_OPEN = RegistryKey.unsafeOf("block.eyeblossom.open"); + RegistryKey BLOCK_EYEBLOSSOM_OPEN = RegistryKey.of("block.eyeblossom.open"); - RegistryKey BLOCK_EYEBLOSSOM_OPEN_LONG = RegistryKey.unsafeOf("block.eyeblossom.open_long"); + RegistryKey BLOCK_EYEBLOSSOM_OPEN_LONG = RegistryKey.of("block.eyeblossom.open_long"); - RegistryKey BLOCK_FENCE_GATE_CLOSE = RegistryKey.unsafeOf("block.fence_gate.close"); + RegistryKey BLOCK_FENCE_GATE_CLOSE = RegistryKey.of("block.fence_gate.close"); - RegistryKey BLOCK_FENCE_GATE_OPEN = RegistryKey.unsafeOf("block.fence_gate.open"); + RegistryKey BLOCK_FENCE_GATE_OPEN = RegistryKey.of("block.fence_gate.open"); - RegistryKey BLOCK_FIRE_AMBIENT = RegistryKey.unsafeOf("block.fire.ambient"); + RegistryKey BLOCK_FIRE_AMBIENT = RegistryKey.of("block.fire.ambient"); - RegistryKey BLOCK_FIRE_EXTINGUISH = RegistryKey.unsafeOf("block.fire.extinguish"); + RegistryKey BLOCK_FIRE_EXTINGUISH = RegistryKey.of("block.fire.extinguish"); - RegistryKey BLOCK_FIREFLY_BUSH_IDLE = RegistryKey.unsafeOf("block.firefly_bush.idle"); + RegistryKey BLOCK_FIREFLY_BUSH_IDLE = RegistryKey.of("block.firefly_bush.idle"); - RegistryKey BLOCK_FLOWERING_AZALEA_BREAK = RegistryKey.unsafeOf("block.flowering_azalea.break"); + RegistryKey BLOCK_FLOWERING_AZALEA_BREAK = RegistryKey.of("block.flowering_azalea.break"); - RegistryKey BLOCK_FLOWERING_AZALEA_FALL = RegistryKey.unsafeOf("block.flowering_azalea.fall"); + RegistryKey BLOCK_FLOWERING_AZALEA_FALL = RegistryKey.of("block.flowering_azalea.fall"); - RegistryKey BLOCK_FLOWERING_AZALEA_HIT = RegistryKey.unsafeOf("block.flowering_azalea.hit"); + RegistryKey BLOCK_FLOWERING_AZALEA_HIT = RegistryKey.of("block.flowering_azalea.hit"); - RegistryKey BLOCK_FLOWERING_AZALEA_PLACE = RegistryKey.unsafeOf("block.flowering_azalea.place"); + RegistryKey BLOCK_FLOWERING_AZALEA_PLACE = RegistryKey.of("block.flowering_azalea.place"); - RegistryKey BLOCK_FLOWERING_AZALEA_STEP = RegistryKey.unsafeOf("block.flowering_azalea.step"); + RegistryKey BLOCK_FLOWERING_AZALEA_STEP = RegistryKey.of("block.flowering_azalea.step"); - RegistryKey BLOCK_FROGLIGHT_BREAK = RegistryKey.unsafeOf("block.froglight.break"); + RegistryKey BLOCK_FROGLIGHT_BREAK = RegistryKey.of("block.froglight.break"); - RegistryKey BLOCK_FROGLIGHT_FALL = RegistryKey.unsafeOf("block.froglight.fall"); + RegistryKey BLOCK_FROGLIGHT_FALL = RegistryKey.of("block.froglight.fall"); - RegistryKey BLOCK_FROGLIGHT_HIT = RegistryKey.unsafeOf("block.froglight.hit"); + RegistryKey BLOCK_FROGLIGHT_HIT = RegistryKey.of("block.froglight.hit"); - RegistryKey BLOCK_FROGLIGHT_PLACE = RegistryKey.unsafeOf("block.froglight.place"); + RegistryKey BLOCK_FROGLIGHT_PLACE = RegistryKey.of("block.froglight.place"); - RegistryKey BLOCK_FROGLIGHT_STEP = RegistryKey.unsafeOf("block.froglight.step"); + RegistryKey BLOCK_FROGLIGHT_STEP = RegistryKey.of("block.froglight.step"); - RegistryKey BLOCK_FROGSPAWN_BREAK = RegistryKey.unsafeOf("block.frogspawn.break"); + RegistryKey BLOCK_FROGSPAWN_BREAK = RegistryKey.of("block.frogspawn.break"); - RegistryKey BLOCK_FROGSPAWN_FALL = RegistryKey.unsafeOf("block.frogspawn.fall"); + RegistryKey BLOCK_FROGSPAWN_FALL = RegistryKey.of("block.frogspawn.fall"); - RegistryKey BLOCK_FROGSPAWN_HATCH = RegistryKey.unsafeOf("block.frogspawn.hatch"); + RegistryKey BLOCK_FROGSPAWN_HATCH = RegistryKey.of("block.frogspawn.hatch"); - RegistryKey BLOCK_FROGSPAWN_HIT = RegistryKey.unsafeOf("block.frogspawn.hit"); + RegistryKey BLOCK_FROGSPAWN_HIT = RegistryKey.of("block.frogspawn.hit"); - RegistryKey BLOCK_FROGSPAWN_PLACE = RegistryKey.unsafeOf("block.frogspawn.place"); + RegistryKey BLOCK_FROGSPAWN_PLACE = RegistryKey.of("block.frogspawn.place"); - RegistryKey BLOCK_FROGSPAWN_STEP = RegistryKey.unsafeOf("block.frogspawn.step"); + RegistryKey BLOCK_FROGSPAWN_STEP = RegistryKey.of("block.frogspawn.step"); - RegistryKey BLOCK_FUNGUS_BREAK = RegistryKey.unsafeOf("block.fungus.break"); + RegistryKey BLOCK_FUNGUS_BREAK = RegistryKey.of("block.fungus.break"); - RegistryKey BLOCK_FUNGUS_FALL = RegistryKey.unsafeOf("block.fungus.fall"); + RegistryKey BLOCK_FUNGUS_FALL = RegistryKey.of("block.fungus.fall"); - RegistryKey BLOCK_FUNGUS_HIT = RegistryKey.unsafeOf("block.fungus.hit"); + RegistryKey BLOCK_FUNGUS_HIT = RegistryKey.of("block.fungus.hit"); - RegistryKey BLOCK_FUNGUS_PLACE = RegistryKey.unsafeOf("block.fungus.place"); + RegistryKey BLOCK_FUNGUS_PLACE = RegistryKey.of("block.fungus.place"); - RegistryKey BLOCK_FUNGUS_STEP = RegistryKey.unsafeOf("block.fungus.step"); + RegistryKey BLOCK_FUNGUS_STEP = RegistryKey.of("block.fungus.step"); - RegistryKey BLOCK_FURNACE_FIRE_CRACKLE = RegistryKey.unsafeOf("block.furnace.fire_crackle"); + RegistryKey BLOCK_FURNACE_FIRE_CRACKLE = RegistryKey.of("block.furnace.fire_crackle"); - RegistryKey BLOCK_GILDED_BLACKSTONE_BREAK = RegistryKey.unsafeOf("block.gilded_blackstone.break"); + RegistryKey BLOCK_GILDED_BLACKSTONE_BREAK = RegistryKey.of("block.gilded_blackstone.break"); - RegistryKey BLOCK_GILDED_BLACKSTONE_FALL = RegistryKey.unsafeOf("block.gilded_blackstone.fall"); + RegistryKey BLOCK_GILDED_BLACKSTONE_FALL = RegistryKey.of("block.gilded_blackstone.fall"); - RegistryKey BLOCK_GILDED_BLACKSTONE_HIT = RegistryKey.unsafeOf("block.gilded_blackstone.hit"); + RegistryKey BLOCK_GILDED_BLACKSTONE_HIT = RegistryKey.of("block.gilded_blackstone.hit"); - RegistryKey BLOCK_GILDED_BLACKSTONE_PLACE = RegistryKey.unsafeOf("block.gilded_blackstone.place"); + RegistryKey BLOCK_GILDED_BLACKSTONE_PLACE = RegistryKey.of("block.gilded_blackstone.place"); - RegistryKey BLOCK_GILDED_BLACKSTONE_STEP = RegistryKey.unsafeOf("block.gilded_blackstone.step"); + RegistryKey BLOCK_GILDED_BLACKSTONE_STEP = RegistryKey.of("block.gilded_blackstone.step"); - RegistryKey BLOCK_GLASS_BREAK = RegistryKey.unsafeOf("block.glass.break"); + RegistryKey BLOCK_GLASS_BREAK = RegistryKey.of("block.glass.break"); - RegistryKey BLOCK_GLASS_FALL = RegistryKey.unsafeOf("block.glass.fall"); + RegistryKey BLOCK_GLASS_FALL = RegistryKey.of("block.glass.fall"); - RegistryKey BLOCK_GLASS_HIT = RegistryKey.unsafeOf("block.glass.hit"); + RegistryKey BLOCK_GLASS_HIT = RegistryKey.of("block.glass.hit"); - RegistryKey BLOCK_GLASS_PLACE = RegistryKey.unsafeOf("block.glass.place"); + RegistryKey BLOCK_GLASS_PLACE = RegistryKey.of("block.glass.place"); - RegistryKey BLOCK_GLASS_STEP = RegistryKey.unsafeOf("block.glass.step"); + RegistryKey BLOCK_GLASS_STEP = RegistryKey.of("block.glass.step"); - RegistryKey BLOCK_GRASS_BREAK = RegistryKey.unsafeOf("block.grass.break"); + RegistryKey BLOCK_GRASS_BREAK = RegistryKey.of("block.grass.break"); - RegistryKey BLOCK_GRASS_FALL = RegistryKey.unsafeOf("block.grass.fall"); + RegistryKey BLOCK_GRASS_FALL = RegistryKey.of("block.grass.fall"); - RegistryKey BLOCK_GRASS_HIT = RegistryKey.unsafeOf("block.grass.hit"); + RegistryKey BLOCK_GRASS_HIT = RegistryKey.of("block.grass.hit"); - RegistryKey BLOCK_GRASS_PLACE = RegistryKey.unsafeOf("block.grass.place"); + RegistryKey BLOCK_GRASS_PLACE = RegistryKey.of("block.grass.place"); - RegistryKey BLOCK_GRASS_STEP = RegistryKey.unsafeOf("block.grass.step"); + RegistryKey BLOCK_GRASS_STEP = RegistryKey.of("block.grass.step"); - RegistryKey BLOCK_GRAVEL_BREAK = RegistryKey.unsafeOf("block.gravel.break"); + RegistryKey BLOCK_GRAVEL_BREAK = RegistryKey.of("block.gravel.break"); - RegistryKey BLOCK_GRAVEL_FALL = RegistryKey.unsafeOf("block.gravel.fall"); + RegistryKey BLOCK_GRAVEL_FALL = RegistryKey.of("block.gravel.fall"); - RegistryKey BLOCK_GRAVEL_HIT = RegistryKey.unsafeOf("block.gravel.hit"); + RegistryKey BLOCK_GRAVEL_HIT = RegistryKey.of("block.gravel.hit"); - RegistryKey BLOCK_GRAVEL_PLACE = RegistryKey.unsafeOf("block.gravel.place"); + RegistryKey BLOCK_GRAVEL_PLACE = RegistryKey.of("block.gravel.place"); - RegistryKey BLOCK_GRAVEL_STEP = RegistryKey.unsafeOf("block.gravel.step"); + RegistryKey BLOCK_GRAVEL_STEP = RegistryKey.of("block.gravel.step"); - RegistryKey BLOCK_GRINDSTONE_USE = RegistryKey.unsafeOf("block.grindstone.use"); + RegistryKey BLOCK_GRINDSTONE_USE = RegistryKey.of("block.grindstone.use"); - RegistryKey BLOCK_GROWING_PLANT_CROP = RegistryKey.unsafeOf("block.growing_plant.crop"); + RegistryKey BLOCK_GROWING_PLANT_CROP = RegistryKey.of("block.growing_plant.crop"); - RegistryKey BLOCK_HANGING_ROOTS_BREAK = RegistryKey.unsafeOf("block.hanging_roots.break"); + RegistryKey BLOCK_HANGING_ROOTS_BREAK = RegistryKey.of("block.hanging_roots.break"); - RegistryKey BLOCK_HANGING_ROOTS_FALL = RegistryKey.unsafeOf("block.hanging_roots.fall"); + RegistryKey BLOCK_HANGING_ROOTS_FALL = RegistryKey.of("block.hanging_roots.fall"); - RegistryKey BLOCK_HANGING_ROOTS_HIT = RegistryKey.unsafeOf("block.hanging_roots.hit"); + RegistryKey BLOCK_HANGING_ROOTS_HIT = RegistryKey.of("block.hanging_roots.hit"); - RegistryKey BLOCK_HANGING_ROOTS_PLACE = RegistryKey.unsafeOf("block.hanging_roots.place"); + RegistryKey BLOCK_HANGING_ROOTS_PLACE = RegistryKey.of("block.hanging_roots.place"); - RegistryKey BLOCK_HANGING_ROOTS_STEP = RegistryKey.unsafeOf("block.hanging_roots.step"); + RegistryKey BLOCK_HANGING_ROOTS_STEP = RegistryKey.of("block.hanging_roots.step"); - RegistryKey BLOCK_HANGING_SIGN_BREAK = RegistryKey.unsafeOf("block.hanging_sign.break"); + RegistryKey BLOCK_HANGING_SIGN_BREAK = RegistryKey.of("block.hanging_sign.break"); - RegistryKey BLOCK_HANGING_SIGN_FALL = RegistryKey.unsafeOf("block.hanging_sign.fall"); + RegistryKey BLOCK_HANGING_SIGN_FALL = RegistryKey.of("block.hanging_sign.fall"); - RegistryKey BLOCK_HANGING_SIGN_HIT = RegistryKey.unsafeOf("block.hanging_sign.hit"); + RegistryKey BLOCK_HANGING_SIGN_HIT = RegistryKey.of("block.hanging_sign.hit"); - RegistryKey BLOCK_HANGING_SIGN_PLACE = RegistryKey.unsafeOf("block.hanging_sign.place"); + RegistryKey BLOCK_HANGING_SIGN_PLACE = RegistryKey.of("block.hanging_sign.place"); - RegistryKey BLOCK_HANGING_SIGN_STEP = RegistryKey.unsafeOf("block.hanging_sign.step"); + RegistryKey BLOCK_HANGING_SIGN_STEP = RegistryKey.of("block.hanging_sign.step"); - RegistryKey BLOCK_HANGING_SIGN_WAXED_INTERACT_FAIL = RegistryKey.unsafeOf("block.hanging_sign.waxed_interact_fail"); + RegistryKey BLOCK_HANGING_SIGN_WAXED_INTERACT_FAIL = RegistryKey.of("block.hanging_sign.waxed_interact_fail"); - RegistryKey BLOCK_HEAVY_CORE_BREAK = RegistryKey.unsafeOf("block.heavy_core.break"); + RegistryKey BLOCK_HEAVY_CORE_BREAK = RegistryKey.of("block.heavy_core.break"); - RegistryKey BLOCK_HEAVY_CORE_FALL = RegistryKey.unsafeOf("block.heavy_core.fall"); + RegistryKey BLOCK_HEAVY_CORE_FALL = RegistryKey.of("block.heavy_core.fall"); - RegistryKey BLOCK_HEAVY_CORE_HIT = RegistryKey.unsafeOf("block.heavy_core.hit"); + RegistryKey BLOCK_HEAVY_CORE_HIT = RegistryKey.of("block.heavy_core.hit"); - RegistryKey BLOCK_HEAVY_CORE_PLACE = RegistryKey.unsafeOf("block.heavy_core.place"); + RegistryKey BLOCK_HEAVY_CORE_PLACE = RegistryKey.of("block.heavy_core.place"); - RegistryKey BLOCK_HEAVY_CORE_STEP = RegistryKey.unsafeOf("block.heavy_core.step"); + RegistryKey BLOCK_HEAVY_CORE_STEP = RegistryKey.of("block.heavy_core.step"); - RegistryKey BLOCK_HONEY_BLOCK_BREAK = RegistryKey.unsafeOf("block.honey_block.break"); + RegistryKey BLOCK_HONEY_BLOCK_BREAK = RegistryKey.of("block.honey_block.break"); - RegistryKey BLOCK_HONEY_BLOCK_FALL = RegistryKey.unsafeOf("block.honey_block.fall"); + RegistryKey BLOCK_HONEY_BLOCK_FALL = RegistryKey.of("block.honey_block.fall"); - RegistryKey BLOCK_HONEY_BLOCK_HIT = RegistryKey.unsafeOf("block.honey_block.hit"); + RegistryKey BLOCK_HONEY_BLOCK_HIT = RegistryKey.of("block.honey_block.hit"); - RegistryKey BLOCK_HONEY_BLOCK_PLACE = RegistryKey.unsafeOf("block.honey_block.place"); + RegistryKey BLOCK_HONEY_BLOCK_PLACE = RegistryKey.of("block.honey_block.place"); - RegistryKey BLOCK_HONEY_BLOCK_SLIDE = RegistryKey.unsafeOf("block.honey_block.slide"); + RegistryKey BLOCK_HONEY_BLOCK_SLIDE = RegistryKey.of("block.honey_block.slide"); - RegistryKey BLOCK_HONEY_BLOCK_STEP = RegistryKey.unsafeOf("block.honey_block.step"); + RegistryKey BLOCK_HONEY_BLOCK_STEP = RegistryKey.of("block.honey_block.step"); - RegistryKey BLOCK_IRON_BREAK = RegistryKey.unsafeOf("block.iron.break"); + RegistryKey BLOCK_IRON_BREAK = RegistryKey.of("block.iron.break"); - RegistryKey BLOCK_IRON_FALL = RegistryKey.unsafeOf("block.iron.fall"); + RegistryKey BLOCK_IRON_FALL = RegistryKey.of("block.iron.fall"); - RegistryKey BLOCK_IRON_HIT = RegistryKey.unsafeOf("block.iron.hit"); + RegistryKey BLOCK_IRON_HIT = RegistryKey.of("block.iron.hit"); - RegistryKey BLOCK_IRON_PLACE = RegistryKey.unsafeOf("block.iron.place"); + RegistryKey BLOCK_IRON_PLACE = RegistryKey.of("block.iron.place"); - RegistryKey BLOCK_IRON_STEP = RegistryKey.unsafeOf("block.iron.step"); + RegistryKey BLOCK_IRON_STEP = RegistryKey.of("block.iron.step"); - RegistryKey BLOCK_IRON_DOOR_CLOSE = RegistryKey.unsafeOf("block.iron_door.close"); + RegistryKey BLOCK_IRON_DOOR_CLOSE = RegistryKey.of("block.iron_door.close"); - RegistryKey BLOCK_IRON_DOOR_OPEN = RegistryKey.unsafeOf("block.iron_door.open"); + RegistryKey BLOCK_IRON_DOOR_OPEN = RegistryKey.of("block.iron_door.open"); - RegistryKey BLOCK_IRON_TRAPDOOR_CLOSE = RegistryKey.unsafeOf("block.iron_trapdoor.close"); + RegistryKey BLOCK_IRON_TRAPDOOR_CLOSE = RegistryKey.of("block.iron_trapdoor.close"); - RegistryKey BLOCK_IRON_TRAPDOOR_OPEN = RegistryKey.unsafeOf("block.iron_trapdoor.open"); + RegistryKey BLOCK_IRON_TRAPDOOR_OPEN = RegistryKey.of("block.iron_trapdoor.open"); - RegistryKey BLOCK_LADDER_BREAK = RegistryKey.unsafeOf("block.ladder.break"); + RegistryKey BLOCK_LADDER_BREAK = RegistryKey.of("block.ladder.break"); - RegistryKey BLOCK_LADDER_FALL = RegistryKey.unsafeOf("block.ladder.fall"); + RegistryKey BLOCK_LADDER_FALL = RegistryKey.of("block.ladder.fall"); - RegistryKey BLOCK_LADDER_HIT = RegistryKey.unsafeOf("block.ladder.hit"); + RegistryKey BLOCK_LADDER_HIT = RegistryKey.of("block.ladder.hit"); - RegistryKey BLOCK_LADDER_PLACE = RegistryKey.unsafeOf("block.ladder.place"); + RegistryKey BLOCK_LADDER_PLACE = RegistryKey.of("block.ladder.place"); - RegistryKey BLOCK_LADDER_STEP = RegistryKey.unsafeOf("block.ladder.step"); + RegistryKey BLOCK_LADDER_STEP = RegistryKey.of("block.ladder.step"); - RegistryKey BLOCK_LANTERN_BREAK = RegistryKey.unsafeOf("block.lantern.break"); + RegistryKey BLOCK_LANTERN_BREAK = RegistryKey.of("block.lantern.break"); - RegistryKey BLOCK_LANTERN_FALL = RegistryKey.unsafeOf("block.lantern.fall"); + RegistryKey BLOCK_LANTERN_FALL = RegistryKey.of("block.lantern.fall"); - RegistryKey BLOCK_LANTERN_HIT = RegistryKey.unsafeOf("block.lantern.hit"); + RegistryKey BLOCK_LANTERN_HIT = RegistryKey.of("block.lantern.hit"); - RegistryKey BLOCK_LANTERN_PLACE = RegistryKey.unsafeOf("block.lantern.place"); + RegistryKey BLOCK_LANTERN_PLACE = RegistryKey.of("block.lantern.place"); - RegistryKey BLOCK_LANTERN_STEP = RegistryKey.unsafeOf("block.lantern.step"); + RegistryKey BLOCK_LANTERN_STEP = RegistryKey.of("block.lantern.step"); - RegistryKey BLOCK_LARGE_AMETHYST_BUD_BREAK = RegistryKey.unsafeOf("block.large_amethyst_bud.break"); + RegistryKey BLOCK_LARGE_AMETHYST_BUD_BREAK = RegistryKey.of("block.large_amethyst_bud.break"); - RegistryKey BLOCK_LARGE_AMETHYST_BUD_PLACE = RegistryKey.unsafeOf("block.large_amethyst_bud.place"); + RegistryKey BLOCK_LARGE_AMETHYST_BUD_PLACE = RegistryKey.of("block.large_amethyst_bud.place"); - RegistryKey BLOCK_LAVA_AMBIENT = RegistryKey.unsafeOf("block.lava.ambient"); + RegistryKey BLOCK_LAVA_AMBIENT = RegistryKey.of("block.lava.ambient"); - RegistryKey BLOCK_LAVA_EXTINGUISH = RegistryKey.unsafeOf("block.lava.extinguish"); + RegistryKey BLOCK_LAVA_EXTINGUISH = RegistryKey.of("block.lava.extinguish"); - RegistryKey BLOCK_LAVA_POP = RegistryKey.unsafeOf("block.lava.pop"); + RegistryKey BLOCK_LAVA_POP = RegistryKey.of("block.lava.pop"); - RegistryKey BLOCK_LEAF_LITTER_BREAK = RegistryKey.unsafeOf("block.leaf_litter.break"); + RegistryKey BLOCK_LEAF_LITTER_BREAK = RegistryKey.of("block.leaf_litter.break"); - RegistryKey BLOCK_LEAF_LITTER_FALL = RegistryKey.unsafeOf("block.leaf_litter.fall"); + RegistryKey BLOCK_LEAF_LITTER_FALL = RegistryKey.of("block.leaf_litter.fall"); - RegistryKey BLOCK_LEAF_LITTER_HIT = RegistryKey.unsafeOf("block.leaf_litter.hit"); + RegistryKey BLOCK_LEAF_LITTER_HIT = RegistryKey.of("block.leaf_litter.hit"); - RegistryKey BLOCK_LEAF_LITTER_PLACE = RegistryKey.unsafeOf("block.leaf_litter.place"); + RegistryKey BLOCK_LEAF_LITTER_PLACE = RegistryKey.of("block.leaf_litter.place"); - RegistryKey BLOCK_LEAF_LITTER_STEP = RegistryKey.unsafeOf("block.leaf_litter.step"); + RegistryKey BLOCK_LEAF_LITTER_STEP = RegistryKey.of("block.leaf_litter.step"); - RegistryKey BLOCK_LEVER_CLICK = RegistryKey.unsafeOf("block.lever.click"); + RegistryKey BLOCK_LEVER_CLICK = RegistryKey.of("block.lever.click"); - RegistryKey BLOCK_LILY_PAD_PLACE = RegistryKey.unsafeOf("block.lily_pad.place"); + RegistryKey BLOCK_LILY_PAD_PLACE = RegistryKey.of("block.lily_pad.place"); - RegistryKey BLOCK_LODESTONE_BREAK = RegistryKey.unsafeOf("block.lodestone.break"); + RegistryKey BLOCK_LODESTONE_BREAK = RegistryKey.of("block.lodestone.break"); - RegistryKey BLOCK_LODESTONE_FALL = RegistryKey.unsafeOf("block.lodestone.fall"); + RegistryKey BLOCK_LODESTONE_FALL = RegistryKey.of("block.lodestone.fall"); - RegistryKey BLOCK_LODESTONE_HIT = RegistryKey.unsafeOf("block.lodestone.hit"); + RegistryKey BLOCK_LODESTONE_HIT = RegistryKey.of("block.lodestone.hit"); - RegistryKey BLOCK_LODESTONE_PLACE = RegistryKey.unsafeOf("block.lodestone.place"); + RegistryKey BLOCK_LODESTONE_PLACE = RegistryKey.of("block.lodestone.place"); - RegistryKey BLOCK_LODESTONE_STEP = RegistryKey.unsafeOf("block.lodestone.step"); + RegistryKey BLOCK_LODESTONE_STEP = RegistryKey.of("block.lodestone.step"); - RegistryKey BLOCK_MANGROVE_ROOTS_BREAK = RegistryKey.unsafeOf("block.mangrove_roots.break"); + RegistryKey BLOCK_MANGROVE_ROOTS_BREAK = RegistryKey.of("block.mangrove_roots.break"); - RegistryKey BLOCK_MANGROVE_ROOTS_FALL = RegistryKey.unsafeOf("block.mangrove_roots.fall"); + RegistryKey BLOCK_MANGROVE_ROOTS_FALL = RegistryKey.of("block.mangrove_roots.fall"); - RegistryKey BLOCK_MANGROVE_ROOTS_HIT = RegistryKey.unsafeOf("block.mangrove_roots.hit"); + RegistryKey BLOCK_MANGROVE_ROOTS_HIT = RegistryKey.of("block.mangrove_roots.hit"); - RegistryKey BLOCK_MANGROVE_ROOTS_PLACE = RegistryKey.unsafeOf("block.mangrove_roots.place"); + RegistryKey BLOCK_MANGROVE_ROOTS_PLACE = RegistryKey.of("block.mangrove_roots.place"); - RegistryKey BLOCK_MANGROVE_ROOTS_STEP = RegistryKey.unsafeOf("block.mangrove_roots.step"); + RegistryKey BLOCK_MANGROVE_ROOTS_STEP = RegistryKey.of("block.mangrove_roots.step"); - RegistryKey BLOCK_MEDIUM_AMETHYST_BUD_BREAK = RegistryKey.unsafeOf("block.medium_amethyst_bud.break"); + RegistryKey BLOCK_MEDIUM_AMETHYST_BUD_BREAK = RegistryKey.of("block.medium_amethyst_bud.break"); - RegistryKey BLOCK_MEDIUM_AMETHYST_BUD_PLACE = RegistryKey.unsafeOf("block.medium_amethyst_bud.place"); + RegistryKey BLOCK_MEDIUM_AMETHYST_BUD_PLACE = RegistryKey.of("block.medium_amethyst_bud.place"); - RegistryKey BLOCK_METAL_BREAK = RegistryKey.unsafeOf("block.metal.break"); + RegistryKey BLOCK_METAL_BREAK = RegistryKey.of("block.metal.break"); - RegistryKey BLOCK_METAL_FALL = RegistryKey.unsafeOf("block.metal.fall"); + RegistryKey BLOCK_METAL_FALL = RegistryKey.of("block.metal.fall"); - RegistryKey BLOCK_METAL_HIT = RegistryKey.unsafeOf("block.metal.hit"); + RegistryKey BLOCK_METAL_HIT = RegistryKey.of("block.metal.hit"); - RegistryKey BLOCK_METAL_PLACE = RegistryKey.unsafeOf("block.metal.place"); + RegistryKey BLOCK_METAL_PLACE = RegistryKey.of("block.metal.place"); - RegistryKey BLOCK_METAL_STEP = RegistryKey.unsafeOf("block.metal.step"); + RegistryKey BLOCK_METAL_STEP = RegistryKey.of("block.metal.step"); - RegistryKey BLOCK_METAL_PRESSURE_PLATE_CLICK_OFF = RegistryKey.unsafeOf("block.metal_pressure_plate.click_off"); + RegistryKey BLOCK_METAL_PRESSURE_PLATE_CLICK_OFF = RegistryKey.of("block.metal_pressure_plate.click_off"); - RegistryKey BLOCK_METAL_PRESSURE_PLATE_CLICK_ON = RegistryKey.unsafeOf("block.metal_pressure_plate.click_on"); + RegistryKey BLOCK_METAL_PRESSURE_PLATE_CLICK_ON = RegistryKey.of("block.metal_pressure_plate.click_on"); - RegistryKey BLOCK_MOSS_BREAK = RegistryKey.unsafeOf("block.moss.break"); + RegistryKey BLOCK_MOSS_BREAK = RegistryKey.of("block.moss.break"); - RegistryKey BLOCK_MOSS_FALL = RegistryKey.unsafeOf("block.moss.fall"); + RegistryKey BLOCK_MOSS_FALL = RegistryKey.of("block.moss.fall"); - RegistryKey BLOCK_MOSS_HIT = RegistryKey.unsafeOf("block.moss.hit"); + RegistryKey BLOCK_MOSS_HIT = RegistryKey.of("block.moss.hit"); - RegistryKey BLOCK_MOSS_PLACE = RegistryKey.unsafeOf("block.moss.place"); + RegistryKey BLOCK_MOSS_PLACE = RegistryKey.of("block.moss.place"); - RegistryKey BLOCK_MOSS_STEP = RegistryKey.unsafeOf("block.moss.step"); + RegistryKey BLOCK_MOSS_STEP = RegistryKey.of("block.moss.step"); - RegistryKey BLOCK_MOSS_CARPET_BREAK = RegistryKey.unsafeOf("block.moss_carpet.break"); + RegistryKey BLOCK_MOSS_CARPET_BREAK = RegistryKey.of("block.moss_carpet.break"); - RegistryKey BLOCK_MOSS_CARPET_FALL = RegistryKey.unsafeOf("block.moss_carpet.fall"); + RegistryKey BLOCK_MOSS_CARPET_FALL = RegistryKey.of("block.moss_carpet.fall"); - RegistryKey BLOCK_MOSS_CARPET_HIT = RegistryKey.unsafeOf("block.moss_carpet.hit"); + RegistryKey BLOCK_MOSS_CARPET_HIT = RegistryKey.of("block.moss_carpet.hit"); - RegistryKey BLOCK_MOSS_CARPET_PLACE = RegistryKey.unsafeOf("block.moss_carpet.place"); + RegistryKey BLOCK_MOSS_CARPET_PLACE = RegistryKey.of("block.moss_carpet.place"); - RegistryKey BLOCK_MOSS_CARPET_STEP = RegistryKey.unsafeOf("block.moss_carpet.step"); + RegistryKey BLOCK_MOSS_CARPET_STEP = RegistryKey.of("block.moss_carpet.step"); - RegistryKey BLOCK_MUD_BREAK = RegistryKey.unsafeOf("block.mud.break"); + RegistryKey BLOCK_MUD_BREAK = RegistryKey.of("block.mud.break"); - RegistryKey BLOCK_MUD_FALL = RegistryKey.unsafeOf("block.mud.fall"); + RegistryKey BLOCK_MUD_FALL = RegistryKey.of("block.mud.fall"); - RegistryKey BLOCK_MUD_HIT = RegistryKey.unsafeOf("block.mud.hit"); + RegistryKey BLOCK_MUD_HIT = RegistryKey.of("block.mud.hit"); - RegistryKey BLOCK_MUD_PLACE = RegistryKey.unsafeOf("block.mud.place"); + RegistryKey BLOCK_MUD_PLACE = RegistryKey.of("block.mud.place"); - RegistryKey BLOCK_MUD_STEP = RegistryKey.unsafeOf("block.mud.step"); + RegistryKey BLOCK_MUD_STEP = RegistryKey.of("block.mud.step"); - RegistryKey BLOCK_MUD_BRICKS_BREAK = RegistryKey.unsafeOf("block.mud_bricks.break"); + RegistryKey BLOCK_MUD_BRICKS_BREAK = RegistryKey.of("block.mud_bricks.break"); - RegistryKey BLOCK_MUD_BRICKS_FALL = RegistryKey.unsafeOf("block.mud_bricks.fall"); + RegistryKey BLOCK_MUD_BRICKS_FALL = RegistryKey.of("block.mud_bricks.fall"); - RegistryKey BLOCK_MUD_BRICKS_HIT = RegistryKey.unsafeOf("block.mud_bricks.hit"); + RegistryKey BLOCK_MUD_BRICKS_HIT = RegistryKey.of("block.mud_bricks.hit"); - RegistryKey BLOCK_MUD_BRICKS_PLACE = RegistryKey.unsafeOf("block.mud_bricks.place"); + RegistryKey BLOCK_MUD_BRICKS_PLACE = RegistryKey.of("block.mud_bricks.place"); - RegistryKey BLOCK_MUD_BRICKS_STEP = RegistryKey.unsafeOf("block.mud_bricks.step"); + RegistryKey BLOCK_MUD_BRICKS_STEP = RegistryKey.of("block.mud_bricks.step"); - RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_BREAK = RegistryKey.unsafeOf("block.muddy_mangrove_roots.break"); + RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_BREAK = RegistryKey.of("block.muddy_mangrove_roots.break"); - RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_FALL = RegistryKey.unsafeOf("block.muddy_mangrove_roots.fall"); + RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_FALL = RegistryKey.of("block.muddy_mangrove_roots.fall"); - RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_HIT = RegistryKey.unsafeOf("block.muddy_mangrove_roots.hit"); + RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_HIT = RegistryKey.of("block.muddy_mangrove_roots.hit"); - RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_PLACE = RegistryKey.unsafeOf("block.muddy_mangrove_roots.place"); + RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_PLACE = RegistryKey.of("block.muddy_mangrove_roots.place"); - RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_STEP = RegistryKey.unsafeOf("block.muddy_mangrove_roots.step"); + RegistryKey BLOCK_MUDDY_MANGROVE_ROOTS_STEP = RegistryKey.of("block.muddy_mangrove_roots.step"); - RegistryKey BLOCK_NETHER_BRICKS_BREAK = RegistryKey.unsafeOf("block.nether_bricks.break"); + RegistryKey BLOCK_NETHER_BRICKS_BREAK = RegistryKey.of("block.nether_bricks.break"); - RegistryKey BLOCK_NETHER_BRICKS_FALL = RegistryKey.unsafeOf("block.nether_bricks.fall"); + RegistryKey BLOCK_NETHER_BRICKS_FALL = RegistryKey.of("block.nether_bricks.fall"); - RegistryKey BLOCK_NETHER_BRICKS_HIT = RegistryKey.unsafeOf("block.nether_bricks.hit"); + RegistryKey BLOCK_NETHER_BRICKS_HIT = RegistryKey.of("block.nether_bricks.hit"); - RegistryKey BLOCK_NETHER_BRICKS_PLACE = RegistryKey.unsafeOf("block.nether_bricks.place"); + RegistryKey BLOCK_NETHER_BRICKS_PLACE = RegistryKey.of("block.nether_bricks.place"); - RegistryKey BLOCK_NETHER_BRICKS_STEP = RegistryKey.unsafeOf("block.nether_bricks.step"); + RegistryKey BLOCK_NETHER_BRICKS_STEP = RegistryKey.of("block.nether_bricks.step"); - RegistryKey BLOCK_NETHER_GOLD_ORE_BREAK = RegistryKey.unsafeOf("block.nether_gold_ore.break"); + RegistryKey BLOCK_NETHER_GOLD_ORE_BREAK = RegistryKey.of("block.nether_gold_ore.break"); - RegistryKey BLOCK_NETHER_GOLD_ORE_FALL = RegistryKey.unsafeOf("block.nether_gold_ore.fall"); + RegistryKey BLOCK_NETHER_GOLD_ORE_FALL = RegistryKey.of("block.nether_gold_ore.fall"); - RegistryKey BLOCK_NETHER_GOLD_ORE_HIT = RegistryKey.unsafeOf("block.nether_gold_ore.hit"); + RegistryKey BLOCK_NETHER_GOLD_ORE_HIT = RegistryKey.of("block.nether_gold_ore.hit"); - RegistryKey BLOCK_NETHER_GOLD_ORE_PLACE = RegistryKey.unsafeOf("block.nether_gold_ore.place"); + RegistryKey BLOCK_NETHER_GOLD_ORE_PLACE = RegistryKey.of("block.nether_gold_ore.place"); - RegistryKey BLOCK_NETHER_GOLD_ORE_STEP = RegistryKey.unsafeOf("block.nether_gold_ore.step"); + RegistryKey BLOCK_NETHER_GOLD_ORE_STEP = RegistryKey.of("block.nether_gold_ore.step"); - RegistryKey BLOCK_NETHER_ORE_BREAK = RegistryKey.unsafeOf("block.nether_ore.break"); + RegistryKey BLOCK_NETHER_ORE_BREAK = RegistryKey.of("block.nether_ore.break"); - RegistryKey BLOCK_NETHER_ORE_FALL = RegistryKey.unsafeOf("block.nether_ore.fall"); + RegistryKey BLOCK_NETHER_ORE_FALL = RegistryKey.of("block.nether_ore.fall"); - RegistryKey BLOCK_NETHER_ORE_HIT = RegistryKey.unsafeOf("block.nether_ore.hit"); + RegistryKey BLOCK_NETHER_ORE_HIT = RegistryKey.of("block.nether_ore.hit"); - RegistryKey BLOCK_NETHER_ORE_PLACE = RegistryKey.unsafeOf("block.nether_ore.place"); + RegistryKey BLOCK_NETHER_ORE_PLACE = RegistryKey.of("block.nether_ore.place"); - RegistryKey BLOCK_NETHER_ORE_STEP = RegistryKey.unsafeOf("block.nether_ore.step"); + RegistryKey BLOCK_NETHER_ORE_STEP = RegistryKey.of("block.nether_ore.step"); - RegistryKey BLOCK_NETHER_SPROUTS_BREAK = RegistryKey.unsafeOf("block.nether_sprouts.break"); + RegistryKey BLOCK_NETHER_SPROUTS_BREAK = RegistryKey.of("block.nether_sprouts.break"); - RegistryKey BLOCK_NETHER_SPROUTS_FALL = RegistryKey.unsafeOf("block.nether_sprouts.fall"); + RegistryKey BLOCK_NETHER_SPROUTS_FALL = RegistryKey.of("block.nether_sprouts.fall"); - RegistryKey BLOCK_NETHER_SPROUTS_HIT = RegistryKey.unsafeOf("block.nether_sprouts.hit"); + RegistryKey BLOCK_NETHER_SPROUTS_HIT = RegistryKey.of("block.nether_sprouts.hit"); - RegistryKey BLOCK_NETHER_SPROUTS_PLACE = RegistryKey.unsafeOf("block.nether_sprouts.place"); + RegistryKey BLOCK_NETHER_SPROUTS_PLACE = RegistryKey.of("block.nether_sprouts.place"); - RegistryKey BLOCK_NETHER_SPROUTS_STEP = RegistryKey.unsafeOf("block.nether_sprouts.step"); + RegistryKey BLOCK_NETHER_SPROUTS_STEP = RegistryKey.of("block.nether_sprouts.step"); - RegistryKey BLOCK_NETHER_WART_BREAK = RegistryKey.unsafeOf("block.nether_wart.break"); + RegistryKey BLOCK_NETHER_WART_BREAK = RegistryKey.of("block.nether_wart.break"); - RegistryKey BLOCK_NETHER_WOOD_BREAK = RegistryKey.unsafeOf("block.nether_wood.break"); + RegistryKey BLOCK_NETHER_WOOD_BREAK = RegistryKey.of("block.nether_wood.break"); - RegistryKey BLOCK_NETHER_WOOD_FALL = RegistryKey.unsafeOf("block.nether_wood.fall"); + RegistryKey BLOCK_NETHER_WOOD_FALL = RegistryKey.of("block.nether_wood.fall"); - RegistryKey BLOCK_NETHER_WOOD_HIT = RegistryKey.unsafeOf("block.nether_wood.hit"); + RegistryKey BLOCK_NETHER_WOOD_HIT = RegistryKey.of("block.nether_wood.hit"); - RegistryKey BLOCK_NETHER_WOOD_PLACE = RegistryKey.unsafeOf("block.nether_wood.place"); + RegistryKey BLOCK_NETHER_WOOD_PLACE = RegistryKey.of("block.nether_wood.place"); - RegistryKey BLOCK_NETHER_WOOD_STEP = RegistryKey.unsafeOf("block.nether_wood.step"); + RegistryKey BLOCK_NETHER_WOOD_STEP = RegistryKey.of("block.nether_wood.step"); - RegistryKey BLOCK_NETHER_WOOD_BUTTON_CLICK_OFF = RegistryKey.unsafeOf("block.nether_wood_button.click_off"); + RegistryKey BLOCK_NETHER_WOOD_BUTTON_CLICK_OFF = RegistryKey.of("block.nether_wood_button.click_off"); - RegistryKey BLOCK_NETHER_WOOD_BUTTON_CLICK_ON = RegistryKey.unsafeOf("block.nether_wood_button.click_on"); + RegistryKey BLOCK_NETHER_WOOD_BUTTON_CLICK_ON = RegistryKey.of("block.nether_wood_button.click_on"); - RegistryKey BLOCK_NETHER_WOOD_DOOR_CLOSE = RegistryKey.unsafeOf("block.nether_wood_door.close"); + RegistryKey BLOCK_NETHER_WOOD_DOOR_CLOSE = RegistryKey.of("block.nether_wood_door.close"); - RegistryKey BLOCK_NETHER_WOOD_DOOR_OPEN = RegistryKey.unsafeOf("block.nether_wood_door.open"); + RegistryKey BLOCK_NETHER_WOOD_DOOR_OPEN = RegistryKey.of("block.nether_wood_door.open"); - RegistryKey BLOCK_NETHER_WOOD_FENCE_GATE_CLOSE = RegistryKey.unsafeOf("block.nether_wood_fence_gate.close"); + RegistryKey BLOCK_NETHER_WOOD_FENCE_GATE_CLOSE = RegistryKey.of("block.nether_wood_fence_gate.close"); - RegistryKey BLOCK_NETHER_WOOD_FENCE_GATE_OPEN = RegistryKey.unsafeOf("block.nether_wood_fence_gate.open"); + RegistryKey BLOCK_NETHER_WOOD_FENCE_GATE_OPEN = RegistryKey.of("block.nether_wood_fence_gate.open"); - RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_BREAK = RegistryKey.unsafeOf("block.nether_wood_hanging_sign.break"); + RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_BREAK = RegistryKey.of("block.nether_wood_hanging_sign.break"); - RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_FALL = RegistryKey.unsafeOf("block.nether_wood_hanging_sign.fall"); + RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_FALL = RegistryKey.of("block.nether_wood_hanging_sign.fall"); - RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_HIT = RegistryKey.unsafeOf("block.nether_wood_hanging_sign.hit"); + RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_HIT = RegistryKey.of("block.nether_wood_hanging_sign.hit"); - RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_PLACE = RegistryKey.unsafeOf("block.nether_wood_hanging_sign.place"); + RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_PLACE = RegistryKey.of("block.nether_wood_hanging_sign.place"); - RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_STEP = RegistryKey.unsafeOf("block.nether_wood_hanging_sign.step"); + RegistryKey BLOCK_NETHER_WOOD_HANGING_SIGN_STEP = RegistryKey.of("block.nether_wood_hanging_sign.step"); - RegistryKey BLOCK_NETHER_WOOD_PRESSURE_PLATE_CLICK_OFF = RegistryKey.unsafeOf("block.nether_wood_pressure_plate.click_off"); + RegistryKey BLOCK_NETHER_WOOD_PRESSURE_PLATE_CLICK_OFF = RegistryKey.of("block.nether_wood_pressure_plate.click_off"); - RegistryKey BLOCK_NETHER_WOOD_PRESSURE_PLATE_CLICK_ON = RegistryKey.unsafeOf("block.nether_wood_pressure_plate.click_on"); + RegistryKey BLOCK_NETHER_WOOD_PRESSURE_PLATE_CLICK_ON = RegistryKey.of("block.nether_wood_pressure_plate.click_on"); - RegistryKey BLOCK_NETHER_WOOD_TRAPDOOR_CLOSE = RegistryKey.unsafeOf("block.nether_wood_trapdoor.close"); + RegistryKey BLOCK_NETHER_WOOD_TRAPDOOR_CLOSE = RegistryKey.of("block.nether_wood_trapdoor.close"); - RegistryKey BLOCK_NETHER_WOOD_TRAPDOOR_OPEN = RegistryKey.unsafeOf("block.nether_wood_trapdoor.open"); + RegistryKey BLOCK_NETHER_WOOD_TRAPDOOR_OPEN = RegistryKey.of("block.nether_wood_trapdoor.open"); - RegistryKey BLOCK_NETHERITE_BLOCK_BREAK = RegistryKey.unsafeOf("block.netherite_block.break"); + RegistryKey BLOCK_NETHERITE_BLOCK_BREAK = RegistryKey.of("block.netherite_block.break"); - RegistryKey BLOCK_NETHERITE_BLOCK_FALL = RegistryKey.unsafeOf("block.netherite_block.fall"); + RegistryKey BLOCK_NETHERITE_BLOCK_FALL = RegistryKey.of("block.netherite_block.fall"); - RegistryKey BLOCK_NETHERITE_BLOCK_HIT = RegistryKey.unsafeOf("block.netherite_block.hit"); + RegistryKey BLOCK_NETHERITE_BLOCK_HIT = RegistryKey.of("block.netherite_block.hit"); - RegistryKey BLOCK_NETHERITE_BLOCK_PLACE = RegistryKey.unsafeOf("block.netherite_block.place"); + RegistryKey BLOCK_NETHERITE_BLOCK_PLACE = RegistryKey.of("block.netherite_block.place"); - RegistryKey BLOCK_NETHERITE_BLOCK_STEP = RegistryKey.unsafeOf("block.netherite_block.step"); + RegistryKey BLOCK_NETHERITE_BLOCK_STEP = RegistryKey.of("block.netherite_block.step"); - RegistryKey BLOCK_NETHERRACK_BREAK = RegistryKey.unsafeOf("block.netherrack.break"); + RegistryKey BLOCK_NETHERRACK_BREAK = RegistryKey.of("block.netherrack.break"); - RegistryKey BLOCK_NETHERRACK_FALL = RegistryKey.unsafeOf("block.netherrack.fall"); + RegistryKey BLOCK_NETHERRACK_FALL = RegistryKey.of("block.netherrack.fall"); - RegistryKey BLOCK_NETHERRACK_HIT = RegistryKey.unsafeOf("block.netherrack.hit"); + RegistryKey BLOCK_NETHERRACK_HIT = RegistryKey.of("block.netherrack.hit"); - RegistryKey BLOCK_NETHERRACK_PLACE = RegistryKey.unsafeOf("block.netherrack.place"); + RegistryKey BLOCK_NETHERRACK_PLACE = RegistryKey.of("block.netherrack.place"); - RegistryKey BLOCK_NETHERRACK_STEP = RegistryKey.unsafeOf("block.netherrack.step"); + RegistryKey BLOCK_NETHERRACK_STEP = RegistryKey.of("block.netherrack.step"); - RegistryKey BLOCK_NOTE_BLOCK_BANJO = RegistryKey.unsafeOf("block.note_block.banjo"); + RegistryKey BLOCK_NOTE_BLOCK_BANJO = RegistryKey.of("block.note_block.banjo"); - RegistryKey BLOCK_NOTE_BLOCK_BASEDRUM = RegistryKey.unsafeOf("block.note_block.basedrum"); + RegistryKey BLOCK_NOTE_BLOCK_BASEDRUM = RegistryKey.of("block.note_block.basedrum"); - RegistryKey BLOCK_NOTE_BLOCK_BASS = RegistryKey.unsafeOf("block.note_block.bass"); + RegistryKey BLOCK_NOTE_BLOCK_BASS = RegistryKey.of("block.note_block.bass"); - RegistryKey BLOCK_NOTE_BLOCK_BELL = RegistryKey.unsafeOf("block.note_block.bell"); + RegistryKey BLOCK_NOTE_BLOCK_BELL = RegistryKey.of("block.note_block.bell"); - RegistryKey BLOCK_NOTE_BLOCK_BIT = RegistryKey.unsafeOf("block.note_block.bit"); + RegistryKey BLOCK_NOTE_BLOCK_BIT = RegistryKey.of("block.note_block.bit"); - RegistryKey BLOCK_NOTE_BLOCK_CHIME = RegistryKey.unsafeOf("block.note_block.chime"); + RegistryKey BLOCK_NOTE_BLOCK_CHIME = RegistryKey.of("block.note_block.chime"); - RegistryKey BLOCK_NOTE_BLOCK_COW_BELL = RegistryKey.unsafeOf("block.note_block.cow_bell"); + RegistryKey BLOCK_NOTE_BLOCK_COW_BELL = RegistryKey.of("block.note_block.cow_bell"); - RegistryKey BLOCK_NOTE_BLOCK_DIDGERIDOO = RegistryKey.unsafeOf("block.note_block.didgeridoo"); + RegistryKey BLOCK_NOTE_BLOCK_DIDGERIDOO = RegistryKey.of("block.note_block.didgeridoo"); - RegistryKey BLOCK_NOTE_BLOCK_FLUTE = RegistryKey.unsafeOf("block.note_block.flute"); + RegistryKey BLOCK_NOTE_BLOCK_FLUTE = RegistryKey.of("block.note_block.flute"); - RegistryKey BLOCK_NOTE_BLOCK_GUITAR = RegistryKey.unsafeOf("block.note_block.guitar"); + RegistryKey BLOCK_NOTE_BLOCK_GUITAR = RegistryKey.of("block.note_block.guitar"); - RegistryKey BLOCK_NOTE_BLOCK_HARP = RegistryKey.unsafeOf("block.note_block.harp"); + RegistryKey BLOCK_NOTE_BLOCK_HARP = RegistryKey.of("block.note_block.harp"); - RegistryKey BLOCK_NOTE_BLOCK_HAT = RegistryKey.unsafeOf("block.note_block.hat"); + RegistryKey BLOCK_NOTE_BLOCK_HAT = RegistryKey.of("block.note_block.hat"); - RegistryKey BLOCK_NOTE_BLOCK_IMITATE_CREEPER = RegistryKey.unsafeOf("block.note_block.imitate.creeper"); + RegistryKey BLOCK_NOTE_BLOCK_IMITATE_CREEPER = RegistryKey.of("block.note_block.imitate.creeper"); - RegistryKey BLOCK_NOTE_BLOCK_IMITATE_ENDER_DRAGON = RegistryKey.unsafeOf("block.note_block.imitate.ender_dragon"); + RegistryKey BLOCK_NOTE_BLOCK_IMITATE_ENDER_DRAGON = RegistryKey.of("block.note_block.imitate.ender_dragon"); - RegistryKey BLOCK_NOTE_BLOCK_IMITATE_PIGLIN = RegistryKey.unsafeOf("block.note_block.imitate.piglin"); + RegistryKey BLOCK_NOTE_BLOCK_IMITATE_PIGLIN = RegistryKey.of("block.note_block.imitate.piglin"); - RegistryKey BLOCK_NOTE_BLOCK_IMITATE_SKELETON = RegistryKey.unsafeOf("block.note_block.imitate.skeleton"); + RegistryKey BLOCK_NOTE_BLOCK_IMITATE_SKELETON = RegistryKey.of("block.note_block.imitate.skeleton"); - RegistryKey BLOCK_NOTE_BLOCK_IMITATE_WITHER_SKELETON = RegistryKey.unsafeOf("block.note_block.imitate.wither_skeleton"); + RegistryKey BLOCK_NOTE_BLOCK_IMITATE_WITHER_SKELETON = RegistryKey.of("block.note_block.imitate.wither_skeleton"); - RegistryKey BLOCK_NOTE_BLOCK_IMITATE_ZOMBIE = RegistryKey.unsafeOf("block.note_block.imitate.zombie"); + RegistryKey BLOCK_NOTE_BLOCK_IMITATE_ZOMBIE = RegistryKey.of("block.note_block.imitate.zombie"); - RegistryKey BLOCK_NOTE_BLOCK_IRON_XYLOPHONE = RegistryKey.unsafeOf("block.note_block.iron_xylophone"); + RegistryKey BLOCK_NOTE_BLOCK_IRON_XYLOPHONE = RegistryKey.of("block.note_block.iron_xylophone"); - RegistryKey BLOCK_NOTE_BLOCK_PLING = RegistryKey.unsafeOf("block.note_block.pling"); + RegistryKey BLOCK_NOTE_BLOCK_PLING = RegistryKey.of("block.note_block.pling"); - RegistryKey BLOCK_NOTE_BLOCK_SNARE = RegistryKey.unsafeOf("block.note_block.snare"); + RegistryKey BLOCK_NOTE_BLOCK_SNARE = RegistryKey.of("block.note_block.snare"); - RegistryKey BLOCK_NOTE_BLOCK_TRUMPET = RegistryKey.unsafeOf("block.note_block.trumpet"); + RegistryKey BLOCK_NOTE_BLOCK_TRUMPET = RegistryKey.of("block.note_block.trumpet"); - RegistryKey BLOCK_NOTE_BLOCK_TRUMPET_EXPOSED = RegistryKey.unsafeOf("block.note_block.trumpet_exposed"); + RegistryKey BLOCK_NOTE_BLOCK_TRUMPET_EXPOSED = RegistryKey.of("block.note_block.trumpet_exposed"); - RegistryKey BLOCK_NOTE_BLOCK_TRUMPET_OXIDIZED = RegistryKey.unsafeOf("block.note_block.trumpet_oxidized"); + RegistryKey BLOCK_NOTE_BLOCK_TRUMPET_OXIDIZED = RegistryKey.of("block.note_block.trumpet_oxidized"); - RegistryKey BLOCK_NOTE_BLOCK_TRUMPET_WEATHERED = RegistryKey.unsafeOf("block.note_block.trumpet_weathered"); + RegistryKey BLOCK_NOTE_BLOCK_TRUMPET_WEATHERED = RegistryKey.of("block.note_block.trumpet_weathered"); - RegistryKey BLOCK_NOTE_BLOCK_XYLOPHONE = RegistryKey.unsafeOf("block.note_block.xylophone"); + RegistryKey BLOCK_NOTE_BLOCK_XYLOPHONE = RegistryKey.of("block.note_block.xylophone"); - RegistryKey BLOCK_NYLIUM_BREAK = RegistryKey.unsafeOf("block.nylium.break"); + RegistryKey BLOCK_NYLIUM_BREAK = RegistryKey.of("block.nylium.break"); - RegistryKey BLOCK_NYLIUM_FALL = RegistryKey.unsafeOf("block.nylium.fall"); + RegistryKey BLOCK_NYLIUM_FALL = RegistryKey.of("block.nylium.fall"); - RegistryKey BLOCK_NYLIUM_HIT = RegistryKey.unsafeOf("block.nylium.hit"); + RegistryKey BLOCK_NYLIUM_HIT = RegistryKey.of("block.nylium.hit"); - RegistryKey BLOCK_NYLIUM_PLACE = RegistryKey.unsafeOf("block.nylium.place"); + RegistryKey BLOCK_NYLIUM_PLACE = RegistryKey.of("block.nylium.place"); - RegistryKey BLOCK_NYLIUM_STEP = RegistryKey.unsafeOf("block.nylium.step"); + RegistryKey BLOCK_NYLIUM_STEP = RegistryKey.of("block.nylium.step"); - RegistryKey BLOCK_PACKED_MUD_BREAK = RegistryKey.unsafeOf("block.packed_mud.break"); + RegistryKey BLOCK_PACKED_MUD_BREAK = RegistryKey.of("block.packed_mud.break"); - RegistryKey BLOCK_PACKED_MUD_FALL = RegistryKey.unsafeOf("block.packed_mud.fall"); + RegistryKey BLOCK_PACKED_MUD_FALL = RegistryKey.of("block.packed_mud.fall"); - RegistryKey BLOCK_PACKED_MUD_HIT = RegistryKey.unsafeOf("block.packed_mud.hit"); + RegistryKey BLOCK_PACKED_MUD_HIT = RegistryKey.of("block.packed_mud.hit"); - RegistryKey BLOCK_PACKED_MUD_PLACE = RegistryKey.unsafeOf("block.packed_mud.place"); + RegistryKey BLOCK_PACKED_MUD_PLACE = RegistryKey.of("block.packed_mud.place"); - RegistryKey BLOCK_PACKED_MUD_STEP = RegistryKey.unsafeOf("block.packed_mud.step"); + RegistryKey BLOCK_PACKED_MUD_STEP = RegistryKey.of("block.packed_mud.step"); - RegistryKey BLOCK_PALE_HANGING_MOSS_IDLE = RegistryKey.unsafeOf("block.pale_hanging_moss.idle"); + RegistryKey BLOCK_PALE_HANGING_MOSS_IDLE = RegistryKey.of("block.pale_hanging_moss.idle"); - RegistryKey BLOCK_PINK_PETALS_BREAK = RegistryKey.unsafeOf("block.pink_petals.break"); + RegistryKey BLOCK_PINK_PETALS_BREAK = RegistryKey.of("block.pink_petals.break"); - RegistryKey BLOCK_PINK_PETALS_FALL = RegistryKey.unsafeOf("block.pink_petals.fall"); + RegistryKey BLOCK_PINK_PETALS_FALL = RegistryKey.of("block.pink_petals.fall"); - RegistryKey BLOCK_PINK_PETALS_HIT = RegistryKey.unsafeOf("block.pink_petals.hit"); + RegistryKey BLOCK_PINK_PETALS_HIT = RegistryKey.of("block.pink_petals.hit"); - RegistryKey BLOCK_PINK_PETALS_PLACE = RegistryKey.unsafeOf("block.pink_petals.place"); + RegistryKey BLOCK_PINK_PETALS_PLACE = RegistryKey.of("block.pink_petals.place"); - RegistryKey BLOCK_PINK_PETALS_STEP = RegistryKey.unsafeOf("block.pink_petals.step"); + RegistryKey BLOCK_PINK_PETALS_STEP = RegistryKey.of("block.pink_petals.step"); - RegistryKey BLOCK_PISTON_CONTRACT = RegistryKey.unsafeOf("block.piston.contract"); + RegistryKey BLOCK_PISTON_CONTRACT = RegistryKey.of("block.piston.contract"); - RegistryKey BLOCK_PISTON_EXTEND = RegistryKey.unsafeOf("block.piston.extend"); + RegistryKey BLOCK_PISTON_EXTEND = RegistryKey.of("block.piston.extend"); - RegistryKey BLOCK_POINTED_DRIPSTONE_BREAK = RegistryKey.unsafeOf("block.pointed_dripstone.break"); + RegistryKey BLOCK_POINTED_DRIPSTONE_BREAK = RegistryKey.of("block.pointed_dripstone.break"); - RegistryKey BLOCK_POINTED_DRIPSTONE_DRIP_LAVA = RegistryKey.unsafeOf("block.pointed_dripstone.drip_lava"); + RegistryKey BLOCK_POINTED_DRIPSTONE_DRIP_LAVA = RegistryKey.of("block.pointed_dripstone.drip_lava"); - RegistryKey BLOCK_POINTED_DRIPSTONE_DRIP_LAVA_INTO_CAULDRON = RegistryKey.unsafeOf("block.pointed_dripstone.drip_lava_into_cauldron"); + RegistryKey BLOCK_POINTED_DRIPSTONE_DRIP_LAVA_INTO_CAULDRON = RegistryKey.of("block.pointed_dripstone.drip_lava_into_cauldron"); - RegistryKey BLOCK_POINTED_DRIPSTONE_DRIP_WATER = RegistryKey.unsafeOf("block.pointed_dripstone.drip_water"); + RegistryKey BLOCK_POINTED_DRIPSTONE_DRIP_WATER = RegistryKey.of("block.pointed_dripstone.drip_water"); - RegistryKey BLOCK_POINTED_DRIPSTONE_DRIP_WATER_INTO_CAULDRON = RegistryKey.unsafeOf("block.pointed_dripstone.drip_water_into_cauldron"); + RegistryKey BLOCK_POINTED_DRIPSTONE_DRIP_WATER_INTO_CAULDRON = RegistryKey.of("block.pointed_dripstone.drip_water_into_cauldron"); - RegistryKey BLOCK_POINTED_DRIPSTONE_FALL = RegistryKey.unsafeOf("block.pointed_dripstone.fall"); + RegistryKey BLOCK_POINTED_DRIPSTONE_FALL = RegistryKey.of("block.pointed_dripstone.fall"); - RegistryKey BLOCK_POINTED_DRIPSTONE_HIT = RegistryKey.unsafeOf("block.pointed_dripstone.hit"); + RegistryKey BLOCK_POINTED_DRIPSTONE_HIT = RegistryKey.of("block.pointed_dripstone.hit"); - RegistryKey BLOCK_POINTED_DRIPSTONE_LAND = RegistryKey.unsafeOf("block.pointed_dripstone.land"); + RegistryKey BLOCK_POINTED_DRIPSTONE_LAND = RegistryKey.of("block.pointed_dripstone.land"); - RegistryKey BLOCK_POINTED_DRIPSTONE_PLACE = RegistryKey.unsafeOf("block.pointed_dripstone.place"); + RegistryKey BLOCK_POINTED_DRIPSTONE_PLACE = RegistryKey.of("block.pointed_dripstone.place"); - RegistryKey BLOCK_POINTED_DRIPSTONE_STEP = RegistryKey.unsafeOf("block.pointed_dripstone.step"); + RegistryKey BLOCK_POINTED_DRIPSTONE_STEP = RegistryKey.of("block.pointed_dripstone.step"); - RegistryKey BLOCK_POLISHED_DEEPSLATE_BREAK = RegistryKey.unsafeOf("block.polished_deepslate.break"); + RegistryKey BLOCK_POLISHED_DEEPSLATE_BREAK = RegistryKey.of("block.polished_deepslate.break"); - RegistryKey BLOCK_POLISHED_DEEPSLATE_FALL = RegistryKey.unsafeOf("block.polished_deepslate.fall"); + RegistryKey BLOCK_POLISHED_DEEPSLATE_FALL = RegistryKey.of("block.polished_deepslate.fall"); - RegistryKey BLOCK_POLISHED_DEEPSLATE_HIT = RegistryKey.unsafeOf("block.polished_deepslate.hit"); + RegistryKey BLOCK_POLISHED_DEEPSLATE_HIT = RegistryKey.of("block.polished_deepslate.hit"); - RegistryKey BLOCK_POLISHED_DEEPSLATE_PLACE = RegistryKey.unsafeOf("block.polished_deepslate.place"); + RegistryKey BLOCK_POLISHED_DEEPSLATE_PLACE = RegistryKey.of("block.polished_deepslate.place"); - RegistryKey BLOCK_POLISHED_DEEPSLATE_STEP = RegistryKey.unsafeOf("block.polished_deepslate.step"); + RegistryKey BLOCK_POLISHED_DEEPSLATE_STEP = RegistryKey.of("block.polished_deepslate.step"); - RegistryKey BLOCK_POLISHED_TUFF_BREAK = RegistryKey.unsafeOf("block.polished_tuff.break"); + RegistryKey BLOCK_POLISHED_TUFF_BREAK = RegistryKey.of("block.polished_tuff.break"); - RegistryKey BLOCK_POLISHED_TUFF_FALL = RegistryKey.unsafeOf("block.polished_tuff.fall"); + RegistryKey BLOCK_POLISHED_TUFF_FALL = RegistryKey.of("block.polished_tuff.fall"); - RegistryKey BLOCK_POLISHED_TUFF_HIT = RegistryKey.unsafeOf("block.polished_tuff.hit"); + RegistryKey BLOCK_POLISHED_TUFF_HIT = RegistryKey.of("block.polished_tuff.hit"); - RegistryKey BLOCK_POLISHED_TUFF_PLACE = RegistryKey.unsafeOf("block.polished_tuff.place"); + RegistryKey BLOCK_POLISHED_TUFF_PLACE = RegistryKey.of("block.polished_tuff.place"); - RegistryKey BLOCK_POLISHED_TUFF_STEP = RegistryKey.unsafeOf("block.polished_tuff.step"); + RegistryKey BLOCK_POLISHED_TUFF_STEP = RegistryKey.of("block.polished_tuff.step"); - RegistryKey BLOCK_PORTAL_AMBIENT = RegistryKey.unsafeOf("block.portal.ambient"); + RegistryKey BLOCK_PORTAL_AMBIENT = RegistryKey.of("block.portal.ambient"); - RegistryKey BLOCK_PORTAL_TRAVEL = RegistryKey.unsafeOf("block.portal.travel"); + RegistryKey BLOCK_PORTAL_TRAVEL = RegistryKey.of("block.portal.travel"); - RegistryKey BLOCK_PORTAL_TRIGGER = RegistryKey.unsafeOf("block.portal.trigger"); + RegistryKey BLOCK_PORTAL_TRIGGER = RegistryKey.of("block.portal.trigger"); - RegistryKey BLOCK_POTENT_SULFUR_BREAK = RegistryKey.unsafeOf("block.potent_sulfur.break"); + RegistryKey BLOCK_POTENT_SULFUR_BREAK = RegistryKey.of("block.potent_sulfur.break"); - RegistryKey BLOCK_POTENT_SULFUR_FALL = RegistryKey.unsafeOf("block.potent_sulfur.fall"); + RegistryKey BLOCK_POTENT_SULFUR_FALL = RegistryKey.of("block.potent_sulfur.fall"); - RegistryKey BLOCK_POTENT_SULFUR_GEYSER_CONTINUOUS_ERUPTION = RegistryKey.unsafeOf("block.potent_sulfur.geyser_continuous_eruption"); + RegistryKey BLOCK_POTENT_SULFUR_GEYSER_CONTINUOUS_ERUPTION = RegistryKey.of("block.potent_sulfur.geyser_continuous_eruption"); - RegistryKey BLOCK_POTENT_SULFUR_GEYSER_CONTINUOUS_ERUPTION_ACTIVE = RegistryKey.unsafeOf("block.potent_sulfur.geyser_continuous_eruption_active"); + RegistryKey BLOCK_POTENT_SULFUR_GEYSER_CONTINUOUS_ERUPTION_ACTIVE = RegistryKey.of("block.potent_sulfur.geyser_continuous_eruption_active"); - RegistryKey BLOCK_POTENT_SULFUR_GEYSER_ERUPTION = RegistryKey.unsafeOf("block.potent_sulfur.geyser_eruption"); + RegistryKey BLOCK_POTENT_SULFUR_GEYSER_ERUPTION = RegistryKey.of("block.potent_sulfur.geyser_eruption"); - RegistryKey BLOCK_POTENT_SULFUR_GEYSER_ERUPTION_ACTIVE = RegistryKey.unsafeOf("block.potent_sulfur.geyser_eruption_active"); + RegistryKey BLOCK_POTENT_SULFUR_GEYSER_ERUPTION_ACTIVE = RegistryKey.of("block.potent_sulfur.geyser_eruption_active"); - RegistryKey BLOCK_POTENT_SULFUR_HIT = RegistryKey.unsafeOf("block.potent_sulfur.hit"); + RegistryKey BLOCK_POTENT_SULFUR_HIT = RegistryKey.of("block.potent_sulfur.hit"); - RegistryKey BLOCK_POTENT_SULFUR_NOXIOUS_GAS = RegistryKey.unsafeOf("block.potent_sulfur.noxious_gas"); + RegistryKey BLOCK_POTENT_SULFUR_NOXIOUS_GAS = RegistryKey.of("block.potent_sulfur.noxious_gas"); - RegistryKey BLOCK_POTENT_SULFUR_PLACE = RegistryKey.unsafeOf("block.potent_sulfur.place"); + RegistryKey BLOCK_POTENT_SULFUR_PLACE = RegistryKey.of("block.potent_sulfur.place"); - RegistryKey BLOCK_POTENT_SULFUR_STEP = RegistryKey.unsafeOf("block.potent_sulfur.step"); + RegistryKey BLOCK_POTENT_SULFUR_STEP = RegistryKey.of("block.potent_sulfur.step"); - RegistryKey BLOCK_POWDER_SNOW_BREAK = RegistryKey.unsafeOf("block.powder_snow.break"); + RegistryKey BLOCK_POWDER_SNOW_BREAK = RegistryKey.of("block.powder_snow.break"); - RegistryKey BLOCK_POWDER_SNOW_FALL = RegistryKey.unsafeOf("block.powder_snow.fall"); + RegistryKey BLOCK_POWDER_SNOW_FALL = RegistryKey.of("block.powder_snow.fall"); - RegistryKey BLOCK_POWDER_SNOW_HIT = RegistryKey.unsafeOf("block.powder_snow.hit"); + RegistryKey BLOCK_POWDER_SNOW_HIT = RegistryKey.of("block.powder_snow.hit"); - RegistryKey BLOCK_POWDER_SNOW_PLACE = RegistryKey.unsafeOf("block.powder_snow.place"); + RegistryKey BLOCK_POWDER_SNOW_PLACE = RegistryKey.of("block.powder_snow.place"); - RegistryKey BLOCK_POWDER_SNOW_STEP = RegistryKey.unsafeOf("block.powder_snow.step"); + RegistryKey BLOCK_POWDER_SNOW_STEP = RegistryKey.of("block.powder_snow.step"); - RegistryKey BLOCK_PUMPKIN_CARVE = RegistryKey.unsafeOf("block.pumpkin.carve"); + RegistryKey BLOCK_PUMPKIN_CARVE = RegistryKey.of("block.pumpkin.carve"); - RegistryKey BLOCK_REDSTONE_TORCH_BURNOUT = RegistryKey.unsafeOf("block.redstone_torch.burnout"); + RegistryKey BLOCK_REDSTONE_TORCH_BURNOUT = RegistryKey.of("block.redstone_torch.burnout"); - RegistryKey BLOCK_RESIN_BREAK = RegistryKey.unsafeOf("block.resin.break"); + RegistryKey BLOCK_RESIN_BREAK = RegistryKey.of("block.resin.break"); - RegistryKey BLOCK_RESIN_FALL = RegistryKey.unsafeOf("block.resin.fall"); + RegistryKey BLOCK_RESIN_FALL = RegistryKey.of("block.resin.fall"); - RegistryKey BLOCK_RESIN_PLACE = RegistryKey.unsafeOf("block.resin.place"); + RegistryKey BLOCK_RESIN_PLACE = RegistryKey.of("block.resin.place"); - RegistryKey BLOCK_RESIN_STEP = RegistryKey.unsafeOf("block.resin.step"); + RegistryKey BLOCK_RESIN_STEP = RegistryKey.of("block.resin.step"); - RegistryKey BLOCK_RESIN_BRICKS_BREAK = RegistryKey.unsafeOf("block.resin_bricks.break"); + RegistryKey BLOCK_RESIN_BRICKS_BREAK = RegistryKey.of("block.resin_bricks.break"); - RegistryKey BLOCK_RESIN_BRICKS_FALL = RegistryKey.unsafeOf("block.resin_bricks.fall"); + RegistryKey BLOCK_RESIN_BRICKS_FALL = RegistryKey.of("block.resin_bricks.fall"); - RegistryKey BLOCK_RESIN_BRICKS_HIT = RegistryKey.unsafeOf("block.resin_bricks.hit"); + RegistryKey BLOCK_RESIN_BRICKS_HIT = RegistryKey.of("block.resin_bricks.hit"); - RegistryKey BLOCK_RESIN_BRICKS_PLACE = RegistryKey.unsafeOf("block.resin_bricks.place"); + RegistryKey BLOCK_RESIN_BRICKS_PLACE = RegistryKey.of("block.resin_bricks.place"); - RegistryKey BLOCK_RESIN_BRICKS_STEP = RegistryKey.unsafeOf("block.resin_bricks.step"); + RegistryKey BLOCK_RESIN_BRICKS_STEP = RegistryKey.of("block.resin_bricks.step"); - RegistryKey BLOCK_RESPAWN_ANCHOR_AMBIENT = RegistryKey.unsafeOf("block.respawn_anchor.ambient"); + RegistryKey BLOCK_RESPAWN_ANCHOR_AMBIENT = RegistryKey.of("block.respawn_anchor.ambient"); - RegistryKey BLOCK_RESPAWN_ANCHOR_CHARGE = RegistryKey.unsafeOf("block.respawn_anchor.charge"); + RegistryKey BLOCK_RESPAWN_ANCHOR_CHARGE = RegistryKey.of("block.respawn_anchor.charge"); - RegistryKey BLOCK_RESPAWN_ANCHOR_DEPLETE = RegistryKey.unsafeOf("block.respawn_anchor.deplete"); + RegistryKey BLOCK_RESPAWN_ANCHOR_DEPLETE = RegistryKey.of("block.respawn_anchor.deplete"); - RegistryKey BLOCK_RESPAWN_ANCHOR_SET_SPAWN = RegistryKey.unsafeOf("block.respawn_anchor.set_spawn"); + RegistryKey BLOCK_RESPAWN_ANCHOR_SET_SPAWN = RegistryKey.of("block.respawn_anchor.set_spawn"); - RegistryKey BLOCK_ROOTED_DIRT_BREAK = RegistryKey.unsafeOf("block.rooted_dirt.break"); + RegistryKey BLOCK_ROOTED_DIRT_BREAK = RegistryKey.of("block.rooted_dirt.break"); - RegistryKey BLOCK_ROOTED_DIRT_FALL = RegistryKey.unsafeOf("block.rooted_dirt.fall"); + RegistryKey BLOCK_ROOTED_DIRT_FALL = RegistryKey.of("block.rooted_dirt.fall"); - RegistryKey BLOCK_ROOTED_DIRT_HIT = RegistryKey.unsafeOf("block.rooted_dirt.hit"); + RegistryKey BLOCK_ROOTED_DIRT_HIT = RegistryKey.of("block.rooted_dirt.hit"); - RegistryKey BLOCK_ROOTED_DIRT_PLACE = RegistryKey.unsafeOf("block.rooted_dirt.place"); + RegistryKey BLOCK_ROOTED_DIRT_PLACE = RegistryKey.of("block.rooted_dirt.place"); - RegistryKey BLOCK_ROOTED_DIRT_STEP = RegistryKey.unsafeOf("block.rooted_dirt.step"); + RegistryKey BLOCK_ROOTED_DIRT_STEP = RegistryKey.of("block.rooted_dirt.step"); - RegistryKey BLOCK_ROOTS_BREAK = RegistryKey.unsafeOf("block.roots.break"); + RegistryKey BLOCK_ROOTS_BREAK = RegistryKey.of("block.roots.break"); - RegistryKey BLOCK_ROOTS_FALL = RegistryKey.unsafeOf("block.roots.fall"); + RegistryKey BLOCK_ROOTS_FALL = RegistryKey.of("block.roots.fall"); - RegistryKey BLOCK_ROOTS_HIT = RegistryKey.unsafeOf("block.roots.hit"); + RegistryKey BLOCK_ROOTS_HIT = RegistryKey.of("block.roots.hit"); - RegistryKey BLOCK_ROOTS_PLACE = RegistryKey.unsafeOf("block.roots.place"); + RegistryKey BLOCK_ROOTS_PLACE = RegistryKey.of("block.roots.place"); - RegistryKey BLOCK_ROOTS_STEP = RegistryKey.unsafeOf("block.roots.step"); + RegistryKey BLOCK_ROOTS_STEP = RegistryKey.of("block.roots.step"); - RegistryKey BLOCK_SAND_BREAK = RegistryKey.unsafeOf("block.sand.break"); + RegistryKey BLOCK_SAND_BREAK = RegistryKey.of("block.sand.break"); - RegistryKey BLOCK_SAND_FALL = RegistryKey.unsafeOf("block.sand.fall"); + RegistryKey BLOCK_SAND_FALL = RegistryKey.of("block.sand.fall"); - RegistryKey BLOCK_SAND_HIT = RegistryKey.unsafeOf("block.sand.hit"); + RegistryKey BLOCK_SAND_HIT = RegistryKey.of("block.sand.hit"); - RegistryKey BLOCK_SAND_IDLE = RegistryKey.unsafeOf("block.sand.idle"); + RegistryKey BLOCK_SAND_IDLE = RegistryKey.of("block.sand.idle"); - RegistryKey BLOCK_SAND_PLACE = RegistryKey.unsafeOf("block.sand.place"); + RegistryKey BLOCK_SAND_PLACE = RegistryKey.of("block.sand.place"); - RegistryKey BLOCK_SAND_STEP = RegistryKey.unsafeOf("block.sand.step"); + RegistryKey BLOCK_SAND_STEP = RegistryKey.of("block.sand.step"); - RegistryKey BLOCK_SCAFFOLDING_BREAK = RegistryKey.unsafeOf("block.scaffolding.break"); + RegistryKey BLOCK_SCAFFOLDING_BREAK = RegistryKey.of("block.scaffolding.break"); - RegistryKey BLOCK_SCAFFOLDING_FALL = RegistryKey.unsafeOf("block.scaffolding.fall"); + RegistryKey BLOCK_SCAFFOLDING_FALL = RegistryKey.of("block.scaffolding.fall"); - RegistryKey BLOCK_SCAFFOLDING_HIT = RegistryKey.unsafeOf("block.scaffolding.hit"); + RegistryKey BLOCK_SCAFFOLDING_HIT = RegistryKey.of("block.scaffolding.hit"); - RegistryKey BLOCK_SCAFFOLDING_PLACE = RegistryKey.unsafeOf("block.scaffolding.place"); + RegistryKey BLOCK_SCAFFOLDING_PLACE = RegistryKey.of("block.scaffolding.place"); - RegistryKey BLOCK_SCAFFOLDING_STEP = RegistryKey.unsafeOf("block.scaffolding.step"); + RegistryKey BLOCK_SCAFFOLDING_STEP = RegistryKey.of("block.scaffolding.step"); - RegistryKey BLOCK_SCULK_BREAK = RegistryKey.unsafeOf("block.sculk.break"); + RegistryKey BLOCK_SCULK_BREAK = RegistryKey.of("block.sculk.break"); - RegistryKey BLOCK_SCULK_CHARGE = RegistryKey.unsafeOf("block.sculk.charge"); + RegistryKey BLOCK_SCULK_CHARGE = RegistryKey.of("block.sculk.charge"); - RegistryKey BLOCK_SCULK_FALL = RegistryKey.unsafeOf("block.sculk.fall"); + RegistryKey BLOCK_SCULK_FALL = RegistryKey.of("block.sculk.fall"); - RegistryKey BLOCK_SCULK_HIT = RegistryKey.unsafeOf("block.sculk.hit"); + RegistryKey BLOCK_SCULK_HIT = RegistryKey.of("block.sculk.hit"); - RegistryKey BLOCK_SCULK_PLACE = RegistryKey.unsafeOf("block.sculk.place"); + RegistryKey BLOCK_SCULK_PLACE = RegistryKey.of("block.sculk.place"); - RegistryKey BLOCK_SCULK_SPREAD = RegistryKey.unsafeOf("block.sculk.spread"); + RegistryKey BLOCK_SCULK_SPREAD = RegistryKey.of("block.sculk.spread"); - RegistryKey BLOCK_SCULK_STEP = RegistryKey.unsafeOf("block.sculk.step"); + RegistryKey BLOCK_SCULK_STEP = RegistryKey.of("block.sculk.step"); - RegistryKey BLOCK_SCULK_CATALYST_BLOOM = RegistryKey.unsafeOf("block.sculk_catalyst.bloom"); + RegistryKey BLOCK_SCULK_CATALYST_BLOOM = RegistryKey.of("block.sculk_catalyst.bloom"); - RegistryKey BLOCK_SCULK_CATALYST_BREAK = RegistryKey.unsafeOf("block.sculk_catalyst.break"); + RegistryKey BLOCK_SCULK_CATALYST_BREAK = RegistryKey.of("block.sculk_catalyst.break"); - RegistryKey BLOCK_SCULK_CATALYST_FALL = RegistryKey.unsafeOf("block.sculk_catalyst.fall"); + RegistryKey BLOCK_SCULK_CATALYST_FALL = RegistryKey.of("block.sculk_catalyst.fall"); - RegistryKey BLOCK_SCULK_CATALYST_HIT = RegistryKey.unsafeOf("block.sculk_catalyst.hit"); + RegistryKey BLOCK_SCULK_CATALYST_HIT = RegistryKey.of("block.sculk_catalyst.hit"); - RegistryKey BLOCK_SCULK_CATALYST_PLACE = RegistryKey.unsafeOf("block.sculk_catalyst.place"); + RegistryKey BLOCK_SCULK_CATALYST_PLACE = RegistryKey.of("block.sculk_catalyst.place"); - RegistryKey BLOCK_SCULK_CATALYST_STEP = RegistryKey.unsafeOf("block.sculk_catalyst.step"); + RegistryKey BLOCK_SCULK_CATALYST_STEP = RegistryKey.of("block.sculk_catalyst.step"); - RegistryKey BLOCK_SCULK_SENSOR_BREAK = RegistryKey.unsafeOf("block.sculk_sensor.break"); + RegistryKey BLOCK_SCULK_SENSOR_BREAK = RegistryKey.of("block.sculk_sensor.break"); - RegistryKey BLOCK_SCULK_SENSOR_CLICKING = RegistryKey.unsafeOf("block.sculk_sensor.clicking"); + RegistryKey BLOCK_SCULK_SENSOR_CLICKING = RegistryKey.of("block.sculk_sensor.clicking"); - RegistryKey BLOCK_SCULK_SENSOR_CLICKING_STOP = RegistryKey.unsafeOf("block.sculk_sensor.clicking_stop"); + RegistryKey BLOCK_SCULK_SENSOR_CLICKING_STOP = RegistryKey.of("block.sculk_sensor.clicking_stop"); - RegistryKey BLOCK_SCULK_SENSOR_FALL = RegistryKey.unsafeOf("block.sculk_sensor.fall"); + RegistryKey BLOCK_SCULK_SENSOR_FALL = RegistryKey.of("block.sculk_sensor.fall"); - RegistryKey BLOCK_SCULK_SENSOR_HIT = RegistryKey.unsafeOf("block.sculk_sensor.hit"); + RegistryKey BLOCK_SCULK_SENSOR_HIT = RegistryKey.of("block.sculk_sensor.hit"); - RegistryKey BLOCK_SCULK_SENSOR_PLACE = RegistryKey.unsafeOf("block.sculk_sensor.place"); + RegistryKey BLOCK_SCULK_SENSOR_PLACE = RegistryKey.of("block.sculk_sensor.place"); - RegistryKey BLOCK_SCULK_SENSOR_STEP = RegistryKey.unsafeOf("block.sculk_sensor.step"); + RegistryKey BLOCK_SCULK_SENSOR_STEP = RegistryKey.of("block.sculk_sensor.step"); - RegistryKey BLOCK_SCULK_SHRIEKER_BREAK = RegistryKey.unsafeOf("block.sculk_shrieker.break"); + RegistryKey BLOCK_SCULK_SHRIEKER_BREAK = RegistryKey.of("block.sculk_shrieker.break"); - RegistryKey BLOCK_SCULK_SHRIEKER_FALL = RegistryKey.unsafeOf("block.sculk_shrieker.fall"); + RegistryKey BLOCK_SCULK_SHRIEKER_FALL = RegistryKey.of("block.sculk_shrieker.fall"); - RegistryKey BLOCK_SCULK_SHRIEKER_HIT = RegistryKey.unsafeOf("block.sculk_shrieker.hit"); + RegistryKey BLOCK_SCULK_SHRIEKER_HIT = RegistryKey.of("block.sculk_shrieker.hit"); - RegistryKey BLOCK_SCULK_SHRIEKER_PLACE = RegistryKey.unsafeOf("block.sculk_shrieker.place"); + RegistryKey BLOCK_SCULK_SHRIEKER_PLACE = RegistryKey.of("block.sculk_shrieker.place"); - RegistryKey BLOCK_SCULK_SHRIEKER_SHRIEK = RegistryKey.unsafeOf("block.sculk_shrieker.shriek"); + RegistryKey BLOCK_SCULK_SHRIEKER_SHRIEK = RegistryKey.of("block.sculk_shrieker.shriek"); - RegistryKey BLOCK_SCULK_SHRIEKER_STEP = RegistryKey.unsafeOf("block.sculk_shrieker.step"); + RegistryKey BLOCK_SCULK_SHRIEKER_STEP = RegistryKey.of("block.sculk_shrieker.step"); - RegistryKey BLOCK_SCULK_VEIN_BREAK = RegistryKey.unsafeOf("block.sculk_vein.break"); + RegistryKey BLOCK_SCULK_VEIN_BREAK = RegistryKey.of("block.sculk_vein.break"); - RegistryKey BLOCK_SCULK_VEIN_FALL = RegistryKey.unsafeOf("block.sculk_vein.fall"); + RegistryKey BLOCK_SCULK_VEIN_FALL = RegistryKey.of("block.sculk_vein.fall"); - RegistryKey BLOCK_SCULK_VEIN_HIT = RegistryKey.unsafeOf("block.sculk_vein.hit"); + RegistryKey BLOCK_SCULK_VEIN_HIT = RegistryKey.of("block.sculk_vein.hit"); - RegistryKey BLOCK_SCULK_VEIN_PLACE = RegistryKey.unsafeOf("block.sculk_vein.place"); + RegistryKey BLOCK_SCULK_VEIN_PLACE = RegistryKey.of("block.sculk_vein.place"); - RegistryKey BLOCK_SCULK_VEIN_STEP = RegistryKey.unsafeOf("block.sculk_vein.step"); + RegistryKey BLOCK_SCULK_VEIN_STEP = RegistryKey.of("block.sculk_vein.step"); - RegistryKey BLOCK_SHELF_ACTIVATE = RegistryKey.unsafeOf("block.shelf.activate"); + RegistryKey BLOCK_SHELF_ACTIVATE = RegistryKey.of("block.shelf.activate"); - RegistryKey BLOCK_SHELF_BREAK = RegistryKey.unsafeOf("block.shelf.break"); + RegistryKey BLOCK_SHELF_BREAK = RegistryKey.of("block.shelf.break"); - RegistryKey BLOCK_SHELF_DEACTIVATE = RegistryKey.unsafeOf("block.shelf.deactivate"); + RegistryKey BLOCK_SHELF_DEACTIVATE = RegistryKey.of("block.shelf.deactivate"); - RegistryKey BLOCK_SHELF_FALL = RegistryKey.unsafeOf("block.shelf.fall"); + RegistryKey BLOCK_SHELF_FALL = RegistryKey.of("block.shelf.fall"); - RegistryKey BLOCK_SHELF_HIT = RegistryKey.unsafeOf("block.shelf.hit"); + RegistryKey BLOCK_SHELF_HIT = RegistryKey.of("block.shelf.hit"); - RegistryKey BLOCK_SHELF_MULTI_SWAP = RegistryKey.unsafeOf("block.shelf.multi_swap"); + RegistryKey BLOCK_SHELF_MULTI_SWAP = RegistryKey.of("block.shelf.multi_swap"); - RegistryKey BLOCK_SHELF_PLACE = RegistryKey.unsafeOf("block.shelf.place"); + RegistryKey BLOCK_SHELF_PLACE = RegistryKey.of("block.shelf.place"); - RegistryKey BLOCK_SHELF_PLACE_ITEM = RegistryKey.unsafeOf("block.shelf.place_item"); + RegistryKey BLOCK_SHELF_PLACE_ITEM = RegistryKey.of("block.shelf.place_item"); - RegistryKey BLOCK_SHELF_SINGLE_SWAP = RegistryKey.unsafeOf("block.shelf.single_swap"); + RegistryKey BLOCK_SHELF_SINGLE_SWAP = RegistryKey.of("block.shelf.single_swap"); - RegistryKey BLOCK_SHELF_STEP = RegistryKey.unsafeOf("block.shelf.step"); + RegistryKey BLOCK_SHELF_STEP = RegistryKey.of("block.shelf.step"); - RegistryKey BLOCK_SHELF_TAKE_ITEM = RegistryKey.unsafeOf("block.shelf.take_item"); + RegistryKey BLOCK_SHELF_TAKE_ITEM = RegistryKey.of("block.shelf.take_item"); - RegistryKey BLOCK_SHROOMLIGHT_BREAK = RegistryKey.unsafeOf("block.shroomlight.break"); + RegistryKey BLOCK_SHROOMLIGHT_BREAK = RegistryKey.of("block.shroomlight.break"); - RegistryKey BLOCK_SHROOMLIGHT_FALL = RegistryKey.unsafeOf("block.shroomlight.fall"); + RegistryKey BLOCK_SHROOMLIGHT_FALL = RegistryKey.of("block.shroomlight.fall"); - RegistryKey BLOCK_SHROOMLIGHT_HIT = RegistryKey.unsafeOf("block.shroomlight.hit"); + RegistryKey BLOCK_SHROOMLIGHT_HIT = RegistryKey.of("block.shroomlight.hit"); - RegistryKey BLOCK_SHROOMLIGHT_PLACE = RegistryKey.unsafeOf("block.shroomlight.place"); + RegistryKey BLOCK_SHROOMLIGHT_PLACE = RegistryKey.of("block.shroomlight.place"); - RegistryKey BLOCK_SHROOMLIGHT_STEP = RegistryKey.unsafeOf("block.shroomlight.step"); + RegistryKey BLOCK_SHROOMLIGHT_STEP = RegistryKey.of("block.shroomlight.step"); - RegistryKey BLOCK_SHULKER_BOX_CLOSE = RegistryKey.unsafeOf("block.shulker_box.close"); + RegistryKey BLOCK_SHULKER_BOX_CLOSE = RegistryKey.of("block.shulker_box.close"); - RegistryKey BLOCK_SHULKER_BOX_OPEN = RegistryKey.unsafeOf("block.shulker_box.open"); + RegistryKey BLOCK_SHULKER_BOX_OPEN = RegistryKey.of("block.shulker_box.open"); - RegistryKey BLOCK_SIGN_WAXED_INTERACT_FAIL = RegistryKey.unsafeOf("block.sign.waxed_interact_fail"); + RegistryKey BLOCK_SIGN_WAXED_INTERACT_FAIL = RegistryKey.of("block.sign.waxed_interact_fail"); - RegistryKey BLOCK_SLIME_BLOCK_BREAK = RegistryKey.unsafeOf("block.slime_block.break"); + RegistryKey BLOCK_SLIME_BLOCK_BREAK = RegistryKey.of("block.slime_block.break"); - RegistryKey BLOCK_SLIME_BLOCK_FALL = RegistryKey.unsafeOf("block.slime_block.fall"); + RegistryKey BLOCK_SLIME_BLOCK_FALL = RegistryKey.of("block.slime_block.fall"); - RegistryKey BLOCK_SLIME_BLOCK_HIT = RegistryKey.unsafeOf("block.slime_block.hit"); + RegistryKey BLOCK_SLIME_BLOCK_HIT = RegistryKey.of("block.slime_block.hit"); - RegistryKey BLOCK_SLIME_BLOCK_PLACE = RegistryKey.unsafeOf("block.slime_block.place"); + RegistryKey BLOCK_SLIME_BLOCK_PLACE = RegistryKey.of("block.slime_block.place"); - RegistryKey BLOCK_SLIME_BLOCK_STEP = RegistryKey.unsafeOf("block.slime_block.step"); + RegistryKey BLOCK_SLIME_BLOCK_STEP = RegistryKey.of("block.slime_block.step"); - RegistryKey BLOCK_SMALL_AMETHYST_BUD_BREAK = RegistryKey.unsafeOf("block.small_amethyst_bud.break"); + RegistryKey BLOCK_SMALL_AMETHYST_BUD_BREAK = RegistryKey.of("block.small_amethyst_bud.break"); - RegistryKey BLOCK_SMALL_AMETHYST_BUD_PLACE = RegistryKey.unsafeOf("block.small_amethyst_bud.place"); + RegistryKey BLOCK_SMALL_AMETHYST_BUD_PLACE = RegistryKey.of("block.small_amethyst_bud.place"); - RegistryKey BLOCK_SMALL_DRIPLEAF_BREAK = RegistryKey.unsafeOf("block.small_dripleaf.break"); + RegistryKey BLOCK_SMALL_DRIPLEAF_BREAK = RegistryKey.of("block.small_dripleaf.break"); - RegistryKey BLOCK_SMALL_DRIPLEAF_FALL = RegistryKey.unsafeOf("block.small_dripleaf.fall"); + RegistryKey BLOCK_SMALL_DRIPLEAF_FALL = RegistryKey.of("block.small_dripleaf.fall"); - RegistryKey BLOCK_SMALL_DRIPLEAF_HIT = RegistryKey.unsafeOf("block.small_dripleaf.hit"); + RegistryKey BLOCK_SMALL_DRIPLEAF_HIT = RegistryKey.of("block.small_dripleaf.hit"); - RegistryKey BLOCK_SMALL_DRIPLEAF_PLACE = RegistryKey.unsafeOf("block.small_dripleaf.place"); + RegistryKey BLOCK_SMALL_DRIPLEAF_PLACE = RegistryKey.of("block.small_dripleaf.place"); - RegistryKey BLOCK_SMALL_DRIPLEAF_STEP = RegistryKey.unsafeOf("block.small_dripleaf.step"); + RegistryKey BLOCK_SMALL_DRIPLEAF_STEP = RegistryKey.of("block.small_dripleaf.step"); - RegistryKey BLOCK_SMITHING_TABLE_USE = RegistryKey.unsafeOf("block.smithing_table.use"); + RegistryKey BLOCK_SMITHING_TABLE_USE = RegistryKey.of("block.smithing_table.use"); - RegistryKey BLOCK_SMOKER_SMOKE = RegistryKey.unsafeOf("block.smoker.smoke"); + RegistryKey BLOCK_SMOKER_SMOKE = RegistryKey.of("block.smoker.smoke"); - RegistryKey BLOCK_SNIFFER_EGG_CRACK = RegistryKey.unsafeOf("block.sniffer_egg.crack"); + RegistryKey BLOCK_SNIFFER_EGG_CRACK = RegistryKey.of("block.sniffer_egg.crack"); - RegistryKey BLOCK_SNIFFER_EGG_HATCH = RegistryKey.unsafeOf("block.sniffer_egg.hatch"); + RegistryKey BLOCK_SNIFFER_EGG_HATCH = RegistryKey.of("block.sniffer_egg.hatch"); - RegistryKey BLOCK_SNIFFER_EGG_PLOP = RegistryKey.unsafeOf("block.sniffer_egg.plop"); + RegistryKey BLOCK_SNIFFER_EGG_PLOP = RegistryKey.of("block.sniffer_egg.plop"); - RegistryKey BLOCK_SNOW_BREAK = RegistryKey.unsafeOf("block.snow.break"); + RegistryKey BLOCK_SNOW_BREAK = RegistryKey.of("block.snow.break"); - RegistryKey BLOCK_SNOW_FALL = RegistryKey.unsafeOf("block.snow.fall"); + RegistryKey BLOCK_SNOW_FALL = RegistryKey.of("block.snow.fall"); - RegistryKey BLOCK_SNOW_HIT = RegistryKey.unsafeOf("block.snow.hit"); + RegistryKey BLOCK_SNOW_HIT = RegistryKey.of("block.snow.hit"); - RegistryKey BLOCK_SNOW_PLACE = RegistryKey.unsafeOf("block.snow.place"); + RegistryKey BLOCK_SNOW_PLACE = RegistryKey.of("block.snow.place"); - RegistryKey BLOCK_SNOW_STEP = RegistryKey.unsafeOf("block.snow.step"); + RegistryKey BLOCK_SNOW_STEP = RegistryKey.of("block.snow.step"); - RegistryKey BLOCK_SOUL_SAND_BREAK = RegistryKey.unsafeOf("block.soul_sand.break"); + RegistryKey BLOCK_SOUL_SAND_BREAK = RegistryKey.of("block.soul_sand.break"); - RegistryKey BLOCK_SOUL_SAND_FALL = RegistryKey.unsafeOf("block.soul_sand.fall"); + RegistryKey BLOCK_SOUL_SAND_FALL = RegistryKey.of("block.soul_sand.fall"); - RegistryKey BLOCK_SOUL_SAND_HIT = RegistryKey.unsafeOf("block.soul_sand.hit"); + RegistryKey BLOCK_SOUL_SAND_HIT = RegistryKey.of("block.soul_sand.hit"); - RegistryKey BLOCK_SOUL_SAND_PLACE = RegistryKey.unsafeOf("block.soul_sand.place"); + RegistryKey BLOCK_SOUL_SAND_PLACE = RegistryKey.of("block.soul_sand.place"); - RegistryKey BLOCK_SOUL_SAND_STEP = RegistryKey.unsafeOf("block.soul_sand.step"); + RegistryKey BLOCK_SOUL_SAND_STEP = RegistryKey.of("block.soul_sand.step"); - RegistryKey BLOCK_SOUL_SOIL_BREAK = RegistryKey.unsafeOf("block.soul_soil.break"); + RegistryKey BLOCK_SOUL_SOIL_BREAK = RegistryKey.of("block.soul_soil.break"); - RegistryKey BLOCK_SOUL_SOIL_FALL = RegistryKey.unsafeOf("block.soul_soil.fall"); + RegistryKey BLOCK_SOUL_SOIL_FALL = RegistryKey.of("block.soul_soil.fall"); - RegistryKey BLOCK_SOUL_SOIL_HIT = RegistryKey.unsafeOf("block.soul_soil.hit"); + RegistryKey BLOCK_SOUL_SOIL_HIT = RegistryKey.of("block.soul_soil.hit"); - RegistryKey BLOCK_SOUL_SOIL_PLACE = RegistryKey.unsafeOf("block.soul_soil.place"); + RegistryKey BLOCK_SOUL_SOIL_PLACE = RegistryKey.of("block.soul_soil.place"); - RegistryKey BLOCK_SOUL_SOIL_STEP = RegistryKey.unsafeOf("block.soul_soil.step"); + RegistryKey BLOCK_SOUL_SOIL_STEP = RegistryKey.of("block.soul_soil.step"); - RegistryKey BLOCK_SPAWNER_BREAK = RegistryKey.unsafeOf("block.spawner.break"); + RegistryKey BLOCK_SPAWNER_BREAK = RegistryKey.of("block.spawner.break"); - RegistryKey BLOCK_SPAWNER_FALL = RegistryKey.unsafeOf("block.spawner.fall"); + RegistryKey BLOCK_SPAWNER_FALL = RegistryKey.of("block.spawner.fall"); - RegistryKey BLOCK_SPAWNER_HIT = RegistryKey.unsafeOf("block.spawner.hit"); + RegistryKey BLOCK_SPAWNER_HIT = RegistryKey.of("block.spawner.hit"); - RegistryKey BLOCK_SPAWNER_PLACE = RegistryKey.unsafeOf("block.spawner.place"); + RegistryKey BLOCK_SPAWNER_PLACE = RegistryKey.of("block.spawner.place"); - RegistryKey BLOCK_SPAWNER_STEP = RegistryKey.unsafeOf("block.spawner.step"); + RegistryKey BLOCK_SPAWNER_STEP = RegistryKey.of("block.spawner.step"); - RegistryKey BLOCK_SPONGE_ABSORB = RegistryKey.unsafeOf("block.sponge.absorb"); + RegistryKey BLOCK_SPONGE_ABSORB = RegistryKey.of("block.sponge.absorb"); - RegistryKey BLOCK_SPONGE_BREAK = RegistryKey.unsafeOf("block.sponge.break"); + RegistryKey BLOCK_SPONGE_BREAK = RegistryKey.of("block.sponge.break"); - RegistryKey BLOCK_SPONGE_FALL = RegistryKey.unsafeOf("block.sponge.fall"); + RegistryKey BLOCK_SPONGE_FALL = RegistryKey.of("block.sponge.fall"); - RegistryKey BLOCK_SPONGE_HIT = RegistryKey.unsafeOf("block.sponge.hit"); + RegistryKey BLOCK_SPONGE_HIT = RegistryKey.of("block.sponge.hit"); - RegistryKey BLOCK_SPONGE_PLACE = RegistryKey.unsafeOf("block.sponge.place"); + RegistryKey BLOCK_SPONGE_PLACE = RegistryKey.of("block.sponge.place"); - RegistryKey BLOCK_SPONGE_STEP = RegistryKey.unsafeOf("block.sponge.step"); + RegistryKey BLOCK_SPONGE_STEP = RegistryKey.of("block.sponge.step"); - RegistryKey BLOCK_SPORE_BLOSSOM_BREAK = RegistryKey.unsafeOf("block.spore_blossom.break"); + RegistryKey BLOCK_SPORE_BLOSSOM_BREAK = RegistryKey.of("block.spore_blossom.break"); - RegistryKey BLOCK_SPORE_BLOSSOM_FALL = RegistryKey.unsafeOf("block.spore_blossom.fall"); + RegistryKey BLOCK_SPORE_BLOSSOM_FALL = RegistryKey.of("block.spore_blossom.fall"); - RegistryKey BLOCK_SPORE_BLOSSOM_HIT = RegistryKey.unsafeOf("block.spore_blossom.hit"); + RegistryKey BLOCK_SPORE_BLOSSOM_HIT = RegistryKey.of("block.spore_blossom.hit"); - RegistryKey BLOCK_SPORE_BLOSSOM_PLACE = RegistryKey.unsafeOf("block.spore_blossom.place"); + RegistryKey BLOCK_SPORE_BLOSSOM_PLACE = RegistryKey.of("block.spore_blossom.place"); - RegistryKey BLOCK_SPORE_BLOSSOM_STEP = RegistryKey.unsafeOf("block.spore_blossom.step"); + RegistryKey BLOCK_SPORE_BLOSSOM_STEP = RegistryKey.of("block.spore_blossom.step"); - RegistryKey BLOCK_STEM_BREAK = RegistryKey.unsafeOf("block.stem.break"); + RegistryKey BLOCK_STEM_BREAK = RegistryKey.of("block.stem.break"); - RegistryKey BLOCK_STEM_FALL = RegistryKey.unsafeOf("block.stem.fall"); + RegistryKey BLOCK_STEM_FALL = RegistryKey.of("block.stem.fall"); - RegistryKey BLOCK_STEM_HIT = RegistryKey.unsafeOf("block.stem.hit"); + RegistryKey BLOCK_STEM_HIT = RegistryKey.of("block.stem.hit"); - RegistryKey BLOCK_STEM_PLACE = RegistryKey.unsafeOf("block.stem.place"); + RegistryKey BLOCK_STEM_PLACE = RegistryKey.of("block.stem.place"); - RegistryKey BLOCK_STEM_STEP = RegistryKey.unsafeOf("block.stem.step"); + RegistryKey BLOCK_STEM_STEP = RegistryKey.of("block.stem.step"); - RegistryKey BLOCK_STONE_BREAK = RegistryKey.unsafeOf("block.stone.break"); + RegistryKey BLOCK_STONE_BREAK = RegistryKey.of("block.stone.break"); - RegistryKey BLOCK_STONE_FALL = RegistryKey.unsafeOf("block.stone.fall"); + RegistryKey BLOCK_STONE_FALL = RegistryKey.of("block.stone.fall"); - RegistryKey BLOCK_STONE_HIT = RegistryKey.unsafeOf("block.stone.hit"); + RegistryKey BLOCK_STONE_HIT = RegistryKey.of("block.stone.hit"); - RegistryKey BLOCK_STONE_PLACE = RegistryKey.unsafeOf("block.stone.place"); + RegistryKey BLOCK_STONE_PLACE = RegistryKey.of("block.stone.place"); - RegistryKey BLOCK_STONE_STEP = RegistryKey.unsafeOf("block.stone.step"); + RegistryKey BLOCK_STONE_STEP = RegistryKey.of("block.stone.step"); - RegistryKey BLOCK_STONE_BUTTON_CLICK_OFF = RegistryKey.unsafeOf("block.stone_button.click_off"); + RegistryKey BLOCK_STONE_BUTTON_CLICK_OFF = RegistryKey.of("block.stone_button.click_off"); - RegistryKey BLOCK_STONE_BUTTON_CLICK_ON = RegistryKey.unsafeOf("block.stone_button.click_on"); + RegistryKey BLOCK_STONE_BUTTON_CLICK_ON = RegistryKey.of("block.stone_button.click_on"); - RegistryKey BLOCK_STONE_PRESSURE_PLATE_CLICK_OFF = RegistryKey.unsafeOf("block.stone_pressure_plate.click_off"); + RegistryKey BLOCK_STONE_PRESSURE_PLATE_CLICK_OFF = RegistryKey.of("block.stone_pressure_plate.click_off"); - RegistryKey BLOCK_STONE_PRESSURE_PLATE_CLICK_ON = RegistryKey.unsafeOf("block.stone_pressure_plate.click_on"); + RegistryKey BLOCK_STONE_PRESSURE_PLATE_CLICK_ON = RegistryKey.of("block.stone_pressure_plate.click_on"); - RegistryKey BLOCK_SULFUR_BREAK = RegistryKey.unsafeOf("block.sulfur.break"); + RegistryKey BLOCK_SULFUR_BREAK = RegistryKey.of("block.sulfur.break"); - RegistryKey BLOCK_SULFUR_FALL = RegistryKey.unsafeOf("block.sulfur.fall"); + RegistryKey BLOCK_SULFUR_FALL = RegistryKey.of("block.sulfur.fall"); - RegistryKey BLOCK_SULFUR_HIT = RegistryKey.unsafeOf("block.sulfur.hit"); + RegistryKey BLOCK_SULFUR_HIT = RegistryKey.of("block.sulfur.hit"); - RegistryKey BLOCK_SULFUR_PLACE = RegistryKey.unsafeOf("block.sulfur.place"); + RegistryKey BLOCK_SULFUR_PLACE = RegistryKey.of("block.sulfur.place"); - RegistryKey BLOCK_SULFUR_STEP = RegistryKey.unsafeOf("block.sulfur.step"); + RegistryKey BLOCK_SULFUR_STEP = RegistryKey.of("block.sulfur.step"); - RegistryKey BLOCK_SULFUR_SPIKE_BREAK = RegistryKey.unsafeOf("block.sulfur_spike.break"); + RegistryKey BLOCK_SULFUR_SPIKE_BREAK = RegistryKey.of("block.sulfur_spike.break"); - RegistryKey BLOCK_SULFUR_SPIKE_FALL = RegistryKey.unsafeOf("block.sulfur_spike.fall"); + RegistryKey BLOCK_SULFUR_SPIKE_FALL = RegistryKey.of("block.sulfur_spike.fall"); - RegistryKey BLOCK_SULFUR_SPIKE_HIT = RegistryKey.unsafeOf("block.sulfur_spike.hit"); + RegistryKey BLOCK_SULFUR_SPIKE_HIT = RegistryKey.of("block.sulfur_spike.hit"); - RegistryKey BLOCK_SULFUR_SPIKE_LAND = RegistryKey.unsafeOf("block.sulfur_spike.land"); + RegistryKey BLOCK_SULFUR_SPIKE_LAND = RegistryKey.of("block.sulfur_spike.land"); - RegistryKey BLOCK_SULFUR_SPIKE_PLACE = RegistryKey.unsafeOf("block.sulfur_spike.place"); + RegistryKey BLOCK_SULFUR_SPIKE_PLACE = RegistryKey.of("block.sulfur_spike.place"); - RegistryKey BLOCK_SULFUR_SPIKE_STEP = RegistryKey.unsafeOf("block.sulfur_spike.step"); + RegistryKey BLOCK_SULFUR_SPIKE_STEP = RegistryKey.of("block.sulfur_spike.step"); - RegistryKey BLOCK_SUSPICIOUS_GRAVEL_BREAK = RegistryKey.unsafeOf("block.suspicious_gravel.break"); + RegistryKey BLOCK_SUSPICIOUS_GRAVEL_BREAK = RegistryKey.of("block.suspicious_gravel.break"); - RegistryKey BLOCK_SUSPICIOUS_GRAVEL_FALL = RegistryKey.unsafeOf("block.suspicious_gravel.fall"); + RegistryKey BLOCK_SUSPICIOUS_GRAVEL_FALL = RegistryKey.of("block.suspicious_gravel.fall"); - RegistryKey BLOCK_SUSPICIOUS_GRAVEL_HIT = RegistryKey.unsafeOf("block.suspicious_gravel.hit"); + RegistryKey BLOCK_SUSPICIOUS_GRAVEL_HIT = RegistryKey.of("block.suspicious_gravel.hit"); - RegistryKey BLOCK_SUSPICIOUS_GRAVEL_PLACE = RegistryKey.unsafeOf("block.suspicious_gravel.place"); + RegistryKey BLOCK_SUSPICIOUS_GRAVEL_PLACE = RegistryKey.of("block.suspicious_gravel.place"); - RegistryKey BLOCK_SUSPICIOUS_GRAVEL_STEP = RegistryKey.unsafeOf("block.suspicious_gravel.step"); + RegistryKey BLOCK_SUSPICIOUS_GRAVEL_STEP = RegistryKey.of("block.suspicious_gravel.step"); - RegistryKey BLOCK_SUSPICIOUS_SAND_BREAK = RegistryKey.unsafeOf("block.suspicious_sand.break"); + RegistryKey BLOCK_SUSPICIOUS_SAND_BREAK = RegistryKey.of("block.suspicious_sand.break"); - RegistryKey BLOCK_SUSPICIOUS_SAND_FALL = RegistryKey.unsafeOf("block.suspicious_sand.fall"); + RegistryKey BLOCK_SUSPICIOUS_SAND_FALL = RegistryKey.of("block.suspicious_sand.fall"); - RegistryKey BLOCK_SUSPICIOUS_SAND_HIT = RegistryKey.unsafeOf("block.suspicious_sand.hit"); + RegistryKey BLOCK_SUSPICIOUS_SAND_HIT = RegistryKey.of("block.suspicious_sand.hit"); - RegistryKey BLOCK_SUSPICIOUS_SAND_PLACE = RegistryKey.unsafeOf("block.suspicious_sand.place"); + RegistryKey BLOCK_SUSPICIOUS_SAND_PLACE = RegistryKey.of("block.suspicious_sand.place"); - RegistryKey BLOCK_SUSPICIOUS_SAND_STEP = RegistryKey.unsafeOf("block.suspicious_sand.step"); + RegistryKey BLOCK_SUSPICIOUS_SAND_STEP = RegistryKey.of("block.suspicious_sand.step"); - RegistryKey BLOCK_SWEET_BERRY_BUSH_BREAK = RegistryKey.unsafeOf("block.sweet_berry_bush.break"); + RegistryKey BLOCK_SWEET_BERRY_BUSH_BREAK = RegistryKey.of("block.sweet_berry_bush.break"); - RegistryKey BLOCK_SWEET_BERRY_BUSH_PICK_BERRIES = RegistryKey.unsafeOf("block.sweet_berry_bush.pick_berries"); + RegistryKey BLOCK_SWEET_BERRY_BUSH_PICK_BERRIES = RegistryKey.of("block.sweet_berry_bush.pick_berries"); - RegistryKey BLOCK_SWEET_BERRY_BUSH_PLACE = RegistryKey.unsafeOf("block.sweet_berry_bush.place"); + RegistryKey BLOCK_SWEET_BERRY_BUSH_PLACE = RegistryKey.of("block.sweet_berry_bush.place"); - RegistryKey BLOCK_TRIAL_SPAWNER_ABOUT_TO_SPAWN_ITEM = RegistryKey.unsafeOf("block.trial_spawner.about_to_spawn_item"); + RegistryKey BLOCK_TRIAL_SPAWNER_ABOUT_TO_SPAWN_ITEM = RegistryKey.of("block.trial_spawner.about_to_spawn_item"); - RegistryKey BLOCK_TRIAL_SPAWNER_AMBIENT = RegistryKey.unsafeOf("block.trial_spawner.ambient"); + RegistryKey BLOCK_TRIAL_SPAWNER_AMBIENT = RegistryKey.of("block.trial_spawner.ambient"); - RegistryKey BLOCK_TRIAL_SPAWNER_AMBIENT_OMINOUS = RegistryKey.unsafeOf("block.trial_spawner.ambient_ominous"); + RegistryKey BLOCK_TRIAL_SPAWNER_AMBIENT_OMINOUS = RegistryKey.of("block.trial_spawner.ambient_ominous"); - RegistryKey BLOCK_TRIAL_SPAWNER_BREAK = RegistryKey.unsafeOf("block.trial_spawner.break"); + RegistryKey BLOCK_TRIAL_SPAWNER_BREAK = RegistryKey.of("block.trial_spawner.break"); - RegistryKey BLOCK_TRIAL_SPAWNER_CLOSE_SHUTTER = RegistryKey.unsafeOf("block.trial_spawner.close_shutter"); + RegistryKey BLOCK_TRIAL_SPAWNER_CLOSE_SHUTTER = RegistryKey.of("block.trial_spawner.close_shutter"); - RegistryKey BLOCK_TRIAL_SPAWNER_DETECT_PLAYER = RegistryKey.unsafeOf("block.trial_spawner.detect_player"); + RegistryKey BLOCK_TRIAL_SPAWNER_DETECT_PLAYER = RegistryKey.of("block.trial_spawner.detect_player"); - RegistryKey BLOCK_TRIAL_SPAWNER_EJECT_ITEM = RegistryKey.unsafeOf("block.trial_spawner.eject_item"); + RegistryKey BLOCK_TRIAL_SPAWNER_EJECT_ITEM = RegistryKey.of("block.trial_spawner.eject_item"); - RegistryKey BLOCK_TRIAL_SPAWNER_FALL = RegistryKey.unsafeOf("block.trial_spawner.fall"); + RegistryKey BLOCK_TRIAL_SPAWNER_FALL = RegistryKey.of("block.trial_spawner.fall"); - RegistryKey BLOCK_TRIAL_SPAWNER_HIT = RegistryKey.unsafeOf("block.trial_spawner.hit"); + RegistryKey BLOCK_TRIAL_SPAWNER_HIT = RegistryKey.of("block.trial_spawner.hit"); - RegistryKey BLOCK_TRIAL_SPAWNER_OMINOUS_ACTIVATE = RegistryKey.unsafeOf("block.trial_spawner.ominous_activate"); + RegistryKey BLOCK_TRIAL_SPAWNER_OMINOUS_ACTIVATE = RegistryKey.of("block.trial_spawner.ominous_activate"); - RegistryKey BLOCK_TRIAL_SPAWNER_OPEN_SHUTTER = RegistryKey.unsafeOf("block.trial_spawner.open_shutter"); + RegistryKey BLOCK_TRIAL_SPAWNER_OPEN_SHUTTER = RegistryKey.of("block.trial_spawner.open_shutter"); - RegistryKey BLOCK_TRIAL_SPAWNER_PLACE = RegistryKey.unsafeOf("block.trial_spawner.place"); + RegistryKey BLOCK_TRIAL_SPAWNER_PLACE = RegistryKey.of("block.trial_spawner.place"); - RegistryKey BLOCK_TRIAL_SPAWNER_SPAWN_ITEM = RegistryKey.unsafeOf("block.trial_spawner.spawn_item"); + RegistryKey BLOCK_TRIAL_SPAWNER_SPAWN_ITEM = RegistryKey.of("block.trial_spawner.spawn_item"); - RegistryKey BLOCK_TRIAL_SPAWNER_SPAWN_ITEM_BEGIN = RegistryKey.unsafeOf("block.trial_spawner.spawn_item_begin"); + RegistryKey BLOCK_TRIAL_SPAWNER_SPAWN_ITEM_BEGIN = RegistryKey.of("block.trial_spawner.spawn_item_begin"); - RegistryKey BLOCK_TRIAL_SPAWNER_SPAWN_MOB = RegistryKey.unsafeOf("block.trial_spawner.spawn_mob"); + RegistryKey BLOCK_TRIAL_SPAWNER_SPAWN_MOB = RegistryKey.of("block.trial_spawner.spawn_mob"); - RegistryKey BLOCK_TRIAL_SPAWNER_STEP = RegistryKey.unsafeOf("block.trial_spawner.step"); + RegistryKey BLOCK_TRIAL_SPAWNER_STEP = RegistryKey.of("block.trial_spawner.step"); - RegistryKey BLOCK_TRIPWIRE_ATTACH = RegistryKey.unsafeOf("block.tripwire.attach"); + RegistryKey BLOCK_TRIPWIRE_ATTACH = RegistryKey.of("block.tripwire.attach"); - RegistryKey BLOCK_TRIPWIRE_CLICK_OFF = RegistryKey.unsafeOf("block.tripwire.click_off"); + RegistryKey BLOCK_TRIPWIRE_CLICK_OFF = RegistryKey.of("block.tripwire.click_off"); - RegistryKey BLOCK_TRIPWIRE_CLICK_ON = RegistryKey.unsafeOf("block.tripwire.click_on"); + RegistryKey BLOCK_TRIPWIRE_CLICK_ON = RegistryKey.of("block.tripwire.click_on"); - RegistryKey BLOCK_TRIPWIRE_DETACH = RegistryKey.unsafeOf("block.tripwire.detach"); + RegistryKey BLOCK_TRIPWIRE_DETACH = RegistryKey.of("block.tripwire.detach"); - RegistryKey BLOCK_TUFF_BREAK = RegistryKey.unsafeOf("block.tuff.break"); + RegistryKey BLOCK_TUFF_BREAK = RegistryKey.of("block.tuff.break"); - RegistryKey BLOCK_TUFF_FALL = RegistryKey.unsafeOf("block.tuff.fall"); + RegistryKey BLOCK_TUFF_FALL = RegistryKey.of("block.tuff.fall"); - RegistryKey BLOCK_TUFF_HIT = RegistryKey.unsafeOf("block.tuff.hit"); + RegistryKey BLOCK_TUFF_HIT = RegistryKey.of("block.tuff.hit"); - RegistryKey BLOCK_TUFF_PLACE = RegistryKey.unsafeOf("block.tuff.place"); + RegistryKey BLOCK_TUFF_PLACE = RegistryKey.of("block.tuff.place"); - RegistryKey BLOCK_TUFF_STEP = RegistryKey.unsafeOf("block.tuff.step"); + RegistryKey BLOCK_TUFF_STEP = RegistryKey.of("block.tuff.step"); - RegistryKey BLOCK_TUFF_BRICKS_BREAK = RegistryKey.unsafeOf("block.tuff_bricks.break"); + RegistryKey BLOCK_TUFF_BRICKS_BREAK = RegistryKey.of("block.tuff_bricks.break"); - RegistryKey BLOCK_TUFF_BRICKS_FALL = RegistryKey.unsafeOf("block.tuff_bricks.fall"); + RegistryKey BLOCK_TUFF_BRICKS_FALL = RegistryKey.of("block.tuff_bricks.fall"); - RegistryKey BLOCK_TUFF_BRICKS_HIT = RegistryKey.unsafeOf("block.tuff_bricks.hit"); + RegistryKey BLOCK_TUFF_BRICKS_HIT = RegistryKey.of("block.tuff_bricks.hit"); - RegistryKey BLOCK_TUFF_BRICKS_PLACE = RegistryKey.unsafeOf("block.tuff_bricks.place"); + RegistryKey BLOCK_TUFF_BRICKS_PLACE = RegistryKey.of("block.tuff_bricks.place"); - RegistryKey BLOCK_TUFF_BRICKS_STEP = RegistryKey.unsafeOf("block.tuff_bricks.step"); + RegistryKey BLOCK_TUFF_BRICKS_STEP = RegistryKey.of("block.tuff_bricks.step"); - RegistryKey BLOCK_VAULT_ACTIVATE = RegistryKey.unsafeOf("block.vault.activate"); + RegistryKey BLOCK_VAULT_ACTIVATE = RegistryKey.of("block.vault.activate"); - RegistryKey BLOCK_VAULT_AMBIENT = RegistryKey.unsafeOf("block.vault.ambient"); + RegistryKey BLOCK_VAULT_AMBIENT = RegistryKey.of("block.vault.ambient"); - RegistryKey BLOCK_VAULT_BREAK = RegistryKey.unsafeOf("block.vault.break"); + RegistryKey BLOCK_VAULT_BREAK = RegistryKey.of("block.vault.break"); - RegistryKey BLOCK_VAULT_CLOSE_SHUTTER = RegistryKey.unsafeOf("block.vault.close_shutter"); + RegistryKey BLOCK_VAULT_CLOSE_SHUTTER = RegistryKey.of("block.vault.close_shutter"); - RegistryKey BLOCK_VAULT_DEACTIVATE = RegistryKey.unsafeOf("block.vault.deactivate"); + RegistryKey BLOCK_VAULT_DEACTIVATE = RegistryKey.of("block.vault.deactivate"); - RegistryKey BLOCK_VAULT_EJECT_ITEM = RegistryKey.unsafeOf("block.vault.eject_item"); + RegistryKey BLOCK_VAULT_EJECT_ITEM = RegistryKey.of("block.vault.eject_item"); - RegistryKey BLOCK_VAULT_FALL = RegistryKey.unsafeOf("block.vault.fall"); + RegistryKey BLOCK_VAULT_FALL = RegistryKey.of("block.vault.fall"); - RegistryKey BLOCK_VAULT_HIT = RegistryKey.unsafeOf("block.vault.hit"); + RegistryKey BLOCK_VAULT_HIT = RegistryKey.of("block.vault.hit"); - RegistryKey BLOCK_VAULT_INSERT_ITEM = RegistryKey.unsafeOf("block.vault.insert_item"); + RegistryKey BLOCK_VAULT_INSERT_ITEM = RegistryKey.of("block.vault.insert_item"); - RegistryKey BLOCK_VAULT_INSERT_ITEM_FAIL = RegistryKey.unsafeOf("block.vault.insert_item_fail"); + RegistryKey BLOCK_VAULT_INSERT_ITEM_FAIL = RegistryKey.of("block.vault.insert_item_fail"); - RegistryKey BLOCK_VAULT_OPEN_SHUTTER = RegistryKey.unsafeOf("block.vault.open_shutter"); + RegistryKey BLOCK_VAULT_OPEN_SHUTTER = RegistryKey.of("block.vault.open_shutter"); - RegistryKey BLOCK_VAULT_PLACE = RegistryKey.unsafeOf("block.vault.place"); + RegistryKey BLOCK_VAULT_PLACE = RegistryKey.of("block.vault.place"); - RegistryKey BLOCK_VAULT_REJECT_REWARDED_PLAYER = RegistryKey.unsafeOf("block.vault.reject_rewarded_player"); + RegistryKey BLOCK_VAULT_REJECT_REWARDED_PLAYER = RegistryKey.of("block.vault.reject_rewarded_player"); - RegistryKey BLOCK_VAULT_STEP = RegistryKey.unsafeOf("block.vault.step"); + RegistryKey BLOCK_VAULT_STEP = RegistryKey.of("block.vault.step"); - RegistryKey BLOCK_VINE_BREAK = RegistryKey.unsafeOf("block.vine.break"); + RegistryKey BLOCK_VINE_BREAK = RegistryKey.of("block.vine.break"); - RegistryKey BLOCK_VINE_FALL = RegistryKey.unsafeOf("block.vine.fall"); + RegistryKey BLOCK_VINE_FALL = RegistryKey.of("block.vine.fall"); - RegistryKey BLOCK_VINE_HIT = RegistryKey.unsafeOf("block.vine.hit"); + RegistryKey BLOCK_VINE_HIT = RegistryKey.of("block.vine.hit"); - RegistryKey BLOCK_VINE_PLACE = RegistryKey.unsafeOf("block.vine.place"); + RegistryKey BLOCK_VINE_PLACE = RegistryKey.of("block.vine.place"); - RegistryKey BLOCK_VINE_STEP = RegistryKey.unsafeOf("block.vine.step"); + RegistryKey BLOCK_VINE_STEP = RegistryKey.of("block.vine.step"); - RegistryKey BLOCK_WART_BLOCK_BREAK = RegistryKey.unsafeOf("block.wart_block.break"); + RegistryKey BLOCK_WART_BLOCK_BREAK = RegistryKey.of("block.wart_block.break"); - RegistryKey BLOCK_WART_BLOCK_FALL = RegistryKey.unsafeOf("block.wart_block.fall"); + RegistryKey BLOCK_WART_BLOCK_FALL = RegistryKey.of("block.wart_block.fall"); - RegistryKey BLOCK_WART_BLOCK_HIT = RegistryKey.unsafeOf("block.wart_block.hit"); + RegistryKey BLOCK_WART_BLOCK_HIT = RegistryKey.of("block.wart_block.hit"); - RegistryKey BLOCK_WART_BLOCK_PLACE = RegistryKey.unsafeOf("block.wart_block.place"); + RegistryKey BLOCK_WART_BLOCK_PLACE = RegistryKey.of("block.wart_block.place"); - RegistryKey BLOCK_WART_BLOCK_STEP = RegistryKey.unsafeOf("block.wart_block.step"); + RegistryKey BLOCK_WART_BLOCK_STEP = RegistryKey.of("block.wart_block.step"); - RegistryKey BLOCK_WATER_AMBIENT = RegistryKey.unsafeOf("block.water.ambient"); + RegistryKey BLOCK_WATER_AMBIENT = RegistryKey.of("block.water.ambient"); - RegistryKey BLOCK_WEEPING_VINES_BREAK = RegistryKey.unsafeOf("block.weeping_vines.break"); + RegistryKey BLOCK_WEEPING_VINES_BREAK = RegistryKey.of("block.weeping_vines.break"); - RegistryKey BLOCK_WEEPING_VINES_FALL = RegistryKey.unsafeOf("block.weeping_vines.fall"); + RegistryKey BLOCK_WEEPING_VINES_FALL = RegistryKey.of("block.weeping_vines.fall"); - RegistryKey BLOCK_WEEPING_VINES_HIT = RegistryKey.unsafeOf("block.weeping_vines.hit"); + RegistryKey BLOCK_WEEPING_VINES_HIT = RegistryKey.of("block.weeping_vines.hit"); - RegistryKey BLOCK_WEEPING_VINES_PLACE = RegistryKey.unsafeOf("block.weeping_vines.place"); + RegistryKey BLOCK_WEEPING_VINES_PLACE = RegistryKey.of("block.weeping_vines.place"); - RegistryKey BLOCK_WEEPING_VINES_STEP = RegistryKey.unsafeOf("block.weeping_vines.step"); + RegistryKey BLOCK_WEEPING_VINES_STEP = RegistryKey.of("block.weeping_vines.step"); - RegistryKey BLOCK_WET_GRASS_BREAK = RegistryKey.unsafeOf("block.wet_grass.break"); + RegistryKey BLOCK_WET_GRASS_BREAK = RegistryKey.of("block.wet_grass.break"); - RegistryKey BLOCK_WET_GRASS_FALL = RegistryKey.unsafeOf("block.wet_grass.fall"); + RegistryKey BLOCK_WET_GRASS_FALL = RegistryKey.of("block.wet_grass.fall"); - RegistryKey BLOCK_WET_GRASS_HIT = RegistryKey.unsafeOf("block.wet_grass.hit"); + RegistryKey BLOCK_WET_GRASS_HIT = RegistryKey.of("block.wet_grass.hit"); - RegistryKey BLOCK_WET_GRASS_PLACE = RegistryKey.unsafeOf("block.wet_grass.place"); + RegistryKey BLOCK_WET_GRASS_PLACE = RegistryKey.of("block.wet_grass.place"); - RegistryKey BLOCK_WET_GRASS_STEP = RegistryKey.unsafeOf("block.wet_grass.step"); + RegistryKey BLOCK_WET_GRASS_STEP = RegistryKey.of("block.wet_grass.step"); - RegistryKey BLOCK_WET_SPONGE_BREAK = RegistryKey.unsafeOf("block.wet_sponge.break"); + RegistryKey BLOCK_WET_SPONGE_BREAK = RegistryKey.of("block.wet_sponge.break"); - RegistryKey BLOCK_WET_SPONGE_DRIES = RegistryKey.unsafeOf("block.wet_sponge.dries"); + RegistryKey BLOCK_WET_SPONGE_DRIES = RegistryKey.of("block.wet_sponge.dries"); - RegistryKey BLOCK_WET_SPONGE_FALL = RegistryKey.unsafeOf("block.wet_sponge.fall"); + RegistryKey BLOCK_WET_SPONGE_FALL = RegistryKey.of("block.wet_sponge.fall"); - RegistryKey BLOCK_WET_SPONGE_HIT = RegistryKey.unsafeOf("block.wet_sponge.hit"); + RegistryKey BLOCK_WET_SPONGE_HIT = RegistryKey.of("block.wet_sponge.hit"); - RegistryKey BLOCK_WET_SPONGE_PLACE = RegistryKey.unsafeOf("block.wet_sponge.place"); + RegistryKey BLOCK_WET_SPONGE_PLACE = RegistryKey.of("block.wet_sponge.place"); - RegistryKey BLOCK_WET_SPONGE_STEP = RegistryKey.unsafeOf("block.wet_sponge.step"); + RegistryKey BLOCK_WET_SPONGE_STEP = RegistryKey.of("block.wet_sponge.step"); - RegistryKey BLOCK_WOOD_BREAK = RegistryKey.unsafeOf("block.wood.break"); + RegistryKey BLOCK_WOOD_BREAK = RegistryKey.of("block.wood.break"); - RegistryKey BLOCK_WOOD_FALL = RegistryKey.unsafeOf("block.wood.fall"); + RegistryKey BLOCK_WOOD_FALL = RegistryKey.of("block.wood.fall"); - RegistryKey BLOCK_WOOD_HIT = RegistryKey.unsafeOf("block.wood.hit"); + RegistryKey BLOCK_WOOD_HIT = RegistryKey.of("block.wood.hit"); - RegistryKey BLOCK_WOOD_PLACE = RegistryKey.unsafeOf("block.wood.place"); + RegistryKey BLOCK_WOOD_PLACE = RegistryKey.of("block.wood.place"); - RegistryKey BLOCK_WOOD_STEP = RegistryKey.unsafeOf("block.wood.step"); + RegistryKey BLOCK_WOOD_STEP = RegistryKey.of("block.wood.step"); - RegistryKey BLOCK_WOODEN_BUTTON_CLICK_OFF = RegistryKey.unsafeOf("block.wooden_button.click_off"); + RegistryKey BLOCK_WOODEN_BUTTON_CLICK_OFF = RegistryKey.of("block.wooden_button.click_off"); - RegistryKey BLOCK_WOODEN_BUTTON_CLICK_ON = RegistryKey.unsafeOf("block.wooden_button.click_on"); + RegistryKey BLOCK_WOODEN_BUTTON_CLICK_ON = RegistryKey.of("block.wooden_button.click_on"); - RegistryKey BLOCK_WOODEN_DOOR_CLOSE = RegistryKey.unsafeOf("block.wooden_door.close"); + RegistryKey BLOCK_WOODEN_DOOR_CLOSE = RegistryKey.of("block.wooden_door.close"); - RegistryKey BLOCK_WOODEN_DOOR_OPEN = RegistryKey.unsafeOf("block.wooden_door.open"); + RegistryKey BLOCK_WOODEN_DOOR_OPEN = RegistryKey.of("block.wooden_door.open"); - RegistryKey BLOCK_WOODEN_PRESSURE_PLATE_CLICK_OFF = RegistryKey.unsafeOf("block.wooden_pressure_plate.click_off"); + RegistryKey BLOCK_WOODEN_PRESSURE_PLATE_CLICK_OFF = RegistryKey.of("block.wooden_pressure_plate.click_off"); - RegistryKey BLOCK_WOODEN_PRESSURE_PLATE_CLICK_ON = RegistryKey.unsafeOf("block.wooden_pressure_plate.click_on"); + RegistryKey BLOCK_WOODEN_PRESSURE_PLATE_CLICK_ON = RegistryKey.of("block.wooden_pressure_plate.click_on"); - RegistryKey BLOCK_WOODEN_TRAPDOOR_CLOSE = RegistryKey.unsafeOf("block.wooden_trapdoor.close"); + RegistryKey BLOCK_WOODEN_TRAPDOOR_CLOSE = RegistryKey.of("block.wooden_trapdoor.close"); - RegistryKey BLOCK_WOODEN_TRAPDOOR_OPEN = RegistryKey.unsafeOf("block.wooden_trapdoor.open"); + RegistryKey BLOCK_WOODEN_TRAPDOOR_OPEN = RegistryKey.of("block.wooden_trapdoor.open"); - RegistryKey BLOCK_WOOL_BREAK = RegistryKey.unsafeOf("block.wool.break"); + RegistryKey BLOCK_WOOL_BREAK = RegistryKey.of("block.wool.break"); - RegistryKey BLOCK_WOOL_FALL = RegistryKey.unsafeOf("block.wool.fall"); + RegistryKey BLOCK_WOOL_FALL = RegistryKey.of("block.wool.fall"); - RegistryKey BLOCK_WOOL_HIT = RegistryKey.unsafeOf("block.wool.hit"); + RegistryKey BLOCK_WOOL_HIT = RegistryKey.of("block.wool.hit"); - RegistryKey BLOCK_WOOL_PLACE = RegistryKey.unsafeOf("block.wool.place"); + RegistryKey BLOCK_WOOL_PLACE = RegistryKey.of("block.wool.place"); - RegistryKey BLOCK_WOOL_STEP = RegistryKey.unsafeOf("block.wool.step"); + RegistryKey BLOCK_WOOL_STEP = RegistryKey.of("block.wool.step"); - RegistryKey ENCHANT_THORNS_HIT = RegistryKey.unsafeOf("enchant.thorns.hit"); + RegistryKey ENCHANT_THORNS_HIT = RegistryKey.of("enchant.thorns.hit"); - RegistryKey ENTITY_ALLAY_AMBIENT_WITH_ITEM = RegistryKey.unsafeOf("entity.allay.ambient_with_item"); + RegistryKey ENTITY_ALLAY_AMBIENT_WITH_ITEM = RegistryKey.of("entity.allay.ambient_with_item"); - RegistryKey ENTITY_ALLAY_AMBIENT_WITHOUT_ITEM = RegistryKey.unsafeOf("entity.allay.ambient_without_item"); + RegistryKey ENTITY_ALLAY_AMBIENT_WITHOUT_ITEM = RegistryKey.of("entity.allay.ambient_without_item"); - RegistryKey ENTITY_ALLAY_DEATH = RegistryKey.unsafeOf("entity.allay.death"); + RegistryKey ENTITY_ALLAY_DEATH = RegistryKey.of("entity.allay.death"); - RegistryKey ENTITY_ALLAY_HURT = RegistryKey.unsafeOf("entity.allay.hurt"); + RegistryKey ENTITY_ALLAY_HURT = RegistryKey.of("entity.allay.hurt"); - RegistryKey ENTITY_ALLAY_ITEM_GIVEN = RegistryKey.unsafeOf("entity.allay.item_given"); + RegistryKey ENTITY_ALLAY_ITEM_GIVEN = RegistryKey.of("entity.allay.item_given"); - RegistryKey ENTITY_ALLAY_ITEM_TAKEN = RegistryKey.unsafeOf("entity.allay.item_taken"); + RegistryKey ENTITY_ALLAY_ITEM_TAKEN = RegistryKey.of("entity.allay.item_taken"); - RegistryKey ENTITY_ALLAY_ITEM_THROWN = RegistryKey.unsafeOf("entity.allay.item_thrown"); + RegistryKey ENTITY_ALLAY_ITEM_THROWN = RegistryKey.of("entity.allay.item_thrown"); - RegistryKey ENTITY_ARMADILLO_AMBIENT = RegistryKey.unsafeOf("entity.armadillo.ambient"); + RegistryKey ENTITY_ARMADILLO_AMBIENT = RegistryKey.of("entity.armadillo.ambient"); - RegistryKey ENTITY_ARMADILLO_BRUSH = RegistryKey.unsafeOf("entity.armadillo.brush"); + RegistryKey ENTITY_ARMADILLO_BRUSH = RegistryKey.of("entity.armadillo.brush"); - RegistryKey ENTITY_ARMADILLO_DEATH = RegistryKey.unsafeOf("entity.armadillo.death"); + RegistryKey ENTITY_ARMADILLO_DEATH = RegistryKey.of("entity.armadillo.death"); - RegistryKey ENTITY_ARMADILLO_EAT = RegistryKey.unsafeOf("entity.armadillo.eat"); + RegistryKey ENTITY_ARMADILLO_EAT = RegistryKey.of("entity.armadillo.eat"); - RegistryKey ENTITY_ARMADILLO_HURT = RegistryKey.unsafeOf("entity.armadillo.hurt"); + RegistryKey ENTITY_ARMADILLO_HURT = RegistryKey.of("entity.armadillo.hurt"); - RegistryKey ENTITY_ARMADILLO_HURT_REDUCED = RegistryKey.unsafeOf("entity.armadillo.hurt_reduced"); + RegistryKey ENTITY_ARMADILLO_HURT_REDUCED = RegistryKey.of("entity.armadillo.hurt_reduced"); - RegistryKey ENTITY_ARMADILLO_LAND = RegistryKey.unsafeOf("entity.armadillo.land"); + RegistryKey ENTITY_ARMADILLO_LAND = RegistryKey.of("entity.armadillo.land"); - RegistryKey ENTITY_ARMADILLO_PEEK = RegistryKey.unsafeOf("entity.armadillo.peek"); + RegistryKey ENTITY_ARMADILLO_PEEK = RegistryKey.of("entity.armadillo.peek"); - RegistryKey ENTITY_ARMADILLO_ROLL = RegistryKey.unsafeOf("entity.armadillo.roll"); + RegistryKey ENTITY_ARMADILLO_ROLL = RegistryKey.of("entity.armadillo.roll"); - RegistryKey ENTITY_ARMADILLO_SCUTE_DROP = RegistryKey.unsafeOf("entity.armadillo.scute_drop"); + RegistryKey ENTITY_ARMADILLO_SCUTE_DROP = RegistryKey.of("entity.armadillo.scute_drop"); - RegistryKey ENTITY_ARMADILLO_STEP = RegistryKey.unsafeOf("entity.armadillo.step"); + RegistryKey ENTITY_ARMADILLO_STEP = RegistryKey.of("entity.armadillo.step"); - RegistryKey ENTITY_ARMADILLO_UNROLL_FINISH = RegistryKey.unsafeOf("entity.armadillo.unroll_finish"); + RegistryKey ENTITY_ARMADILLO_UNROLL_FINISH = RegistryKey.of("entity.armadillo.unroll_finish"); - RegistryKey ENTITY_ARMADILLO_UNROLL_START = RegistryKey.unsafeOf("entity.armadillo.unroll_start"); + RegistryKey ENTITY_ARMADILLO_UNROLL_START = RegistryKey.of("entity.armadillo.unroll_start"); - RegistryKey ENTITY_ARMOR_STAND_BREAK = RegistryKey.unsafeOf("entity.armor_stand.break"); + RegistryKey ENTITY_ARMOR_STAND_BREAK = RegistryKey.of("entity.armor_stand.break"); - RegistryKey ENTITY_ARMOR_STAND_FALL = RegistryKey.unsafeOf("entity.armor_stand.fall"); + RegistryKey ENTITY_ARMOR_STAND_FALL = RegistryKey.of("entity.armor_stand.fall"); - RegistryKey ENTITY_ARMOR_STAND_HIT = RegistryKey.unsafeOf("entity.armor_stand.hit"); + RegistryKey ENTITY_ARMOR_STAND_HIT = RegistryKey.of("entity.armor_stand.hit"); - RegistryKey ENTITY_ARMOR_STAND_PLACE = RegistryKey.unsafeOf("entity.armor_stand.place"); + RegistryKey ENTITY_ARMOR_STAND_PLACE = RegistryKey.of("entity.armor_stand.place"); - RegistryKey ENTITY_ARROW_HIT = RegistryKey.unsafeOf("entity.arrow.hit"); + RegistryKey ENTITY_ARROW_HIT = RegistryKey.of("entity.arrow.hit"); - RegistryKey ENTITY_ARROW_HIT_PLAYER = RegistryKey.unsafeOf("entity.arrow.hit_player"); + RegistryKey ENTITY_ARROW_HIT_PLAYER = RegistryKey.of("entity.arrow.hit_player"); - RegistryKey ENTITY_ARROW_SHOOT = RegistryKey.unsafeOf("entity.arrow.shoot"); + RegistryKey ENTITY_ARROW_SHOOT = RegistryKey.of("entity.arrow.shoot"); - RegistryKey ENTITY_AXOLOTL_ATTACK = RegistryKey.unsafeOf("entity.axolotl.attack"); + RegistryKey ENTITY_AXOLOTL_ATTACK = RegistryKey.of("entity.axolotl.attack"); - RegistryKey ENTITY_AXOLOTL_DEATH = RegistryKey.unsafeOf("entity.axolotl.death"); + RegistryKey ENTITY_AXOLOTL_DEATH = RegistryKey.of("entity.axolotl.death"); - RegistryKey ENTITY_AXOLOTL_HURT = RegistryKey.unsafeOf("entity.axolotl.hurt"); + RegistryKey ENTITY_AXOLOTL_HURT = RegistryKey.of("entity.axolotl.hurt"); - RegistryKey ENTITY_AXOLOTL_IDLE_AIR = RegistryKey.unsafeOf("entity.axolotl.idle_air"); + RegistryKey ENTITY_AXOLOTL_IDLE_AIR = RegistryKey.of("entity.axolotl.idle_air"); - RegistryKey ENTITY_AXOLOTL_IDLE_WATER = RegistryKey.unsafeOf("entity.axolotl.idle_water"); + RegistryKey ENTITY_AXOLOTL_IDLE_WATER = RegistryKey.of("entity.axolotl.idle_water"); - RegistryKey ENTITY_AXOLOTL_SPLASH = RegistryKey.unsafeOf("entity.axolotl.splash"); + RegistryKey ENTITY_AXOLOTL_SPLASH = RegistryKey.of("entity.axolotl.splash"); - RegistryKey ENTITY_AXOLOTL_SWIM = RegistryKey.unsafeOf("entity.axolotl.swim"); + RegistryKey ENTITY_AXOLOTL_SWIM = RegistryKey.of("entity.axolotl.swim"); - RegistryKey ENTITY_BABY_CAT_AMBIENT = RegistryKey.unsafeOf("entity.baby_cat.ambient"); + RegistryKey ENTITY_BABY_CAT_AMBIENT = RegistryKey.of("entity.baby_cat.ambient"); - RegistryKey ENTITY_BABY_CAT_BEG_FOR_FOOD = RegistryKey.unsafeOf("entity.baby_cat.beg_for_food"); + RegistryKey ENTITY_BABY_CAT_BEG_FOR_FOOD = RegistryKey.of("entity.baby_cat.beg_for_food"); - RegistryKey ENTITY_BABY_CAT_DEATH = RegistryKey.unsafeOf("entity.baby_cat.death"); + RegistryKey ENTITY_BABY_CAT_DEATH = RegistryKey.of("entity.baby_cat.death"); - RegistryKey ENTITY_BABY_CAT_EAT = RegistryKey.unsafeOf("entity.baby_cat.eat"); + RegistryKey ENTITY_BABY_CAT_EAT = RegistryKey.of("entity.baby_cat.eat"); - RegistryKey ENTITY_BABY_CAT_HISS = RegistryKey.unsafeOf("entity.baby_cat.hiss"); + RegistryKey ENTITY_BABY_CAT_HISS = RegistryKey.of("entity.baby_cat.hiss"); - RegistryKey ENTITY_BABY_CAT_HURT = RegistryKey.unsafeOf("entity.baby_cat.hurt"); + RegistryKey ENTITY_BABY_CAT_HURT = RegistryKey.of("entity.baby_cat.hurt"); - RegistryKey ENTITY_BABY_CAT_PURR = RegistryKey.unsafeOf("entity.baby_cat.purr"); + RegistryKey ENTITY_BABY_CAT_PURR = RegistryKey.of("entity.baby_cat.purr"); - RegistryKey ENTITY_BABY_CAT_PURREOW = RegistryKey.unsafeOf("entity.baby_cat.purreow"); + RegistryKey ENTITY_BABY_CAT_PURREOW = RegistryKey.of("entity.baby_cat.purreow"); - RegistryKey ENTITY_BABY_CAT_STRAY_AMBIENT = RegistryKey.unsafeOf("entity.baby_cat.stray_ambient"); + RegistryKey ENTITY_BABY_CAT_STRAY_AMBIENT = RegistryKey.of("entity.baby_cat.stray_ambient"); - RegistryKey ENTITY_BABY_CHICKEN_AMBIENT = RegistryKey.unsafeOf("entity.baby_chicken.ambient"); + RegistryKey ENTITY_BABY_CHICKEN_AMBIENT = RegistryKey.of("entity.baby_chicken.ambient"); - RegistryKey ENTITY_BABY_CHICKEN_DEATH = RegistryKey.unsafeOf("entity.baby_chicken.death"); + RegistryKey ENTITY_BABY_CHICKEN_DEATH = RegistryKey.of("entity.baby_chicken.death"); - RegistryKey ENTITY_BABY_CHICKEN_HURT = RegistryKey.unsafeOf("entity.baby_chicken.hurt"); + RegistryKey ENTITY_BABY_CHICKEN_HURT = RegistryKey.of("entity.baby_chicken.hurt"); - RegistryKey ENTITY_BABY_CHICKEN_STEP = RegistryKey.unsafeOf("entity.baby_chicken.step"); + RegistryKey ENTITY_BABY_CHICKEN_STEP = RegistryKey.of("entity.baby_chicken.step"); - RegistryKey ENTITY_BABY_HORSE_AMBIENT = RegistryKey.unsafeOf("entity.baby_horse.ambient"); + RegistryKey ENTITY_BABY_HORSE_AMBIENT = RegistryKey.of("entity.baby_horse.ambient"); - RegistryKey ENTITY_BABY_HORSE_ANGRY = RegistryKey.unsafeOf("entity.baby_horse.angry"); + RegistryKey ENTITY_BABY_HORSE_ANGRY = RegistryKey.of("entity.baby_horse.angry"); - RegistryKey ENTITY_BABY_HORSE_BREATHE = RegistryKey.unsafeOf("entity.baby_horse.breathe"); + RegistryKey ENTITY_BABY_HORSE_BREATHE = RegistryKey.of("entity.baby_horse.breathe"); - RegistryKey ENTITY_BABY_HORSE_DEATH = RegistryKey.unsafeOf("entity.baby_horse.death"); + RegistryKey ENTITY_BABY_HORSE_DEATH = RegistryKey.of("entity.baby_horse.death"); - RegistryKey ENTITY_BABY_HORSE_EAT = RegistryKey.unsafeOf("entity.baby_horse.eat"); + RegistryKey ENTITY_BABY_HORSE_EAT = RegistryKey.of("entity.baby_horse.eat"); - RegistryKey ENTITY_BABY_HORSE_HURT = RegistryKey.unsafeOf("entity.baby_horse.hurt"); + RegistryKey ENTITY_BABY_HORSE_HURT = RegistryKey.of("entity.baby_horse.hurt"); - RegistryKey ENTITY_BABY_HORSE_LAND = RegistryKey.unsafeOf("entity.baby_horse.land"); + RegistryKey ENTITY_BABY_HORSE_LAND = RegistryKey.of("entity.baby_horse.land"); - RegistryKey ENTITY_BABY_HORSE_STEP = RegistryKey.unsafeOf("entity.baby_horse.step"); + RegistryKey ENTITY_BABY_HORSE_STEP = RegistryKey.of("entity.baby_horse.step"); - RegistryKey ENTITY_BABY_NAUTILUS_AMBIENT = RegistryKey.unsafeOf("entity.baby_nautilus.ambient"); + RegistryKey ENTITY_BABY_NAUTILUS_AMBIENT = RegistryKey.of("entity.baby_nautilus.ambient"); - RegistryKey ENTITY_BABY_NAUTILUS_AMBIENT_LAND = RegistryKey.unsafeOf("entity.baby_nautilus.ambient_land"); + RegistryKey ENTITY_BABY_NAUTILUS_AMBIENT_LAND = RegistryKey.of("entity.baby_nautilus.ambient_land"); - RegistryKey ENTITY_BABY_NAUTILUS_DEATH = RegistryKey.unsafeOf("entity.baby_nautilus.death"); + RegistryKey ENTITY_BABY_NAUTILUS_DEATH = RegistryKey.of("entity.baby_nautilus.death"); - RegistryKey ENTITY_BABY_NAUTILUS_DEATH_LAND = RegistryKey.unsafeOf("entity.baby_nautilus.death_land"); + RegistryKey ENTITY_BABY_NAUTILUS_DEATH_LAND = RegistryKey.of("entity.baby_nautilus.death_land"); - RegistryKey ENTITY_BABY_NAUTILUS_EAT = RegistryKey.unsafeOf("entity.baby_nautilus.eat"); + RegistryKey ENTITY_BABY_NAUTILUS_EAT = RegistryKey.of("entity.baby_nautilus.eat"); - RegistryKey ENTITY_BABY_NAUTILUS_HURT = RegistryKey.unsafeOf("entity.baby_nautilus.hurt"); + RegistryKey ENTITY_BABY_NAUTILUS_HURT = RegistryKey.of("entity.baby_nautilus.hurt"); - RegistryKey ENTITY_BABY_NAUTILUS_HURT_LAND = RegistryKey.unsafeOf("entity.baby_nautilus.hurt_land"); + RegistryKey ENTITY_BABY_NAUTILUS_HURT_LAND = RegistryKey.of("entity.baby_nautilus.hurt_land"); - RegistryKey ENTITY_BABY_NAUTILUS_SWIM = RegistryKey.unsafeOf("entity.baby_nautilus.swim"); + RegistryKey ENTITY_BABY_NAUTILUS_SWIM = RegistryKey.of("entity.baby_nautilus.swim"); - RegistryKey ENTITY_BABY_PIG_AMBIENT = RegistryKey.unsafeOf("entity.baby_pig.ambient"); + RegistryKey ENTITY_BABY_PIG_AMBIENT = RegistryKey.of("entity.baby_pig.ambient"); - RegistryKey ENTITY_BABY_PIG_DEATH = RegistryKey.unsafeOf("entity.baby_pig.death"); + RegistryKey ENTITY_BABY_PIG_DEATH = RegistryKey.of("entity.baby_pig.death"); - RegistryKey ENTITY_BABY_PIG_EAT = RegistryKey.unsafeOf("entity.baby_pig.eat"); + RegistryKey ENTITY_BABY_PIG_EAT = RegistryKey.of("entity.baby_pig.eat"); - RegistryKey ENTITY_BABY_PIG_HURT = RegistryKey.unsafeOf("entity.baby_pig.hurt"); + RegistryKey ENTITY_BABY_PIG_HURT = RegistryKey.of("entity.baby_pig.hurt"); - RegistryKey ENTITY_BABY_PIG_STEP = RegistryKey.unsafeOf("entity.baby_pig.step"); + RegistryKey ENTITY_BABY_PIG_STEP = RegistryKey.of("entity.baby_pig.step"); - RegistryKey ENTITY_BABY_WOLF_AMBIENT = RegistryKey.unsafeOf("entity.baby_wolf.ambient"); + RegistryKey ENTITY_BABY_WOLF_AMBIENT = RegistryKey.of("entity.baby_wolf.ambient"); - RegistryKey ENTITY_BABY_WOLF_DEATH = RegistryKey.unsafeOf("entity.baby_wolf.death"); + RegistryKey ENTITY_BABY_WOLF_DEATH = RegistryKey.of("entity.baby_wolf.death"); - RegistryKey ENTITY_BABY_WOLF_GROWL = RegistryKey.unsafeOf("entity.baby_wolf.growl"); + RegistryKey ENTITY_BABY_WOLF_GROWL = RegistryKey.of("entity.baby_wolf.growl"); - RegistryKey ENTITY_BABY_WOLF_HURT = RegistryKey.unsafeOf("entity.baby_wolf.hurt"); + RegistryKey ENTITY_BABY_WOLF_HURT = RegistryKey.of("entity.baby_wolf.hurt"); - RegistryKey ENTITY_BABY_WOLF_PANT = RegistryKey.unsafeOf("entity.baby_wolf.pant"); + RegistryKey ENTITY_BABY_WOLF_PANT = RegistryKey.of("entity.baby_wolf.pant"); - RegistryKey ENTITY_BABY_WOLF_STEP = RegistryKey.unsafeOf("entity.baby_wolf.step"); + RegistryKey ENTITY_BABY_WOLF_STEP = RegistryKey.of("entity.baby_wolf.step"); - RegistryKey ENTITY_BABY_WOLF_WHINE = RegistryKey.unsafeOf("entity.baby_wolf.whine"); + RegistryKey ENTITY_BABY_WOLF_WHINE = RegistryKey.of("entity.baby_wolf.whine"); - RegistryKey ENTITY_BAT_AMBIENT = RegistryKey.unsafeOf("entity.bat.ambient"); + RegistryKey ENTITY_BAT_AMBIENT = RegistryKey.of("entity.bat.ambient"); - RegistryKey ENTITY_BAT_DEATH = RegistryKey.unsafeOf("entity.bat.death"); + RegistryKey ENTITY_BAT_DEATH = RegistryKey.of("entity.bat.death"); - RegistryKey ENTITY_BAT_HURT = RegistryKey.unsafeOf("entity.bat.hurt"); + RegistryKey ENTITY_BAT_HURT = RegistryKey.of("entity.bat.hurt"); - RegistryKey ENTITY_BAT_LOOP = RegistryKey.unsafeOf("entity.bat.loop"); + RegistryKey ENTITY_BAT_LOOP = RegistryKey.of("entity.bat.loop"); - RegistryKey ENTITY_BAT_TAKEOFF = RegistryKey.unsafeOf("entity.bat.takeoff"); + RegistryKey ENTITY_BAT_TAKEOFF = RegistryKey.of("entity.bat.takeoff"); - RegistryKey ENTITY_BEE_DEATH = RegistryKey.unsafeOf("entity.bee.death"); + RegistryKey ENTITY_BEE_DEATH = RegistryKey.of("entity.bee.death"); - RegistryKey ENTITY_BEE_HURT = RegistryKey.unsafeOf("entity.bee.hurt"); + RegistryKey ENTITY_BEE_HURT = RegistryKey.of("entity.bee.hurt"); - RegistryKey ENTITY_BEE_LOOP = RegistryKey.unsafeOf("entity.bee.loop"); + RegistryKey ENTITY_BEE_LOOP = RegistryKey.of("entity.bee.loop"); - RegistryKey ENTITY_BEE_LOOP_AGGRESSIVE = RegistryKey.unsafeOf("entity.bee.loop_aggressive"); + RegistryKey ENTITY_BEE_LOOP_AGGRESSIVE = RegistryKey.of("entity.bee.loop_aggressive"); - RegistryKey ENTITY_BEE_POLLINATE = RegistryKey.unsafeOf("entity.bee.pollinate"); + RegistryKey ENTITY_BEE_POLLINATE = RegistryKey.of("entity.bee.pollinate"); - RegistryKey ENTITY_BEE_STING = RegistryKey.unsafeOf("entity.bee.sting"); + RegistryKey ENTITY_BEE_STING = RegistryKey.of("entity.bee.sting"); - RegistryKey ENTITY_BLAZE_AMBIENT = RegistryKey.unsafeOf("entity.blaze.ambient"); + RegistryKey ENTITY_BLAZE_AMBIENT = RegistryKey.of("entity.blaze.ambient"); - RegistryKey ENTITY_BLAZE_BURN = RegistryKey.unsafeOf("entity.blaze.burn"); + RegistryKey ENTITY_BLAZE_BURN = RegistryKey.of("entity.blaze.burn"); - RegistryKey ENTITY_BLAZE_DEATH = RegistryKey.unsafeOf("entity.blaze.death"); + RegistryKey ENTITY_BLAZE_DEATH = RegistryKey.of("entity.blaze.death"); - RegistryKey ENTITY_BLAZE_HURT = RegistryKey.unsafeOf("entity.blaze.hurt"); + RegistryKey ENTITY_BLAZE_HURT = RegistryKey.of("entity.blaze.hurt"); - RegistryKey ENTITY_BLAZE_SHOOT = RegistryKey.unsafeOf("entity.blaze.shoot"); + RegistryKey ENTITY_BLAZE_SHOOT = RegistryKey.of("entity.blaze.shoot"); - RegistryKey ENTITY_BOAT_PADDLE_LAND = RegistryKey.unsafeOf("entity.boat.paddle_land"); + RegistryKey ENTITY_BOAT_PADDLE_LAND = RegistryKey.of("entity.boat.paddle_land"); - RegistryKey ENTITY_BOAT_PADDLE_WATER = RegistryKey.unsafeOf("entity.boat.paddle_water"); + RegistryKey ENTITY_BOAT_PADDLE_WATER = RegistryKey.of("entity.boat.paddle_water"); - RegistryKey ENTITY_BOGGED_AMBIENT = RegistryKey.unsafeOf("entity.bogged.ambient"); + RegistryKey ENTITY_BOGGED_AMBIENT = RegistryKey.of("entity.bogged.ambient"); - RegistryKey ENTITY_BOGGED_DEATH = RegistryKey.unsafeOf("entity.bogged.death"); + RegistryKey ENTITY_BOGGED_DEATH = RegistryKey.of("entity.bogged.death"); - RegistryKey ENTITY_BOGGED_HURT = RegistryKey.unsafeOf("entity.bogged.hurt"); + RegistryKey ENTITY_BOGGED_HURT = RegistryKey.of("entity.bogged.hurt"); - RegistryKey ENTITY_BOGGED_SHEAR = RegistryKey.unsafeOf("entity.bogged.shear"); + RegistryKey ENTITY_BOGGED_SHEAR = RegistryKey.of("entity.bogged.shear"); - RegistryKey ENTITY_BOGGED_STEP = RegistryKey.unsafeOf("entity.bogged.step"); + RegistryKey ENTITY_BOGGED_STEP = RegistryKey.of("entity.bogged.step"); - RegistryKey ENTITY_BREEZE_CHARGE = RegistryKey.unsafeOf("entity.breeze.charge"); + RegistryKey ENTITY_BREEZE_CHARGE = RegistryKey.of("entity.breeze.charge"); - RegistryKey ENTITY_BREEZE_DEATH = RegistryKey.unsafeOf("entity.breeze.death"); + RegistryKey ENTITY_BREEZE_DEATH = RegistryKey.of("entity.breeze.death"); - RegistryKey ENTITY_BREEZE_DEFLECT = RegistryKey.unsafeOf("entity.breeze.deflect"); + RegistryKey ENTITY_BREEZE_DEFLECT = RegistryKey.of("entity.breeze.deflect"); - RegistryKey ENTITY_BREEZE_HURT = RegistryKey.unsafeOf("entity.breeze.hurt"); + RegistryKey ENTITY_BREEZE_HURT = RegistryKey.of("entity.breeze.hurt"); - RegistryKey ENTITY_BREEZE_IDLE_AIR = RegistryKey.unsafeOf("entity.breeze.idle_air"); + RegistryKey ENTITY_BREEZE_IDLE_AIR = RegistryKey.of("entity.breeze.idle_air"); - RegistryKey ENTITY_BREEZE_IDLE_GROUND = RegistryKey.unsafeOf("entity.breeze.idle_ground"); + RegistryKey ENTITY_BREEZE_IDLE_GROUND = RegistryKey.of("entity.breeze.idle_ground"); - RegistryKey ENTITY_BREEZE_INHALE = RegistryKey.unsafeOf("entity.breeze.inhale"); + RegistryKey ENTITY_BREEZE_INHALE = RegistryKey.of("entity.breeze.inhale"); - RegistryKey ENTITY_BREEZE_JUMP = RegistryKey.unsafeOf("entity.breeze.jump"); + RegistryKey ENTITY_BREEZE_JUMP = RegistryKey.of("entity.breeze.jump"); - RegistryKey ENTITY_BREEZE_LAND = RegistryKey.unsafeOf("entity.breeze.land"); + RegistryKey ENTITY_BREEZE_LAND = RegistryKey.of("entity.breeze.land"); - RegistryKey ENTITY_BREEZE_SHOOT = RegistryKey.unsafeOf("entity.breeze.shoot"); + RegistryKey ENTITY_BREEZE_SHOOT = RegistryKey.of("entity.breeze.shoot"); - RegistryKey ENTITY_BREEZE_SLIDE = RegistryKey.unsafeOf("entity.breeze.slide"); + RegistryKey ENTITY_BREEZE_SLIDE = RegistryKey.of("entity.breeze.slide"); - RegistryKey ENTITY_BREEZE_WHIRL = RegistryKey.unsafeOf("entity.breeze.whirl"); + RegistryKey ENTITY_BREEZE_WHIRL = RegistryKey.of("entity.breeze.whirl"); - RegistryKey ENTITY_BREEZE_WIND_BURST = RegistryKey.unsafeOf("entity.breeze.wind_burst"); + RegistryKey ENTITY_BREEZE_WIND_BURST = RegistryKey.of("entity.breeze.wind_burst"); - RegistryKey ENTITY_CAMEL_AMBIENT = RegistryKey.unsafeOf("entity.camel.ambient"); + RegistryKey ENTITY_CAMEL_AMBIENT = RegistryKey.of("entity.camel.ambient"); - RegistryKey ENTITY_CAMEL_DASH = RegistryKey.unsafeOf("entity.camel.dash"); + RegistryKey ENTITY_CAMEL_DASH = RegistryKey.of("entity.camel.dash"); - RegistryKey ENTITY_CAMEL_DASH_READY = RegistryKey.unsafeOf("entity.camel.dash_ready"); + RegistryKey ENTITY_CAMEL_DASH_READY = RegistryKey.of("entity.camel.dash_ready"); - RegistryKey ENTITY_CAMEL_DEATH = RegistryKey.unsafeOf("entity.camel.death"); + RegistryKey ENTITY_CAMEL_DEATH = RegistryKey.of("entity.camel.death"); - RegistryKey ENTITY_CAMEL_EAT = RegistryKey.unsafeOf("entity.camel.eat"); + RegistryKey ENTITY_CAMEL_EAT = RegistryKey.of("entity.camel.eat"); - RegistryKey ENTITY_CAMEL_HURT = RegistryKey.unsafeOf("entity.camel.hurt"); + RegistryKey ENTITY_CAMEL_HURT = RegistryKey.of("entity.camel.hurt"); - RegistryKey ENTITY_CAMEL_SADDLE = RegistryKey.unsafeOf("entity.camel.saddle"); + RegistryKey ENTITY_CAMEL_SADDLE = RegistryKey.of("entity.camel.saddle"); - RegistryKey ENTITY_CAMEL_SIT = RegistryKey.unsafeOf("entity.camel.sit"); + RegistryKey ENTITY_CAMEL_SIT = RegistryKey.of("entity.camel.sit"); - RegistryKey ENTITY_CAMEL_STAND = RegistryKey.unsafeOf("entity.camel.stand"); + RegistryKey ENTITY_CAMEL_STAND = RegistryKey.of("entity.camel.stand"); - RegistryKey ENTITY_CAMEL_STEP = RegistryKey.unsafeOf("entity.camel.step"); + RegistryKey ENTITY_CAMEL_STEP = RegistryKey.of("entity.camel.step"); - RegistryKey ENTITY_CAMEL_STEP_SAND = RegistryKey.unsafeOf("entity.camel.step_sand"); + RegistryKey ENTITY_CAMEL_STEP_SAND = RegistryKey.of("entity.camel.step_sand"); - RegistryKey ENTITY_CAMEL_HUSK_AMBIENT = RegistryKey.unsafeOf("entity.camel_husk.ambient"); + RegistryKey ENTITY_CAMEL_HUSK_AMBIENT = RegistryKey.of("entity.camel_husk.ambient"); - RegistryKey ENTITY_CAMEL_HUSK_DASH = RegistryKey.unsafeOf("entity.camel_husk.dash"); + RegistryKey ENTITY_CAMEL_HUSK_DASH = RegistryKey.of("entity.camel_husk.dash"); - RegistryKey ENTITY_CAMEL_HUSK_DASH_READY = RegistryKey.unsafeOf("entity.camel_husk.dash_ready"); + RegistryKey ENTITY_CAMEL_HUSK_DASH_READY = RegistryKey.of("entity.camel_husk.dash_ready"); - RegistryKey ENTITY_CAMEL_HUSK_DEATH = RegistryKey.unsafeOf("entity.camel_husk.death"); + RegistryKey ENTITY_CAMEL_HUSK_DEATH = RegistryKey.of("entity.camel_husk.death"); - RegistryKey ENTITY_CAMEL_HUSK_EAT = RegistryKey.unsafeOf("entity.camel_husk.eat"); + RegistryKey ENTITY_CAMEL_HUSK_EAT = RegistryKey.of("entity.camel_husk.eat"); - RegistryKey ENTITY_CAMEL_HUSK_HURT = RegistryKey.unsafeOf("entity.camel_husk.hurt"); + RegistryKey ENTITY_CAMEL_HUSK_HURT = RegistryKey.of("entity.camel_husk.hurt"); - RegistryKey ENTITY_CAMEL_HUSK_SADDLE = RegistryKey.unsafeOf("entity.camel_husk.saddle"); + RegistryKey ENTITY_CAMEL_HUSK_SADDLE = RegistryKey.of("entity.camel_husk.saddle"); - RegistryKey ENTITY_CAMEL_HUSK_SIT = RegistryKey.unsafeOf("entity.camel_husk.sit"); + RegistryKey ENTITY_CAMEL_HUSK_SIT = RegistryKey.of("entity.camel_husk.sit"); - RegistryKey ENTITY_CAMEL_HUSK_STAND = RegistryKey.unsafeOf("entity.camel_husk.stand"); + RegistryKey ENTITY_CAMEL_HUSK_STAND = RegistryKey.of("entity.camel_husk.stand"); - RegistryKey ENTITY_CAMEL_HUSK_STEP = RegistryKey.unsafeOf("entity.camel_husk.step"); + RegistryKey ENTITY_CAMEL_HUSK_STEP = RegistryKey.of("entity.camel_husk.step"); - RegistryKey ENTITY_CAMEL_HUSK_STEP_SAND = RegistryKey.unsafeOf("entity.camel_husk.step_sand"); + RegistryKey ENTITY_CAMEL_HUSK_STEP_SAND = RegistryKey.of("entity.camel_husk.step_sand"); - RegistryKey ENTITY_CAT_AMBIENT = RegistryKey.unsafeOf("entity.cat.ambient"); + RegistryKey ENTITY_CAT_AMBIENT = RegistryKey.of("entity.cat.ambient"); - RegistryKey ENTITY_CAT_BEG_FOR_FOOD = RegistryKey.unsafeOf("entity.cat.beg_for_food"); + RegistryKey ENTITY_CAT_BEG_FOR_FOOD = RegistryKey.of("entity.cat.beg_for_food"); - RegistryKey ENTITY_CAT_DEATH = RegistryKey.unsafeOf("entity.cat.death"); + RegistryKey ENTITY_CAT_DEATH = RegistryKey.of("entity.cat.death"); - RegistryKey ENTITY_CAT_EAT = RegistryKey.unsafeOf("entity.cat.eat"); + RegistryKey ENTITY_CAT_EAT = RegistryKey.of("entity.cat.eat"); - RegistryKey ENTITY_CAT_HISS = RegistryKey.unsafeOf("entity.cat.hiss"); + RegistryKey ENTITY_CAT_HISS = RegistryKey.of("entity.cat.hiss"); - RegistryKey ENTITY_CAT_HURT = RegistryKey.unsafeOf("entity.cat.hurt"); + RegistryKey ENTITY_CAT_HURT = RegistryKey.of("entity.cat.hurt"); - RegistryKey ENTITY_CAT_PURR = RegistryKey.unsafeOf("entity.cat.purr"); + RegistryKey ENTITY_CAT_PURR = RegistryKey.of("entity.cat.purr"); - RegistryKey ENTITY_CAT_PURREOW = RegistryKey.unsafeOf("entity.cat.purreow"); + RegistryKey ENTITY_CAT_PURREOW = RegistryKey.of("entity.cat.purreow"); - RegistryKey ENTITY_CAT_STRAY_AMBIENT = RegistryKey.unsafeOf("entity.cat.stray_ambient"); + RegistryKey ENTITY_CAT_STRAY_AMBIENT = RegistryKey.of("entity.cat.stray_ambient"); - RegistryKey ENTITY_CAT_ROYAL_AMBIENT = RegistryKey.unsafeOf("entity.cat_royal.ambient"); + RegistryKey ENTITY_CAT_ROYAL_AMBIENT = RegistryKey.of("entity.cat_royal.ambient"); - RegistryKey ENTITY_CAT_ROYAL_BEG_FOR_FOOD = RegistryKey.unsafeOf("entity.cat_royal.beg_for_food"); + RegistryKey ENTITY_CAT_ROYAL_BEG_FOR_FOOD = RegistryKey.of("entity.cat_royal.beg_for_food"); - RegistryKey ENTITY_CAT_ROYAL_DEATH = RegistryKey.unsafeOf("entity.cat_royal.death"); + RegistryKey ENTITY_CAT_ROYAL_DEATH = RegistryKey.of("entity.cat_royal.death"); - RegistryKey ENTITY_CAT_ROYAL_EAT = RegistryKey.unsafeOf("entity.cat_royal.eat"); + RegistryKey ENTITY_CAT_ROYAL_EAT = RegistryKey.of("entity.cat_royal.eat"); - RegistryKey ENTITY_CAT_ROYAL_HISS = RegistryKey.unsafeOf("entity.cat_royal.hiss"); + RegistryKey ENTITY_CAT_ROYAL_HISS = RegistryKey.of("entity.cat_royal.hiss"); - RegistryKey ENTITY_CAT_ROYAL_HURT = RegistryKey.unsafeOf("entity.cat_royal.hurt"); + RegistryKey ENTITY_CAT_ROYAL_HURT = RegistryKey.of("entity.cat_royal.hurt"); - RegistryKey ENTITY_CAT_ROYAL_PURR = RegistryKey.unsafeOf("entity.cat_royal.purr"); + RegistryKey ENTITY_CAT_ROYAL_PURR = RegistryKey.of("entity.cat_royal.purr"); - RegistryKey ENTITY_CAT_ROYAL_PURREOW = RegistryKey.unsafeOf("entity.cat_royal.purreow"); + RegistryKey ENTITY_CAT_ROYAL_PURREOW = RegistryKey.of("entity.cat_royal.purreow"); - RegistryKey ENTITY_CAT_ROYAL_STRAY_AMBIENT = RegistryKey.unsafeOf("entity.cat_royal.stray_ambient"); + RegistryKey ENTITY_CAT_ROYAL_STRAY_AMBIENT = RegistryKey.of("entity.cat_royal.stray_ambient"); - RegistryKey ENTITY_CHICKEN_AMBIENT = RegistryKey.unsafeOf("entity.chicken.ambient"); + RegistryKey ENTITY_CHICKEN_AMBIENT = RegistryKey.of("entity.chicken.ambient"); - RegistryKey ENTITY_CHICKEN_DEATH = RegistryKey.unsafeOf("entity.chicken.death"); + RegistryKey ENTITY_CHICKEN_DEATH = RegistryKey.of("entity.chicken.death"); - RegistryKey ENTITY_CHICKEN_EGG = RegistryKey.unsafeOf("entity.chicken.egg"); + RegistryKey ENTITY_CHICKEN_EGG = RegistryKey.of("entity.chicken.egg"); - RegistryKey ENTITY_CHICKEN_HURT = RegistryKey.unsafeOf("entity.chicken.hurt"); + RegistryKey ENTITY_CHICKEN_HURT = RegistryKey.of("entity.chicken.hurt"); - RegistryKey ENTITY_CHICKEN_STEP = RegistryKey.unsafeOf("entity.chicken.step"); + RegistryKey ENTITY_CHICKEN_STEP = RegistryKey.of("entity.chicken.step"); - RegistryKey ENTITY_CHICKEN_PICKY_AMBIENT = RegistryKey.unsafeOf("entity.chicken_picky.ambient"); + RegistryKey ENTITY_CHICKEN_PICKY_AMBIENT = RegistryKey.of("entity.chicken_picky.ambient"); - RegistryKey ENTITY_CHICKEN_PICKY_DEATH = RegistryKey.unsafeOf("entity.chicken_picky.death"); + RegistryKey ENTITY_CHICKEN_PICKY_DEATH = RegistryKey.of("entity.chicken_picky.death"); - RegistryKey ENTITY_CHICKEN_PICKY_HURT = RegistryKey.unsafeOf("entity.chicken_picky.hurt"); + RegistryKey ENTITY_CHICKEN_PICKY_HURT = RegistryKey.of("entity.chicken_picky.hurt"); - RegistryKey ENTITY_COD_AMBIENT = RegistryKey.unsafeOf("entity.cod.ambient"); + RegistryKey ENTITY_COD_AMBIENT = RegistryKey.of("entity.cod.ambient"); - RegistryKey ENTITY_COD_DEATH = RegistryKey.unsafeOf("entity.cod.death"); + RegistryKey ENTITY_COD_DEATH = RegistryKey.of("entity.cod.death"); - RegistryKey ENTITY_COD_FLOP = RegistryKey.unsafeOf("entity.cod.flop"); + RegistryKey ENTITY_COD_FLOP = RegistryKey.of("entity.cod.flop"); - RegistryKey ENTITY_COD_HURT = RegistryKey.unsafeOf("entity.cod.hurt"); + RegistryKey ENTITY_COD_HURT = RegistryKey.of("entity.cod.hurt"); - RegistryKey ENTITY_COPPER_GOLEM_DEATH = RegistryKey.unsafeOf("entity.copper_golem.death"); + RegistryKey ENTITY_COPPER_GOLEM_DEATH = RegistryKey.of("entity.copper_golem.death"); - RegistryKey ENTITY_COPPER_GOLEM_HURT = RegistryKey.unsafeOf("entity.copper_golem.hurt"); + RegistryKey ENTITY_COPPER_GOLEM_HURT = RegistryKey.of("entity.copper_golem.hurt"); - RegistryKey ENTITY_COPPER_GOLEM_ITEM_DROP = RegistryKey.unsafeOf("entity.copper_golem.item_drop"); + RegistryKey ENTITY_COPPER_GOLEM_ITEM_DROP = RegistryKey.of("entity.copper_golem.item_drop"); - RegistryKey ENTITY_COPPER_GOLEM_ITEM_NO_DROP = RegistryKey.unsafeOf("entity.copper_golem.item_no_drop"); + RegistryKey ENTITY_COPPER_GOLEM_ITEM_NO_DROP = RegistryKey.of("entity.copper_golem.item_no_drop"); - RegistryKey ENTITY_COPPER_GOLEM_NO_ITEM_GET = RegistryKey.unsafeOf("entity.copper_golem.no_item_get"); + RegistryKey ENTITY_COPPER_GOLEM_NO_ITEM_GET = RegistryKey.of("entity.copper_golem.no_item_get"); - RegistryKey ENTITY_COPPER_GOLEM_NO_ITEM_NO_GET = RegistryKey.unsafeOf("entity.copper_golem.no_item_no_get"); + RegistryKey ENTITY_COPPER_GOLEM_NO_ITEM_NO_GET = RegistryKey.of("entity.copper_golem.no_item_no_get"); - RegistryKey ENTITY_COPPER_GOLEM_SHEAR = RegistryKey.unsafeOf("entity.copper_golem.shear"); + RegistryKey ENTITY_COPPER_GOLEM_SHEAR = RegistryKey.of("entity.copper_golem.shear"); - RegistryKey ENTITY_COPPER_GOLEM_SPAWN = RegistryKey.unsafeOf("entity.copper_golem.spawn"); + RegistryKey ENTITY_COPPER_GOLEM_SPAWN = RegistryKey.of("entity.copper_golem.spawn"); - RegistryKey ENTITY_COPPER_GOLEM_SPIN = RegistryKey.unsafeOf("entity.copper_golem.spin"); + RegistryKey ENTITY_COPPER_GOLEM_SPIN = RegistryKey.of("entity.copper_golem.spin"); - RegistryKey ENTITY_COPPER_GOLEM_STEP = RegistryKey.unsafeOf("entity.copper_golem.step"); + RegistryKey ENTITY_COPPER_GOLEM_STEP = RegistryKey.of("entity.copper_golem.step"); - RegistryKey ENTITY_COPPER_GOLEM_BECOME_STATUE = RegistryKey.unsafeOf("entity.copper_golem_become_statue"); + RegistryKey ENTITY_COPPER_GOLEM_BECOME_STATUE = RegistryKey.of("entity.copper_golem_become_statue"); - RegistryKey ENTITY_COPPER_GOLEM_OXIDIZED_DEATH = RegistryKey.unsafeOf("entity.copper_golem_oxidized.death"); + RegistryKey ENTITY_COPPER_GOLEM_OXIDIZED_DEATH = RegistryKey.of("entity.copper_golem_oxidized.death"); - RegistryKey ENTITY_COPPER_GOLEM_OXIDIZED_HURT = RegistryKey.unsafeOf("entity.copper_golem_oxidized.hurt"); + RegistryKey ENTITY_COPPER_GOLEM_OXIDIZED_HURT = RegistryKey.of("entity.copper_golem_oxidized.hurt"); - RegistryKey ENTITY_COPPER_GOLEM_OXIDIZED_SPIN = RegistryKey.unsafeOf("entity.copper_golem_oxidized.spin"); + RegistryKey ENTITY_COPPER_GOLEM_OXIDIZED_SPIN = RegistryKey.of("entity.copper_golem_oxidized.spin"); - RegistryKey ENTITY_COPPER_GOLEM_OXIDIZED_STEP = RegistryKey.unsafeOf("entity.copper_golem_oxidized.step"); + RegistryKey ENTITY_COPPER_GOLEM_OXIDIZED_STEP = RegistryKey.of("entity.copper_golem_oxidized.step"); - RegistryKey ENTITY_COPPER_GOLEM_WEATHERED_DEATH = RegistryKey.unsafeOf("entity.copper_golem_weathered.death"); + RegistryKey ENTITY_COPPER_GOLEM_WEATHERED_DEATH = RegistryKey.of("entity.copper_golem_weathered.death"); - RegistryKey ENTITY_COPPER_GOLEM_WEATHERED_HURT = RegistryKey.unsafeOf("entity.copper_golem_weathered.hurt"); + RegistryKey ENTITY_COPPER_GOLEM_WEATHERED_HURT = RegistryKey.of("entity.copper_golem_weathered.hurt"); - RegistryKey ENTITY_COPPER_GOLEM_WEATHERED_SPIN = RegistryKey.unsafeOf("entity.copper_golem_weathered.spin"); + RegistryKey ENTITY_COPPER_GOLEM_WEATHERED_SPIN = RegistryKey.of("entity.copper_golem_weathered.spin"); - RegistryKey ENTITY_COPPER_GOLEM_WEATHERED_STEP = RegistryKey.unsafeOf("entity.copper_golem_weathered.step"); + RegistryKey ENTITY_COPPER_GOLEM_WEATHERED_STEP = RegistryKey.of("entity.copper_golem_weathered.step"); - RegistryKey ENTITY_COW_AMBIENT = RegistryKey.unsafeOf("entity.cow.ambient"); + RegistryKey ENTITY_COW_AMBIENT = RegistryKey.of("entity.cow.ambient"); - RegistryKey ENTITY_COW_DEATH = RegistryKey.unsafeOf("entity.cow.death"); + RegistryKey ENTITY_COW_DEATH = RegistryKey.of("entity.cow.death"); - RegistryKey ENTITY_COW_HURT = RegistryKey.unsafeOf("entity.cow.hurt"); + RegistryKey ENTITY_COW_HURT = RegistryKey.of("entity.cow.hurt"); - RegistryKey ENTITY_COW_MILK = RegistryKey.unsafeOf("entity.cow.milk"); + RegistryKey ENTITY_COW_MILK = RegistryKey.of("entity.cow.milk"); - RegistryKey ENTITY_COW_STEP = RegistryKey.unsafeOf("entity.cow.step"); + RegistryKey ENTITY_COW_STEP = RegistryKey.of("entity.cow.step"); - RegistryKey ENTITY_COW_MOODY_AMBIENT = RegistryKey.unsafeOf("entity.cow_moody.ambient"); + RegistryKey ENTITY_COW_MOODY_AMBIENT = RegistryKey.of("entity.cow_moody.ambient"); - RegistryKey ENTITY_COW_MOODY_DEATH = RegistryKey.unsafeOf("entity.cow_moody.death"); + RegistryKey ENTITY_COW_MOODY_DEATH = RegistryKey.of("entity.cow_moody.death"); - RegistryKey ENTITY_COW_MOODY_HURT = RegistryKey.unsafeOf("entity.cow_moody.hurt"); + RegistryKey ENTITY_COW_MOODY_HURT = RegistryKey.of("entity.cow_moody.hurt"); - RegistryKey ENTITY_COW_MOODY_STEP = RegistryKey.unsafeOf("entity.cow_moody.step"); + RegistryKey ENTITY_COW_MOODY_STEP = RegistryKey.of("entity.cow_moody.step"); - RegistryKey ENTITY_CREAKING_ACTIVATE = RegistryKey.unsafeOf("entity.creaking.activate"); + RegistryKey ENTITY_CREAKING_ACTIVATE = RegistryKey.of("entity.creaking.activate"); - RegistryKey ENTITY_CREAKING_AMBIENT = RegistryKey.unsafeOf("entity.creaking.ambient"); + RegistryKey ENTITY_CREAKING_AMBIENT = RegistryKey.of("entity.creaking.ambient"); - RegistryKey ENTITY_CREAKING_ATTACK = RegistryKey.unsafeOf("entity.creaking.attack"); + RegistryKey ENTITY_CREAKING_ATTACK = RegistryKey.of("entity.creaking.attack"); - RegistryKey ENTITY_CREAKING_DEACTIVATE = RegistryKey.unsafeOf("entity.creaking.deactivate"); + RegistryKey ENTITY_CREAKING_DEACTIVATE = RegistryKey.of("entity.creaking.deactivate"); - RegistryKey ENTITY_CREAKING_DEATH = RegistryKey.unsafeOf("entity.creaking.death"); + RegistryKey ENTITY_CREAKING_DEATH = RegistryKey.of("entity.creaking.death"); - RegistryKey ENTITY_CREAKING_FREEZE = RegistryKey.unsafeOf("entity.creaking.freeze"); + RegistryKey ENTITY_CREAKING_FREEZE = RegistryKey.of("entity.creaking.freeze"); - RegistryKey ENTITY_CREAKING_SPAWN = RegistryKey.unsafeOf("entity.creaking.spawn"); + RegistryKey ENTITY_CREAKING_SPAWN = RegistryKey.of("entity.creaking.spawn"); - RegistryKey ENTITY_CREAKING_STEP = RegistryKey.unsafeOf("entity.creaking.step"); + RegistryKey ENTITY_CREAKING_STEP = RegistryKey.of("entity.creaking.step"); - RegistryKey ENTITY_CREAKING_SWAY = RegistryKey.unsafeOf("entity.creaking.sway"); + RegistryKey ENTITY_CREAKING_SWAY = RegistryKey.of("entity.creaking.sway"); - RegistryKey ENTITY_CREAKING_TWITCH = RegistryKey.unsafeOf("entity.creaking.twitch"); + RegistryKey ENTITY_CREAKING_TWITCH = RegistryKey.of("entity.creaking.twitch"); - RegistryKey ENTITY_CREAKING_UNFREEZE = RegistryKey.unsafeOf("entity.creaking.unfreeze"); + RegistryKey ENTITY_CREAKING_UNFREEZE = RegistryKey.of("entity.creaking.unfreeze"); - RegistryKey ENTITY_CREEPER_DEATH = RegistryKey.unsafeOf("entity.creeper.death"); + RegistryKey ENTITY_CREEPER_DEATH = RegistryKey.of("entity.creeper.death"); - RegistryKey ENTITY_CREEPER_HURT = RegistryKey.unsafeOf("entity.creeper.hurt"); + RegistryKey ENTITY_CREEPER_HURT = RegistryKey.of("entity.creeper.hurt"); - RegistryKey ENTITY_CREEPER_PRIMED = RegistryKey.unsafeOf("entity.creeper.primed"); + RegistryKey ENTITY_CREEPER_PRIMED = RegistryKey.of("entity.creeper.primed"); - RegistryKey ENTITY_DOLPHIN_AMBIENT = RegistryKey.unsafeOf("entity.dolphin.ambient"); + RegistryKey ENTITY_DOLPHIN_AMBIENT = RegistryKey.of("entity.dolphin.ambient"); - RegistryKey ENTITY_DOLPHIN_AMBIENT_WATER = RegistryKey.unsafeOf("entity.dolphin.ambient_water"); + RegistryKey ENTITY_DOLPHIN_AMBIENT_WATER = RegistryKey.of("entity.dolphin.ambient_water"); - RegistryKey ENTITY_DOLPHIN_ATTACK = RegistryKey.unsafeOf("entity.dolphin.attack"); + RegistryKey ENTITY_DOLPHIN_ATTACK = RegistryKey.of("entity.dolphin.attack"); - RegistryKey ENTITY_DOLPHIN_DEATH = RegistryKey.unsafeOf("entity.dolphin.death"); + RegistryKey ENTITY_DOLPHIN_DEATH = RegistryKey.of("entity.dolphin.death"); - RegistryKey ENTITY_DOLPHIN_EAT = RegistryKey.unsafeOf("entity.dolphin.eat"); + RegistryKey ENTITY_DOLPHIN_EAT = RegistryKey.of("entity.dolphin.eat"); - RegistryKey ENTITY_DOLPHIN_HURT = RegistryKey.unsafeOf("entity.dolphin.hurt"); + RegistryKey ENTITY_DOLPHIN_HURT = RegistryKey.of("entity.dolphin.hurt"); - RegistryKey ENTITY_DOLPHIN_JUMP = RegistryKey.unsafeOf("entity.dolphin.jump"); + RegistryKey ENTITY_DOLPHIN_JUMP = RegistryKey.of("entity.dolphin.jump"); - RegistryKey ENTITY_DOLPHIN_PLAY = RegistryKey.unsafeOf("entity.dolphin.play"); + RegistryKey ENTITY_DOLPHIN_PLAY = RegistryKey.of("entity.dolphin.play"); - RegistryKey ENTITY_DOLPHIN_SPLASH = RegistryKey.unsafeOf("entity.dolphin.splash"); + RegistryKey ENTITY_DOLPHIN_SPLASH = RegistryKey.of("entity.dolphin.splash"); - RegistryKey ENTITY_DOLPHIN_SWIM = RegistryKey.unsafeOf("entity.dolphin.swim"); + RegistryKey ENTITY_DOLPHIN_SWIM = RegistryKey.of("entity.dolphin.swim"); - RegistryKey ENTITY_DONKEY_AMBIENT = RegistryKey.unsafeOf("entity.donkey.ambient"); + RegistryKey ENTITY_DONKEY_AMBIENT = RegistryKey.of("entity.donkey.ambient"); - RegistryKey ENTITY_DONKEY_ANGRY = RegistryKey.unsafeOf("entity.donkey.angry"); + RegistryKey ENTITY_DONKEY_ANGRY = RegistryKey.of("entity.donkey.angry"); - RegistryKey ENTITY_DONKEY_CHEST = RegistryKey.unsafeOf("entity.donkey.chest"); + RegistryKey ENTITY_DONKEY_CHEST = RegistryKey.of("entity.donkey.chest"); - RegistryKey ENTITY_DONKEY_DEATH = RegistryKey.unsafeOf("entity.donkey.death"); + RegistryKey ENTITY_DONKEY_DEATH = RegistryKey.of("entity.donkey.death"); - RegistryKey ENTITY_DONKEY_EAT = RegistryKey.unsafeOf("entity.donkey.eat"); + RegistryKey ENTITY_DONKEY_EAT = RegistryKey.of("entity.donkey.eat"); - RegistryKey ENTITY_DONKEY_HURT = RegistryKey.unsafeOf("entity.donkey.hurt"); + RegistryKey ENTITY_DONKEY_HURT = RegistryKey.of("entity.donkey.hurt"); - RegistryKey ENTITY_DONKEY_JUMP = RegistryKey.unsafeOf("entity.donkey.jump"); + RegistryKey ENTITY_DONKEY_JUMP = RegistryKey.of("entity.donkey.jump"); - RegistryKey ENTITY_DRAGON_FIREBALL_EXPLODE = RegistryKey.unsafeOf("entity.dragon_fireball.explode"); + RegistryKey ENTITY_DRAGON_FIREBALL_EXPLODE = RegistryKey.of("entity.dragon_fireball.explode"); - RegistryKey ENTITY_DROWNED_AMBIENT = RegistryKey.unsafeOf("entity.drowned.ambient"); + RegistryKey ENTITY_DROWNED_AMBIENT = RegistryKey.of("entity.drowned.ambient"); - RegistryKey ENTITY_DROWNED_AMBIENT_WATER = RegistryKey.unsafeOf("entity.drowned.ambient_water"); + RegistryKey ENTITY_DROWNED_AMBIENT_WATER = RegistryKey.of("entity.drowned.ambient_water"); - RegistryKey ENTITY_DROWNED_DEATH = RegistryKey.unsafeOf("entity.drowned.death"); + RegistryKey ENTITY_DROWNED_DEATH = RegistryKey.of("entity.drowned.death"); - RegistryKey ENTITY_DROWNED_DEATH_WATER = RegistryKey.unsafeOf("entity.drowned.death_water"); + RegistryKey ENTITY_DROWNED_DEATH_WATER = RegistryKey.of("entity.drowned.death_water"); - RegistryKey ENTITY_DROWNED_HURT = RegistryKey.unsafeOf("entity.drowned.hurt"); + RegistryKey ENTITY_DROWNED_HURT = RegistryKey.of("entity.drowned.hurt"); - RegistryKey ENTITY_DROWNED_HURT_WATER = RegistryKey.unsafeOf("entity.drowned.hurt_water"); + RegistryKey ENTITY_DROWNED_HURT_WATER = RegistryKey.of("entity.drowned.hurt_water"); - RegistryKey ENTITY_DROWNED_SHOOT = RegistryKey.unsafeOf("entity.drowned.shoot"); + RegistryKey ENTITY_DROWNED_SHOOT = RegistryKey.of("entity.drowned.shoot"); - RegistryKey ENTITY_DROWNED_STEP = RegistryKey.unsafeOf("entity.drowned.step"); + RegistryKey ENTITY_DROWNED_STEP = RegistryKey.of("entity.drowned.step"); - RegistryKey ENTITY_DROWNED_SWIM = RegistryKey.unsafeOf("entity.drowned.swim"); + RegistryKey ENTITY_DROWNED_SWIM = RegistryKey.of("entity.drowned.swim"); - RegistryKey ENTITY_EGG_THROW = RegistryKey.unsafeOf("entity.egg.throw"); + RegistryKey ENTITY_EGG_THROW = RegistryKey.of("entity.egg.throw"); - RegistryKey ENTITY_ELDER_GUARDIAN_AMBIENT = RegistryKey.unsafeOf("entity.elder_guardian.ambient"); + RegistryKey ENTITY_ELDER_GUARDIAN_AMBIENT = RegistryKey.of("entity.elder_guardian.ambient"); - RegistryKey ENTITY_ELDER_GUARDIAN_AMBIENT_LAND = RegistryKey.unsafeOf("entity.elder_guardian.ambient_land"); + RegistryKey ENTITY_ELDER_GUARDIAN_AMBIENT_LAND = RegistryKey.of("entity.elder_guardian.ambient_land"); - RegistryKey ENTITY_ELDER_GUARDIAN_CURSE = RegistryKey.unsafeOf("entity.elder_guardian.curse"); + RegistryKey ENTITY_ELDER_GUARDIAN_CURSE = RegistryKey.of("entity.elder_guardian.curse"); - RegistryKey ENTITY_ELDER_GUARDIAN_DEATH = RegistryKey.unsafeOf("entity.elder_guardian.death"); + RegistryKey ENTITY_ELDER_GUARDIAN_DEATH = RegistryKey.of("entity.elder_guardian.death"); - RegistryKey ENTITY_ELDER_GUARDIAN_DEATH_LAND = RegistryKey.unsafeOf("entity.elder_guardian.death_land"); + RegistryKey ENTITY_ELDER_GUARDIAN_DEATH_LAND = RegistryKey.of("entity.elder_guardian.death_land"); - RegistryKey ENTITY_ELDER_GUARDIAN_FLOP = RegistryKey.unsafeOf("entity.elder_guardian.flop"); + RegistryKey ENTITY_ELDER_GUARDIAN_FLOP = RegistryKey.of("entity.elder_guardian.flop"); - RegistryKey ENTITY_ELDER_GUARDIAN_HURT = RegistryKey.unsafeOf("entity.elder_guardian.hurt"); + RegistryKey ENTITY_ELDER_GUARDIAN_HURT = RegistryKey.of("entity.elder_guardian.hurt"); - RegistryKey ENTITY_ELDER_GUARDIAN_HURT_LAND = RegistryKey.unsafeOf("entity.elder_guardian.hurt_land"); + RegistryKey ENTITY_ELDER_GUARDIAN_HURT_LAND = RegistryKey.of("entity.elder_guardian.hurt_land"); - RegistryKey ENTITY_ENDER_DRAGON_AMBIENT = RegistryKey.unsafeOf("entity.ender_dragon.ambient"); + RegistryKey ENTITY_ENDER_DRAGON_AMBIENT = RegistryKey.of("entity.ender_dragon.ambient"); - RegistryKey ENTITY_ENDER_DRAGON_DEATH = RegistryKey.unsafeOf("entity.ender_dragon.death"); + RegistryKey ENTITY_ENDER_DRAGON_DEATH = RegistryKey.of("entity.ender_dragon.death"); - RegistryKey ENTITY_ENDER_DRAGON_FLAP = RegistryKey.unsafeOf("entity.ender_dragon.flap"); + RegistryKey ENTITY_ENDER_DRAGON_FLAP = RegistryKey.of("entity.ender_dragon.flap"); - RegistryKey ENTITY_ENDER_DRAGON_GROWL = RegistryKey.unsafeOf("entity.ender_dragon.growl"); + RegistryKey ENTITY_ENDER_DRAGON_GROWL = RegistryKey.of("entity.ender_dragon.growl"); - RegistryKey ENTITY_ENDER_DRAGON_HURT = RegistryKey.unsafeOf("entity.ender_dragon.hurt"); + RegistryKey ENTITY_ENDER_DRAGON_HURT = RegistryKey.of("entity.ender_dragon.hurt"); - RegistryKey ENTITY_ENDER_DRAGON_SHOOT = RegistryKey.unsafeOf("entity.ender_dragon.shoot"); + RegistryKey ENTITY_ENDER_DRAGON_SHOOT = RegistryKey.of("entity.ender_dragon.shoot"); - RegistryKey ENTITY_ENDER_EYE_DEATH = RegistryKey.unsafeOf("entity.ender_eye.death"); + RegistryKey ENTITY_ENDER_EYE_DEATH = RegistryKey.of("entity.ender_eye.death"); - RegistryKey ENTITY_ENDER_EYE_LAUNCH = RegistryKey.unsafeOf("entity.ender_eye.launch"); + RegistryKey ENTITY_ENDER_EYE_LAUNCH = RegistryKey.of("entity.ender_eye.launch"); - RegistryKey ENTITY_ENDER_PEARL_THROW = RegistryKey.unsafeOf("entity.ender_pearl.throw"); + RegistryKey ENTITY_ENDER_PEARL_THROW = RegistryKey.of("entity.ender_pearl.throw"); - RegistryKey ENTITY_ENDERMAN_AMBIENT = RegistryKey.unsafeOf("entity.enderman.ambient"); + RegistryKey ENTITY_ENDERMAN_AMBIENT = RegistryKey.of("entity.enderman.ambient"); - RegistryKey ENTITY_ENDERMAN_DEATH = RegistryKey.unsafeOf("entity.enderman.death"); + RegistryKey ENTITY_ENDERMAN_DEATH = RegistryKey.of("entity.enderman.death"); - RegistryKey ENTITY_ENDERMAN_HURT = RegistryKey.unsafeOf("entity.enderman.hurt"); + RegistryKey ENTITY_ENDERMAN_HURT = RegistryKey.of("entity.enderman.hurt"); - RegistryKey ENTITY_ENDERMAN_SCREAM = RegistryKey.unsafeOf("entity.enderman.scream"); + RegistryKey ENTITY_ENDERMAN_SCREAM = RegistryKey.of("entity.enderman.scream"); - RegistryKey ENTITY_ENDERMAN_STARE = RegistryKey.unsafeOf("entity.enderman.stare"); + RegistryKey ENTITY_ENDERMAN_STARE = RegistryKey.of("entity.enderman.stare"); - RegistryKey ENTITY_ENDERMAN_TELEPORT = RegistryKey.unsafeOf("entity.enderman.teleport"); + RegistryKey ENTITY_ENDERMAN_TELEPORT = RegistryKey.of("entity.enderman.teleport"); - RegistryKey ENTITY_ENDERMITE_AMBIENT = RegistryKey.unsafeOf("entity.endermite.ambient"); + RegistryKey ENTITY_ENDERMITE_AMBIENT = RegistryKey.of("entity.endermite.ambient"); - RegistryKey ENTITY_ENDERMITE_DEATH = RegistryKey.unsafeOf("entity.endermite.death"); + RegistryKey ENTITY_ENDERMITE_DEATH = RegistryKey.of("entity.endermite.death"); - RegistryKey ENTITY_ENDERMITE_HURT = RegistryKey.unsafeOf("entity.endermite.hurt"); + RegistryKey ENTITY_ENDERMITE_HURT = RegistryKey.of("entity.endermite.hurt"); - RegistryKey ENTITY_ENDERMITE_STEP = RegistryKey.unsafeOf("entity.endermite.step"); + RegistryKey ENTITY_ENDERMITE_STEP = RegistryKey.of("entity.endermite.step"); - RegistryKey ENTITY_EVOKER_AMBIENT = RegistryKey.unsafeOf("entity.evoker.ambient"); + RegistryKey ENTITY_EVOKER_AMBIENT = RegistryKey.of("entity.evoker.ambient"); - RegistryKey ENTITY_EVOKER_CAST_SPELL = RegistryKey.unsafeOf("entity.evoker.cast_spell"); + RegistryKey ENTITY_EVOKER_CAST_SPELL = RegistryKey.of("entity.evoker.cast_spell"); - RegistryKey ENTITY_EVOKER_CELEBRATE = RegistryKey.unsafeOf("entity.evoker.celebrate"); + RegistryKey ENTITY_EVOKER_CELEBRATE = RegistryKey.of("entity.evoker.celebrate"); - RegistryKey ENTITY_EVOKER_DEATH = RegistryKey.unsafeOf("entity.evoker.death"); + RegistryKey ENTITY_EVOKER_DEATH = RegistryKey.of("entity.evoker.death"); - RegistryKey ENTITY_EVOKER_HURT = RegistryKey.unsafeOf("entity.evoker.hurt"); + RegistryKey ENTITY_EVOKER_HURT = RegistryKey.of("entity.evoker.hurt"); - RegistryKey ENTITY_EVOKER_PREPARE_ATTACK = RegistryKey.unsafeOf("entity.evoker.prepare_attack"); + RegistryKey ENTITY_EVOKER_PREPARE_ATTACK = RegistryKey.of("entity.evoker.prepare_attack"); - RegistryKey ENTITY_EVOKER_PREPARE_SUMMON = RegistryKey.unsafeOf("entity.evoker.prepare_summon"); + RegistryKey ENTITY_EVOKER_PREPARE_SUMMON = RegistryKey.of("entity.evoker.prepare_summon"); - RegistryKey ENTITY_EVOKER_PREPARE_WOLOLO = RegistryKey.unsafeOf("entity.evoker.prepare_wololo"); + RegistryKey ENTITY_EVOKER_PREPARE_WOLOLO = RegistryKey.of("entity.evoker.prepare_wololo"); - RegistryKey ENTITY_EVOKER_FANGS_ATTACK = RegistryKey.unsafeOf("entity.evoker_fangs.attack"); + RegistryKey ENTITY_EVOKER_FANGS_ATTACK = RegistryKey.of("entity.evoker_fangs.attack"); - RegistryKey ENTITY_EXPERIENCE_BOTTLE_THROW = RegistryKey.unsafeOf("entity.experience_bottle.throw"); + RegistryKey ENTITY_EXPERIENCE_BOTTLE_THROW = RegistryKey.of("entity.experience_bottle.throw"); - RegistryKey ENTITY_EXPERIENCE_ORB_PICKUP = RegistryKey.unsafeOf("entity.experience_orb.pickup"); + RegistryKey ENTITY_EXPERIENCE_ORB_PICKUP = RegistryKey.of("entity.experience_orb.pickup"); - RegistryKey ENTITY_FIREWORK_ROCKET_BLAST = RegistryKey.unsafeOf("entity.firework_rocket.blast"); + RegistryKey ENTITY_FIREWORK_ROCKET_BLAST = RegistryKey.of("entity.firework_rocket.blast"); - RegistryKey ENTITY_FIREWORK_ROCKET_BLAST_FAR = RegistryKey.unsafeOf("entity.firework_rocket.blast_far"); + RegistryKey ENTITY_FIREWORK_ROCKET_BLAST_FAR = RegistryKey.of("entity.firework_rocket.blast_far"); - RegistryKey ENTITY_FIREWORK_ROCKET_LARGE_BLAST = RegistryKey.unsafeOf("entity.firework_rocket.large_blast"); + RegistryKey ENTITY_FIREWORK_ROCKET_LARGE_BLAST = RegistryKey.of("entity.firework_rocket.large_blast"); - RegistryKey ENTITY_FIREWORK_ROCKET_LARGE_BLAST_FAR = RegistryKey.unsafeOf("entity.firework_rocket.large_blast_far"); + RegistryKey ENTITY_FIREWORK_ROCKET_LARGE_BLAST_FAR = RegistryKey.of("entity.firework_rocket.large_blast_far"); - RegistryKey ENTITY_FIREWORK_ROCKET_LAUNCH = RegistryKey.unsafeOf("entity.firework_rocket.launch"); + RegistryKey ENTITY_FIREWORK_ROCKET_LAUNCH = RegistryKey.of("entity.firework_rocket.launch"); - RegistryKey ENTITY_FIREWORK_ROCKET_SHOOT = RegistryKey.unsafeOf("entity.firework_rocket.shoot"); + RegistryKey ENTITY_FIREWORK_ROCKET_SHOOT = RegistryKey.of("entity.firework_rocket.shoot"); - RegistryKey ENTITY_FIREWORK_ROCKET_TWINKLE = RegistryKey.unsafeOf("entity.firework_rocket.twinkle"); + RegistryKey ENTITY_FIREWORK_ROCKET_TWINKLE = RegistryKey.of("entity.firework_rocket.twinkle"); - RegistryKey ENTITY_FIREWORK_ROCKET_TWINKLE_FAR = RegistryKey.unsafeOf("entity.firework_rocket.twinkle_far"); + RegistryKey ENTITY_FIREWORK_ROCKET_TWINKLE_FAR = RegistryKey.of("entity.firework_rocket.twinkle_far"); - RegistryKey ENTITY_FISH_SWIM = RegistryKey.unsafeOf("entity.fish.swim"); + RegistryKey ENTITY_FISH_SWIM = RegistryKey.of("entity.fish.swim"); - RegistryKey ENTITY_FISHING_BOBBER_RETRIEVE = RegistryKey.unsafeOf("entity.fishing_bobber.retrieve"); + RegistryKey ENTITY_FISHING_BOBBER_RETRIEVE = RegistryKey.of("entity.fishing_bobber.retrieve"); - RegistryKey ENTITY_FISHING_BOBBER_SPLASH = RegistryKey.unsafeOf("entity.fishing_bobber.splash"); + RegistryKey ENTITY_FISHING_BOBBER_SPLASH = RegistryKey.of("entity.fishing_bobber.splash"); - RegistryKey ENTITY_FISHING_BOBBER_THROW = RegistryKey.unsafeOf("entity.fishing_bobber.throw"); + RegistryKey ENTITY_FISHING_BOBBER_THROW = RegistryKey.of("entity.fishing_bobber.throw"); - RegistryKey ENTITY_FOX_AGGRO = RegistryKey.unsafeOf("entity.fox.aggro"); + RegistryKey ENTITY_FOX_AGGRO = RegistryKey.of("entity.fox.aggro"); - RegistryKey ENTITY_FOX_AMBIENT = RegistryKey.unsafeOf("entity.fox.ambient"); + RegistryKey ENTITY_FOX_AMBIENT = RegistryKey.of("entity.fox.ambient"); - RegistryKey ENTITY_FOX_BITE = RegistryKey.unsafeOf("entity.fox.bite"); + RegistryKey ENTITY_FOX_BITE = RegistryKey.of("entity.fox.bite"); - RegistryKey ENTITY_FOX_DEATH = RegistryKey.unsafeOf("entity.fox.death"); + RegistryKey ENTITY_FOX_DEATH = RegistryKey.of("entity.fox.death"); - RegistryKey ENTITY_FOX_EAT = RegistryKey.unsafeOf("entity.fox.eat"); + RegistryKey ENTITY_FOX_EAT = RegistryKey.of("entity.fox.eat"); - RegistryKey ENTITY_FOX_HURT = RegistryKey.unsafeOf("entity.fox.hurt"); + RegistryKey ENTITY_FOX_HURT = RegistryKey.of("entity.fox.hurt"); - RegistryKey ENTITY_FOX_SCREECH = RegistryKey.unsafeOf("entity.fox.screech"); + RegistryKey ENTITY_FOX_SCREECH = RegistryKey.of("entity.fox.screech"); - RegistryKey ENTITY_FOX_SLEEP = RegistryKey.unsafeOf("entity.fox.sleep"); + RegistryKey ENTITY_FOX_SLEEP = RegistryKey.of("entity.fox.sleep"); - RegistryKey ENTITY_FOX_SNIFF = RegistryKey.unsafeOf("entity.fox.sniff"); + RegistryKey ENTITY_FOX_SNIFF = RegistryKey.of("entity.fox.sniff"); - RegistryKey ENTITY_FOX_SPIT = RegistryKey.unsafeOf("entity.fox.spit"); + RegistryKey ENTITY_FOX_SPIT = RegistryKey.of("entity.fox.spit"); - RegistryKey ENTITY_FOX_TELEPORT = RegistryKey.unsafeOf("entity.fox.teleport"); + RegistryKey ENTITY_FOX_TELEPORT = RegistryKey.of("entity.fox.teleport"); - RegistryKey ENTITY_FROG_AMBIENT = RegistryKey.unsafeOf("entity.frog.ambient"); + RegistryKey ENTITY_FROG_AMBIENT = RegistryKey.of("entity.frog.ambient"); - RegistryKey ENTITY_FROG_DEATH = RegistryKey.unsafeOf("entity.frog.death"); + RegistryKey ENTITY_FROG_DEATH = RegistryKey.of("entity.frog.death"); - RegistryKey ENTITY_FROG_EAT = RegistryKey.unsafeOf("entity.frog.eat"); + RegistryKey ENTITY_FROG_EAT = RegistryKey.of("entity.frog.eat"); - RegistryKey ENTITY_FROG_HURT = RegistryKey.unsafeOf("entity.frog.hurt"); + RegistryKey ENTITY_FROG_HURT = RegistryKey.of("entity.frog.hurt"); - RegistryKey ENTITY_FROG_LAY_SPAWN = RegistryKey.unsafeOf("entity.frog.lay_spawn"); + RegistryKey ENTITY_FROG_LAY_SPAWN = RegistryKey.of("entity.frog.lay_spawn"); - RegistryKey ENTITY_FROG_LONG_JUMP = RegistryKey.unsafeOf("entity.frog.long_jump"); + RegistryKey ENTITY_FROG_LONG_JUMP = RegistryKey.of("entity.frog.long_jump"); - RegistryKey ENTITY_FROG_STEP = RegistryKey.unsafeOf("entity.frog.step"); + RegistryKey ENTITY_FROG_STEP = RegistryKey.of("entity.frog.step"); - RegistryKey ENTITY_FROG_TONGUE = RegistryKey.unsafeOf("entity.frog.tongue"); + RegistryKey ENTITY_FROG_TONGUE = RegistryKey.of("entity.frog.tongue"); - RegistryKey ENTITY_GENERIC_BIG_FALL = RegistryKey.unsafeOf("entity.generic.big_fall"); + RegistryKey ENTITY_GENERIC_BIG_FALL = RegistryKey.of("entity.generic.big_fall"); - RegistryKey ENTITY_GENERIC_BURN = RegistryKey.unsafeOf("entity.generic.burn"); + RegistryKey ENTITY_GENERIC_BURN = RegistryKey.of("entity.generic.burn"); - RegistryKey ENTITY_GENERIC_DEATH = RegistryKey.unsafeOf("entity.generic.death"); + RegistryKey ENTITY_GENERIC_DEATH = RegistryKey.of("entity.generic.death"); - RegistryKey ENTITY_GENERIC_DRINK = RegistryKey.unsafeOf("entity.generic.drink"); + RegistryKey ENTITY_GENERIC_DRINK = RegistryKey.of("entity.generic.drink"); - RegistryKey ENTITY_GENERIC_EAT = RegistryKey.unsafeOf("entity.generic.eat"); + RegistryKey ENTITY_GENERIC_EAT = RegistryKey.of("entity.generic.eat"); - RegistryKey ENTITY_GENERIC_EXPLODE = RegistryKey.unsafeOf("entity.generic.explode"); + RegistryKey ENTITY_GENERIC_EXPLODE = RegistryKey.of("entity.generic.explode"); - RegistryKey ENTITY_GENERIC_EXTINGUISH_FIRE = RegistryKey.unsafeOf("entity.generic.extinguish_fire"); + RegistryKey ENTITY_GENERIC_EXTINGUISH_FIRE = RegistryKey.of("entity.generic.extinguish_fire"); - RegistryKey ENTITY_GENERIC_HURT = RegistryKey.unsafeOf("entity.generic.hurt"); + RegistryKey ENTITY_GENERIC_HURT = RegistryKey.of("entity.generic.hurt"); - RegistryKey ENTITY_GENERIC_SMALL_FALL = RegistryKey.unsafeOf("entity.generic.small_fall"); + RegistryKey ENTITY_GENERIC_SMALL_FALL = RegistryKey.of("entity.generic.small_fall"); - RegistryKey ENTITY_GENERIC_SPLASH = RegistryKey.unsafeOf("entity.generic.splash"); + RegistryKey ENTITY_GENERIC_SPLASH = RegistryKey.of("entity.generic.splash"); - RegistryKey ENTITY_GENERIC_SWIM = RegistryKey.unsafeOf("entity.generic.swim"); + RegistryKey ENTITY_GENERIC_SWIM = RegistryKey.of("entity.generic.swim"); - RegistryKey ENTITY_GHAST_AMBIENT = RegistryKey.unsafeOf("entity.ghast.ambient"); + RegistryKey ENTITY_GHAST_AMBIENT = RegistryKey.of("entity.ghast.ambient"); - RegistryKey ENTITY_GHAST_DEATH = RegistryKey.unsafeOf("entity.ghast.death"); + RegistryKey ENTITY_GHAST_DEATH = RegistryKey.of("entity.ghast.death"); - RegistryKey ENTITY_GHAST_HURT = RegistryKey.unsafeOf("entity.ghast.hurt"); + RegistryKey ENTITY_GHAST_HURT = RegistryKey.of("entity.ghast.hurt"); - RegistryKey ENTITY_GHAST_SCREAM = RegistryKey.unsafeOf("entity.ghast.scream"); + RegistryKey ENTITY_GHAST_SCREAM = RegistryKey.of("entity.ghast.scream"); - RegistryKey ENTITY_GHAST_SHOOT = RegistryKey.unsafeOf("entity.ghast.shoot"); + RegistryKey ENTITY_GHAST_SHOOT = RegistryKey.of("entity.ghast.shoot"); - RegistryKey ENTITY_GHAST_WARN = RegistryKey.unsafeOf("entity.ghast.warn"); + RegistryKey ENTITY_GHAST_WARN = RegistryKey.of("entity.ghast.warn"); - RegistryKey ENTITY_GHASTLING_AMBIENT = RegistryKey.unsafeOf("entity.ghastling.ambient"); + RegistryKey ENTITY_GHASTLING_AMBIENT = RegistryKey.of("entity.ghastling.ambient"); - RegistryKey ENTITY_GHASTLING_DEATH = RegistryKey.unsafeOf("entity.ghastling.death"); + RegistryKey ENTITY_GHASTLING_DEATH = RegistryKey.of("entity.ghastling.death"); - RegistryKey ENTITY_GHASTLING_HURT = RegistryKey.unsafeOf("entity.ghastling.hurt"); + RegistryKey ENTITY_GHASTLING_HURT = RegistryKey.of("entity.ghastling.hurt"); - RegistryKey ENTITY_GHASTLING_SPAWN = RegistryKey.unsafeOf("entity.ghastling.spawn"); + RegistryKey ENTITY_GHASTLING_SPAWN = RegistryKey.of("entity.ghastling.spawn"); - RegistryKey ENTITY_GLOW_ITEM_FRAME_ADD_ITEM = RegistryKey.unsafeOf("entity.glow_item_frame.add_item"); + RegistryKey ENTITY_GLOW_ITEM_FRAME_ADD_ITEM = RegistryKey.of("entity.glow_item_frame.add_item"); - RegistryKey ENTITY_GLOW_ITEM_FRAME_BREAK = RegistryKey.unsafeOf("entity.glow_item_frame.break"); + RegistryKey ENTITY_GLOW_ITEM_FRAME_BREAK = RegistryKey.of("entity.glow_item_frame.break"); - RegistryKey ENTITY_GLOW_ITEM_FRAME_PLACE = RegistryKey.unsafeOf("entity.glow_item_frame.place"); + RegistryKey ENTITY_GLOW_ITEM_FRAME_PLACE = RegistryKey.of("entity.glow_item_frame.place"); - RegistryKey ENTITY_GLOW_ITEM_FRAME_REMOVE_ITEM = RegistryKey.unsafeOf("entity.glow_item_frame.remove_item"); + RegistryKey ENTITY_GLOW_ITEM_FRAME_REMOVE_ITEM = RegistryKey.of("entity.glow_item_frame.remove_item"); - RegistryKey ENTITY_GLOW_ITEM_FRAME_ROTATE_ITEM = RegistryKey.unsafeOf("entity.glow_item_frame.rotate_item"); + RegistryKey ENTITY_GLOW_ITEM_FRAME_ROTATE_ITEM = RegistryKey.of("entity.glow_item_frame.rotate_item"); - RegistryKey ENTITY_GLOW_SQUID_AMBIENT = RegistryKey.unsafeOf("entity.glow_squid.ambient"); + RegistryKey ENTITY_GLOW_SQUID_AMBIENT = RegistryKey.of("entity.glow_squid.ambient"); - RegistryKey ENTITY_GLOW_SQUID_DEATH = RegistryKey.unsafeOf("entity.glow_squid.death"); + RegistryKey ENTITY_GLOW_SQUID_DEATH = RegistryKey.of("entity.glow_squid.death"); - RegistryKey ENTITY_GLOW_SQUID_HURT = RegistryKey.unsafeOf("entity.glow_squid.hurt"); + RegistryKey ENTITY_GLOW_SQUID_HURT = RegistryKey.of("entity.glow_squid.hurt"); - RegistryKey ENTITY_GLOW_SQUID_SQUIRT = RegistryKey.unsafeOf("entity.glow_squid.squirt"); + RegistryKey ENTITY_GLOW_SQUID_SQUIRT = RegistryKey.of("entity.glow_squid.squirt"); - RegistryKey ENTITY_GOAT_AMBIENT = RegistryKey.unsafeOf("entity.goat.ambient"); + RegistryKey ENTITY_GOAT_AMBIENT = RegistryKey.of("entity.goat.ambient"); - RegistryKey ENTITY_GOAT_DEATH = RegistryKey.unsafeOf("entity.goat.death"); + RegistryKey ENTITY_GOAT_DEATH = RegistryKey.of("entity.goat.death"); - RegistryKey ENTITY_GOAT_EAT = RegistryKey.unsafeOf("entity.goat.eat"); + RegistryKey ENTITY_GOAT_EAT = RegistryKey.of("entity.goat.eat"); - RegistryKey ENTITY_GOAT_HORN_BREAK = RegistryKey.unsafeOf("entity.goat.horn_break"); + RegistryKey ENTITY_GOAT_HORN_BREAK = RegistryKey.of("entity.goat.horn_break"); - RegistryKey ENTITY_GOAT_HURT = RegistryKey.unsafeOf("entity.goat.hurt"); + RegistryKey ENTITY_GOAT_HURT = RegistryKey.of("entity.goat.hurt"); - RegistryKey ENTITY_GOAT_LONG_JUMP = RegistryKey.unsafeOf("entity.goat.long_jump"); + RegistryKey ENTITY_GOAT_LONG_JUMP = RegistryKey.of("entity.goat.long_jump"); - RegistryKey ENTITY_GOAT_MILK = RegistryKey.unsafeOf("entity.goat.milk"); + RegistryKey ENTITY_GOAT_MILK = RegistryKey.of("entity.goat.milk"); - RegistryKey ENTITY_GOAT_PREPARE_RAM = RegistryKey.unsafeOf("entity.goat.prepare_ram"); + RegistryKey ENTITY_GOAT_PREPARE_RAM = RegistryKey.of("entity.goat.prepare_ram"); - RegistryKey ENTITY_GOAT_RAM_IMPACT = RegistryKey.unsafeOf("entity.goat.ram_impact"); + RegistryKey ENTITY_GOAT_RAM_IMPACT = RegistryKey.of("entity.goat.ram_impact"); - RegistryKey ENTITY_GOAT_SCREAMING_AMBIENT = RegistryKey.unsafeOf("entity.goat.screaming.ambient"); + RegistryKey ENTITY_GOAT_SCREAMING_AMBIENT = RegistryKey.of("entity.goat.screaming.ambient"); - RegistryKey ENTITY_GOAT_SCREAMING_DEATH = RegistryKey.unsafeOf("entity.goat.screaming.death"); + RegistryKey ENTITY_GOAT_SCREAMING_DEATH = RegistryKey.of("entity.goat.screaming.death"); - RegistryKey ENTITY_GOAT_SCREAMING_EAT = RegistryKey.unsafeOf("entity.goat.screaming.eat"); + RegistryKey ENTITY_GOAT_SCREAMING_EAT = RegistryKey.of("entity.goat.screaming.eat"); - RegistryKey ENTITY_GOAT_SCREAMING_HURT = RegistryKey.unsafeOf("entity.goat.screaming.hurt"); + RegistryKey ENTITY_GOAT_SCREAMING_HURT = RegistryKey.of("entity.goat.screaming.hurt"); - RegistryKey ENTITY_GOAT_SCREAMING_LONG_JUMP = RegistryKey.unsafeOf("entity.goat.screaming.long_jump"); + RegistryKey ENTITY_GOAT_SCREAMING_LONG_JUMP = RegistryKey.of("entity.goat.screaming.long_jump"); - RegistryKey ENTITY_GOAT_SCREAMING_MILK = RegistryKey.unsafeOf("entity.goat.screaming.milk"); + RegistryKey ENTITY_GOAT_SCREAMING_MILK = RegistryKey.of("entity.goat.screaming.milk"); - RegistryKey ENTITY_GOAT_SCREAMING_PREPARE_RAM = RegistryKey.unsafeOf("entity.goat.screaming.prepare_ram"); + RegistryKey ENTITY_GOAT_SCREAMING_PREPARE_RAM = RegistryKey.of("entity.goat.screaming.prepare_ram"); - RegistryKey ENTITY_GOAT_SCREAMING_RAM_IMPACT = RegistryKey.unsafeOf("entity.goat.screaming.ram_impact"); + RegistryKey ENTITY_GOAT_SCREAMING_RAM_IMPACT = RegistryKey.of("entity.goat.screaming.ram_impact"); - RegistryKey ENTITY_GOAT_STEP = RegistryKey.unsafeOf("entity.goat.step"); + RegistryKey ENTITY_GOAT_STEP = RegistryKey.of("entity.goat.step"); - RegistryKey ENTITY_GUARDIAN_AMBIENT = RegistryKey.unsafeOf("entity.guardian.ambient"); + RegistryKey ENTITY_GUARDIAN_AMBIENT = RegistryKey.of("entity.guardian.ambient"); - RegistryKey ENTITY_GUARDIAN_AMBIENT_LAND = RegistryKey.unsafeOf("entity.guardian.ambient_land"); + RegistryKey ENTITY_GUARDIAN_AMBIENT_LAND = RegistryKey.of("entity.guardian.ambient_land"); - RegistryKey ENTITY_GUARDIAN_ATTACK = RegistryKey.unsafeOf("entity.guardian.attack"); + RegistryKey ENTITY_GUARDIAN_ATTACK = RegistryKey.of("entity.guardian.attack"); - RegistryKey ENTITY_GUARDIAN_DEATH = RegistryKey.unsafeOf("entity.guardian.death"); + RegistryKey ENTITY_GUARDIAN_DEATH = RegistryKey.of("entity.guardian.death"); - RegistryKey ENTITY_GUARDIAN_DEATH_LAND = RegistryKey.unsafeOf("entity.guardian.death_land"); + RegistryKey ENTITY_GUARDIAN_DEATH_LAND = RegistryKey.of("entity.guardian.death_land"); - RegistryKey ENTITY_GUARDIAN_FLOP = RegistryKey.unsafeOf("entity.guardian.flop"); + RegistryKey ENTITY_GUARDIAN_FLOP = RegistryKey.of("entity.guardian.flop"); - RegistryKey ENTITY_GUARDIAN_HURT = RegistryKey.unsafeOf("entity.guardian.hurt"); + RegistryKey ENTITY_GUARDIAN_HURT = RegistryKey.of("entity.guardian.hurt"); - RegistryKey ENTITY_GUARDIAN_HURT_LAND = RegistryKey.unsafeOf("entity.guardian.hurt_land"); + RegistryKey ENTITY_GUARDIAN_HURT_LAND = RegistryKey.of("entity.guardian.hurt_land"); - RegistryKey ENTITY_HAPPY_GHAST_AMBIENT = RegistryKey.unsafeOf("entity.happy_ghast.ambient"); + RegistryKey ENTITY_HAPPY_GHAST_AMBIENT = RegistryKey.of("entity.happy_ghast.ambient"); - RegistryKey ENTITY_HAPPY_GHAST_DEATH = RegistryKey.unsafeOf("entity.happy_ghast.death"); + RegistryKey ENTITY_HAPPY_GHAST_DEATH = RegistryKey.of("entity.happy_ghast.death"); - RegistryKey ENTITY_HAPPY_GHAST_EQUIP = RegistryKey.unsafeOf("entity.happy_ghast.equip"); + RegistryKey ENTITY_HAPPY_GHAST_EQUIP = RegistryKey.of("entity.happy_ghast.equip"); - RegistryKey ENTITY_HAPPY_GHAST_HARNESS_GOGGLES_DOWN = RegistryKey.unsafeOf("entity.happy_ghast.harness_goggles_down"); + RegistryKey ENTITY_HAPPY_GHAST_HARNESS_GOGGLES_DOWN = RegistryKey.of("entity.happy_ghast.harness_goggles_down"); - RegistryKey ENTITY_HAPPY_GHAST_HARNESS_GOGGLES_UP = RegistryKey.unsafeOf("entity.happy_ghast.harness_goggles_up"); + RegistryKey ENTITY_HAPPY_GHAST_HARNESS_GOGGLES_UP = RegistryKey.of("entity.happy_ghast.harness_goggles_up"); - RegistryKey ENTITY_HAPPY_GHAST_HURT = RegistryKey.unsafeOf("entity.happy_ghast.hurt"); + RegistryKey ENTITY_HAPPY_GHAST_HURT = RegistryKey.of("entity.happy_ghast.hurt"); - RegistryKey ENTITY_HAPPY_GHAST_RIDING = RegistryKey.unsafeOf("entity.happy_ghast.riding"); + RegistryKey ENTITY_HAPPY_GHAST_RIDING = RegistryKey.of("entity.happy_ghast.riding"); - RegistryKey ENTITY_HAPPY_GHAST_UNEQUIP = RegistryKey.unsafeOf("entity.happy_ghast.unequip"); + RegistryKey ENTITY_HAPPY_GHAST_UNEQUIP = RegistryKey.of("entity.happy_ghast.unequip"); - RegistryKey ENTITY_HOGLIN_AMBIENT = RegistryKey.unsafeOf("entity.hoglin.ambient"); + RegistryKey ENTITY_HOGLIN_AMBIENT = RegistryKey.of("entity.hoglin.ambient"); - RegistryKey ENTITY_HOGLIN_ANGRY = RegistryKey.unsafeOf("entity.hoglin.angry"); + RegistryKey ENTITY_HOGLIN_ANGRY = RegistryKey.of("entity.hoglin.angry"); - RegistryKey ENTITY_HOGLIN_ATTACK = RegistryKey.unsafeOf("entity.hoglin.attack"); + RegistryKey ENTITY_HOGLIN_ATTACK = RegistryKey.of("entity.hoglin.attack"); - RegistryKey ENTITY_HOGLIN_CONVERTED_TO_ZOMBIFIED = RegistryKey.unsafeOf("entity.hoglin.converted_to_zombified"); + RegistryKey ENTITY_HOGLIN_CONVERTED_TO_ZOMBIFIED = RegistryKey.of("entity.hoglin.converted_to_zombified"); - RegistryKey ENTITY_HOGLIN_DEATH = RegistryKey.unsafeOf("entity.hoglin.death"); + RegistryKey ENTITY_HOGLIN_DEATH = RegistryKey.of("entity.hoglin.death"); - RegistryKey ENTITY_HOGLIN_HURT = RegistryKey.unsafeOf("entity.hoglin.hurt"); + RegistryKey ENTITY_HOGLIN_HURT = RegistryKey.of("entity.hoglin.hurt"); - RegistryKey ENTITY_HOGLIN_RETREAT = RegistryKey.unsafeOf("entity.hoglin.retreat"); + RegistryKey ENTITY_HOGLIN_RETREAT = RegistryKey.of("entity.hoglin.retreat"); - RegistryKey ENTITY_HOGLIN_STEP = RegistryKey.unsafeOf("entity.hoglin.step"); + RegistryKey ENTITY_HOGLIN_STEP = RegistryKey.of("entity.hoglin.step"); - RegistryKey ENTITY_HORSE_AMBIENT = RegistryKey.unsafeOf("entity.horse.ambient"); + RegistryKey ENTITY_HORSE_AMBIENT = RegistryKey.of("entity.horse.ambient"); - RegistryKey ENTITY_HORSE_ANGRY = RegistryKey.unsafeOf("entity.horse.angry"); + RegistryKey ENTITY_HORSE_ANGRY = RegistryKey.of("entity.horse.angry"); - RegistryKey ENTITY_HORSE_ARMOR = RegistryKey.unsafeOf("entity.horse.armor"); + RegistryKey ENTITY_HORSE_ARMOR = RegistryKey.of("entity.horse.armor"); - RegistryKey ENTITY_HORSE_BREATHE = RegistryKey.unsafeOf("entity.horse.breathe"); + RegistryKey ENTITY_HORSE_BREATHE = RegistryKey.of("entity.horse.breathe"); - RegistryKey ENTITY_HORSE_DEATH = RegistryKey.unsafeOf("entity.horse.death"); + RegistryKey ENTITY_HORSE_DEATH = RegistryKey.of("entity.horse.death"); - RegistryKey ENTITY_HORSE_EAT = RegistryKey.unsafeOf("entity.horse.eat"); + RegistryKey ENTITY_HORSE_EAT = RegistryKey.of("entity.horse.eat"); - RegistryKey ENTITY_HORSE_GALLOP = RegistryKey.unsafeOf("entity.horse.gallop"); + RegistryKey ENTITY_HORSE_GALLOP = RegistryKey.of("entity.horse.gallop"); - RegistryKey ENTITY_HORSE_HURT = RegistryKey.unsafeOf("entity.horse.hurt"); + RegistryKey ENTITY_HORSE_HURT = RegistryKey.of("entity.horse.hurt"); - RegistryKey ENTITY_HORSE_JUMP = RegistryKey.unsafeOf("entity.horse.jump"); + RegistryKey ENTITY_HORSE_JUMP = RegistryKey.of("entity.horse.jump"); - RegistryKey ENTITY_HORSE_LAND = RegistryKey.unsafeOf("entity.horse.land"); + RegistryKey ENTITY_HORSE_LAND = RegistryKey.of("entity.horse.land"); - RegistryKey ENTITY_HORSE_SADDLE = RegistryKey.unsafeOf("entity.horse.saddle"); + RegistryKey ENTITY_HORSE_SADDLE = RegistryKey.of("entity.horse.saddle"); - RegistryKey ENTITY_HORSE_STEP = RegistryKey.unsafeOf("entity.horse.step"); + RegistryKey ENTITY_HORSE_STEP = RegistryKey.of("entity.horse.step"); - RegistryKey ENTITY_HORSE_STEP_WOOD = RegistryKey.unsafeOf("entity.horse.step_wood"); + RegistryKey ENTITY_HORSE_STEP_WOOD = RegistryKey.of("entity.horse.step_wood"); - RegistryKey ENTITY_HOSTILE_BIG_FALL = RegistryKey.unsafeOf("entity.hostile.big_fall"); + RegistryKey ENTITY_HOSTILE_BIG_FALL = RegistryKey.of("entity.hostile.big_fall"); - RegistryKey ENTITY_HOSTILE_DEATH = RegistryKey.unsafeOf("entity.hostile.death"); + RegistryKey ENTITY_HOSTILE_DEATH = RegistryKey.of("entity.hostile.death"); - RegistryKey ENTITY_HOSTILE_HURT = RegistryKey.unsafeOf("entity.hostile.hurt"); + RegistryKey ENTITY_HOSTILE_HURT = RegistryKey.of("entity.hostile.hurt"); - RegistryKey ENTITY_HOSTILE_SMALL_FALL = RegistryKey.unsafeOf("entity.hostile.small_fall"); + RegistryKey ENTITY_HOSTILE_SMALL_FALL = RegistryKey.of("entity.hostile.small_fall"); - RegistryKey ENTITY_HOSTILE_SPLASH = RegistryKey.unsafeOf("entity.hostile.splash"); + RegistryKey ENTITY_HOSTILE_SPLASH = RegistryKey.of("entity.hostile.splash"); - RegistryKey ENTITY_HOSTILE_SWIM = RegistryKey.unsafeOf("entity.hostile.swim"); + RegistryKey ENTITY_HOSTILE_SWIM = RegistryKey.of("entity.hostile.swim"); - RegistryKey ENTITY_HUSK_AMBIENT = RegistryKey.unsafeOf("entity.husk.ambient"); + RegistryKey ENTITY_HUSK_AMBIENT = RegistryKey.of("entity.husk.ambient"); - RegistryKey ENTITY_HUSK_CONVERTED_TO_ZOMBIE = RegistryKey.unsafeOf("entity.husk.converted_to_zombie"); + RegistryKey ENTITY_HUSK_CONVERTED_TO_ZOMBIE = RegistryKey.of("entity.husk.converted_to_zombie"); - RegistryKey ENTITY_HUSK_DEATH = RegistryKey.unsafeOf("entity.husk.death"); + RegistryKey ENTITY_HUSK_DEATH = RegistryKey.of("entity.husk.death"); - RegistryKey ENTITY_HUSK_HURT = RegistryKey.unsafeOf("entity.husk.hurt"); + RegistryKey ENTITY_HUSK_HURT = RegistryKey.of("entity.husk.hurt"); - RegistryKey ENTITY_HUSK_STEP = RegistryKey.unsafeOf("entity.husk.step"); + RegistryKey ENTITY_HUSK_STEP = RegistryKey.of("entity.husk.step"); - RegistryKey ENTITY_ILLUSIONER_AMBIENT = RegistryKey.unsafeOf("entity.illusioner.ambient"); + RegistryKey ENTITY_ILLUSIONER_AMBIENT = RegistryKey.of("entity.illusioner.ambient"); - RegistryKey ENTITY_ILLUSIONER_CAST_SPELL = RegistryKey.unsafeOf("entity.illusioner.cast_spell"); + RegistryKey ENTITY_ILLUSIONER_CAST_SPELL = RegistryKey.of("entity.illusioner.cast_spell"); - RegistryKey ENTITY_ILLUSIONER_DEATH = RegistryKey.unsafeOf("entity.illusioner.death"); + RegistryKey ENTITY_ILLUSIONER_DEATH = RegistryKey.of("entity.illusioner.death"); - RegistryKey ENTITY_ILLUSIONER_HURT = RegistryKey.unsafeOf("entity.illusioner.hurt"); + RegistryKey ENTITY_ILLUSIONER_HURT = RegistryKey.of("entity.illusioner.hurt"); - RegistryKey ENTITY_ILLUSIONER_MIRROR_MOVE = RegistryKey.unsafeOf("entity.illusioner.mirror_move"); + RegistryKey ENTITY_ILLUSIONER_MIRROR_MOVE = RegistryKey.of("entity.illusioner.mirror_move"); - RegistryKey ENTITY_ILLUSIONER_PREPARE_BLINDNESS = RegistryKey.unsafeOf("entity.illusioner.prepare_blindness"); + RegistryKey ENTITY_ILLUSIONER_PREPARE_BLINDNESS = RegistryKey.of("entity.illusioner.prepare_blindness"); - RegistryKey ENTITY_ILLUSIONER_PREPARE_MIRROR = RegistryKey.unsafeOf("entity.illusioner.prepare_mirror"); + RegistryKey ENTITY_ILLUSIONER_PREPARE_MIRROR = RegistryKey.of("entity.illusioner.prepare_mirror"); - RegistryKey ENTITY_IRON_GOLEM_ATTACK = RegistryKey.unsafeOf("entity.iron_golem.attack"); + RegistryKey ENTITY_IRON_GOLEM_ATTACK = RegistryKey.of("entity.iron_golem.attack"); - RegistryKey ENTITY_IRON_GOLEM_DAMAGE = RegistryKey.unsafeOf("entity.iron_golem.damage"); + RegistryKey ENTITY_IRON_GOLEM_DAMAGE = RegistryKey.of("entity.iron_golem.damage"); - RegistryKey ENTITY_IRON_GOLEM_DEATH = RegistryKey.unsafeOf("entity.iron_golem.death"); + RegistryKey ENTITY_IRON_GOLEM_DEATH = RegistryKey.of("entity.iron_golem.death"); - RegistryKey ENTITY_IRON_GOLEM_HURT = RegistryKey.unsafeOf("entity.iron_golem.hurt"); + RegistryKey ENTITY_IRON_GOLEM_HURT = RegistryKey.of("entity.iron_golem.hurt"); - RegistryKey ENTITY_IRON_GOLEM_REPAIR = RegistryKey.unsafeOf("entity.iron_golem.repair"); + RegistryKey ENTITY_IRON_GOLEM_REPAIR = RegistryKey.of("entity.iron_golem.repair"); - RegistryKey ENTITY_IRON_GOLEM_STEP = RegistryKey.unsafeOf("entity.iron_golem.step"); + RegistryKey ENTITY_IRON_GOLEM_STEP = RegistryKey.of("entity.iron_golem.step"); - RegistryKey ENTITY_ITEM_BREAK = RegistryKey.unsafeOf("entity.item.break"); + RegistryKey ENTITY_ITEM_BREAK = RegistryKey.of("entity.item.break"); - RegistryKey ENTITY_ITEM_PICKUP = RegistryKey.unsafeOf("entity.item.pickup"); + RegistryKey ENTITY_ITEM_PICKUP = RegistryKey.of("entity.item.pickup"); - RegistryKey ENTITY_ITEM_FRAME_ADD_ITEM = RegistryKey.unsafeOf("entity.item_frame.add_item"); + RegistryKey ENTITY_ITEM_FRAME_ADD_ITEM = RegistryKey.of("entity.item_frame.add_item"); - RegistryKey ENTITY_ITEM_FRAME_BREAK = RegistryKey.unsafeOf("entity.item_frame.break"); + RegistryKey ENTITY_ITEM_FRAME_BREAK = RegistryKey.of("entity.item_frame.break"); - RegistryKey ENTITY_ITEM_FRAME_PLACE = RegistryKey.unsafeOf("entity.item_frame.place"); + RegistryKey ENTITY_ITEM_FRAME_PLACE = RegistryKey.of("entity.item_frame.place"); - RegistryKey ENTITY_ITEM_FRAME_REMOVE_ITEM = RegistryKey.unsafeOf("entity.item_frame.remove_item"); + RegistryKey ENTITY_ITEM_FRAME_REMOVE_ITEM = RegistryKey.of("entity.item_frame.remove_item"); - RegistryKey ENTITY_ITEM_FRAME_ROTATE_ITEM = RegistryKey.unsafeOf("entity.item_frame.rotate_item"); + RegistryKey ENTITY_ITEM_FRAME_ROTATE_ITEM = RegistryKey.of("entity.item_frame.rotate_item"); - RegistryKey ENTITY_LIGHTNING_BOLT_IMPACT = RegistryKey.unsafeOf("entity.lightning_bolt.impact"); + RegistryKey ENTITY_LIGHTNING_BOLT_IMPACT = RegistryKey.of("entity.lightning_bolt.impact"); - RegistryKey ENTITY_LIGHTNING_BOLT_THUNDER = RegistryKey.unsafeOf("entity.lightning_bolt.thunder"); + RegistryKey ENTITY_LIGHTNING_BOLT_THUNDER = RegistryKey.of("entity.lightning_bolt.thunder"); - RegistryKey ENTITY_LINGERING_POTION_THROW = RegistryKey.unsafeOf("entity.lingering_potion.throw"); + RegistryKey ENTITY_LINGERING_POTION_THROW = RegistryKey.of("entity.lingering_potion.throw"); - RegistryKey ENTITY_LLAMA_AMBIENT = RegistryKey.unsafeOf("entity.llama.ambient"); + RegistryKey ENTITY_LLAMA_AMBIENT = RegistryKey.of("entity.llama.ambient"); - RegistryKey ENTITY_LLAMA_ANGRY = RegistryKey.unsafeOf("entity.llama.angry"); + RegistryKey ENTITY_LLAMA_ANGRY = RegistryKey.of("entity.llama.angry"); - RegistryKey ENTITY_LLAMA_CHEST = RegistryKey.unsafeOf("entity.llama.chest"); + RegistryKey ENTITY_LLAMA_CHEST = RegistryKey.of("entity.llama.chest"); - RegistryKey ENTITY_LLAMA_DEATH = RegistryKey.unsafeOf("entity.llama.death"); + RegistryKey ENTITY_LLAMA_DEATH = RegistryKey.of("entity.llama.death"); - RegistryKey ENTITY_LLAMA_EAT = RegistryKey.unsafeOf("entity.llama.eat"); + RegistryKey ENTITY_LLAMA_EAT = RegistryKey.of("entity.llama.eat"); - RegistryKey ENTITY_LLAMA_HURT = RegistryKey.unsafeOf("entity.llama.hurt"); + RegistryKey ENTITY_LLAMA_HURT = RegistryKey.of("entity.llama.hurt"); - RegistryKey ENTITY_LLAMA_SPIT = RegistryKey.unsafeOf("entity.llama.spit"); + RegistryKey ENTITY_LLAMA_SPIT = RegistryKey.of("entity.llama.spit"); - RegistryKey ENTITY_LLAMA_STEP = RegistryKey.unsafeOf("entity.llama.step"); + RegistryKey ENTITY_LLAMA_STEP = RegistryKey.of("entity.llama.step"); - RegistryKey ENTITY_LLAMA_SWAG = RegistryKey.unsafeOf("entity.llama.swag"); + RegistryKey ENTITY_LLAMA_SWAG = RegistryKey.of("entity.llama.swag"); - RegistryKey ENTITY_MAGMA_CUBE_DEATH = RegistryKey.unsafeOf("entity.magma_cube.death"); + RegistryKey ENTITY_MAGMA_CUBE_DEATH = RegistryKey.of("entity.magma_cube.death"); - RegistryKey ENTITY_MAGMA_CUBE_DEATH_SMALL = RegistryKey.unsafeOf("entity.magma_cube.death_small"); + RegistryKey ENTITY_MAGMA_CUBE_DEATH_SMALL = RegistryKey.of("entity.magma_cube.death_small"); - RegistryKey ENTITY_MAGMA_CUBE_HURT = RegistryKey.unsafeOf("entity.magma_cube.hurt"); + RegistryKey ENTITY_MAGMA_CUBE_HURT = RegistryKey.of("entity.magma_cube.hurt"); - RegistryKey ENTITY_MAGMA_CUBE_HURT_SMALL = RegistryKey.unsafeOf("entity.magma_cube.hurt_small"); + RegistryKey ENTITY_MAGMA_CUBE_HURT_SMALL = RegistryKey.of("entity.magma_cube.hurt_small"); - RegistryKey ENTITY_MAGMA_CUBE_JUMP = RegistryKey.unsafeOf("entity.magma_cube.jump"); + RegistryKey ENTITY_MAGMA_CUBE_JUMP = RegistryKey.of("entity.magma_cube.jump"); - RegistryKey ENTITY_MAGMA_CUBE_SQUISH = RegistryKey.unsafeOf("entity.magma_cube.squish"); + RegistryKey ENTITY_MAGMA_CUBE_SQUISH = RegistryKey.of("entity.magma_cube.squish"); - RegistryKey ENTITY_MAGMA_CUBE_SQUISH_SMALL = RegistryKey.unsafeOf("entity.magma_cube.squish_small"); + RegistryKey ENTITY_MAGMA_CUBE_SQUISH_SMALL = RegistryKey.of("entity.magma_cube.squish_small"); - RegistryKey ENTITY_MINECART_INSIDE = RegistryKey.unsafeOf("entity.minecart.inside"); + RegistryKey ENTITY_MINECART_INSIDE = RegistryKey.of("entity.minecart.inside"); - RegistryKey ENTITY_MINECART_INSIDE_UNDERWATER = RegistryKey.unsafeOf("entity.minecart.inside.underwater"); + RegistryKey ENTITY_MINECART_INSIDE_UNDERWATER = RegistryKey.of("entity.minecart.inside.underwater"); - RegistryKey ENTITY_MINECART_RIDING = RegistryKey.unsafeOf("entity.minecart.riding"); + RegistryKey ENTITY_MINECART_RIDING = RegistryKey.of("entity.minecart.riding"); - RegistryKey ENTITY_MOOSHROOM_CONVERT = RegistryKey.unsafeOf("entity.mooshroom.convert"); + RegistryKey ENTITY_MOOSHROOM_CONVERT = RegistryKey.of("entity.mooshroom.convert"); - RegistryKey ENTITY_MOOSHROOM_EAT = RegistryKey.unsafeOf("entity.mooshroom.eat"); + RegistryKey ENTITY_MOOSHROOM_EAT = RegistryKey.of("entity.mooshroom.eat"); - RegistryKey ENTITY_MOOSHROOM_MILK = RegistryKey.unsafeOf("entity.mooshroom.milk"); + RegistryKey ENTITY_MOOSHROOM_MILK = RegistryKey.of("entity.mooshroom.milk"); - RegistryKey ENTITY_MOOSHROOM_SHEAR = RegistryKey.unsafeOf("entity.mooshroom.shear"); + RegistryKey ENTITY_MOOSHROOM_SHEAR = RegistryKey.of("entity.mooshroom.shear"); - RegistryKey ENTITY_MOOSHROOM_SUSPICIOUS_MILK = RegistryKey.unsafeOf("entity.mooshroom.suspicious_milk"); + RegistryKey ENTITY_MOOSHROOM_SUSPICIOUS_MILK = RegistryKey.of("entity.mooshroom.suspicious_milk"); - RegistryKey ENTITY_MULE_AMBIENT = RegistryKey.unsafeOf("entity.mule.ambient"); + RegistryKey ENTITY_MULE_AMBIENT = RegistryKey.of("entity.mule.ambient"); - RegistryKey ENTITY_MULE_ANGRY = RegistryKey.unsafeOf("entity.mule.angry"); + RegistryKey ENTITY_MULE_ANGRY = RegistryKey.of("entity.mule.angry"); - RegistryKey ENTITY_MULE_CHEST = RegistryKey.unsafeOf("entity.mule.chest"); + RegistryKey ENTITY_MULE_CHEST = RegistryKey.of("entity.mule.chest"); - RegistryKey ENTITY_MULE_DEATH = RegistryKey.unsafeOf("entity.mule.death"); + RegistryKey ENTITY_MULE_DEATH = RegistryKey.of("entity.mule.death"); - RegistryKey ENTITY_MULE_EAT = RegistryKey.unsafeOf("entity.mule.eat"); + RegistryKey ENTITY_MULE_EAT = RegistryKey.of("entity.mule.eat"); - RegistryKey ENTITY_MULE_HURT = RegistryKey.unsafeOf("entity.mule.hurt"); + RegistryKey ENTITY_MULE_HURT = RegistryKey.of("entity.mule.hurt"); - RegistryKey ENTITY_MULE_JUMP = RegistryKey.unsafeOf("entity.mule.jump"); + RegistryKey ENTITY_MULE_JUMP = RegistryKey.of("entity.mule.jump"); - RegistryKey ENTITY_NAUTILUS_AMBIENT = RegistryKey.unsafeOf("entity.nautilus.ambient"); + RegistryKey ENTITY_NAUTILUS_AMBIENT = RegistryKey.of("entity.nautilus.ambient"); - RegistryKey ENTITY_NAUTILUS_AMBIENT_LAND = RegistryKey.unsafeOf("entity.nautilus.ambient_land"); + RegistryKey ENTITY_NAUTILUS_AMBIENT_LAND = RegistryKey.of("entity.nautilus.ambient_land"); - RegistryKey ENTITY_NAUTILUS_DASH = RegistryKey.unsafeOf("entity.nautilus.dash"); + RegistryKey ENTITY_NAUTILUS_DASH = RegistryKey.of("entity.nautilus.dash"); - RegistryKey ENTITY_NAUTILUS_DASH_LAND = RegistryKey.unsafeOf("entity.nautilus.dash_land"); + RegistryKey ENTITY_NAUTILUS_DASH_LAND = RegistryKey.of("entity.nautilus.dash_land"); - RegistryKey ENTITY_NAUTILUS_DASH_READY = RegistryKey.unsafeOf("entity.nautilus.dash_ready"); + RegistryKey ENTITY_NAUTILUS_DASH_READY = RegistryKey.of("entity.nautilus.dash_ready"); - RegistryKey ENTITY_NAUTILUS_DASH_READY_LAND = RegistryKey.unsafeOf("entity.nautilus.dash_ready_land"); + RegistryKey ENTITY_NAUTILUS_DASH_READY_LAND = RegistryKey.of("entity.nautilus.dash_ready_land"); - RegistryKey ENTITY_NAUTILUS_DEATH = RegistryKey.unsafeOf("entity.nautilus.death"); + RegistryKey ENTITY_NAUTILUS_DEATH = RegistryKey.of("entity.nautilus.death"); - RegistryKey ENTITY_NAUTILUS_DEATH_LAND = RegistryKey.unsafeOf("entity.nautilus.death_land"); + RegistryKey ENTITY_NAUTILUS_DEATH_LAND = RegistryKey.of("entity.nautilus.death_land"); - RegistryKey ENTITY_NAUTILUS_EAT = RegistryKey.unsafeOf("entity.nautilus.eat"); + RegistryKey ENTITY_NAUTILUS_EAT = RegistryKey.of("entity.nautilus.eat"); - RegistryKey ENTITY_NAUTILUS_HURT = RegistryKey.unsafeOf("entity.nautilus.hurt"); + RegistryKey ENTITY_NAUTILUS_HURT = RegistryKey.of("entity.nautilus.hurt"); - RegistryKey ENTITY_NAUTILUS_HURT_LAND = RegistryKey.unsafeOf("entity.nautilus.hurt_land"); + RegistryKey ENTITY_NAUTILUS_HURT_LAND = RegistryKey.of("entity.nautilus.hurt_land"); - RegistryKey ENTITY_NAUTILUS_RIDING = RegistryKey.unsafeOf("entity.nautilus.riding"); + RegistryKey ENTITY_NAUTILUS_RIDING = RegistryKey.of("entity.nautilus.riding"); - RegistryKey ENTITY_NAUTILUS_SWIM = RegistryKey.unsafeOf("entity.nautilus.swim"); + RegistryKey ENTITY_NAUTILUS_SWIM = RegistryKey.of("entity.nautilus.swim"); - RegistryKey ENTITY_OCELOT_AMBIENT = RegistryKey.unsafeOf("entity.ocelot.ambient"); + RegistryKey ENTITY_OCELOT_AMBIENT = RegistryKey.of("entity.ocelot.ambient"); - RegistryKey ENTITY_OCELOT_DEATH = RegistryKey.unsafeOf("entity.ocelot.death"); + RegistryKey ENTITY_OCELOT_DEATH = RegistryKey.of("entity.ocelot.death"); - RegistryKey ENTITY_OCELOT_HURT = RegistryKey.unsafeOf("entity.ocelot.hurt"); + RegistryKey ENTITY_OCELOT_HURT = RegistryKey.of("entity.ocelot.hurt"); - RegistryKey ENTITY_PAINTING_BREAK = RegistryKey.unsafeOf("entity.painting.break"); + RegistryKey ENTITY_PAINTING_BREAK = RegistryKey.of("entity.painting.break"); - RegistryKey ENTITY_PAINTING_PLACE = RegistryKey.unsafeOf("entity.painting.place"); + RegistryKey ENTITY_PAINTING_PLACE = RegistryKey.of("entity.painting.place"); - RegistryKey ENTITY_PANDA_AGGRESSIVE_AMBIENT = RegistryKey.unsafeOf("entity.panda.aggressive_ambient"); + RegistryKey ENTITY_PANDA_AGGRESSIVE_AMBIENT = RegistryKey.of("entity.panda.aggressive_ambient"); - RegistryKey ENTITY_PANDA_AMBIENT = RegistryKey.unsafeOf("entity.panda.ambient"); + RegistryKey ENTITY_PANDA_AMBIENT = RegistryKey.of("entity.panda.ambient"); - RegistryKey ENTITY_PANDA_BITE = RegistryKey.unsafeOf("entity.panda.bite"); + RegistryKey ENTITY_PANDA_BITE = RegistryKey.of("entity.panda.bite"); - RegistryKey ENTITY_PANDA_CANT_BREED = RegistryKey.unsafeOf("entity.panda.cant_breed"); + RegistryKey ENTITY_PANDA_CANT_BREED = RegistryKey.of("entity.panda.cant_breed"); - RegistryKey ENTITY_PANDA_DEATH = RegistryKey.unsafeOf("entity.panda.death"); + RegistryKey ENTITY_PANDA_DEATH = RegistryKey.of("entity.panda.death"); - RegistryKey ENTITY_PANDA_EAT = RegistryKey.unsafeOf("entity.panda.eat"); + RegistryKey ENTITY_PANDA_EAT = RegistryKey.of("entity.panda.eat"); - RegistryKey ENTITY_PANDA_HURT = RegistryKey.unsafeOf("entity.panda.hurt"); + RegistryKey ENTITY_PANDA_HURT = RegistryKey.of("entity.panda.hurt"); - RegistryKey ENTITY_PANDA_PRE_SNEEZE = RegistryKey.unsafeOf("entity.panda.pre_sneeze"); + RegistryKey ENTITY_PANDA_PRE_SNEEZE = RegistryKey.of("entity.panda.pre_sneeze"); - RegistryKey ENTITY_PANDA_SNEEZE = RegistryKey.unsafeOf("entity.panda.sneeze"); + RegistryKey ENTITY_PANDA_SNEEZE = RegistryKey.of("entity.panda.sneeze"); - RegistryKey ENTITY_PANDA_STEP = RegistryKey.unsafeOf("entity.panda.step"); + RegistryKey ENTITY_PANDA_STEP = RegistryKey.of("entity.panda.step"); - RegistryKey ENTITY_PANDA_WORRIED_AMBIENT = RegistryKey.unsafeOf("entity.panda.worried_ambient"); + RegistryKey ENTITY_PANDA_WORRIED_AMBIENT = RegistryKey.of("entity.panda.worried_ambient"); - RegistryKey ENTITY_PARCHED_AMBIENT = RegistryKey.unsafeOf("entity.parched.ambient"); + RegistryKey ENTITY_PARCHED_AMBIENT = RegistryKey.of("entity.parched.ambient"); - RegistryKey ENTITY_PARCHED_DEATH = RegistryKey.unsafeOf("entity.parched.death"); + RegistryKey ENTITY_PARCHED_DEATH = RegistryKey.of("entity.parched.death"); - RegistryKey ENTITY_PARCHED_HURT = RegistryKey.unsafeOf("entity.parched.hurt"); + RegistryKey ENTITY_PARCHED_HURT = RegistryKey.of("entity.parched.hurt"); - RegistryKey ENTITY_PARCHED_STEP = RegistryKey.unsafeOf("entity.parched.step"); + RegistryKey ENTITY_PARCHED_STEP = RegistryKey.of("entity.parched.step"); - RegistryKey ENTITY_PARROT_AMBIENT = RegistryKey.unsafeOf("entity.parrot.ambient"); + RegistryKey ENTITY_PARROT_AMBIENT = RegistryKey.of("entity.parrot.ambient"); - RegistryKey ENTITY_PARROT_DEATH = RegistryKey.unsafeOf("entity.parrot.death"); + RegistryKey ENTITY_PARROT_DEATH = RegistryKey.of("entity.parrot.death"); - RegistryKey ENTITY_PARROT_EAT = RegistryKey.unsafeOf("entity.parrot.eat"); + RegistryKey ENTITY_PARROT_EAT = RegistryKey.of("entity.parrot.eat"); - RegistryKey ENTITY_PARROT_FLY = RegistryKey.unsafeOf("entity.parrot.fly"); + RegistryKey ENTITY_PARROT_FLY = RegistryKey.of("entity.parrot.fly"); - RegistryKey ENTITY_PARROT_HURT = RegistryKey.unsafeOf("entity.parrot.hurt"); + RegistryKey ENTITY_PARROT_HURT = RegistryKey.of("entity.parrot.hurt"); - RegistryKey ENTITY_PARROT_IMITATE_BLAZE = RegistryKey.unsafeOf("entity.parrot.imitate.blaze"); + RegistryKey ENTITY_PARROT_IMITATE_BLAZE = RegistryKey.of("entity.parrot.imitate.blaze"); - RegistryKey ENTITY_PARROT_IMITATE_BOGGED = RegistryKey.unsafeOf("entity.parrot.imitate.bogged"); + RegistryKey ENTITY_PARROT_IMITATE_BOGGED = RegistryKey.of("entity.parrot.imitate.bogged"); - RegistryKey ENTITY_PARROT_IMITATE_BREEZE = RegistryKey.unsafeOf("entity.parrot.imitate.breeze"); + RegistryKey ENTITY_PARROT_IMITATE_BREEZE = RegistryKey.of("entity.parrot.imitate.breeze"); - RegistryKey ENTITY_PARROT_IMITATE_CAMEL_HUSK = RegistryKey.unsafeOf("entity.parrot.imitate.camel_husk"); + RegistryKey ENTITY_PARROT_IMITATE_CAMEL_HUSK = RegistryKey.of("entity.parrot.imitate.camel_husk"); - RegistryKey ENTITY_PARROT_IMITATE_CREAKING = RegistryKey.unsafeOf("entity.parrot.imitate.creaking"); + RegistryKey ENTITY_PARROT_IMITATE_CREAKING = RegistryKey.of("entity.parrot.imitate.creaking"); - RegistryKey ENTITY_PARROT_IMITATE_CREEPER = RegistryKey.unsafeOf("entity.parrot.imitate.creeper"); + RegistryKey ENTITY_PARROT_IMITATE_CREEPER = RegistryKey.of("entity.parrot.imitate.creeper"); - RegistryKey ENTITY_PARROT_IMITATE_DROWNED = RegistryKey.unsafeOf("entity.parrot.imitate.drowned"); + RegistryKey ENTITY_PARROT_IMITATE_DROWNED = RegistryKey.of("entity.parrot.imitate.drowned"); - RegistryKey ENTITY_PARROT_IMITATE_ELDER_GUARDIAN = RegistryKey.unsafeOf("entity.parrot.imitate.elder_guardian"); + RegistryKey ENTITY_PARROT_IMITATE_ELDER_GUARDIAN = RegistryKey.of("entity.parrot.imitate.elder_guardian"); - RegistryKey ENTITY_PARROT_IMITATE_ENDER_DRAGON = RegistryKey.unsafeOf("entity.parrot.imitate.ender_dragon"); + RegistryKey ENTITY_PARROT_IMITATE_ENDER_DRAGON = RegistryKey.of("entity.parrot.imitate.ender_dragon"); - RegistryKey ENTITY_PARROT_IMITATE_ENDERMITE = RegistryKey.unsafeOf("entity.parrot.imitate.endermite"); + RegistryKey ENTITY_PARROT_IMITATE_ENDERMITE = RegistryKey.of("entity.parrot.imitate.endermite"); - RegistryKey ENTITY_PARROT_IMITATE_EVOKER = RegistryKey.unsafeOf("entity.parrot.imitate.evoker"); + RegistryKey ENTITY_PARROT_IMITATE_EVOKER = RegistryKey.of("entity.parrot.imitate.evoker"); - RegistryKey ENTITY_PARROT_IMITATE_GHAST = RegistryKey.unsafeOf("entity.parrot.imitate.ghast"); + RegistryKey ENTITY_PARROT_IMITATE_GHAST = RegistryKey.of("entity.parrot.imitate.ghast"); - RegistryKey ENTITY_PARROT_IMITATE_GUARDIAN = RegistryKey.unsafeOf("entity.parrot.imitate.guardian"); + RegistryKey ENTITY_PARROT_IMITATE_GUARDIAN = RegistryKey.of("entity.parrot.imitate.guardian"); - RegistryKey ENTITY_PARROT_IMITATE_HOGLIN = RegistryKey.unsafeOf("entity.parrot.imitate.hoglin"); + RegistryKey ENTITY_PARROT_IMITATE_HOGLIN = RegistryKey.of("entity.parrot.imitate.hoglin"); - RegistryKey ENTITY_PARROT_IMITATE_HUSK = RegistryKey.unsafeOf("entity.parrot.imitate.husk"); + RegistryKey ENTITY_PARROT_IMITATE_HUSK = RegistryKey.of("entity.parrot.imitate.husk"); - RegistryKey ENTITY_PARROT_IMITATE_ILLUSIONER = RegistryKey.unsafeOf("entity.parrot.imitate.illusioner"); + RegistryKey ENTITY_PARROT_IMITATE_ILLUSIONER = RegistryKey.of("entity.parrot.imitate.illusioner"); - RegistryKey ENTITY_PARROT_IMITATE_MAGMA_CUBE = RegistryKey.unsafeOf("entity.parrot.imitate.magma_cube"); + RegistryKey ENTITY_PARROT_IMITATE_MAGMA_CUBE = RegistryKey.of("entity.parrot.imitate.magma_cube"); - RegistryKey ENTITY_PARROT_IMITATE_PARCHED = RegistryKey.unsafeOf("entity.parrot.imitate.parched"); + RegistryKey ENTITY_PARROT_IMITATE_PARCHED = RegistryKey.of("entity.parrot.imitate.parched"); - RegistryKey ENTITY_PARROT_IMITATE_PHANTOM = RegistryKey.unsafeOf("entity.parrot.imitate.phantom"); + RegistryKey ENTITY_PARROT_IMITATE_PHANTOM = RegistryKey.of("entity.parrot.imitate.phantom"); - RegistryKey ENTITY_PARROT_IMITATE_PIGLIN = RegistryKey.unsafeOf("entity.parrot.imitate.piglin"); + RegistryKey ENTITY_PARROT_IMITATE_PIGLIN = RegistryKey.of("entity.parrot.imitate.piglin"); - RegistryKey ENTITY_PARROT_IMITATE_PIGLIN_BRUTE = RegistryKey.unsafeOf("entity.parrot.imitate.piglin_brute"); + RegistryKey ENTITY_PARROT_IMITATE_PIGLIN_BRUTE = RegistryKey.of("entity.parrot.imitate.piglin_brute"); - RegistryKey ENTITY_PARROT_IMITATE_PILLAGER = RegistryKey.unsafeOf("entity.parrot.imitate.pillager"); + RegistryKey ENTITY_PARROT_IMITATE_PILLAGER = RegistryKey.of("entity.parrot.imitate.pillager"); - RegistryKey ENTITY_PARROT_IMITATE_RAVAGER = RegistryKey.unsafeOf("entity.parrot.imitate.ravager"); + RegistryKey ENTITY_PARROT_IMITATE_RAVAGER = RegistryKey.of("entity.parrot.imitate.ravager"); - RegistryKey ENTITY_PARROT_IMITATE_SHULKER = RegistryKey.unsafeOf("entity.parrot.imitate.shulker"); + RegistryKey ENTITY_PARROT_IMITATE_SHULKER = RegistryKey.of("entity.parrot.imitate.shulker"); - RegistryKey ENTITY_PARROT_IMITATE_SILVERFISH = RegistryKey.unsafeOf("entity.parrot.imitate.silverfish"); + RegistryKey ENTITY_PARROT_IMITATE_SILVERFISH = RegistryKey.of("entity.parrot.imitate.silverfish"); - RegistryKey ENTITY_PARROT_IMITATE_SKELETON = RegistryKey.unsafeOf("entity.parrot.imitate.skeleton"); + RegistryKey ENTITY_PARROT_IMITATE_SKELETON = RegistryKey.of("entity.parrot.imitate.skeleton"); - RegistryKey ENTITY_PARROT_IMITATE_SLIME = RegistryKey.unsafeOf("entity.parrot.imitate.slime"); + RegistryKey ENTITY_PARROT_IMITATE_SLIME = RegistryKey.of("entity.parrot.imitate.slime"); - RegistryKey ENTITY_PARROT_IMITATE_SPIDER = RegistryKey.unsafeOf("entity.parrot.imitate.spider"); + RegistryKey ENTITY_PARROT_IMITATE_SPIDER = RegistryKey.of("entity.parrot.imitate.spider"); - RegistryKey ENTITY_PARROT_IMITATE_STRAY = RegistryKey.unsafeOf("entity.parrot.imitate.stray"); + RegistryKey ENTITY_PARROT_IMITATE_STRAY = RegistryKey.of("entity.parrot.imitate.stray"); - RegistryKey ENTITY_PARROT_IMITATE_VEX = RegistryKey.unsafeOf("entity.parrot.imitate.vex"); + RegistryKey ENTITY_PARROT_IMITATE_VEX = RegistryKey.of("entity.parrot.imitate.vex"); - RegistryKey ENTITY_PARROT_IMITATE_VINDICATOR = RegistryKey.unsafeOf("entity.parrot.imitate.vindicator"); + RegistryKey ENTITY_PARROT_IMITATE_VINDICATOR = RegistryKey.of("entity.parrot.imitate.vindicator"); - RegistryKey ENTITY_PARROT_IMITATE_WARDEN = RegistryKey.unsafeOf("entity.parrot.imitate.warden"); + RegistryKey ENTITY_PARROT_IMITATE_WARDEN = RegistryKey.of("entity.parrot.imitate.warden"); - RegistryKey ENTITY_PARROT_IMITATE_WITCH = RegistryKey.unsafeOf("entity.parrot.imitate.witch"); + RegistryKey ENTITY_PARROT_IMITATE_WITCH = RegistryKey.of("entity.parrot.imitate.witch"); - RegistryKey ENTITY_PARROT_IMITATE_WITHER = RegistryKey.unsafeOf("entity.parrot.imitate.wither"); + RegistryKey ENTITY_PARROT_IMITATE_WITHER = RegistryKey.of("entity.parrot.imitate.wither"); - RegistryKey ENTITY_PARROT_IMITATE_WITHER_SKELETON = RegistryKey.unsafeOf("entity.parrot.imitate.wither_skeleton"); + RegistryKey ENTITY_PARROT_IMITATE_WITHER_SKELETON = RegistryKey.of("entity.parrot.imitate.wither_skeleton"); - RegistryKey ENTITY_PARROT_IMITATE_ZOGLIN = RegistryKey.unsafeOf("entity.parrot.imitate.zoglin"); + RegistryKey ENTITY_PARROT_IMITATE_ZOGLIN = RegistryKey.of("entity.parrot.imitate.zoglin"); - RegistryKey ENTITY_PARROT_IMITATE_ZOMBIE = RegistryKey.unsafeOf("entity.parrot.imitate.zombie"); + RegistryKey ENTITY_PARROT_IMITATE_ZOMBIE = RegistryKey.of("entity.parrot.imitate.zombie"); - RegistryKey ENTITY_PARROT_IMITATE_ZOMBIE_HORSE = RegistryKey.unsafeOf("entity.parrot.imitate.zombie_horse"); + RegistryKey ENTITY_PARROT_IMITATE_ZOMBIE_HORSE = RegistryKey.of("entity.parrot.imitate.zombie_horse"); - RegistryKey ENTITY_PARROT_IMITATE_ZOMBIE_NAUTILUS = RegistryKey.unsafeOf("entity.parrot.imitate.zombie_nautilus"); + RegistryKey ENTITY_PARROT_IMITATE_ZOMBIE_NAUTILUS = RegistryKey.of("entity.parrot.imitate.zombie_nautilus"); - RegistryKey ENTITY_PARROT_IMITATE_ZOMBIE_VILLAGER = RegistryKey.unsafeOf("entity.parrot.imitate.zombie_villager"); + RegistryKey ENTITY_PARROT_IMITATE_ZOMBIE_VILLAGER = RegistryKey.of("entity.parrot.imitate.zombie_villager"); - RegistryKey ENTITY_PARROT_STEP = RegistryKey.unsafeOf("entity.parrot.step"); + RegistryKey ENTITY_PARROT_STEP = RegistryKey.of("entity.parrot.step"); - RegistryKey ENTITY_PHANTOM_AMBIENT = RegistryKey.unsafeOf("entity.phantom.ambient"); + RegistryKey ENTITY_PHANTOM_AMBIENT = RegistryKey.of("entity.phantom.ambient"); - RegistryKey ENTITY_PHANTOM_BITE = RegistryKey.unsafeOf("entity.phantom.bite"); + RegistryKey ENTITY_PHANTOM_BITE = RegistryKey.of("entity.phantom.bite"); - RegistryKey ENTITY_PHANTOM_DEATH = RegistryKey.unsafeOf("entity.phantom.death"); + RegistryKey ENTITY_PHANTOM_DEATH = RegistryKey.of("entity.phantom.death"); - RegistryKey ENTITY_PHANTOM_FLAP = RegistryKey.unsafeOf("entity.phantom.flap"); + RegistryKey ENTITY_PHANTOM_FLAP = RegistryKey.of("entity.phantom.flap"); - RegistryKey ENTITY_PHANTOM_HURT = RegistryKey.unsafeOf("entity.phantom.hurt"); + RegistryKey ENTITY_PHANTOM_HURT = RegistryKey.of("entity.phantom.hurt"); - RegistryKey ENTITY_PHANTOM_SWOOP = RegistryKey.unsafeOf("entity.phantom.swoop"); + RegistryKey ENTITY_PHANTOM_SWOOP = RegistryKey.of("entity.phantom.swoop"); - RegistryKey ENTITY_PIG_AMBIENT = RegistryKey.unsafeOf("entity.pig.ambient"); + RegistryKey ENTITY_PIG_AMBIENT = RegistryKey.of("entity.pig.ambient"); - RegistryKey ENTITY_PIG_DEATH = RegistryKey.unsafeOf("entity.pig.death"); + RegistryKey ENTITY_PIG_DEATH = RegistryKey.of("entity.pig.death"); - RegistryKey ENTITY_PIG_EAT = RegistryKey.unsafeOf("entity.pig.eat"); + RegistryKey ENTITY_PIG_EAT = RegistryKey.of("entity.pig.eat"); - RegistryKey ENTITY_PIG_HURT = RegistryKey.unsafeOf("entity.pig.hurt"); + RegistryKey ENTITY_PIG_HURT = RegistryKey.of("entity.pig.hurt"); - RegistryKey ENTITY_PIG_SADDLE = RegistryKey.unsafeOf("entity.pig.saddle"); + RegistryKey ENTITY_PIG_SADDLE = RegistryKey.of("entity.pig.saddle"); - RegistryKey ENTITY_PIG_STEP = RegistryKey.unsafeOf("entity.pig.step"); + RegistryKey ENTITY_PIG_STEP = RegistryKey.of("entity.pig.step"); - RegistryKey ENTITY_PIG_BIG_AMBIENT = RegistryKey.unsafeOf("entity.pig_big.ambient"); + RegistryKey ENTITY_PIG_BIG_AMBIENT = RegistryKey.of("entity.pig_big.ambient"); - RegistryKey ENTITY_PIG_BIG_DEATH = RegistryKey.unsafeOf("entity.pig_big.death"); + RegistryKey ENTITY_PIG_BIG_DEATH = RegistryKey.of("entity.pig_big.death"); - RegistryKey ENTITY_PIG_BIG_EAT = RegistryKey.unsafeOf("entity.pig_big.eat"); + RegistryKey ENTITY_PIG_BIG_EAT = RegistryKey.of("entity.pig_big.eat"); - RegistryKey ENTITY_PIG_BIG_HURT = RegistryKey.unsafeOf("entity.pig_big.hurt"); + RegistryKey ENTITY_PIG_BIG_HURT = RegistryKey.of("entity.pig_big.hurt"); - RegistryKey ENTITY_PIG_MINI_AMBIENT = RegistryKey.unsafeOf("entity.pig_mini.ambient"); + RegistryKey ENTITY_PIG_MINI_AMBIENT = RegistryKey.of("entity.pig_mini.ambient"); - RegistryKey ENTITY_PIG_MINI_DEATH = RegistryKey.unsafeOf("entity.pig_mini.death"); + RegistryKey ENTITY_PIG_MINI_DEATH = RegistryKey.of("entity.pig_mini.death"); - RegistryKey ENTITY_PIG_MINI_EAT = RegistryKey.unsafeOf("entity.pig_mini.eat"); + RegistryKey ENTITY_PIG_MINI_EAT = RegistryKey.of("entity.pig_mini.eat"); - RegistryKey ENTITY_PIG_MINI_HURT = RegistryKey.unsafeOf("entity.pig_mini.hurt"); + RegistryKey ENTITY_PIG_MINI_HURT = RegistryKey.of("entity.pig_mini.hurt"); - RegistryKey ENTITY_PIGLIN_ADMIRING_ITEM = RegistryKey.unsafeOf("entity.piglin.admiring_item"); + RegistryKey ENTITY_PIGLIN_ADMIRING_ITEM = RegistryKey.of("entity.piglin.admiring_item"); - RegistryKey ENTITY_PIGLIN_AMBIENT = RegistryKey.unsafeOf("entity.piglin.ambient"); + RegistryKey ENTITY_PIGLIN_AMBIENT = RegistryKey.of("entity.piglin.ambient"); - RegistryKey ENTITY_PIGLIN_ANGRY = RegistryKey.unsafeOf("entity.piglin.angry"); + RegistryKey ENTITY_PIGLIN_ANGRY = RegistryKey.of("entity.piglin.angry"); - RegistryKey ENTITY_PIGLIN_CELEBRATE = RegistryKey.unsafeOf("entity.piglin.celebrate"); + RegistryKey ENTITY_PIGLIN_CELEBRATE = RegistryKey.of("entity.piglin.celebrate"); - RegistryKey ENTITY_PIGLIN_CONVERTED_TO_ZOMBIFIED = RegistryKey.unsafeOf("entity.piglin.converted_to_zombified"); + RegistryKey ENTITY_PIGLIN_CONVERTED_TO_ZOMBIFIED = RegistryKey.of("entity.piglin.converted_to_zombified"); - RegistryKey ENTITY_PIGLIN_DEATH = RegistryKey.unsafeOf("entity.piglin.death"); + RegistryKey ENTITY_PIGLIN_DEATH = RegistryKey.of("entity.piglin.death"); - RegistryKey ENTITY_PIGLIN_HURT = RegistryKey.unsafeOf("entity.piglin.hurt"); + RegistryKey ENTITY_PIGLIN_HURT = RegistryKey.of("entity.piglin.hurt"); - RegistryKey ENTITY_PIGLIN_JEALOUS = RegistryKey.unsafeOf("entity.piglin.jealous"); + RegistryKey ENTITY_PIGLIN_JEALOUS = RegistryKey.of("entity.piglin.jealous"); - RegistryKey ENTITY_PIGLIN_RETREAT = RegistryKey.unsafeOf("entity.piglin.retreat"); + RegistryKey ENTITY_PIGLIN_RETREAT = RegistryKey.of("entity.piglin.retreat"); - RegistryKey ENTITY_PIGLIN_STEP = RegistryKey.unsafeOf("entity.piglin.step"); + RegistryKey ENTITY_PIGLIN_STEP = RegistryKey.of("entity.piglin.step"); - RegistryKey ENTITY_PIGLIN_BRUTE_AMBIENT = RegistryKey.unsafeOf("entity.piglin_brute.ambient"); + RegistryKey ENTITY_PIGLIN_BRUTE_AMBIENT = RegistryKey.of("entity.piglin_brute.ambient"); - RegistryKey ENTITY_PIGLIN_BRUTE_ANGRY = RegistryKey.unsafeOf("entity.piglin_brute.angry"); + RegistryKey ENTITY_PIGLIN_BRUTE_ANGRY = RegistryKey.of("entity.piglin_brute.angry"); - RegistryKey ENTITY_PIGLIN_BRUTE_CONVERTED_TO_ZOMBIFIED = RegistryKey.unsafeOf("entity.piglin_brute.converted_to_zombified"); + RegistryKey ENTITY_PIGLIN_BRUTE_CONVERTED_TO_ZOMBIFIED = RegistryKey.of("entity.piglin_brute.converted_to_zombified"); - RegistryKey ENTITY_PIGLIN_BRUTE_DEATH = RegistryKey.unsafeOf("entity.piglin_brute.death"); + RegistryKey ENTITY_PIGLIN_BRUTE_DEATH = RegistryKey.of("entity.piglin_brute.death"); - RegistryKey ENTITY_PIGLIN_BRUTE_HURT = RegistryKey.unsafeOf("entity.piglin_brute.hurt"); + RegistryKey ENTITY_PIGLIN_BRUTE_HURT = RegistryKey.of("entity.piglin_brute.hurt"); - RegistryKey ENTITY_PIGLIN_BRUTE_STEP = RegistryKey.unsafeOf("entity.piglin_brute.step"); + RegistryKey ENTITY_PIGLIN_BRUTE_STEP = RegistryKey.of("entity.piglin_brute.step"); - RegistryKey ENTITY_PILLAGER_AMBIENT = RegistryKey.unsafeOf("entity.pillager.ambient"); + RegistryKey ENTITY_PILLAGER_AMBIENT = RegistryKey.of("entity.pillager.ambient"); - RegistryKey ENTITY_PILLAGER_CELEBRATE = RegistryKey.unsafeOf("entity.pillager.celebrate"); + RegistryKey ENTITY_PILLAGER_CELEBRATE = RegistryKey.of("entity.pillager.celebrate"); - RegistryKey ENTITY_PILLAGER_DEATH = RegistryKey.unsafeOf("entity.pillager.death"); + RegistryKey ENTITY_PILLAGER_DEATH = RegistryKey.of("entity.pillager.death"); - RegistryKey ENTITY_PILLAGER_HURT = RegistryKey.unsafeOf("entity.pillager.hurt"); + RegistryKey ENTITY_PILLAGER_HURT = RegistryKey.of("entity.pillager.hurt"); - RegistryKey ENTITY_PLAYER_ATTACK_CRIT = RegistryKey.unsafeOf("entity.player.attack.crit"); + RegistryKey ENTITY_PLAYER_ATTACK_CRIT = RegistryKey.of("entity.player.attack.crit"); - RegistryKey ENTITY_PLAYER_ATTACK_KNOCKBACK = RegistryKey.unsafeOf("entity.player.attack.knockback"); + RegistryKey ENTITY_PLAYER_ATTACK_KNOCKBACK = RegistryKey.of("entity.player.attack.knockback"); - RegistryKey ENTITY_PLAYER_ATTACK_NODAMAGE = RegistryKey.unsafeOf("entity.player.attack.nodamage"); + RegistryKey ENTITY_PLAYER_ATTACK_NODAMAGE = RegistryKey.of("entity.player.attack.nodamage"); - RegistryKey ENTITY_PLAYER_ATTACK_STRONG = RegistryKey.unsafeOf("entity.player.attack.strong"); + RegistryKey ENTITY_PLAYER_ATTACK_STRONG = RegistryKey.of("entity.player.attack.strong"); - RegistryKey ENTITY_PLAYER_ATTACK_SWEEP = RegistryKey.unsafeOf("entity.player.attack.sweep"); + RegistryKey ENTITY_PLAYER_ATTACK_SWEEP = RegistryKey.of("entity.player.attack.sweep"); - RegistryKey ENTITY_PLAYER_ATTACK_WEAK = RegistryKey.unsafeOf("entity.player.attack.weak"); + RegistryKey ENTITY_PLAYER_ATTACK_WEAK = RegistryKey.of("entity.player.attack.weak"); - RegistryKey ENTITY_PLAYER_BIG_FALL = RegistryKey.unsafeOf("entity.player.big_fall"); + RegistryKey ENTITY_PLAYER_BIG_FALL = RegistryKey.of("entity.player.big_fall"); - RegistryKey ENTITY_PLAYER_BREATH = RegistryKey.unsafeOf("entity.player.breath"); + RegistryKey ENTITY_PLAYER_BREATH = RegistryKey.of("entity.player.breath"); - RegistryKey ENTITY_PLAYER_BURP = RegistryKey.unsafeOf("entity.player.burp"); + RegistryKey ENTITY_PLAYER_BURP = RegistryKey.of("entity.player.burp"); - RegistryKey ENTITY_PLAYER_DEATH = RegistryKey.unsafeOf("entity.player.death"); + RegistryKey ENTITY_PLAYER_DEATH = RegistryKey.of("entity.player.death"); - RegistryKey ENTITY_PLAYER_HURT = RegistryKey.unsafeOf("entity.player.hurt"); + RegistryKey ENTITY_PLAYER_HURT = RegistryKey.of("entity.player.hurt"); - RegistryKey ENTITY_PLAYER_HURT_DROWN = RegistryKey.unsafeOf("entity.player.hurt_drown"); + RegistryKey ENTITY_PLAYER_HURT_DROWN = RegistryKey.of("entity.player.hurt_drown"); - RegistryKey ENTITY_PLAYER_HURT_FREEZE = RegistryKey.unsafeOf("entity.player.hurt_freeze"); + RegistryKey ENTITY_PLAYER_HURT_FREEZE = RegistryKey.of("entity.player.hurt_freeze"); - RegistryKey ENTITY_PLAYER_HURT_ON_FIRE = RegistryKey.unsafeOf("entity.player.hurt_on_fire"); + RegistryKey ENTITY_PLAYER_HURT_ON_FIRE = RegistryKey.of("entity.player.hurt_on_fire"); - RegistryKey ENTITY_PLAYER_HURT_SWEET_BERRY_BUSH = RegistryKey.unsafeOf("entity.player.hurt_sweet_berry_bush"); + RegistryKey ENTITY_PLAYER_HURT_SWEET_BERRY_BUSH = RegistryKey.of("entity.player.hurt_sweet_berry_bush"); - RegistryKey ENTITY_PLAYER_LEVELUP = RegistryKey.unsafeOf("entity.player.levelup"); + RegistryKey ENTITY_PLAYER_LEVELUP = RegistryKey.of("entity.player.levelup"); - RegistryKey ENTITY_PLAYER_SMALL_FALL = RegistryKey.unsafeOf("entity.player.small_fall"); + RegistryKey ENTITY_PLAYER_SMALL_FALL = RegistryKey.of("entity.player.small_fall"); - RegistryKey ENTITY_PLAYER_SPLASH = RegistryKey.unsafeOf("entity.player.splash"); + RegistryKey ENTITY_PLAYER_SPLASH = RegistryKey.of("entity.player.splash"); - RegistryKey ENTITY_PLAYER_SPLASH_HIGH_SPEED = RegistryKey.unsafeOf("entity.player.splash.high_speed"); + RegistryKey ENTITY_PLAYER_SPLASH_HIGH_SPEED = RegistryKey.of("entity.player.splash.high_speed"); - RegistryKey ENTITY_PLAYER_SWIM = RegistryKey.unsafeOf("entity.player.swim"); + RegistryKey ENTITY_PLAYER_SWIM = RegistryKey.of("entity.player.swim"); - RegistryKey ENTITY_PLAYER_TELEPORT = RegistryKey.unsafeOf("entity.player.teleport"); + RegistryKey ENTITY_PLAYER_TELEPORT = RegistryKey.of("entity.player.teleport"); - RegistryKey ENTITY_POLAR_BEAR_AMBIENT = RegistryKey.unsafeOf("entity.polar_bear.ambient"); + RegistryKey ENTITY_POLAR_BEAR_AMBIENT = RegistryKey.of("entity.polar_bear.ambient"); - RegistryKey ENTITY_POLAR_BEAR_AMBIENT_BABY = RegistryKey.unsafeOf("entity.polar_bear.ambient_baby"); + RegistryKey ENTITY_POLAR_BEAR_AMBIENT_BABY = RegistryKey.of("entity.polar_bear.ambient_baby"); - RegistryKey ENTITY_POLAR_BEAR_DEATH = RegistryKey.unsafeOf("entity.polar_bear.death"); + RegistryKey ENTITY_POLAR_BEAR_DEATH = RegistryKey.of("entity.polar_bear.death"); - RegistryKey ENTITY_POLAR_BEAR_HURT = RegistryKey.unsafeOf("entity.polar_bear.hurt"); + RegistryKey ENTITY_POLAR_BEAR_HURT = RegistryKey.of("entity.polar_bear.hurt"); - RegistryKey ENTITY_POLAR_BEAR_STEP = RegistryKey.unsafeOf("entity.polar_bear.step"); + RegistryKey ENTITY_POLAR_BEAR_STEP = RegistryKey.of("entity.polar_bear.step"); - RegistryKey ENTITY_POLAR_BEAR_WARNING = RegistryKey.unsafeOf("entity.polar_bear.warning"); + RegistryKey ENTITY_POLAR_BEAR_WARNING = RegistryKey.of("entity.polar_bear.warning"); - RegistryKey ENTITY_PUFFER_FISH_BLOW_OUT = RegistryKey.unsafeOf("entity.puffer_fish.blow_out"); + RegistryKey ENTITY_PUFFER_FISH_BLOW_OUT = RegistryKey.of("entity.puffer_fish.blow_out"); - RegistryKey ENTITY_PUFFER_FISH_BLOW_UP = RegistryKey.unsafeOf("entity.puffer_fish.blow_up"); + RegistryKey ENTITY_PUFFER_FISH_BLOW_UP = RegistryKey.of("entity.puffer_fish.blow_up"); - RegistryKey ENTITY_PUFFER_FISH_DEATH = RegistryKey.unsafeOf("entity.puffer_fish.death"); + RegistryKey ENTITY_PUFFER_FISH_DEATH = RegistryKey.of("entity.puffer_fish.death"); - RegistryKey ENTITY_PUFFER_FISH_FLOP = RegistryKey.unsafeOf("entity.puffer_fish.flop"); + RegistryKey ENTITY_PUFFER_FISH_FLOP = RegistryKey.of("entity.puffer_fish.flop"); - RegistryKey ENTITY_PUFFER_FISH_HURT = RegistryKey.unsafeOf("entity.puffer_fish.hurt"); + RegistryKey ENTITY_PUFFER_FISH_HURT = RegistryKey.of("entity.puffer_fish.hurt"); - RegistryKey ENTITY_PUFFER_FISH_STING = RegistryKey.unsafeOf("entity.puffer_fish.sting"); + RegistryKey ENTITY_PUFFER_FISH_STING = RegistryKey.of("entity.puffer_fish.sting"); - RegistryKey ENTITY_RABBIT_AMBIENT = RegistryKey.unsafeOf("entity.rabbit.ambient"); + RegistryKey ENTITY_RABBIT_AMBIENT = RegistryKey.of("entity.rabbit.ambient"); - RegistryKey ENTITY_RABBIT_ATTACK = RegistryKey.unsafeOf("entity.rabbit.attack"); + RegistryKey ENTITY_RABBIT_ATTACK = RegistryKey.of("entity.rabbit.attack"); - RegistryKey ENTITY_RABBIT_DEATH = RegistryKey.unsafeOf("entity.rabbit.death"); + RegistryKey ENTITY_RABBIT_DEATH = RegistryKey.of("entity.rabbit.death"); - RegistryKey ENTITY_RABBIT_HURT = RegistryKey.unsafeOf("entity.rabbit.hurt"); + RegistryKey ENTITY_RABBIT_HURT = RegistryKey.of("entity.rabbit.hurt"); - RegistryKey ENTITY_RABBIT_JUMP = RegistryKey.unsafeOf("entity.rabbit.jump"); + RegistryKey ENTITY_RABBIT_JUMP = RegistryKey.of("entity.rabbit.jump"); - RegistryKey ENTITY_RAVAGER_AMBIENT = RegistryKey.unsafeOf("entity.ravager.ambient"); + RegistryKey ENTITY_RAVAGER_AMBIENT = RegistryKey.of("entity.ravager.ambient"); - RegistryKey ENTITY_RAVAGER_ATTACK = RegistryKey.unsafeOf("entity.ravager.attack"); + RegistryKey ENTITY_RAVAGER_ATTACK = RegistryKey.of("entity.ravager.attack"); - RegistryKey ENTITY_RAVAGER_CELEBRATE = RegistryKey.unsafeOf("entity.ravager.celebrate"); + RegistryKey ENTITY_RAVAGER_CELEBRATE = RegistryKey.of("entity.ravager.celebrate"); - RegistryKey ENTITY_RAVAGER_DEATH = RegistryKey.unsafeOf("entity.ravager.death"); + RegistryKey ENTITY_RAVAGER_DEATH = RegistryKey.of("entity.ravager.death"); - RegistryKey ENTITY_RAVAGER_HURT = RegistryKey.unsafeOf("entity.ravager.hurt"); + RegistryKey ENTITY_RAVAGER_HURT = RegistryKey.of("entity.ravager.hurt"); - RegistryKey ENTITY_RAVAGER_ROAR = RegistryKey.unsafeOf("entity.ravager.roar"); + RegistryKey ENTITY_RAVAGER_ROAR = RegistryKey.of("entity.ravager.roar"); - RegistryKey ENTITY_RAVAGER_STEP = RegistryKey.unsafeOf("entity.ravager.step"); + RegistryKey ENTITY_RAVAGER_STEP = RegistryKey.of("entity.ravager.step"); - RegistryKey ENTITY_RAVAGER_STUNNED = RegistryKey.unsafeOf("entity.ravager.stunned"); + RegistryKey ENTITY_RAVAGER_STUNNED = RegistryKey.of("entity.ravager.stunned"); - RegistryKey ENTITY_SALMON_AMBIENT = RegistryKey.unsafeOf("entity.salmon.ambient"); + RegistryKey ENTITY_SALMON_AMBIENT = RegistryKey.of("entity.salmon.ambient"); - RegistryKey ENTITY_SALMON_DEATH = RegistryKey.unsafeOf("entity.salmon.death"); + RegistryKey ENTITY_SALMON_DEATH = RegistryKey.of("entity.salmon.death"); - RegistryKey ENTITY_SALMON_FLOP = RegistryKey.unsafeOf("entity.salmon.flop"); + RegistryKey ENTITY_SALMON_FLOP = RegistryKey.of("entity.salmon.flop"); - RegistryKey ENTITY_SALMON_HURT = RegistryKey.unsafeOf("entity.salmon.hurt"); + RegistryKey ENTITY_SALMON_HURT = RegistryKey.of("entity.salmon.hurt"); - RegistryKey ENTITY_SHEEP_AMBIENT = RegistryKey.unsafeOf("entity.sheep.ambient"); + RegistryKey ENTITY_SHEEP_AMBIENT = RegistryKey.of("entity.sheep.ambient"); - RegistryKey ENTITY_SHEEP_DEATH = RegistryKey.unsafeOf("entity.sheep.death"); + RegistryKey ENTITY_SHEEP_DEATH = RegistryKey.of("entity.sheep.death"); - RegistryKey ENTITY_SHEEP_HURT = RegistryKey.unsafeOf("entity.sheep.hurt"); + RegistryKey ENTITY_SHEEP_HURT = RegistryKey.of("entity.sheep.hurt"); - RegistryKey ENTITY_SHEEP_SHEAR = RegistryKey.unsafeOf("entity.sheep.shear"); + RegistryKey ENTITY_SHEEP_SHEAR = RegistryKey.of("entity.sheep.shear"); - RegistryKey ENTITY_SHEEP_STEP = RegistryKey.unsafeOf("entity.sheep.step"); + RegistryKey ENTITY_SHEEP_STEP = RegistryKey.of("entity.sheep.step"); - RegistryKey ENTITY_SHULKER_AMBIENT = RegistryKey.unsafeOf("entity.shulker.ambient"); + RegistryKey ENTITY_SHULKER_AMBIENT = RegistryKey.of("entity.shulker.ambient"); - RegistryKey ENTITY_SHULKER_CLOSE = RegistryKey.unsafeOf("entity.shulker.close"); + RegistryKey ENTITY_SHULKER_CLOSE = RegistryKey.of("entity.shulker.close"); - RegistryKey ENTITY_SHULKER_DEATH = RegistryKey.unsafeOf("entity.shulker.death"); + RegistryKey ENTITY_SHULKER_DEATH = RegistryKey.of("entity.shulker.death"); - RegistryKey ENTITY_SHULKER_HURT = RegistryKey.unsafeOf("entity.shulker.hurt"); + RegistryKey ENTITY_SHULKER_HURT = RegistryKey.of("entity.shulker.hurt"); - RegistryKey ENTITY_SHULKER_HURT_CLOSED = RegistryKey.unsafeOf("entity.shulker.hurt_closed"); + RegistryKey ENTITY_SHULKER_HURT_CLOSED = RegistryKey.of("entity.shulker.hurt_closed"); - RegistryKey ENTITY_SHULKER_OPEN = RegistryKey.unsafeOf("entity.shulker.open"); + RegistryKey ENTITY_SHULKER_OPEN = RegistryKey.of("entity.shulker.open"); - RegistryKey ENTITY_SHULKER_SHOOT = RegistryKey.unsafeOf("entity.shulker.shoot"); + RegistryKey ENTITY_SHULKER_SHOOT = RegistryKey.of("entity.shulker.shoot"); - RegistryKey ENTITY_SHULKER_TELEPORT = RegistryKey.unsafeOf("entity.shulker.teleport"); + RegistryKey ENTITY_SHULKER_TELEPORT = RegistryKey.of("entity.shulker.teleport"); - RegistryKey ENTITY_SHULKER_BULLET_HIT = RegistryKey.unsafeOf("entity.shulker_bullet.hit"); + RegistryKey ENTITY_SHULKER_BULLET_HIT = RegistryKey.of("entity.shulker_bullet.hit"); - RegistryKey ENTITY_SHULKER_BULLET_HURT = RegistryKey.unsafeOf("entity.shulker_bullet.hurt"); + RegistryKey ENTITY_SHULKER_BULLET_HURT = RegistryKey.of("entity.shulker_bullet.hurt"); - RegistryKey ENTITY_SILVERFISH_AMBIENT = RegistryKey.unsafeOf("entity.silverfish.ambient"); + RegistryKey ENTITY_SILVERFISH_AMBIENT = RegistryKey.of("entity.silverfish.ambient"); - RegistryKey ENTITY_SILVERFISH_DEATH = RegistryKey.unsafeOf("entity.silverfish.death"); + RegistryKey ENTITY_SILVERFISH_DEATH = RegistryKey.of("entity.silverfish.death"); - RegistryKey ENTITY_SILVERFISH_HURT = RegistryKey.unsafeOf("entity.silverfish.hurt"); + RegistryKey ENTITY_SILVERFISH_HURT = RegistryKey.of("entity.silverfish.hurt"); - RegistryKey ENTITY_SILVERFISH_STEP = RegistryKey.unsafeOf("entity.silverfish.step"); + RegistryKey ENTITY_SILVERFISH_STEP = RegistryKey.of("entity.silverfish.step"); - RegistryKey ENTITY_SKELETON_AMBIENT = RegistryKey.unsafeOf("entity.skeleton.ambient"); + RegistryKey ENTITY_SKELETON_AMBIENT = RegistryKey.of("entity.skeleton.ambient"); - RegistryKey ENTITY_SKELETON_CONVERTED_TO_STRAY = RegistryKey.unsafeOf("entity.skeleton.converted_to_stray"); + RegistryKey ENTITY_SKELETON_CONVERTED_TO_STRAY = RegistryKey.of("entity.skeleton.converted_to_stray"); - RegistryKey ENTITY_SKELETON_DEATH = RegistryKey.unsafeOf("entity.skeleton.death"); + RegistryKey ENTITY_SKELETON_DEATH = RegistryKey.of("entity.skeleton.death"); - RegistryKey ENTITY_SKELETON_HURT = RegistryKey.unsafeOf("entity.skeleton.hurt"); + RegistryKey ENTITY_SKELETON_HURT = RegistryKey.of("entity.skeleton.hurt"); - RegistryKey ENTITY_SKELETON_SHOOT = RegistryKey.unsafeOf("entity.skeleton.shoot"); + RegistryKey ENTITY_SKELETON_SHOOT = RegistryKey.of("entity.skeleton.shoot"); - RegistryKey ENTITY_SKELETON_STEP = RegistryKey.unsafeOf("entity.skeleton.step"); + RegistryKey ENTITY_SKELETON_STEP = RegistryKey.of("entity.skeleton.step"); - RegistryKey ENTITY_SKELETON_HORSE_AMBIENT = RegistryKey.unsafeOf("entity.skeleton_horse.ambient"); + RegistryKey ENTITY_SKELETON_HORSE_AMBIENT = RegistryKey.of("entity.skeleton_horse.ambient"); - RegistryKey ENTITY_SKELETON_HORSE_AMBIENT_WATER = RegistryKey.unsafeOf("entity.skeleton_horse.ambient_water"); + RegistryKey ENTITY_SKELETON_HORSE_AMBIENT_WATER = RegistryKey.of("entity.skeleton_horse.ambient_water"); - RegistryKey ENTITY_SKELETON_HORSE_DEATH = RegistryKey.unsafeOf("entity.skeleton_horse.death"); + RegistryKey ENTITY_SKELETON_HORSE_DEATH = RegistryKey.of("entity.skeleton_horse.death"); - RegistryKey ENTITY_SKELETON_HORSE_GALLOP_WATER = RegistryKey.unsafeOf("entity.skeleton_horse.gallop_water"); + RegistryKey ENTITY_SKELETON_HORSE_GALLOP_WATER = RegistryKey.of("entity.skeleton_horse.gallop_water"); - RegistryKey ENTITY_SKELETON_HORSE_HURT = RegistryKey.unsafeOf("entity.skeleton_horse.hurt"); + RegistryKey ENTITY_SKELETON_HORSE_HURT = RegistryKey.of("entity.skeleton_horse.hurt"); - RegistryKey ENTITY_SKELETON_HORSE_JUMP_WATER = RegistryKey.unsafeOf("entity.skeleton_horse.jump_water"); + RegistryKey ENTITY_SKELETON_HORSE_JUMP_WATER = RegistryKey.of("entity.skeleton_horse.jump_water"); - RegistryKey ENTITY_SKELETON_HORSE_STEP_WATER = RegistryKey.unsafeOf("entity.skeleton_horse.step_water"); + RegistryKey ENTITY_SKELETON_HORSE_STEP_WATER = RegistryKey.of("entity.skeleton_horse.step_water"); - RegistryKey ENTITY_SKELETON_HORSE_SWIM = RegistryKey.unsafeOf("entity.skeleton_horse.swim"); + RegistryKey ENTITY_SKELETON_HORSE_SWIM = RegistryKey.of("entity.skeleton_horse.swim"); - RegistryKey ENTITY_SLIME_ATTACK = RegistryKey.unsafeOf("entity.slime.attack"); + RegistryKey ENTITY_SLIME_ATTACK = RegistryKey.of("entity.slime.attack"); - RegistryKey ENTITY_SLIME_DEATH = RegistryKey.unsafeOf("entity.slime.death"); + RegistryKey ENTITY_SLIME_DEATH = RegistryKey.of("entity.slime.death"); - RegistryKey ENTITY_SLIME_DEATH_SMALL = RegistryKey.unsafeOf("entity.slime.death_small"); + RegistryKey ENTITY_SLIME_DEATH_SMALL = RegistryKey.of("entity.slime.death_small"); - RegistryKey ENTITY_SLIME_HURT = RegistryKey.unsafeOf("entity.slime.hurt"); + RegistryKey ENTITY_SLIME_HURT = RegistryKey.of("entity.slime.hurt"); - RegistryKey ENTITY_SLIME_HURT_SMALL = RegistryKey.unsafeOf("entity.slime.hurt_small"); + RegistryKey ENTITY_SLIME_HURT_SMALL = RegistryKey.of("entity.slime.hurt_small"); - RegistryKey ENTITY_SLIME_JUMP = RegistryKey.unsafeOf("entity.slime.jump"); + RegistryKey ENTITY_SLIME_JUMP = RegistryKey.of("entity.slime.jump"); - RegistryKey ENTITY_SLIME_JUMP_SMALL = RegistryKey.unsafeOf("entity.slime.jump_small"); + RegistryKey ENTITY_SLIME_JUMP_SMALL = RegistryKey.of("entity.slime.jump_small"); - RegistryKey ENTITY_SLIME_SQUISH = RegistryKey.unsafeOf("entity.slime.squish"); + RegistryKey ENTITY_SLIME_SQUISH = RegistryKey.of("entity.slime.squish"); - RegistryKey ENTITY_SLIME_SQUISH_SMALL = RegistryKey.unsafeOf("entity.slime.squish_small"); + RegistryKey ENTITY_SLIME_SQUISH_SMALL = RegistryKey.of("entity.slime.squish_small"); - RegistryKey ENTITY_SMALL_SULFUR_CUBE_DEATH = RegistryKey.unsafeOf("entity.small_sulfur_cube.death"); + RegistryKey ENTITY_SMALL_SULFUR_CUBE_DEATH = RegistryKey.of("entity.small_sulfur_cube.death"); - RegistryKey ENTITY_SMALL_SULFUR_CUBE_EAT = RegistryKey.unsafeOf("entity.small_sulfur_cube.eat"); + RegistryKey ENTITY_SMALL_SULFUR_CUBE_EAT = RegistryKey.of("entity.small_sulfur_cube.eat"); - RegistryKey ENTITY_SMALL_SULFUR_CUBE_HURT = RegistryKey.unsafeOf("entity.small_sulfur_cube.hurt"); + RegistryKey ENTITY_SMALL_SULFUR_CUBE_HURT = RegistryKey.of("entity.small_sulfur_cube.hurt"); - RegistryKey ENTITY_SMALL_SULFUR_CUBE_JUMP = RegistryKey.unsafeOf("entity.small_sulfur_cube.jump"); + RegistryKey ENTITY_SMALL_SULFUR_CUBE_JUMP = RegistryKey.of("entity.small_sulfur_cube.jump"); - RegistryKey ENTITY_SMALL_SULFUR_CUBE_SQUISH = RegistryKey.unsafeOf("entity.small_sulfur_cube.squish"); + RegistryKey ENTITY_SMALL_SULFUR_CUBE_SQUISH = RegistryKey.of("entity.small_sulfur_cube.squish"); - RegistryKey ENTITY_SNIFFER_DEATH = RegistryKey.unsafeOf("entity.sniffer.death"); + RegistryKey ENTITY_SNIFFER_DEATH = RegistryKey.of("entity.sniffer.death"); - RegistryKey ENTITY_SNIFFER_DIGGING = RegistryKey.unsafeOf("entity.sniffer.digging"); + RegistryKey ENTITY_SNIFFER_DIGGING = RegistryKey.of("entity.sniffer.digging"); - RegistryKey ENTITY_SNIFFER_DIGGING_STOP = RegistryKey.unsafeOf("entity.sniffer.digging_stop"); + RegistryKey ENTITY_SNIFFER_DIGGING_STOP = RegistryKey.of("entity.sniffer.digging_stop"); - RegistryKey ENTITY_SNIFFER_DROP_SEED = RegistryKey.unsafeOf("entity.sniffer.drop_seed"); + RegistryKey ENTITY_SNIFFER_DROP_SEED = RegistryKey.of("entity.sniffer.drop_seed"); - RegistryKey ENTITY_SNIFFER_EAT = RegistryKey.unsafeOf("entity.sniffer.eat"); + RegistryKey ENTITY_SNIFFER_EAT = RegistryKey.of("entity.sniffer.eat"); - RegistryKey ENTITY_SNIFFER_HAPPY = RegistryKey.unsafeOf("entity.sniffer.happy"); + RegistryKey ENTITY_SNIFFER_HAPPY = RegistryKey.of("entity.sniffer.happy"); - RegistryKey ENTITY_SNIFFER_HURT = RegistryKey.unsafeOf("entity.sniffer.hurt"); + RegistryKey ENTITY_SNIFFER_HURT = RegistryKey.of("entity.sniffer.hurt"); - RegistryKey ENTITY_SNIFFER_IDLE = RegistryKey.unsafeOf("entity.sniffer.idle"); + RegistryKey ENTITY_SNIFFER_IDLE = RegistryKey.of("entity.sniffer.idle"); - RegistryKey ENTITY_SNIFFER_SCENTING = RegistryKey.unsafeOf("entity.sniffer.scenting"); + RegistryKey ENTITY_SNIFFER_SCENTING = RegistryKey.of("entity.sniffer.scenting"); - RegistryKey ENTITY_SNIFFER_SEARCHING = RegistryKey.unsafeOf("entity.sniffer.searching"); + RegistryKey ENTITY_SNIFFER_SEARCHING = RegistryKey.of("entity.sniffer.searching"); - RegistryKey ENTITY_SNIFFER_SNIFFING = RegistryKey.unsafeOf("entity.sniffer.sniffing"); + RegistryKey ENTITY_SNIFFER_SNIFFING = RegistryKey.of("entity.sniffer.sniffing"); - RegistryKey ENTITY_SNIFFER_STEP = RegistryKey.unsafeOf("entity.sniffer.step"); + RegistryKey ENTITY_SNIFFER_STEP = RegistryKey.of("entity.sniffer.step"); - RegistryKey ENTITY_SNOW_GOLEM_AMBIENT = RegistryKey.unsafeOf("entity.snow_golem.ambient"); + RegistryKey ENTITY_SNOW_GOLEM_AMBIENT = RegistryKey.of("entity.snow_golem.ambient"); - RegistryKey ENTITY_SNOW_GOLEM_DEATH = RegistryKey.unsafeOf("entity.snow_golem.death"); + RegistryKey ENTITY_SNOW_GOLEM_DEATH = RegistryKey.of("entity.snow_golem.death"); - RegistryKey ENTITY_SNOW_GOLEM_HURT = RegistryKey.unsafeOf("entity.snow_golem.hurt"); + RegistryKey ENTITY_SNOW_GOLEM_HURT = RegistryKey.of("entity.snow_golem.hurt"); - RegistryKey ENTITY_SNOW_GOLEM_SHEAR = RegistryKey.unsafeOf("entity.snow_golem.shear"); + RegistryKey ENTITY_SNOW_GOLEM_SHEAR = RegistryKey.of("entity.snow_golem.shear"); - RegistryKey ENTITY_SNOW_GOLEM_SHOOT = RegistryKey.unsafeOf("entity.snow_golem.shoot"); + RegistryKey ENTITY_SNOW_GOLEM_SHOOT = RegistryKey.of("entity.snow_golem.shoot"); - RegistryKey ENTITY_SNOWBALL_THROW = RegistryKey.unsafeOf("entity.snowball.throw"); + RegistryKey ENTITY_SNOWBALL_THROW = RegistryKey.of("entity.snowball.throw"); - RegistryKey ENTITY_SPIDER_AMBIENT = RegistryKey.unsafeOf("entity.spider.ambient"); + RegistryKey ENTITY_SPIDER_AMBIENT = RegistryKey.of("entity.spider.ambient"); - RegistryKey ENTITY_SPIDER_DEATH = RegistryKey.unsafeOf("entity.spider.death"); + RegistryKey ENTITY_SPIDER_DEATH = RegistryKey.of("entity.spider.death"); - RegistryKey ENTITY_SPIDER_HURT = RegistryKey.unsafeOf("entity.spider.hurt"); + RegistryKey ENTITY_SPIDER_HURT = RegistryKey.of("entity.spider.hurt"); - RegistryKey ENTITY_SPIDER_STEP = RegistryKey.unsafeOf("entity.spider.step"); + RegistryKey ENTITY_SPIDER_STEP = RegistryKey.of("entity.spider.step"); - RegistryKey ENTITY_SPLASH_POTION_BREAK = RegistryKey.unsafeOf("entity.splash_potion.break"); + RegistryKey ENTITY_SPLASH_POTION_BREAK = RegistryKey.of("entity.splash_potion.break"); - RegistryKey ENTITY_SPLASH_POTION_THROW = RegistryKey.unsafeOf("entity.splash_potion.throw"); + RegistryKey ENTITY_SPLASH_POTION_THROW = RegistryKey.of("entity.splash_potion.throw"); - RegistryKey ENTITY_SQUID_AMBIENT = RegistryKey.unsafeOf("entity.squid.ambient"); + RegistryKey ENTITY_SQUID_AMBIENT = RegistryKey.of("entity.squid.ambient"); - RegistryKey ENTITY_SQUID_DEATH = RegistryKey.unsafeOf("entity.squid.death"); + RegistryKey ENTITY_SQUID_DEATH = RegistryKey.of("entity.squid.death"); - RegistryKey ENTITY_SQUID_HURT = RegistryKey.unsafeOf("entity.squid.hurt"); + RegistryKey ENTITY_SQUID_HURT = RegistryKey.of("entity.squid.hurt"); - RegistryKey ENTITY_SQUID_SQUIRT = RegistryKey.unsafeOf("entity.squid.squirt"); + RegistryKey ENTITY_SQUID_SQUIRT = RegistryKey.of("entity.squid.squirt"); - RegistryKey ENTITY_STRAY_AMBIENT = RegistryKey.unsafeOf("entity.stray.ambient"); + RegistryKey ENTITY_STRAY_AMBIENT = RegistryKey.of("entity.stray.ambient"); - RegistryKey ENTITY_STRAY_DEATH = RegistryKey.unsafeOf("entity.stray.death"); + RegistryKey ENTITY_STRAY_DEATH = RegistryKey.of("entity.stray.death"); - RegistryKey ENTITY_STRAY_HURT = RegistryKey.unsafeOf("entity.stray.hurt"); + RegistryKey ENTITY_STRAY_HURT = RegistryKey.of("entity.stray.hurt"); - RegistryKey ENTITY_STRAY_STEP = RegistryKey.unsafeOf("entity.stray.step"); + RegistryKey ENTITY_STRAY_STEP = RegistryKey.of("entity.stray.step"); - RegistryKey ENTITY_STRIDER_AMBIENT = RegistryKey.unsafeOf("entity.strider.ambient"); + RegistryKey ENTITY_STRIDER_AMBIENT = RegistryKey.of("entity.strider.ambient"); - RegistryKey ENTITY_STRIDER_DEATH = RegistryKey.unsafeOf("entity.strider.death"); + RegistryKey ENTITY_STRIDER_DEATH = RegistryKey.of("entity.strider.death"); - RegistryKey ENTITY_STRIDER_EAT = RegistryKey.unsafeOf("entity.strider.eat"); + RegistryKey ENTITY_STRIDER_EAT = RegistryKey.of("entity.strider.eat"); - RegistryKey ENTITY_STRIDER_HAPPY = RegistryKey.unsafeOf("entity.strider.happy"); + RegistryKey ENTITY_STRIDER_HAPPY = RegistryKey.of("entity.strider.happy"); - RegistryKey ENTITY_STRIDER_HURT = RegistryKey.unsafeOf("entity.strider.hurt"); + RegistryKey ENTITY_STRIDER_HURT = RegistryKey.of("entity.strider.hurt"); - RegistryKey ENTITY_STRIDER_RETREAT = RegistryKey.unsafeOf("entity.strider.retreat"); + RegistryKey ENTITY_STRIDER_RETREAT = RegistryKey.of("entity.strider.retreat"); - RegistryKey ENTITY_STRIDER_SADDLE = RegistryKey.unsafeOf("entity.strider.saddle"); + RegistryKey ENTITY_STRIDER_SADDLE = RegistryKey.of("entity.strider.saddle"); - RegistryKey ENTITY_STRIDER_STEP = RegistryKey.unsafeOf("entity.strider.step"); + RegistryKey ENTITY_STRIDER_STEP = RegistryKey.of("entity.strider.step"); - RegistryKey ENTITY_STRIDER_STEP_LAVA = RegistryKey.unsafeOf("entity.strider.step_lava"); + RegistryKey ENTITY_STRIDER_STEP_LAVA = RegistryKey.of("entity.strider.step_lava"); - RegistryKey ENTITY_SULFUR_CUBE_ABSORB = RegistryKey.unsafeOf("entity.sulfur_cube.absorb"); + RegistryKey ENTITY_SULFUR_CUBE_ABSORB = RegistryKey.of("entity.sulfur_cube.absorb"); - RegistryKey ENTITY_SULFUR_CUBE_BOUNCE = RegistryKey.unsafeOf("entity.sulfur_cube.bounce"); + RegistryKey ENTITY_SULFUR_CUBE_BOUNCE = RegistryKey.of("entity.sulfur_cube.bounce"); - RegistryKey ENTITY_SULFUR_CUBE_BOUNCY_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.bouncy.hit"); + RegistryKey ENTITY_SULFUR_CUBE_BOUNCY_HIT = RegistryKey.of("entity.sulfur_cube.bouncy.hit"); - RegistryKey ENTITY_SULFUR_CUBE_BOUNCY_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.bouncy.push"); + RegistryKey ENTITY_SULFUR_CUBE_BOUNCY_PUSH = RegistryKey.of("entity.sulfur_cube.bouncy.push"); - RegistryKey ENTITY_SULFUR_CUBE_DEATH = RegistryKey.unsafeOf("entity.sulfur_cube.death"); + RegistryKey ENTITY_SULFUR_CUBE_DEATH = RegistryKey.of("entity.sulfur_cube.death"); - RegistryKey ENTITY_SULFUR_CUBE_EJECT = RegistryKey.unsafeOf("entity.sulfur_cube.eject"); + RegistryKey ENTITY_SULFUR_CUBE_EJECT = RegistryKey.of("entity.sulfur_cube.eject"); - RegistryKey ENTITY_SULFUR_CUBE_EXPLOSIVE_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.explosive.hit"); + RegistryKey ENTITY_SULFUR_CUBE_EXPLOSIVE_HIT = RegistryKey.of("entity.sulfur_cube.explosive.hit"); - RegistryKey ENTITY_SULFUR_CUBE_EXPLOSIVE_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.explosive.push"); + RegistryKey ENTITY_SULFUR_CUBE_EXPLOSIVE_PUSH = RegistryKey.of("entity.sulfur_cube.explosive.push"); - RegistryKey ENTITY_SULFUR_CUBE_FAST_FLAT_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.fast_flat.hit"); + RegistryKey ENTITY_SULFUR_CUBE_FAST_FLAT_HIT = RegistryKey.of("entity.sulfur_cube.fast_flat.hit"); - RegistryKey ENTITY_SULFUR_CUBE_FAST_FLAT_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.fast_flat.push"); + RegistryKey ENTITY_SULFUR_CUBE_FAST_FLAT_PUSH = RegistryKey.of("entity.sulfur_cube.fast_flat.push"); - RegistryKey ENTITY_SULFUR_CUBE_FAST_SLIDING_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.fast_sliding.hit"); + RegistryKey ENTITY_SULFUR_CUBE_FAST_SLIDING_HIT = RegistryKey.of("entity.sulfur_cube.fast_sliding.hit"); - RegistryKey ENTITY_SULFUR_CUBE_FAST_SLIDING_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.fast_sliding.push"); + RegistryKey ENTITY_SULFUR_CUBE_FAST_SLIDING_PUSH = RegistryKey.of("entity.sulfur_cube.fast_sliding.push"); - RegistryKey ENTITY_SULFUR_CUBE_HIGH_RESISTANCE_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.high_resistance.hit"); + RegistryKey ENTITY_SULFUR_CUBE_HIGH_RESISTANCE_HIT = RegistryKey.of("entity.sulfur_cube.high_resistance.hit"); - RegistryKey ENTITY_SULFUR_CUBE_HIGH_RESISTANCE_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.high_resistance.push"); + RegistryKey ENTITY_SULFUR_CUBE_HIGH_RESISTANCE_PUSH = RegistryKey.of("entity.sulfur_cube.high_resistance.push"); - RegistryKey ENTITY_SULFUR_CUBE_HOT_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.hot.hit"); + RegistryKey ENTITY_SULFUR_CUBE_HOT_HIT = RegistryKey.of("entity.sulfur_cube.hot.hit"); - RegistryKey ENTITY_SULFUR_CUBE_HOT_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.hot.push"); + RegistryKey ENTITY_SULFUR_CUBE_HOT_PUSH = RegistryKey.of("entity.sulfur_cube.hot.push"); - RegistryKey ENTITY_SULFUR_CUBE_HURT = RegistryKey.unsafeOf("entity.sulfur_cube.hurt"); + RegistryKey ENTITY_SULFUR_CUBE_HURT = RegistryKey.of("entity.sulfur_cube.hurt"); - RegistryKey ENTITY_SULFUR_CUBE_JUMP = RegistryKey.unsafeOf("entity.sulfur_cube.jump"); + RegistryKey ENTITY_SULFUR_CUBE_JUMP = RegistryKey.of("entity.sulfur_cube.jump"); - RegistryKey ENTITY_SULFUR_CUBE_LIGHT_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.light.hit"); + RegistryKey ENTITY_SULFUR_CUBE_LIGHT_HIT = RegistryKey.of("entity.sulfur_cube.light.hit"); - RegistryKey ENTITY_SULFUR_CUBE_LIGHT_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.light.push"); + RegistryKey ENTITY_SULFUR_CUBE_LIGHT_PUSH = RegistryKey.of("entity.sulfur_cube.light.push"); - RegistryKey ENTITY_SULFUR_CUBE_REGULAR_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.regular.hit"); + RegistryKey ENTITY_SULFUR_CUBE_REGULAR_HIT = RegistryKey.of("entity.sulfur_cube.regular.hit"); - RegistryKey ENTITY_SULFUR_CUBE_REGULAR_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.regular.push"); + RegistryKey ENTITY_SULFUR_CUBE_REGULAR_PUSH = RegistryKey.of("entity.sulfur_cube.regular.push"); - RegistryKey ENTITY_SULFUR_CUBE_SLOW_BOUNCY_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.slow_bouncy.hit"); + RegistryKey ENTITY_SULFUR_CUBE_SLOW_BOUNCY_HIT = RegistryKey.of("entity.sulfur_cube.slow_bouncy.hit"); - RegistryKey ENTITY_SULFUR_CUBE_SLOW_BOUNCY_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.slow_bouncy.push"); + RegistryKey ENTITY_SULFUR_CUBE_SLOW_BOUNCY_PUSH = RegistryKey.of("entity.sulfur_cube.slow_bouncy.push"); - RegistryKey ENTITY_SULFUR_CUBE_SLOW_FLAT_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.slow_flat.hit"); + RegistryKey ENTITY_SULFUR_CUBE_SLOW_FLAT_HIT = RegistryKey.of("entity.sulfur_cube.slow_flat.hit"); - RegistryKey ENTITY_SULFUR_CUBE_SLOW_FLAT_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.slow_flat.push"); + RegistryKey ENTITY_SULFUR_CUBE_SLOW_FLAT_PUSH = RegistryKey.of("entity.sulfur_cube.slow_flat.push"); - RegistryKey ENTITY_SULFUR_CUBE_SLOW_SLIDING_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.slow_sliding.hit"); + RegistryKey ENTITY_SULFUR_CUBE_SLOW_SLIDING_HIT = RegistryKey.of("entity.sulfur_cube.slow_sliding.hit"); - RegistryKey ENTITY_SULFUR_CUBE_SLOW_SLIDING_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.slow_sliding.push"); + RegistryKey ENTITY_SULFUR_CUBE_SLOW_SLIDING_PUSH = RegistryKey.of("entity.sulfur_cube.slow_sliding.push"); - RegistryKey ENTITY_SULFUR_CUBE_SQUISH = RegistryKey.unsafeOf("entity.sulfur_cube.squish"); + RegistryKey ENTITY_SULFUR_CUBE_SQUISH = RegistryKey.of("entity.sulfur_cube.squish"); - RegistryKey ENTITY_SULFUR_CUBE_STICKY_HIT = RegistryKey.unsafeOf("entity.sulfur_cube.sticky.hit"); + RegistryKey ENTITY_SULFUR_CUBE_STICKY_HIT = RegistryKey.of("entity.sulfur_cube.sticky.hit"); - RegistryKey ENTITY_SULFUR_CUBE_STICKY_PUSH = RegistryKey.unsafeOf("entity.sulfur_cube.sticky.push"); + RegistryKey ENTITY_SULFUR_CUBE_STICKY_PUSH = RegistryKey.of("entity.sulfur_cube.sticky.push"); - RegistryKey ENTITY_TADPOLE_DEATH = RegistryKey.unsafeOf("entity.tadpole.death"); + RegistryKey ENTITY_TADPOLE_DEATH = RegistryKey.of("entity.tadpole.death"); - RegistryKey ENTITY_TADPOLE_FLOP = RegistryKey.unsafeOf("entity.tadpole.flop"); + RegistryKey ENTITY_TADPOLE_FLOP = RegistryKey.of("entity.tadpole.flop"); - RegistryKey ENTITY_TADPOLE_GROW_UP = RegistryKey.unsafeOf("entity.tadpole.grow_up"); + RegistryKey ENTITY_TADPOLE_GROW_UP = RegistryKey.of("entity.tadpole.grow_up"); - RegistryKey ENTITY_TADPOLE_HURT = RegistryKey.unsafeOf("entity.tadpole.hurt"); + RegistryKey ENTITY_TADPOLE_HURT = RegistryKey.of("entity.tadpole.hurt"); - RegistryKey ENTITY_TNT_PRIMED = RegistryKey.unsafeOf("entity.tnt.primed"); + RegistryKey ENTITY_TNT_PRIMED = RegistryKey.of("entity.tnt.primed"); - RegistryKey ENTITY_TROPICAL_FISH_AMBIENT = RegistryKey.unsafeOf("entity.tropical_fish.ambient"); + RegistryKey ENTITY_TROPICAL_FISH_AMBIENT = RegistryKey.of("entity.tropical_fish.ambient"); - RegistryKey ENTITY_TROPICAL_FISH_DEATH = RegistryKey.unsafeOf("entity.tropical_fish.death"); + RegistryKey ENTITY_TROPICAL_FISH_DEATH = RegistryKey.of("entity.tropical_fish.death"); - RegistryKey ENTITY_TROPICAL_FISH_FLOP = RegistryKey.unsafeOf("entity.tropical_fish.flop"); + RegistryKey ENTITY_TROPICAL_FISH_FLOP = RegistryKey.of("entity.tropical_fish.flop"); - RegistryKey ENTITY_TROPICAL_FISH_HURT = RegistryKey.unsafeOf("entity.tropical_fish.hurt"); + RegistryKey ENTITY_TROPICAL_FISH_HURT = RegistryKey.of("entity.tropical_fish.hurt"); - RegistryKey ENTITY_TURTLE_AMBIENT_LAND = RegistryKey.unsafeOf("entity.turtle.ambient_land"); + RegistryKey ENTITY_TURTLE_AMBIENT_LAND = RegistryKey.of("entity.turtle.ambient_land"); - RegistryKey ENTITY_TURTLE_DEATH = RegistryKey.unsafeOf("entity.turtle.death"); + RegistryKey ENTITY_TURTLE_DEATH = RegistryKey.of("entity.turtle.death"); - RegistryKey ENTITY_TURTLE_DEATH_BABY = RegistryKey.unsafeOf("entity.turtle.death_baby"); + RegistryKey ENTITY_TURTLE_DEATH_BABY = RegistryKey.of("entity.turtle.death_baby"); - RegistryKey ENTITY_TURTLE_EGG_BREAK = RegistryKey.unsafeOf("entity.turtle.egg_break"); + RegistryKey ENTITY_TURTLE_EGG_BREAK = RegistryKey.of("entity.turtle.egg_break"); - RegistryKey ENTITY_TURTLE_EGG_CRACK = RegistryKey.unsafeOf("entity.turtle.egg_crack"); + RegistryKey ENTITY_TURTLE_EGG_CRACK = RegistryKey.of("entity.turtle.egg_crack"); - RegistryKey ENTITY_TURTLE_EGG_HATCH = RegistryKey.unsafeOf("entity.turtle.egg_hatch"); + RegistryKey ENTITY_TURTLE_EGG_HATCH = RegistryKey.of("entity.turtle.egg_hatch"); - RegistryKey ENTITY_TURTLE_HURT = RegistryKey.unsafeOf("entity.turtle.hurt"); + RegistryKey ENTITY_TURTLE_HURT = RegistryKey.of("entity.turtle.hurt"); - RegistryKey ENTITY_TURTLE_HURT_BABY = RegistryKey.unsafeOf("entity.turtle.hurt_baby"); + RegistryKey ENTITY_TURTLE_HURT_BABY = RegistryKey.of("entity.turtle.hurt_baby"); - RegistryKey ENTITY_TURTLE_LAY_EGG = RegistryKey.unsafeOf("entity.turtle.lay_egg"); + RegistryKey ENTITY_TURTLE_LAY_EGG = RegistryKey.of("entity.turtle.lay_egg"); - RegistryKey ENTITY_TURTLE_SHAMBLE = RegistryKey.unsafeOf("entity.turtle.shamble"); + RegistryKey ENTITY_TURTLE_SHAMBLE = RegistryKey.of("entity.turtle.shamble"); - RegistryKey ENTITY_TURTLE_SHAMBLE_BABY = RegistryKey.unsafeOf("entity.turtle.shamble_baby"); + RegistryKey ENTITY_TURTLE_SHAMBLE_BABY = RegistryKey.of("entity.turtle.shamble_baby"); - RegistryKey ENTITY_TURTLE_SWIM = RegistryKey.unsafeOf("entity.turtle.swim"); + RegistryKey ENTITY_TURTLE_SWIM = RegistryKey.of("entity.turtle.swim"); - RegistryKey ENTITY_VEX_AMBIENT = RegistryKey.unsafeOf("entity.vex.ambient"); + RegistryKey ENTITY_VEX_AMBIENT = RegistryKey.of("entity.vex.ambient"); - RegistryKey ENTITY_VEX_CHARGE = RegistryKey.unsafeOf("entity.vex.charge"); + RegistryKey ENTITY_VEX_CHARGE = RegistryKey.of("entity.vex.charge"); - RegistryKey ENTITY_VEX_DEATH = RegistryKey.unsafeOf("entity.vex.death"); + RegistryKey ENTITY_VEX_DEATH = RegistryKey.of("entity.vex.death"); - RegistryKey ENTITY_VEX_HURT = RegistryKey.unsafeOf("entity.vex.hurt"); + RegistryKey ENTITY_VEX_HURT = RegistryKey.of("entity.vex.hurt"); - RegistryKey ENTITY_VILLAGER_AMBIENT = RegistryKey.unsafeOf("entity.villager.ambient"); + RegistryKey ENTITY_VILLAGER_AMBIENT = RegistryKey.of("entity.villager.ambient"); - RegistryKey ENTITY_VILLAGER_CELEBRATE = RegistryKey.unsafeOf("entity.villager.celebrate"); + RegistryKey ENTITY_VILLAGER_CELEBRATE = RegistryKey.of("entity.villager.celebrate"); - RegistryKey ENTITY_VILLAGER_DEATH = RegistryKey.unsafeOf("entity.villager.death"); + RegistryKey ENTITY_VILLAGER_DEATH = RegistryKey.of("entity.villager.death"); - RegistryKey ENTITY_VILLAGER_HURT = RegistryKey.unsafeOf("entity.villager.hurt"); + RegistryKey ENTITY_VILLAGER_HURT = RegistryKey.of("entity.villager.hurt"); - RegistryKey ENTITY_VILLAGER_NO = RegistryKey.unsafeOf("entity.villager.no"); + RegistryKey ENTITY_VILLAGER_NO = RegistryKey.of("entity.villager.no"); - RegistryKey ENTITY_VILLAGER_TRADE = RegistryKey.unsafeOf("entity.villager.trade"); + RegistryKey ENTITY_VILLAGER_TRADE = RegistryKey.of("entity.villager.trade"); - RegistryKey ENTITY_VILLAGER_WORK_ARMORER = RegistryKey.unsafeOf("entity.villager.work_armorer"); + RegistryKey ENTITY_VILLAGER_WORK_ARMORER = RegistryKey.of("entity.villager.work_armorer"); - RegistryKey ENTITY_VILLAGER_WORK_BUTCHER = RegistryKey.unsafeOf("entity.villager.work_butcher"); + RegistryKey ENTITY_VILLAGER_WORK_BUTCHER = RegistryKey.of("entity.villager.work_butcher"); - RegistryKey ENTITY_VILLAGER_WORK_CARTOGRAPHER = RegistryKey.unsafeOf("entity.villager.work_cartographer"); + RegistryKey ENTITY_VILLAGER_WORK_CARTOGRAPHER = RegistryKey.of("entity.villager.work_cartographer"); - RegistryKey ENTITY_VILLAGER_WORK_CLERIC = RegistryKey.unsafeOf("entity.villager.work_cleric"); + RegistryKey ENTITY_VILLAGER_WORK_CLERIC = RegistryKey.of("entity.villager.work_cleric"); - RegistryKey ENTITY_VILLAGER_WORK_FARMER = RegistryKey.unsafeOf("entity.villager.work_farmer"); + RegistryKey ENTITY_VILLAGER_WORK_FARMER = RegistryKey.of("entity.villager.work_farmer"); - RegistryKey ENTITY_VILLAGER_WORK_FISHERMAN = RegistryKey.unsafeOf("entity.villager.work_fisherman"); + RegistryKey ENTITY_VILLAGER_WORK_FISHERMAN = RegistryKey.of("entity.villager.work_fisherman"); - RegistryKey ENTITY_VILLAGER_WORK_FLETCHER = RegistryKey.unsafeOf("entity.villager.work_fletcher"); + RegistryKey ENTITY_VILLAGER_WORK_FLETCHER = RegistryKey.of("entity.villager.work_fletcher"); - RegistryKey ENTITY_VILLAGER_WORK_LEATHERWORKER = RegistryKey.unsafeOf("entity.villager.work_leatherworker"); + RegistryKey ENTITY_VILLAGER_WORK_LEATHERWORKER = RegistryKey.of("entity.villager.work_leatherworker"); - RegistryKey ENTITY_VILLAGER_WORK_LIBRARIAN = RegistryKey.unsafeOf("entity.villager.work_librarian"); + RegistryKey ENTITY_VILLAGER_WORK_LIBRARIAN = RegistryKey.of("entity.villager.work_librarian"); - RegistryKey ENTITY_VILLAGER_WORK_MASON = RegistryKey.unsafeOf("entity.villager.work_mason"); + RegistryKey ENTITY_VILLAGER_WORK_MASON = RegistryKey.of("entity.villager.work_mason"); - RegistryKey ENTITY_VILLAGER_WORK_SHEPHERD = RegistryKey.unsafeOf("entity.villager.work_shepherd"); + RegistryKey ENTITY_VILLAGER_WORK_SHEPHERD = RegistryKey.of("entity.villager.work_shepherd"); - RegistryKey ENTITY_VILLAGER_WORK_TOOLSMITH = RegistryKey.unsafeOf("entity.villager.work_toolsmith"); + RegistryKey ENTITY_VILLAGER_WORK_TOOLSMITH = RegistryKey.of("entity.villager.work_toolsmith"); - RegistryKey ENTITY_VILLAGER_WORK_WEAPONSMITH = RegistryKey.unsafeOf("entity.villager.work_weaponsmith"); + RegistryKey ENTITY_VILLAGER_WORK_WEAPONSMITH = RegistryKey.of("entity.villager.work_weaponsmith"); - RegistryKey ENTITY_VILLAGER_YES = RegistryKey.unsafeOf("entity.villager.yes"); + RegistryKey ENTITY_VILLAGER_YES = RegistryKey.of("entity.villager.yes"); - RegistryKey ENTITY_VINDICATOR_AMBIENT = RegistryKey.unsafeOf("entity.vindicator.ambient"); + RegistryKey ENTITY_VINDICATOR_AMBIENT = RegistryKey.of("entity.vindicator.ambient"); - RegistryKey ENTITY_VINDICATOR_CELEBRATE = RegistryKey.unsafeOf("entity.vindicator.celebrate"); + RegistryKey ENTITY_VINDICATOR_CELEBRATE = RegistryKey.of("entity.vindicator.celebrate"); - RegistryKey ENTITY_VINDICATOR_DEATH = RegistryKey.unsafeOf("entity.vindicator.death"); + RegistryKey ENTITY_VINDICATOR_DEATH = RegistryKey.of("entity.vindicator.death"); - RegistryKey ENTITY_VINDICATOR_HURT = RegistryKey.unsafeOf("entity.vindicator.hurt"); + RegistryKey ENTITY_VINDICATOR_HURT = RegistryKey.of("entity.vindicator.hurt"); - RegistryKey ENTITY_WANDERING_TRADER_AMBIENT = RegistryKey.unsafeOf("entity.wandering_trader.ambient"); + RegistryKey ENTITY_WANDERING_TRADER_AMBIENT = RegistryKey.of("entity.wandering_trader.ambient"); - RegistryKey ENTITY_WANDERING_TRADER_DEATH = RegistryKey.unsafeOf("entity.wandering_trader.death"); + RegistryKey ENTITY_WANDERING_TRADER_DEATH = RegistryKey.of("entity.wandering_trader.death"); - RegistryKey ENTITY_WANDERING_TRADER_DISAPPEARED = RegistryKey.unsafeOf("entity.wandering_trader.disappeared"); + RegistryKey ENTITY_WANDERING_TRADER_DISAPPEARED = RegistryKey.of("entity.wandering_trader.disappeared"); - RegistryKey ENTITY_WANDERING_TRADER_DRINK_MILK = RegistryKey.unsafeOf("entity.wandering_trader.drink_milk"); + RegistryKey ENTITY_WANDERING_TRADER_DRINK_MILK = RegistryKey.of("entity.wandering_trader.drink_milk"); - RegistryKey ENTITY_WANDERING_TRADER_DRINK_POTION = RegistryKey.unsafeOf("entity.wandering_trader.drink_potion"); + RegistryKey ENTITY_WANDERING_TRADER_DRINK_POTION = RegistryKey.of("entity.wandering_trader.drink_potion"); - RegistryKey ENTITY_WANDERING_TRADER_HURT = RegistryKey.unsafeOf("entity.wandering_trader.hurt"); + RegistryKey ENTITY_WANDERING_TRADER_HURT = RegistryKey.of("entity.wandering_trader.hurt"); - RegistryKey ENTITY_WANDERING_TRADER_NO = RegistryKey.unsafeOf("entity.wandering_trader.no"); + RegistryKey ENTITY_WANDERING_TRADER_NO = RegistryKey.of("entity.wandering_trader.no"); - RegistryKey ENTITY_WANDERING_TRADER_REAPPEARED = RegistryKey.unsafeOf("entity.wandering_trader.reappeared"); + RegistryKey ENTITY_WANDERING_TRADER_REAPPEARED = RegistryKey.of("entity.wandering_trader.reappeared"); - RegistryKey ENTITY_WANDERING_TRADER_TRADE = RegistryKey.unsafeOf("entity.wandering_trader.trade"); + RegistryKey ENTITY_WANDERING_TRADER_TRADE = RegistryKey.of("entity.wandering_trader.trade"); - RegistryKey ENTITY_WANDERING_TRADER_YES = RegistryKey.unsafeOf("entity.wandering_trader.yes"); + RegistryKey ENTITY_WANDERING_TRADER_YES = RegistryKey.of("entity.wandering_trader.yes"); - RegistryKey ENTITY_WARDEN_AGITATED = RegistryKey.unsafeOf("entity.warden.agitated"); + RegistryKey ENTITY_WARDEN_AGITATED = RegistryKey.of("entity.warden.agitated"); - RegistryKey ENTITY_WARDEN_AMBIENT = RegistryKey.unsafeOf("entity.warden.ambient"); + RegistryKey ENTITY_WARDEN_AMBIENT = RegistryKey.of("entity.warden.ambient"); - RegistryKey ENTITY_WARDEN_ANGRY = RegistryKey.unsafeOf("entity.warden.angry"); + RegistryKey ENTITY_WARDEN_ANGRY = RegistryKey.of("entity.warden.angry"); - RegistryKey ENTITY_WARDEN_ATTACK_IMPACT = RegistryKey.unsafeOf("entity.warden.attack_impact"); + RegistryKey ENTITY_WARDEN_ATTACK_IMPACT = RegistryKey.of("entity.warden.attack_impact"); - RegistryKey ENTITY_WARDEN_DEATH = RegistryKey.unsafeOf("entity.warden.death"); + RegistryKey ENTITY_WARDEN_DEATH = RegistryKey.of("entity.warden.death"); - RegistryKey ENTITY_WARDEN_DIG = RegistryKey.unsafeOf("entity.warden.dig"); + RegistryKey ENTITY_WARDEN_DIG = RegistryKey.of("entity.warden.dig"); - RegistryKey ENTITY_WARDEN_EMERGE = RegistryKey.unsafeOf("entity.warden.emerge"); + RegistryKey ENTITY_WARDEN_EMERGE = RegistryKey.of("entity.warden.emerge"); - RegistryKey ENTITY_WARDEN_HEARTBEAT = RegistryKey.unsafeOf("entity.warden.heartbeat"); + RegistryKey ENTITY_WARDEN_HEARTBEAT = RegistryKey.of("entity.warden.heartbeat"); - RegistryKey ENTITY_WARDEN_HURT = RegistryKey.unsafeOf("entity.warden.hurt"); + RegistryKey ENTITY_WARDEN_HURT = RegistryKey.of("entity.warden.hurt"); - RegistryKey ENTITY_WARDEN_LISTENING = RegistryKey.unsafeOf("entity.warden.listening"); + RegistryKey ENTITY_WARDEN_LISTENING = RegistryKey.of("entity.warden.listening"); - RegistryKey ENTITY_WARDEN_LISTENING_ANGRY = RegistryKey.unsafeOf("entity.warden.listening_angry"); + RegistryKey ENTITY_WARDEN_LISTENING_ANGRY = RegistryKey.of("entity.warden.listening_angry"); - RegistryKey ENTITY_WARDEN_NEARBY_CLOSE = RegistryKey.unsafeOf("entity.warden.nearby_close"); + RegistryKey ENTITY_WARDEN_NEARBY_CLOSE = RegistryKey.of("entity.warden.nearby_close"); - RegistryKey ENTITY_WARDEN_NEARBY_CLOSER = RegistryKey.unsafeOf("entity.warden.nearby_closer"); + RegistryKey ENTITY_WARDEN_NEARBY_CLOSER = RegistryKey.of("entity.warden.nearby_closer"); - RegistryKey ENTITY_WARDEN_NEARBY_CLOSEST = RegistryKey.unsafeOf("entity.warden.nearby_closest"); + RegistryKey ENTITY_WARDEN_NEARBY_CLOSEST = RegistryKey.of("entity.warden.nearby_closest"); - RegistryKey ENTITY_WARDEN_ROAR = RegistryKey.unsafeOf("entity.warden.roar"); + RegistryKey ENTITY_WARDEN_ROAR = RegistryKey.of("entity.warden.roar"); - RegistryKey ENTITY_WARDEN_SNIFF = RegistryKey.unsafeOf("entity.warden.sniff"); + RegistryKey ENTITY_WARDEN_SNIFF = RegistryKey.of("entity.warden.sniff"); - RegistryKey ENTITY_WARDEN_SONIC_BOOM = RegistryKey.unsafeOf("entity.warden.sonic_boom"); + RegistryKey ENTITY_WARDEN_SONIC_BOOM = RegistryKey.of("entity.warden.sonic_boom"); - RegistryKey ENTITY_WARDEN_SONIC_CHARGE = RegistryKey.unsafeOf("entity.warden.sonic_charge"); + RegistryKey ENTITY_WARDEN_SONIC_CHARGE = RegistryKey.of("entity.warden.sonic_charge"); - RegistryKey ENTITY_WARDEN_STEP = RegistryKey.unsafeOf("entity.warden.step"); + RegistryKey ENTITY_WARDEN_STEP = RegistryKey.of("entity.warden.step"); - RegistryKey ENTITY_WARDEN_TENDRIL_CLICKS = RegistryKey.unsafeOf("entity.warden.tendril_clicks"); + RegistryKey ENTITY_WARDEN_TENDRIL_CLICKS = RegistryKey.of("entity.warden.tendril_clicks"); - RegistryKey ENTITY_WIND_CHARGE_THROW = RegistryKey.unsafeOf("entity.wind_charge.throw"); + RegistryKey ENTITY_WIND_CHARGE_THROW = RegistryKey.of("entity.wind_charge.throw"); - RegistryKey ENTITY_WIND_CHARGE_WIND_BURST = RegistryKey.unsafeOf("entity.wind_charge.wind_burst"); + RegistryKey ENTITY_WIND_CHARGE_WIND_BURST = RegistryKey.of("entity.wind_charge.wind_burst"); - RegistryKey ENTITY_WITCH_AMBIENT = RegistryKey.unsafeOf("entity.witch.ambient"); + RegistryKey ENTITY_WITCH_AMBIENT = RegistryKey.of("entity.witch.ambient"); - RegistryKey ENTITY_WITCH_CELEBRATE = RegistryKey.unsafeOf("entity.witch.celebrate"); + RegistryKey ENTITY_WITCH_CELEBRATE = RegistryKey.of("entity.witch.celebrate"); - RegistryKey ENTITY_WITCH_DEATH = RegistryKey.unsafeOf("entity.witch.death"); + RegistryKey ENTITY_WITCH_DEATH = RegistryKey.of("entity.witch.death"); - RegistryKey ENTITY_WITCH_DRINK = RegistryKey.unsafeOf("entity.witch.drink"); + RegistryKey ENTITY_WITCH_DRINK = RegistryKey.of("entity.witch.drink"); - RegistryKey ENTITY_WITCH_HURT = RegistryKey.unsafeOf("entity.witch.hurt"); + RegistryKey ENTITY_WITCH_HURT = RegistryKey.of("entity.witch.hurt"); - RegistryKey ENTITY_WITCH_THROW = RegistryKey.unsafeOf("entity.witch.throw"); + RegistryKey ENTITY_WITCH_THROW = RegistryKey.of("entity.witch.throw"); - RegistryKey ENTITY_WITHER_AMBIENT = RegistryKey.unsafeOf("entity.wither.ambient"); + RegistryKey ENTITY_WITHER_AMBIENT = RegistryKey.of("entity.wither.ambient"); - RegistryKey ENTITY_WITHER_BREAK_BLOCK = RegistryKey.unsafeOf("entity.wither.break_block"); + RegistryKey ENTITY_WITHER_BREAK_BLOCK = RegistryKey.of("entity.wither.break_block"); - RegistryKey ENTITY_WITHER_DEATH = RegistryKey.unsafeOf("entity.wither.death"); + RegistryKey ENTITY_WITHER_DEATH = RegistryKey.of("entity.wither.death"); - RegistryKey ENTITY_WITHER_HURT = RegistryKey.unsafeOf("entity.wither.hurt"); + RegistryKey ENTITY_WITHER_HURT = RegistryKey.of("entity.wither.hurt"); - RegistryKey ENTITY_WITHER_SHOOT = RegistryKey.unsafeOf("entity.wither.shoot"); + RegistryKey ENTITY_WITHER_SHOOT = RegistryKey.of("entity.wither.shoot"); - RegistryKey ENTITY_WITHER_SPAWN = RegistryKey.unsafeOf("entity.wither.spawn"); + RegistryKey ENTITY_WITHER_SPAWN = RegistryKey.of("entity.wither.spawn"); - RegistryKey ENTITY_WITHER_SKELETON_AMBIENT = RegistryKey.unsafeOf("entity.wither_skeleton.ambient"); + RegistryKey ENTITY_WITHER_SKELETON_AMBIENT = RegistryKey.of("entity.wither_skeleton.ambient"); - RegistryKey ENTITY_WITHER_SKELETON_DEATH = RegistryKey.unsafeOf("entity.wither_skeleton.death"); + RegistryKey ENTITY_WITHER_SKELETON_DEATH = RegistryKey.of("entity.wither_skeleton.death"); - RegistryKey ENTITY_WITHER_SKELETON_HURT = RegistryKey.unsafeOf("entity.wither_skeleton.hurt"); + RegistryKey ENTITY_WITHER_SKELETON_HURT = RegistryKey.of("entity.wither_skeleton.hurt"); - RegistryKey ENTITY_WITHER_SKELETON_STEP = RegistryKey.unsafeOf("entity.wither_skeleton.step"); + RegistryKey ENTITY_WITHER_SKELETON_STEP = RegistryKey.of("entity.wither_skeleton.step"); - RegistryKey ENTITY_WOLF_AMBIENT = RegistryKey.unsafeOf("entity.wolf.ambient"); + RegistryKey ENTITY_WOLF_AMBIENT = RegistryKey.of("entity.wolf.ambient"); - RegistryKey ENTITY_WOLF_DEATH = RegistryKey.unsafeOf("entity.wolf.death"); + RegistryKey ENTITY_WOLF_DEATH = RegistryKey.of("entity.wolf.death"); - RegistryKey ENTITY_WOLF_GROWL = RegistryKey.unsafeOf("entity.wolf.growl"); + RegistryKey ENTITY_WOLF_GROWL = RegistryKey.of("entity.wolf.growl"); - RegistryKey ENTITY_WOLF_HURT = RegistryKey.unsafeOf("entity.wolf.hurt"); + RegistryKey ENTITY_WOLF_HURT = RegistryKey.of("entity.wolf.hurt"); - RegistryKey ENTITY_WOLF_PANT = RegistryKey.unsafeOf("entity.wolf.pant"); + RegistryKey ENTITY_WOLF_PANT = RegistryKey.of("entity.wolf.pant"); - RegistryKey ENTITY_WOLF_SHAKE = RegistryKey.unsafeOf("entity.wolf.shake"); + RegistryKey ENTITY_WOLF_SHAKE = RegistryKey.of("entity.wolf.shake"); - RegistryKey ENTITY_WOLF_STEP = RegistryKey.unsafeOf("entity.wolf.step"); + RegistryKey ENTITY_WOLF_STEP = RegistryKey.of("entity.wolf.step"); - RegistryKey ENTITY_WOLF_WHINE = RegistryKey.unsafeOf("entity.wolf.whine"); + RegistryKey ENTITY_WOLF_WHINE = RegistryKey.of("entity.wolf.whine"); - RegistryKey ENTITY_WOLF_ANGRY_AMBIENT = RegistryKey.unsafeOf("entity.wolf_angry.ambient"); + RegistryKey ENTITY_WOLF_ANGRY_AMBIENT = RegistryKey.of("entity.wolf_angry.ambient"); - RegistryKey ENTITY_WOLF_ANGRY_DEATH = RegistryKey.unsafeOf("entity.wolf_angry.death"); + RegistryKey ENTITY_WOLF_ANGRY_DEATH = RegistryKey.of("entity.wolf_angry.death"); - RegistryKey ENTITY_WOLF_ANGRY_GROWL = RegistryKey.unsafeOf("entity.wolf_angry.growl"); + RegistryKey ENTITY_WOLF_ANGRY_GROWL = RegistryKey.of("entity.wolf_angry.growl"); - RegistryKey ENTITY_WOLF_ANGRY_HURT = RegistryKey.unsafeOf("entity.wolf_angry.hurt"); + RegistryKey ENTITY_WOLF_ANGRY_HURT = RegistryKey.of("entity.wolf_angry.hurt"); - RegistryKey ENTITY_WOLF_ANGRY_PANT = RegistryKey.unsafeOf("entity.wolf_angry.pant"); + RegistryKey ENTITY_WOLF_ANGRY_PANT = RegistryKey.of("entity.wolf_angry.pant"); - RegistryKey ENTITY_WOLF_ANGRY_WHINE = RegistryKey.unsafeOf("entity.wolf_angry.whine"); + RegistryKey ENTITY_WOLF_ANGRY_WHINE = RegistryKey.of("entity.wolf_angry.whine"); - RegistryKey ENTITY_WOLF_BIG_AMBIENT = RegistryKey.unsafeOf("entity.wolf_big.ambient"); + RegistryKey ENTITY_WOLF_BIG_AMBIENT = RegistryKey.of("entity.wolf_big.ambient"); - RegistryKey ENTITY_WOLF_BIG_DEATH = RegistryKey.unsafeOf("entity.wolf_big.death"); + RegistryKey ENTITY_WOLF_BIG_DEATH = RegistryKey.of("entity.wolf_big.death"); - RegistryKey ENTITY_WOLF_BIG_GROWL = RegistryKey.unsafeOf("entity.wolf_big.growl"); + RegistryKey ENTITY_WOLF_BIG_GROWL = RegistryKey.of("entity.wolf_big.growl"); - RegistryKey ENTITY_WOLF_BIG_HURT = RegistryKey.unsafeOf("entity.wolf_big.hurt"); + RegistryKey ENTITY_WOLF_BIG_HURT = RegistryKey.of("entity.wolf_big.hurt"); - RegistryKey ENTITY_WOLF_BIG_PANT = RegistryKey.unsafeOf("entity.wolf_big.pant"); + RegistryKey ENTITY_WOLF_BIG_PANT = RegistryKey.of("entity.wolf_big.pant"); - RegistryKey ENTITY_WOLF_BIG_WHINE = RegistryKey.unsafeOf("entity.wolf_big.whine"); + RegistryKey ENTITY_WOLF_BIG_WHINE = RegistryKey.of("entity.wolf_big.whine"); - RegistryKey ENTITY_WOLF_CUTE_AMBIENT = RegistryKey.unsafeOf("entity.wolf_cute.ambient"); + RegistryKey ENTITY_WOLF_CUTE_AMBIENT = RegistryKey.of("entity.wolf_cute.ambient"); - RegistryKey ENTITY_WOLF_CUTE_DEATH = RegistryKey.unsafeOf("entity.wolf_cute.death"); + RegistryKey ENTITY_WOLF_CUTE_DEATH = RegistryKey.of("entity.wolf_cute.death"); - RegistryKey ENTITY_WOLF_CUTE_GROWL = RegistryKey.unsafeOf("entity.wolf_cute.growl"); + RegistryKey ENTITY_WOLF_CUTE_GROWL = RegistryKey.of("entity.wolf_cute.growl"); - RegistryKey ENTITY_WOLF_CUTE_HURT = RegistryKey.unsafeOf("entity.wolf_cute.hurt"); + RegistryKey ENTITY_WOLF_CUTE_HURT = RegistryKey.of("entity.wolf_cute.hurt"); - RegistryKey ENTITY_WOLF_CUTE_PANT = RegistryKey.unsafeOf("entity.wolf_cute.pant"); + RegistryKey ENTITY_WOLF_CUTE_PANT = RegistryKey.of("entity.wolf_cute.pant"); - RegistryKey ENTITY_WOLF_CUTE_WHINE = RegistryKey.unsafeOf("entity.wolf_cute.whine"); + RegistryKey ENTITY_WOLF_CUTE_WHINE = RegistryKey.of("entity.wolf_cute.whine"); - RegistryKey ENTITY_WOLF_GRUMPY_AMBIENT = RegistryKey.unsafeOf("entity.wolf_grumpy.ambient"); + RegistryKey ENTITY_WOLF_GRUMPY_AMBIENT = RegistryKey.of("entity.wolf_grumpy.ambient"); - RegistryKey ENTITY_WOLF_GRUMPY_DEATH = RegistryKey.unsafeOf("entity.wolf_grumpy.death"); + RegistryKey ENTITY_WOLF_GRUMPY_DEATH = RegistryKey.of("entity.wolf_grumpy.death"); - RegistryKey ENTITY_WOLF_GRUMPY_GROWL = RegistryKey.unsafeOf("entity.wolf_grumpy.growl"); + RegistryKey ENTITY_WOLF_GRUMPY_GROWL = RegistryKey.of("entity.wolf_grumpy.growl"); - RegistryKey ENTITY_WOLF_GRUMPY_HURT = RegistryKey.unsafeOf("entity.wolf_grumpy.hurt"); + RegistryKey ENTITY_WOLF_GRUMPY_HURT = RegistryKey.of("entity.wolf_grumpy.hurt"); - RegistryKey ENTITY_WOLF_GRUMPY_PANT = RegistryKey.unsafeOf("entity.wolf_grumpy.pant"); + RegistryKey ENTITY_WOLF_GRUMPY_PANT = RegistryKey.of("entity.wolf_grumpy.pant"); - RegistryKey ENTITY_WOLF_GRUMPY_WHINE = RegistryKey.unsafeOf("entity.wolf_grumpy.whine"); + RegistryKey ENTITY_WOLF_GRUMPY_WHINE = RegistryKey.of("entity.wolf_grumpy.whine"); - RegistryKey ENTITY_WOLF_PUGLIN_AMBIENT = RegistryKey.unsafeOf("entity.wolf_puglin.ambient"); + RegistryKey ENTITY_WOLF_PUGLIN_AMBIENT = RegistryKey.of("entity.wolf_puglin.ambient"); - RegistryKey ENTITY_WOLF_PUGLIN_DEATH = RegistryKey.unsafeOf("entity.wolf_puglin.death"); + RegistryKey ENTITY_WOLF_PUGLIN_DEATH = RegistryKey.of("entity.wolf_puglin.death"); - RegistryKey ENTITY_WOLF_PUGLIN_GROWL = RegistryKey.unsafeOf("entity.wolf_puglin.growl"); + RegistryKey ENTITY_WOLF_PUGLIN_GROWL = RegistryKey.of("entity.wolf_puglin.growl"); - RegistryKey ENTITY_WOLF_PUGLIN_HURT = RegistryKey.unsafeOf("entity.wolf_puglin.hurt"); + RegistryKey ENTITY_WOLF_PUGLIN_HURT = RegistryKey.of("entity.wolf_puglin.hurt"); - RegistryKey ENTITY_WOLF_PUGLIN_PANT = RegistryKey.unsafeOf("entity.wolf_puglin.pant"); + RegistryKey ENTITY_WOLF_PUGLIN_PANT = RegistryKey.of("entity.wolf_puglin.pant"); - RegistryKey ENTITY_WOLF_PUGLIN_WHINE = RegistryKey.unsafeOf("entity.wolf_puglin.whine"); + RegistryKey ENTITY_WOLF_PUGLIN_WHINE = RegistryKey.of("entity.wolf_puglin.whine"); - RegistryKey ENTITY_WOLF_SAD_AMBIENT = RegistryKey.unsafeOf("entity.wolf_sad.ambient"); + RegistryKey ENTITY_WOLF_SAD_AMBIENT = RegistryKey.of("entity.wolf_sad.ambient"); - RegistryKey ENTITY_WOLF_SAD_DEATH = RegistryKey.unsafeOf("entity.wolf_sad.death"); + RegistryKey ENTITY_WOLF_SAD_DEATH = RegistryKey.of("entity.wolf_sad.death"); - RegistryKey ENTITY_WOLF_SAD_GROWL = RegistryKey.unsafeOf("entity.wolf_sad.growl"); + RegistryKey ENTITY_WOLF_SAD_GROWL = RegistryKey.of("entity.wolf_sad.growl"); - RegistryKey ENTITY_WOLF_SAD_HURT = RegistryKey.unsafeOf("entity.wolf_sad.hurt"); + RegistryKey ENTITY_WOLF_SAD_HURT = RegistryKey.of("entity.wolf_sad.hurt"); - RegistryKey ENTITY_WOLF_SAD_PANT = RegistryKey.unsafeOf("entity.wolf_sad.pant"); + RegistryKey ENTITY_WOLF_SAD_PANT = RegistryKey.of("entity.wolf_sad.pant"); - RegistryKey ENTITY_WOLF_SAD_WHINE = RegistryKey.unsafeOf("entity.wolf_sad.whine"); + RegistryKey ENTITY_WOLF_SAD_WHINE = RegistryKey.of("entity.wolf_sad.whine"); - RegistryKey ENTITY_ZOGLIN_AMBIENT = RegistryKey.unsafeOf("entity.zoglin.ambient"); + RegistryKey ENTITY_ZOGLIN_AMBIENT = RegistryKey.of("entity.zoglin.ambient"); - RegistryKey ENTITY_ZOGLIN_ANGRY = RegistryKey.unsafeOf("entity.zoglin.angry"); + RegistryKey ENTITY_ZOGLIN_ANGRY = RegistryKey.of("entity.zoglin.angry"); - RegistryKey ENTITY_ZOGLIN_ATTACK = RegistryKey.unsafeOf("entity.zoglin.attack"); + RegistryKey ENTITY_ZOGLIN_ATTACK = RegistryKey.of("entity.zoglin.attack"); - RegistryKey ENTITY_ZOGLIN_DEATH = RegistryKey.unsafeOf("entity.zoglin.death"); + RegistryKey ENTITY_ZOGLIN_DEATH = RegistryKey.of("entity.zoglin.death"); - RegistryKey ENTITY_ZOGLIN_HURT = RegistryKey.unsafeOf("entity.zoglin.hurt"); + RegistryKey ENTITY_ZOGLIN_HURT = RegistryKey.of("entity.zoglin.hurt"); - RegistryKey ENTITY_ZOGLIN_STEP = RegistryKey.unsafeOf("entity.zoglin.step"); + RegistryKey ENTITY_ZOGLIN_STEP = RegistryKey.of("entity.zoglin.step"); - RegistryKey ENTITY_ZOMBIE_AMBIENT = RegistryKey.unsafeOf("entity.zombie.ambient"); + RegistryKey ENTITY_ZOMBIE_AMBIENT = RegistryKey.of("entity.zombie.ambient"); - RegistryKey ENTITY_ZOMBIE_ATTACK_IRON_DOOR = RegistryKey.unsafeOf("entity.zombie.attack_iron_door"); + RegistryKey ENTITY_ZOMBIE_ATTACK_IRON_DOOR = RegistryKey.of("entity.zombie.attack_iron_door"); - RegistryKey ENTITY_ZOMBIE_ATTACK_WOODEN_DOOR = RegistryKey.unsafeOf("entity.zombie.attack_wooden_door"); + RegistryKey ENTITY_ZOMBIE_ATTACK_WOODEN_DOOR = RegistryKey.of("entity.zombie.attack_wooden_door"); - RegistryKey ENTITY_ZOMBIE_BREAK_WOODEN_DOOR = RegistryKey.unsafeOf("entity.zombie.break_wooden_door"); + RegistryKey ENTITY_ZOMBIE_BREAK_WOODEN_DOOR = RegistryKey.of("entity.zombie.break_wooden_door"); - RegistryKey ENTITY_ZOMBIE_CONVERTED_TO_DROWNED = RegistryKey.unsafeOf("entity.zombie.converted_to_drowned"); + RegistryKey ENTITY_ZOMBIE_CONVERTED_TO_DROWNED = RegistryKey.of("entity.zombie.converted_to_drowned"); - RegistryKey ENTITY_ZOMBIE_DEATH = RegistryKey.unsafeOf("entity.zombie.death"); + RegistryKey ENTITY_ZOMBIE_DEATH = RegistryKey.of("entity.zombie.death"); - RegistryKey ENTITY_ZOMBIE_DESTROY_EGG = RegistryKey.unsafeOf("entity.zombie.destroy_egg"); + RegistryKey ENTITY_ZOMBIE_DESTROY_EGG = RegistryKey.of("entity.zombie.destroy_egg"); - RegistryKey ENTITY_ZOMBIE_HURT = RegistryKey.unsafeOf("entity.zombie.hurt"); + RegistryKey ENTITY_ZOMBIE_HURT = RegistryKey.of("entity.zombie.hurt"); - RegistryKey ENTITY_ZOMBIE_INFECT = RegistryKey.unsafeOf("entity.zombie.infect"); + RegistryKey ENTITY_ZOMBIE_INFECT = RegistryKey.of("entity.zombie.infect"); - RegistryKey ENTITY_ZOMBIE_STEP = RegistryKey.unsafeOf("entity.zombie.step"); + RegistryKey ENTITY_ZOMBIE_STEP = RegistryKey.of("entity.zombie.step"); - RegistryKey ENTITY_ZOMBIE_HORSE_AMBIENT = RegistryKey.unsafeOf("entity.zombie_horse.ambient"); + RegistryKey ENTITY_ZOMBIE_HORSE_AMBIENT = RegistryKey.of("entity.zombie_horse.ambient"); - RegistryKey ENTITY_ZOMBIE_HORSE_ANGRY = RegistryKey.unsafeOf("entity.zombie_horse.angry"); + RegistryKey ENTITY_ZOMBIE_HORSE_ANGRY = RegistryKey.of("entity.zombie_horse.angry"); - RegistryKey ENTITY_ZOMBIE_HORSE_DEATH = RegistryKey.unsafeOf("entity.zombie_horse.death"); + RegistryKey ENTITY_ZOMBIE_HORSE_DEATH = RegistryKey.of("entity.zombie_horse.death"); - RegistryKey ENTITY_ZOMBIE_HORSE_EAT = RegistryKey.unsafeOf("entity.zombie_horse.eat"); + RegistryKey ENTITY_ZOMBIE_HORSE_EAT = RegistryKey.of("entity.zombie_horse.eat"); - RegistryKey ENTITY_ZOMBIE_HORSE_HURT = RegistryKey.unsafeOf("entity.zombie_horse.hurt"); + RegistryKey ENTITY_ZOMBIE_HORSE_HURT = RegistryKey.of("entity.zombie_horse.hurt"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_AMBIENT = RegistryKey.unsafeOf("entity.zombie_nautilus.ambient"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_AMBIENT = RegistryKey.of("entity.zombie_nautilus.ambient"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_AMBIENT_LAND = RegistryKey.unsafeOf("entity.zombie_nautilus.ambient_land"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_AMBIENT_LAND = RegistryKey.of("entity.zombie_nautilus.ambient_land"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_DASH = RegistryKey.unsafeOf("entity.zombie_nautilus.dash"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_DASH = RegistryKey.of("entity.zombie_nautilus.dash"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_DASH_LAND = RegistryKey.unsafeOf("entity.zombie_nautilus.dash_land"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_DASH_LAND = RegistryKey.of("entity.zombie_nautilus.dash_land"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_DASH_READY = RegistryKey.unsafeOf("entity.zombie_nautilus.dash_ready"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_DASH_READY = RegistryKey.of("entity.zombie_nautilus.dash_ready"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_DASH_READY_LAND = RegistryKey.unsafeOf("entity.zombie_nautilus.dash_ready_land"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_DASH_READY_LAND = RegistryKey.of("entity.zombie_nautilus.dash_ready_land"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_DEATH = RegistryKey.unsafeOf("entity.zombie_nautilus.death"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_DEATH = RegistryKey.of("entity.zombie_nautilus.death"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_DEATH_LAND = RegistryKey.unsafeOf("entity.zombie_nautilus.death_land"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_DEATH_LAND = RegistryKey.of("entity.zombie_nautilus.death_land"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_EAT = RegistryKey.unsafeOf("entity.zombie_nautilus.eat"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_EAT = RegistryKey.of("entity.zombie_nautilus.eat"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_HURT = RegistryKey.unsafeOf("entity.zombie_nautilus.hurt"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_HURT = RegistryKey.of("entity.zombie_nautilus.hurt"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_HURT_LAND = RegistryKey.unsafeOf("entity.zombie_nautilus.hurt_land"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_HURT_LAND = RegistryKey.of("entity.zombie_nautilus.hurt_land"); - RegistryKey ENTITY_ZOMBIE_NAUTILUS_SWIM = RegistryKey.unsafeOf("entity.zombie_nautilus.swim"); + RegistryKey ENTITY_ZOMBIE_NAUTILUS_SWIM = RegistryKey.of("entity.zombie_nautilus.swim"); - RegistryKey ENTITY_ZOMBIE_VILLAGER_AMBIENT = RegistryKey.unsafeOf("entity.zombie_villager.ambient"); + RegistryKey ENTITY_ZOMBIE_VILLAGER_AMBIENT = RegistryKey.of("entity.zombie_villager.ambient"); - RegistryKey ENTITY_ZOMBIE_VILLAGER_CONVERTED = RegistryKey.unsafeOf("entity.zombie_villager.converted"); + RegistryKey ENTITY_ZOMBIE_VILLAGER_CONVERTED = RegistryKey.of("entity.zombie_villager.converted"); - RegistryKey ENTITY_ZOMBIE_VILLAGER_CURE = RegistryKey.unsafeOf("entity.zombie_villager.cure"); + RegistryKey ENTITY_ZOMBIE_VILLAGER_CURE = RegistryKey.of("entity.zombie_villager.cure"); - RegistryKey ENTITY_ZOMBIE_VILLAGER_DEATH = RegistryKey.unsafeOf("entity.zombie_villager.death"); + RegistryKey ENTITY_ZOMBIE_VILLAGER_DEATH = RegistryKey.of("entity.zombie_villager.death"); - RegistryKey ENTITY_ZOMBIE_VILLAGER_HURT = RegistryKey.unsafeOf("entity.zombie_villager.hurt"); + RegistryKey ENTITY_ZOMBIE_VILLAGER_HURT = RegistryKey.of("entity.zombie_villager.hurt"); - RegistryKey ENTITY_ZOMBIE_VILLAGER_STEP = RegistryKey.unsafeOf("entity.zombie_villager.step"); + RegistryKey ENTITY_ZOMBIE_VILLAGER_STEP = RegistryKey.of("entity.zombie_villager.step"); - RegistryKey ENTITY_ZOMBIFIED_PIGLIN_AMBIENT = RegistryKey.unsafeOf("entity.zombified_piglin.ambient"); + RegistryKey ENTITY_ZOMBIFIED_PIGLIN_AMBIENT = RegistryKey.of("entity.zombified_piglin.ambient"); - RegistryKey ENTITY_ZOMBIFIED_PIGLIN_ANGRY = RegistryKey.unsafeOf("entity.zombified_piglin.angry"); + RegistryKey ENTITY_ZOMBIFIED_PIGLIN_ANGRY = RegistryKey.of("entity.zombified_piglin.angry"); - RegistryKey ENTITY_ZOMBIFIED_PIGLIN_DEATH = RegistryKey.unsafeOf("entity.zombified_piglin.death"); + RegistryKey ENTITY_ZOMBIFIED_PIGLIN_DEATH = RegistryKey.of("entity.zombified_piglin.death"); - RegistryKey ENTITY_ZOMBIFIED_PIGLIN_HURT = RegistryKey.unsafeOf("entity.zombified_piglin.hurt"); + RegistryKey ENTITY_ZOMBIFIED_PIGLIN_HURT = RegistryKey.of("entity.zombified_piglin.hurt"); - RegistryKey EVENT_MOB_EFFECT_BAD_OMEN = RegistryKey.unsafeOf("event.mob_effect.bad_omen"); + RegistryKey EVENT_MOB_EFFECT_BAD_OMEN = RegistryKey.of("event.mob_effect.bad_omen"); - RegistryKey EVENT_MOB_EFFECT_RAID_OMEN = RegistryKey.unsafeOf("event.mob_effect.raid_omen"); + RegistryKey EVENT_MOB_EFFECT_RAID_OMEN = RegistryKey.of("event.mob_effect.raid_omen"); - RegistryKey EVENT_MOB_EFFECT_TRIAL_OMEN = RegistryKey.unsafeOf("event.mob_effect.trial_omen"); + RegistryKey EVENT_MOB_EFFECT_TRIAL_OMEN = RegistryKey.of("event.mob_effect.trial_omen"); - RegistryKey EVENT_RAID_HORN = RegistryKey.unsafeOf("event.raid.horn"); + RegistryKey EVENT_RAID_HORN = RegistryKey.of("event.raid.horn"); - RegistryKey INTENTIONALLY_EMPTY = RegistryKey.unsafeOf("intentionally_empty"); + RegistryKey INTENTIONALLY_EMPTY = RegistryKey.of("intentionally_empty"); - RegistryKey ITEM_ARMOR_EQUIP_CHAIN = RegistryKey.unsafeOf("item.armor.equip_chain"); + RegistryKey ITEM_ARMOR_EQUIP_CHAIN = RegistryKey.of("item.armor.equip_chain"); - RegistryKey ITEM_ARMOR_EQUIP_COPPER = RegistryKey.unsafeOf("item.armor.equip_copper"); + RegistryKey ITEM_ARMOR_EQUIP_COPPER = RegistryKey.of("item.armor.equip_copper"); - RegistryKey ITEM_ARMOR_EQUIP_DIAMOND = RegistryKey.unsafeOf("item.armor.equip_diamond"); + RegistryKey ITEM_ARMOR_EQUIP_DIAMOND = RegistryKey.of("item.armor.equip_diamond"); - RegistryKey ITEM_ARMOR_EQUIP_ELYTRA = RegistryKey.unsafeOf("item.armor.equip_elytra"); + RegistryKey ITEM_ARMOR_EQUIP_ELYTRA = RegistryKey.of("item.armor.equip_elytra"); - RegistryKey ITEM_ARMOR_EQUIP_GENERIC = RegistryKey.unsafeOf("item.armor.equip_generic"); + RegistryKey ITEM_ARMOR_EQUIP_GENERIC = RegistryKey.of("item.armor.equip_generic"); - RegistryKey ITEM_ARMOR_EQUIP_GOLD = RegistryKey.unsafeOf("item.armor.equip_gold"); + RegistryKey ITEM_ARMOR_EQUIP_GOLD = RegistryKey.of("item.armor.equip_gold"); - RegistryKey ITEM_ARMOR_EQUIP_IRON = RegistryKey.unsafeOf("item.armor.equip_iron"); + RegistryKey ITEM_ARMOR_EQUIP_IRON = RegistryKey.of("item.armor.equip_iron"); - RegistryKey ITEM_ARMOR_EQUIP_LEATHER = RegistryKey.unsafeOf("item.armor.equip_leather"); + RegistryKey ITEM_ARMOR_EQUIP_LEATHER = RegistryKey.of("item.armor.equip_leather"); - RegistryKey ITEM_ARMOR_EQUIP_NAUTILUS = RegistryKey.unsafeOf("item.armor.equip_nautilus"); + RegistryKey ITEM_ARMOR_EQUIP_NAUTILUS = RegistryKey.of("item.armor.equip_nautilus"); - RegistryKey ITEM_ARMOR_EQUIP_NETHERITE = RegistryKey.unsafeOf("item.armor.equip_netherite"); + RegistryKey ITEM_ARMOR_EQUIP_NETHERITE = RegistryKey.of("item.armor.equip_netherite"); - RegistryKey ITEM_ARMOR_EQUIP_TURTLE = RegistryKey.unsafeOf("item.armor.equip_turtle"); + RegistryKey ITEM_ARMOR_EQUIP_TURTLE = RegistryKey.of("item.armor.equip_turtle"); - RegistryKey ITEM_ARMOR_EQUIP_WOLF = RegistryKey.unsafeOf("item.armor.equip_wolf"); + RegistryKey ITEM_ARMOR_EQUIP_WOLF = RegistryKey.of("item.armor.equip_wolf"); - RegistryKey ITEM_ARMOR_UNEQUIP_NAUTILUS = RegistryKey.unsafeOf("item.armor.unequip_nautilus"); + RegistryKey ITEM_ARMOR_UNEQUIP_NAUTILUS = RegistryKey.of("item.armor.unequip_nautilus"); - RegistryKey ITEM_ARMOR_UNEQUIP_WOLF = RegistryKey.unsafeOf("item.armor.unequip_wolf"); + RegistryKey ITEM_ARMOR_UNEQUIP_WOLF = RegistryKey.of("item.armor.unequip_wolf"); - RegistryKey ITEM_AXE_SCRAPE = RegistryKey.unsafeOf("item.axe.scrape"); + RegistryKey ITEM_AXE_SCRAPE = RegistryKey.of("item.axe.scrape"); - RegistryKey ITEM_AXE_STRIP = RegistryKey.unsafeOf("item.axe.strip"); + RegistryKey ITEM_AXE_STRIP = RegistryKey.of("item.axe.strip"); - RegistryKey ITEM_AXE_WAX_OFF = RegistryKey.unsafeOf("item.axe.wax_off"); + RegistryKey ITEM_AXE_WAX_OFF = RegistryKey.of("item.axe.wax_off"); - RegistryKey ITEM_BONE_MEAL_USE = RegistryKey.unsafeOf("item.bone_meal.use"); + RegistryKey ITEM_BONE_MEAL_USE = RegistryKey.of("item.bone_meal.use"); - RegistryKey ITEM_BOOK_PAGE_TURN = RegistryKey.unsafeOf("item.book.page_turn"); + RegistryKey ITEM_BOOK_PAGE_TURN = RegistryKey.of("item.book.page_turn"); - RegistryKey ITEM_BOOK_PUT = RegistryKey.unsafeOf("item.book.put"); + RegistryKey ITEM_BOOK_PUT = RegistryKey.of("item.book.put"); - RegistryKey ITEM_BOTTLE_EMPTY = RegistryKey.unsafeOf("item.bottle.empty"); + RegistryKey ITEM_BOTTLE_EMPTY = RegistryKey.of("item.bottle.empty"); - RegistryKey ITEM_BOTTLE_FILL = RegistryKey.unsafeOf("item.bottle.fill"); + RegistryKey ITEM_BOTTLE_FILL = RegistryKey.of("item.bottle.fill"); - RegistryKey ITEM_BOTTLE_FILL_DRAGONBREATH = RegistryKey.unsafeOf("item.bottle.fill_dragonbreath"); + RegistryKey ITEM_BOTTLE_FILL_DRAGONBREATH = RegistryKey.of("item.bottle.fill_dragonbreath"); - RegistryKey ITEM_BRUSH_BRUSHING_GENERIC = RegistryKey.unsafeOf("item.brush.brushing.generic"); + RegistryKey ITEM_BRUSH_BRUSHING_GENERIC = RegistryKey.of("item.brush.brushing.generic"); - RegistryKey ITEM_BRUSH_BRUSHING_GRAVEL = RegistryKey.unsafeOf("item.brush.brushing.gravel"); + RegistryKey ITEM_BRUSH_BRUSHING_GRAVEL = RegistryKey.of("item.brush.brushing.gravel"); - RegistryKey ITEM_BRUSH_BRUSHING_GRAVEL_COMPLETE = RegistryKey.unsafeOf("item.brush.brushing.gravel.complete"); + RegistryKey ITEM_BRUSH_BRUSHING_GRAVEL_COMPLETE = RegistryKey.of("item.brush.brushing.gravel.complete"); - RegistryKey ITEM_BRUSH_BRUSHING_SAND = RegistryKey.unsafeOf("item.brush.brushing.sand"); + RegistryKey ITEM_BRUSH_BRUSHING_SAND = RegistryKey.of("item.brush.brushing.sand"); - RegistryKey ITEM_BRUSH_BRUSHING_SAND_COMPLETE = RegistryKey.unsafeOf("item.brush.brushing.sand.complete"); + RegistryKey ITEM_BRUSH_BRUSHING_SAND_COMPLETE = RegistryKey.of("item.brush.brushing.sand.complete"); - RegistryKey ITEM_BUCKET_EMPTY = RegistryKey.unsafeOf("item.bucket.empty"); + RegistryKey ITEM_BUCKET_EMPTY = RegistryKey.of("item.bucket.empty"); - RegistryKey ITEM_BUCKET_EMPTY_AXOLOTL = RegistryKey.unsafeOf("item.bucket.empty_axolotl"); + RegistryKey ITEM_BUCKET_EMPTY_AXOLOTL = RegistryKey.of("item.bucket.empty_axolotl"); - RegistryKey ITEM_BUCKET_EMPTY_FISH = RegistryKey.unsafeOf("item.bucket.empty_fish"); + RegistryKey ITEM_BUCKET_EMPTY_FISH = RegistryKey.of("item.bucket.empty_fish"); - RegistryKey ITEM_BUCKET_EMPTY_LAVA = RegistryKey.unsafeOf("item.bucket.empty_lava"); + RegistryKey ITEM_BUCKET_EMPTY_LAVA = RegistryKey.of("item.bucket.empty_lava"); - RegistryKey ITEM_BUCKET_EMPTY_POWDER_SNOW = RegistryKey.unsafeOf("item.bucket.empty_powder_snow"); + RegistryKey ITEM_BUCKET_EMPTY_POWDER_SNOW = RegistryKey.of("item.bucket.empty_powder_snow"); - RegistryKey ITEM_BUCKET_EMPTY_SULFUR_CUBE = RegistryKey.unsafeOf("item.bucket.empty_sulfur_cube"); + RegistryKey ITEM_BUCKET_EMPTY_SULFUR_CUBE = RegistryKey.of("item.bucket.empty_sulfur_cube"); - RegistryKey ITEM_BUCKET_EMPTY_TADPOLE = RegistryKey.unsafeOf("item.bucket.empty_tadpole"); + RegistryKey ITEM_BUCKET_EMPTY_TADPOLE = RegistryKey.of("item.bucket.empty_tadpole"); - RegistryKey ITEM_BUCKET_FILL = RegistryKey.unsafeOf("item.bucket.fill"); + RegistryKey ITEM_BUCKET_FILL = RegistryKey.of("item.bucket.fill"); - RegistryKey ITEM_BUCKET_FILL_AXOLOTL = RegistryKey.unsafeOf("item.bucket.fill_axolotl"); + RegistryKey ITEM_BUCKET_FILL_AXOLOTL = RegistryKey.of("item.bucket.fill_axolotl"); - RegistryKey ITEM_BUCKET_FILL_FISH = RegistryKey.unsafeOf("item.bucket.fill_fish"); + RegistryKey ITEM_BUCKET_FILL_FISH = RegistryKey.of("item.bucket.fill_fish"); - RegistryKey ITEM_BUCKET_FILL_LAVA = RegistryKey.unsafeOf("item.bucket.fill_lava"); + RegistryKey ITEM_BUCKET_FILL_LAVA = RegistryKey.of("item.bucket.fill_lava"); - RegistryKey ITEM_BUCKET_FILL_POWDER_SNOW = RegistryKey.unsafeOf("item.bucket.fill_powder_snow"); + RegistryKey ITEM_BUCKET_FILL_POWDER_SNOW = RegistryKey.of("item.bucket.fill_powder_snow"); - RegistryKey ITEM_BUCKET_FILL_SULFUR_CUBE = RegistryKey.unsafeOf("item.bucket.fill_sulfur_cube"); + RegistryKey ITEM_BUCKET_FILL_SULFUR_CUBE = RegistryKey.of("item.bucket.fill_sulfur_cube"); - RegistryKey ITEM_BUCKET_FILL_TADPOLE = RegistryKey.unsafeOf("item.bucket.fill_tadpole"); + RegistryKey ITEM_BUCKET_FILL_TADPOLE = RegistryKey.of("item.bucket.fill_tadpole"); - RegistryKey ITEM_BUNDLE_DROP_CONTENTS = RegistryKey.unsafeOf("item.bundle.drop_contents"); + RegistryKey ITEM_BUNDLE_DROP_CONTENTS = RegistryKey.of("item.bundle.drop_contents"); - RegistryKey ITEM_BUNDLE_INSERT = RegistryKey.unsafeOf("item.bundle.insert"); + RegistryKey ITEM_BUNDLE_INSERT = RegistryKey.of("item.bundle.insert"); - RegistryKey ITEM_BUNDLE_INSERT_FAIL = RegistryKey.unsafeOf("item.bundle.insert_fail"); + RegistryKey ITEM_BUNDLE_INSERT_FAIL = RegistryKey.of("item.bundle.insert_fail"); - RegistryKey ITEM_BUNDLE_REMOVE_ONE = RegistryKey.unsafeOf("item.bundle.remove_one"); + RegistryKey ITEM_BUNDLE_REMOVE_ONE = RegistryKey.of("item.bundle.remove_one"); - RegistryKey ITEM_CHORUS_FRUIT_TELEPORT = RegistryKey.unsafeOf("item.chorus_fruit.teleport"); + RegistryKey ITEM_CHORUS_FRUIT_TELEPORT = RegistryKey.of("item.chorus_fruit.teleport"); - RegistryKey ITEM_CROP_PLANT = RegistryKey.unsafeOf("item.crop.plant"); + RegistryKey ITEM_CROP_PLANT = RegistryKey.of("item.crop.plant"); - RegistryKey ITEM_CROSSBOW_HIT = RegistryKey.unsafeOf("item.crossbow.hit"); + RegistryKey ITEM_CROSSBOW_HIT = RegistryKey.of("item.crossbow.hit"); - RegistryKey ITEM_CROSSBOW_LOADING_END = RegistryKey.unsafeOf("item.crossbow.loading_end"); + RegistryKey ITEM_CROSSBOW_LOADING_END = RegistryKey.of("item.crossbow.loading_end"); - RegistryKey ITEM_CROSSBOW_LOADING_MIDDLE = RegistryKey.unsafeOf("item.crossbow.loading_middle"); + RegistryKey ITEM_CROSSBOW_LOADING_MIDDLE = RegistryKey.of("item.crossbow.loading_middle"); - RegistryKey ITEM_CROSSBOW_LOADING_START = RegistryKey.unsafeOf("item.crossbow.loading_start"); + RegistryKey ITEM_CROSSBOW_LOADING_START = RegistryKey.of("item.crossbow.loading_start"); - RegistryKey ITEM_CROSSBOW_QUICK_CHARGE_1 = RegistryKey.unsafeOf("item.crossbow.quick_charge_1"); + RegistryKey ITEM_CROSSBOW_QUICK_CHARGE_1 = RegistryKey.of("item.crossbow.quick_charge_1"); - RegistryKey ITEM_CROSSBOW_QUICK_CHARGE_2 = RegistryKey.unsafeOf("item.crossbow.quick_charge_2"); + RegistryKey ITEM_CROSSBOW_QUICK_CHARGE_2 = RegistryKey.of("item.crossbow.quick_charge_2"); - RegistryKey ITEM_CROSSBOW_QUICK_CHARGE_3 = RegistryKey.unsafeOf("item.crossbow.quick_charge_3"); + RegistryKey ITEM_CROSSBOW_QUICK_CHARGE_3 = RegistryKey.of("item.crossbow.quick_charge_3"); - RegistryKey ITEM_CROSSBOW_SHOOT = RegistryKey.unsafeOf("item.crossbow.shoot"); + RegistryKey ITEM_CROSSBOW_SHOOT = RegistryKey.of("item.crossbow.shoot"); - RegistryKey ITEM_DYE_USE = RegistryKey.unsafeOf("item.dye.use"); + RegistryKey ITEM_DYE_USE = RegistryKey.of("item.dye.use"); - RegistryKey ITEM_ELYTRA_FLYING = RegistryKey.unsafeOf("item.elytra.flying"); + RegistryKey ITEM_ELYTRA_FLYING = RegistryKey.of("item.elytra.flying"); - RegistryKey ITEM_FIRECHARGE_USE = RegistryKey.unsafeOf("item.firecharge.use"); + RegistryKey ITEM_FIRECHARGE_USE = RegistryKey.of("item.firecharge.use"); - RegistryKey ITEM_FLINTANDSTEEL_USE = RegistryKey.unsafeOf("item.flintandsteel.use"); + RegistryKey ITEM_FLINTANDSTEEL_USE = RegistryKey.of("item.flintandsteel.use"); - RegistryKey ITEM_GLOW_INK_SAC_USE = RegistryKey.unsafeOf("item.glow_ink_sac.use"); + RegistryKey ITEM_GLOW_INK_SAC_USE = RegistryKey.of("item.glow_ink_sac.use"); - RegistryKey ITEM_GOAT_HORN_SOUND_0 = RegistryKey.unsafeOf("item.goat_horn.sound.0"); + RegistryKey ITEM_GOAT_HORN_SOUND_0 = RegistryKey.of("item.goat_horn.sound.0"); - RegistryKey ITEM_GOAT_HORN_SOUND_1 = RegistryKey.unsafeOf("item.goat_horn.sound.1"); + RegistryKey ITEM_GOAT_HORN_SOUND_1 = RegistryKey.of("item.goat_horn.sound.1"); - RegistryKey ITEM_GOAT_HORN_SOUND_2 = RegistryKey.unsafeOf("item.goat_horn.sound.2"); + RegistryKey ITEM_GOAT_HORN_SOUND_2 = RegistryKey.of("item.goat_horn.sound.2"); - RegistryKey ITEM_GOAT_HORN_SOUND_3 = RegistryKey.unsafeOf("item.goat_horn.sound.3"); + RegistryKey ITEM_GOAT_HORN_SOUND_3 = RegistryKey.of("item.goat_horn.sound.3"); - RegistryKey ITEM_GOAT_HORN_SOUND_4 = RegistryKey.unsafeOf("item.goat_horn.sound.4"); + RegistryKey ITEM_GOAT_HORN_SOUND_4 = RegistryKey.of("item.goat_horn.sound.4"); - RegistryKey ITEM_GOAT_HORN_SOUND_5 = RegistryKey.unsafeOf("item.goat_horn.sound.5"); + RegistryKey ITEM_GOAT_HORN_SOUND_5 = RegistryKey.of("item.goat_horn.sound.5"); - RegistryKey ITEM_GOAT_HORN_SOUND_6 = RegistryKey.unsafeOf("item.goat_horn.sound.6"); + RegistryKey ITEM_GOAT_HORN_SOUND_6 = RegistryKey.of("item.goat_horn.sound.6"); - RegistryKey ITEM_GOAT_HORN_SOUND_7 = RegistryKey.unsafeOf("item.goat_horn.sound.7"); + RegistryKey ITEM_GOAT_HORN_SOUND_7 = RegistryKey.of("item.goat_horn.sound.7"); - RegistryKey ITEM_GOLDEN_DANDELION_UNUSE = RegistryKey.unsafeOf("item.golden_dandelion.unuse"); + RegistryKey ITEM_GOLDEN_DANDELION_UNUSE = RegistryKey.of("item.golden_dandelion.unuse"); - RegistryKey ITEM_GOLDEN_DANDELION_USE = RegistryKey.unsafeOf("item.golden_dandelion.use"); + RegistryKey ITEM_GOLDEN_DANDELION_USE = RegistryKey.of("item.golden_dandelion.use"); - RegistryKey ITEM_HOE_TILL = RegistryKey.unsafeOf("item.hoe.till"); + RegistryKey ITEM_HOE_TILL = RegistryKey.of("item.hoe.till"); - RegistryKey ITEM_HONEY_BOTTLE_DRINK = RegistryKey.unsafeOf("item.honey_bottle.drink"); + RegistryKey ITEM_HONEY_BOTTLE_DRINK = RegistryKey.of("item.honey_bottle.drink"); - RegistryKey ITEM_HONEYCOMB_WAX_ON = RegistryKey.unsafeOf("item.honeycomb.wax_on"); + RegistryKey ITEM_HONEYCOMB_WAX_ON = RegistryKey.of("item.honeycomb.wax_on"); - RegistryKey ITEM_HORSE_ARMOR_UNEQUIP = RegistryKey.unsafeOf("item.horse_armor.unequip"); + RegistryKey ITEM_HORSE_ARMOR_UNEQUIP = RegistryKey.of("item.horse_armor.unequip"); - RegistryKey ITEM_INK_SAC_USE = RegistryKey.unsafeOf("item.ink_sac.use"); + RegistryKey ITEM_INK_SAC_USE = RegistryKey.of("item.ink_sac.use"); - RegistryKey ITEM_LEAD_BREAK = RegistryKey.unsafeOf("item.lead.break"); + RegistryKey ITEM_LEAD_BREAK = RegistryKey.of("item.lead.break"); - RegistryKey ITEM_LEAD_TIED = RegistryKey.unsafeOf("item.lead.tied"); + RegistryKey ITEM_LEAD_TIED = RegistryKey.of("item.lead.tied"); - RegistryKey ITEM_LEAD_UNTIED = RegistryKey.unsafeOf("item.lead.untied"); + RegistryKey ITEM_LEAD_UNTIED = RegistryKey.of("item.lead.untied"); - RegistryKey ITEM_LLAMA_CARPET_UNEQUIP = RegistryKey.unsafeOf("item.llama_carpet.unequip"); + RegistryKey ITEM_LLAMA_CARPET_UNEQUIP = RegistryKey.of("item.llama_carpet.unequip"); - RegistryKey ITEM_LODESTONE_COMPASS_LOCK = RegistryKey.unsafeOf("item.lodestone_compass.lock"); + RegistryKey ITEM_LODESTONE_COMPASS_LOCK = RegistryKey.of("item.lodestone_compass.lock"); - RegistryKey ITEM_MACE_SMASH_AIR = RegistryKey.unsafeOf("item.mace.smash_air"); + RegistryKey ITEM_MACE_SMASH_AIR = RegistryKey.of("item.mace.smash_air"); - RegistryKey ITEM_MACE_SMASH_GROUND = RegistryKey.unsafeOf("item.mace.smash_ground"); + RegistryKey ITEM_MACE_SMASH_GROUND = RegistryKey.of("item.mace.smash_ground"); - RegistryKey ITEM_MACE_SMASH_GROUND_HEAVY = RegistryKey.unsafeOf("item.mace.smash_ground_heavy"); + RegistryKey ITEM_MACE_SMASH_GROUND_HEAVY = RegistryKey.of("item.mace.smash_ground_heavy"); - RegistryKey ITEM_NAUTILUS_SADDLE_EQUIP = RegistryKey.unsafeOf("item.nautilus_saddle_equip"); + RegistryKey ITEM_NAUTILUS_SADDLE_EQUIP = RegistryKey.of("item.nautilus_saddle_equip"); - RegistryKey ITEM_NAUTILUS_SADDLE_UNDERWATER_EQUIP = RegistryKey.unsafeOf("item.nautilus_saddle_underwater_equip"); + RegistryKey ITEM_NAUTILUS_SADDLE_UNDERWATER_EQUIP = RegistryKey.of("item.nautilus_saddle_underwater_equip"); - RegistryKey ITEM_NETHER_WART_PLANT = RegistryKey.unsafeOf("item.nether_wart.plant"); + RegistryKey ITEM_NETHER_WART_PLANT = RegistryKey.of("item.nether_wart.plant"); - RegistryKey ITEM_OMINOUS_BOTTLE_DISPOSE = RegistryKey.unsafeOf("item.ominous_bottle.dispose"); + RegistryKey ITEM_OMINOUS_BOTTLE_DISPOSE = RegistryKey.of("item.ominous_bottle.dispose"); - RegistryKey ITEM_SADDLE_UNEQUIP = RegistryKey.unsafeOf("item.saddle.unequip"); + RegistryKey ITEM_SADDLE_UNEQUIP = RegistryKey.of("item.saddle.unequip"); - RegistryKey ITEM_SHEARS_SNIP = RegistryKey.unsafeOf("item.shears.snip"); + RegistryKey ITEM_SHEARS_SNIP = RegistryKey.of("item.shears.snip"); - RegistryKey ITEM_SHIELD_BLOCK = RegistryKey.unsafeOf("item.shield.block"); + RegistryKey ITEM_SHIELD_BLOCK = RegistryKey.of("item.shield.block"); - RegistryKey ITEM_SHIELD_BREAK = RegistryKey.unsafeOf("item.shield.break"); + RegistryKey ITEM_SHIELD_BREAK = RegistryKey.of("item.shield.break"); - RegistryKey ITEM_SHOVEL_FLATTEN = RegistryKey.unsafeOf("item.shovel.flatten"); + RegistryKey ITEM_SHOVEL_FLATTEN = RegistryKey.of("item.shovel.flatten"); - RegistryKey ITEM_SPEAR_ATTACK = RegistryKey.unsafeOf("item.spear.attack"); + RegistryKey ITEM_SPEAR_ATTACK = RegistryKey.of("item.spear.attack"); - RegistryKey ITEM_SPEAR_HIT = RegistryKey.unsafeOf("item.spear.hit"); + RegistryKey ITEM_SPEAR_HIT = RegistryKey.of("item.spear.hit"); - RegistryKey ITEM_SPEAR_LUNGE_1 = RegistryKey.unsafeOf("item.spear.lunge_1"); + RegistryKey ITEM_SPEAR_LUNGE_1 = RegistryKey.of("item.spear.lunge_1"); - RegistryKey ITEM_SPEAR_LUNGE_2 = RegistryKey.unsafeOf("item.spear.lunge_2"); + RegistryKey ITEM_SPEAR_LUNGE_2 = RegistryKey.of("item.spear.lunge_2"); - RegistryKey ITEM_SPEAR_LUNGE_3 = RegistryKey.unsafeOf("item.spear.lunge_3"); + RegistryKey ITEM_SPEAR_LUNGE_3 = RegistryKey.of("item.spear.lunge_3"); - RegistryKey ITEM_SPEAR_USE = RegistryKey.unsafeOf("item.spear.use"); + RegistryKey ITEM_SPEAR_USE = RegistryKey.of("item.spear.use"); - RegistryKey ITEM_SPEAR_WOOD_ATTACK = RegistryKey.unsafeOf("item.spear_wood.attack"); + RegistryKey ITEM_SPEAR_WOOD_ATTACK = RegistryKey.of("item.spear_wood.attack"); - RegistryKey ITEM_SPEAR_WOOD_HIT = RegistryKey.unsafeOf("item.spear_wood.hit"); + RegistryKey ITEM_SPEAR_WOOD_HIT = RegistryKey.of("item.spear_wood.hit"); - RegistryKey ITEM_SPEAR_WOOD_USE = RegistryKey.unsafeOf("item.spear_wood.use"); + RegistryKey ITEM_SPEAR_WOOD_USE = RegistryKey.of("item.spear_wood.use"); - RegistryKey ITEM_SPYGLASS_STOP_USING = RegistryKey.unsafeOf("item.spyglass.stop_using"); + RegistryKey ITEM_SPYGLASS_STOP_USING = RegistryKey.of("item.spyglass.stop_using"); - RegistryKey ITEM_SPYGLASS_USE = RegistryKey.unsafeOf("item.spyglass.use"); + RegistryKey ITEM_SPYGLASS_USE = RegistryKey.of("item.spyglass.use"); - RegistryKey ITEM_TOTEM_USE = RegistryKey.unsafeOf("item.totem.use"); + RegistryKey ITEM_TOTEM_USE = RegistryKey.of("item.totem.use"); - RegistryKey ITEM_TRIDENT_HIT = RegistryKey.unsafeOf("item.trident.hit"); + RegistryKey ITEM_TRIDENT_HIT = RegistryKey.of("item.trident.hit"); - RegistryKey ITEM_TRIDENT_HIT_GROUND = RegistryKey.unsafeOf("item.trident.hit_ground"); + RegistryKey ITEM_TRIDENT_HIT_GROUND = RegistryKey.of("item.trident.hit_ground"); - RegistryKey ITEM_TRIDENT_RETURN = RegistryKey.unsafeOf("item.trident.return"); + RegistryKey ITEM_TRIDENT_RETURN = RegistryKey.of("item.trident.return"); - RegistryKey ITEM_TRIDENT_RIPTIDE_1 = RegistryKey.unsafeOf("item.trident.riptide_1"); + RegistryKey ITEM_TRIDENT_RIPTIDE_1 = RegistryKey.of("item.trident.riptide_1"); - RegistryKey ITEM_TRIDENT_RIPTIDE_2 = RegistryKey.unsafeOf("item.trident.riptide_2"); + RegistryKey ITEM_TRIDENT_RIPTIDE_2 = RegistryKey.of("item.trident.riptide_2"); - RegistryKey ITEM_TRIDENT_RIPTIDE_3 = RegistryKey.unsafeOf("item.trident.riptide_3"); + RegistryKey ITEM_TRIDENT_RIPTIDE_3 = RegistryKey.of("item.trident.riptide_3"); - RegistryKey ITEM_TRIDENT_THROW = RegistryKey.unsafeOf("item.trident.throw"); + RegistryKey ITEM_TRIDENT_THROW = RegistryKey.of("item.trident.throw"); - RegistryKey ITEM_TRIDENT_THUNDER = RegistryKey.unsafeOf("item.trident.thunder"); + RegistryKey ITEM_TRIDENT_THUNDER = RegistryKey.of("item.trident.thunder"); - RegistryKey ITEM_WOLF_ARMOR_BREAK = RegistryKey.unsafeOf("item.wolf_armor.break"); + RegistryKey ITEM_WOLF_ARMOR_BREAK = RegistryKey.of("item.wolf_armor.break"); - RegistryKey ITEM_WOLF_ARMOR_CRACK = RegistryKey.unsafeOf("item.wolf_armor.crack"); + RegistryKey ITEM_WOLF_ARMOR_CRACK = RegistryKey.of("item.wolf_armor.crack"); - RegistryKey ITEM_WOLF_ARMOR_DAMAGE = RegistryKey.unsafeOf("item.wolf_armor.damage"); + RegistryKey ITEM_WOLF_ARMOR_DAMAGE = RegistryKey.of("item.wolf_armor.damage"); - RegistryKey ITEM_WOLF_ARMOR_REPAIR = RegistryKey.unsafeOf("item.wolf_armor.repair"); + RegistryKey ITEM_WOLF_ARMOR_REPAIR = RegistryKey.of("item.wolf_armor.repair"); - RegistryKey MUSIC_CREATIVE = RegistryKey.unsafeOf("music.creative"); + RegistryKey MUSIC_CREATIVE = RegistryKey.of("music.creative"); - RegistryKey MUSIC_CREDITS = RegistryKey.unsafeOf("music.credits"); + RegistryKey MUSIC_CREDITS = RegistryKey.of("music.credits"); - RegistryKey MUSIC_DRAGON = RegistryKey.unsafeOf("music.dragon"); + RegistryKey MUSIC_DRAGON = RegistryKey.of("music.dragon"); - RegistryKey MUSIC_END = RegistryKey.unsafeOf("music.end"); + RegistryKey MUSIC_END = RegistryKey.of("music.end"); - RegistryKey MUSIC_GAME = RegistryKey.unsafeOf("music.game"); + RegistryKey MUSIC_GAME = RegistryKey.of("music.game"); - RegistryKey MUSIC_MENU = RegistryKey.unsafeOf("music.menu"); + RegistryKey MUSIC_MENU = RegistryKey.of("music.menu"); - RegistryKey MUSIC_NETHER_BASALT_DELTAS = RegistryKey.unsafeOf("music.nether.basalt_deltas"); + RegistryKey MUSIC_NETHER_BASALT_DELTAS = RegistryKey.of("music.nether.basalt_deltas"); - RegistryKey MUSIC_NETHER_CRIMSON_FOREST = RegistryKey.unsafeOf("music.nether.crimson_forest"); + RegistryKey MUSIC_NETHER_CRIMSON_FOREST = RegistryKey.of("music.nether.crimson_forest"); - RegistryKey MUSIC_NETHER_NETHER_WASTES = RegistryKey.unsafeOf("music.nether.nether_wastes"); + RegistryKey MUSIC_NETHER_NETHER_WASTES = RegistryKey.of("music.nether.nether_wastes"); - RegistryKey MUSIC_NETHER_SOUL_SAND_VALLEY = RegistryKey.unsafeOf("music.nether.soul_sand_valley"); + RegistryKey MUSIC_NETHER_SOUL_SAND_VALLEY = RegistryKey.of("music.nether.soul_sand_valley"); - RegistryKey MUSIC_NETHER_WARPED_FOREST = RegistryKey.unsafeOf("music.nether.warped_forest"); + RegistryKey MUSIC_NETHER_WARPED_FOREST = RegistryKey.of("music.nether.warped_forest"); - RegistryKey MUSIC_OVERWORLD_BADLANDS = RegistryKey.unsafeOf("music.overworld.badlands"); + RegistryKey MUSIC_OVERWORLD_BADLANDS = RegistryKey.of("music.overworld.badlands"); - RegistryKey MUSIC_OVERWORLD_BAMBOO_JUNGLE = RegistryKey.unsafeOf("music.overworld.bamboo_jungle"); + RegistryKey MUSIC_OVERWORLD_BAMBOO_JUNGLE = RegistryKey.of("music.overworld.bamboo_jungle"); - RegistryKey MUSIC_OVERWORLD_CHERRY_GROVE = RegistryKey.unsafeOf("music.overworld.cherry_grove"); + RegistryKey MUSIC_OVERWORLD_CHERRY_GROVE = RegistryKey.of("music.overworld.cherry_grove"); - RegistryKey MUSIC_OVERWORLD_DEEP_DARK = RegistryKey.unsafeOf("music.overworld.deep_dark"); + RegistryKey MUSIC_OVERWORLD_DEEP_DARK = RegistryKey.of("music.overworld.deep_dark"); - RegistryKey MUSIC_OVERWORLD_DESERT = RegistryKey.unsafeOf("music.overworld.desert"); + RegistryKey MUSIC_OVERWORLD_DESERT = RegistryKey.of("music.overworld.desert"); - RegistryKey MUSIC_OVERWORLD_DRIPSTONE_CAVES = RegistryKey.unsafeOf("music.overworld.dripstone_caves"); + RegistryKey MUSIC_OVERWORLD_DRIPSTONE_CAVES = RegistryKey.of("music.overworld.dripstone_caves"); - RegistryKey MUSIC_OVERWORLD_FLOWER_FOREST = RegistryKey.unsafeOf("music.overworld.flower_forest"); + RegistryKey MUSIC_OVERWORLD_FLOWER_FOREST = RegistryKey.of("music.overworld.flower_forest"); - RegistryKey MUSIC_OVERWORLD_FOREST = RegistryKey.unsafeOf("music.overworld.forest"); + RegistryKey MUSIC_OVERWORLD_FOREST = RegistryKey.of("music.overworld.forest"); - RegistryKey MUSIC_OVERWORLD_FROZEN_PEAKS = RegistryKey.unsafeOf("music.overworld.frozen_peaks"); + RegistryKey MUSIC_OVERWORLD_FROZEN_PEAKS = RegistryKey.of("music.overworld.frozen_peaks"); - RegistryKey MUSIC_OVERWORLD_GROVE = RegistryKey.unsafeOf("music.overworld.grove"); + RegistryKey MUSIC_OVERWORLD_GROVE = RegistryKey.of("music.overworld.grove"); - RegistryKey MUSIC_OVERWORLD_JAGGED_PEAKS = RegistryKey.unsafeOf("music.overworld.jagged_peaks"); + RegistryKey MUSIC_OVERWORLD_JAGGED_PEAKS = RegistryKey.of("music.overworld.jagged_peaks"); - RegistryKey MUSIC_OVERWORLD_JUNGLE = RegistryKey.unsafeOf("music.overworld.jungle"); + RegistryKey MUSIC_OVERWORLD_JUNGLE = RegistryKey.of("music.overworld.jungle"); - RegistryKey MUSIC_OVERWORLD_LUSH_CAVES = RegistryKey.unsafeOf("music.overworld.lush_caves"); + RegistryKey MUSIC_OVERWORLD_LUSH_CAVES = RegistryKey.of("music.overworld.lush_caves"); - RegistryKey MUSIC_OVERWORLD_MEADOW = RegistryKey.unsafeOf("music.overworld.meadow"); + RegistryKey MUSIC_OVERWORLD_MEADOW = RegistryKey.of("music.overworld.meadow"); - RegistryKey MUSIC_OVERWORLD_OLD_GROWTH_TAIGA = RegistryKey.unsafeOf("music.overworld.old_growth_taiga"); + RegistryKey MUSIC_OVERWORLD_OLD_GROWTH_TAIGA = RegistryKey.of("music.overworld.old_growth_taiga"); - RegistryKey MUSIC_OVERWORLD_SNOWY_SLOPES = RegistryKey.unsafeOf("music.overworld.snowy_slopes"); + RegistryKey MUSIC_OVERWORLD_SNOWY_SLOPES = RegistryKey.of("music.overworld.snowy_slopes"); - RegistryKey MUSIC_OVERWORLD_SPARSE_JUNGLE = RegistryKey.unsafeOf("music.overworld.sparse_jungle"); + RegistryKey MUSIC_OVERWORLD_SPARSE_JUNGLE = RegistryKey.of("music.overworld.sparse_jungle"); - RegistryKey MUSIC_OVERWORLD_STONY_PEAKS = RegistryKey.unsafeOf("music.overworld.stony_peaks"); + RegistryKey MUSIC_OVERWORLD_STONY_PEAKS = RegistryKey.of("music.overworld.stony_peaks"); - RegistryKey MUSIC_OVERWORLD_SULFUR_CAVES = RegistryKey.unsafeOf("music.overworld.sulfur_caves"); + RegistryKey MUSIC_OVERWORLD_SULFUR_CAVES = RegistryKey.of("music.overworld.sulfur_caves"); - RegistryKey MUSIC_OVERWORLD_SWAMP = RegistryKey.unsafeOf("music.overworld.swamp"); + RegistryKey MUSIC_OVERWORLD_SWAMP = RegistryKey.of("music.overworld.swamp"); - RegistryKey MUSIC_UNDER_WATER = RegistryKey.unsafeOf("music.under_water"); + RegistryKey MUSIC_UNDER_WATER = RegistryKey.of("music.under_water"); - RegistryKey MUSIC_DISC_11 = RegistryKey.unsafeOf("music_disc.11"); + RegistryKey MUSIC_DISC_11 = RegistryKey.of("music_disc.11"); - RegistryKey MUSIC_DISC_13 = RegistryKey.unsafeOf("music_disc.13"); + RegistryKey MUSIC_DISC_13 = RegistryKey.of("music_disc.13"); - RegistryKey MUSIC_DISC_5 = RegistryKey.unsafeOf("music_disc.5"); + RegistryKey MUSIC_DISC_5 = RegistryKey.of("music_disc.5"); - RegistryKey MUSIC_DISC_BLOCKS = RegistryKey.unsafeOf("music_disc.blocks"); + RegistryKey MUSIC_DISC_BLOCKS = RegistryKey.of("music_disc.blocks"); - RegistryKey MUSIC_DISC_BOUNCE = RegistryKey.unsafeOf("music_disc.bounce"); + RegistryKey MUSIC_DISC_BOUNCE = RegistryKey.of("music_disc.bounce"); - RegistryKey MUSIC_DISC_CAT = RegistryKey.unsafeOf("music_disc.cat"); + RegistryKey MUSIC_DISC_CAT = RegistryKey.of("music_disc.cat"); - RegistryKey MUSIC_DISC_CHIRP = RegistryKey.unsafeOf("music_disc.chirp"); + RegistryKey MUSIC_DISC_CHIRP = RegistryKey.of("music_disc.chirp"); - RegistryKey MUSIC_DISC_CREATOR = RegistryKey.unsafeOf("music_disc.creator"); + RegistryKey MUSIC_DISC_CREATOR = RegistryKey.of("music_disc.creator"); - RegistryKey MUSIC_DISC_CREATOR_MUSIC_BOX = RegistryKey.unsafeOf("music_disc.creator_music_box"); + RegistryKey MUSIC_DISC_CREATOR_MUSIC_BOX = RegistryKey.of("music_disc.creator_music_box"); - RegistryKey MUSIC_DISC_FAR = RegistryKey.unsafeOf("music_disc.far"); + RegistryKey MUSIC_DISC_FAR = RegistryKey.of("music_disc.far"); - RegistryKey MUSIC_DISC_LAVA_CHICKEN = RegistryKey.unsafeOf("music_disc.lava_chicken"); + RegistryKey MUSIC_DISC_LAVA_CHICKEN = RegistryKey.of("music_disc.lava_chicken"); - RegistryKey MUSIC_DISC_MALL = RegistryKey.unsafeOf("music_disc.mall"); + RegistryKey MUSIC_DISC_MALL = RegistryKey.of("music_disc.mall"); - RegistryKey MUSIC_DISC_MELLOHI = RegistryKey.unsafeOf("music_disc.mellohi"); + RegistryKey MUSIC_DISC_MELLOHI = RegistryKey.of("music_disc.mellohi"); - RegistryKey MUSIC_DISC_OTHERSIDE = RegistryKey.unsafeOf("music_disc.otherside"); + RegistryKey MUSIC_DISC_OTHERSIDE = RegistryKey.of("music_disc.otherside"); - RegistryKey MUSIC_DISC_PIGSTEP = RegistryKey.unsafeOf("music_disc.pigstep"); + RegistryKey MUSIC_DISC_PIGSTEP = RegistryKey.of("music_disc.pigstep"); - RegistryKey MUSIC_DISC_PRECIPICE = RegistryKey.unsafeOf("music_disc.precipice"); + RegistryKey MUSIC_DISC_PRECIPICE = RegistryKey.of("music_disc.precipice"); - RegistryKey MUSIC_DISC_RELIC = RegistryKey.unsafeOf("music_disc.relic"); + RegistryKey MUSIC_DISC_RELIC = RegistryKey.of("music_disc.relic"); - RegistryKey MUSIC_DISC_STAL = RegistryKey.unsafeOf("music_disc.stal"); + RegistryKey MUSIC_DISC_STAL = RegistryKey.of("music_disc.stal"); - RegistryKey MUSIC_DISC_STRAD = RegistryKey.unsafeOf("music_disc.strad"); + RegistryKey MUSIC_DISC_STRAD = RegistryKey.of("music_disc.strad"); - RegistryKey MUSIC_DISC_TEARS = RegistryKey.unsafeOf("music_disc.tears"); + RegistryKey MUSIC_DISC_TEARS = RegistryKey.of("music_disc.tears"); - RegistryKey MUSIC_DISC_WAIT = RegistryKey.unsafeOf("music_disc.wait"); + RegistryKey MUSIC_DISC_WAIT = RegistryKey.of("music_disc.wait"); - RegistryKey MUSIC_DISC_WARD = RegistryKey.unsafeOf("music_disc.ward"); + RegistryKey MUSIC_DISC_WARD = RegistryKey.of("music_disc.ward"); - RegistryKey PARTICLE_SOUL_ESCAPE = RegistryKey.unsafeOf("particle.soul_escape"); + RegistryKey PARTICLE_SOUL_ESCAPE = RegistryKey.of("particle.soul_escape"); - RegistryKey UI_BUTTON_CLICK = RegistryKey.unsafeOf("ui.button.click"); + RegistryKey UI_BUTTON_CLICK = RegistryKey.of("ui.button.click"); - RegistryKey UI_CARTOGRAPHY_TABLE_TAKE_RESULT = RegistryKey.unsafeOf("ui.cartography_table.take_result"); + RegistryKey UI_CARTOGRAPHY_TABLE_TAKE_RESULT = RegistryKey.of("ui.cartography_table.take_result"); - RegistryKey UI_HUD_BUBBLE_POP = RegistryKey.unsafeOf("ui.hud.bubble_pop"); + RegistryKey UI_HUD_BUBBLE_POP = RegistryKey.of("ui.hud.bubble_pop"); - RegistryKey UI_LOOM_SELECT_PATTERN = RegistryKey.unsafeOf("ui.loom.select_pattern"); + RegistryKey UI_LOOM_SELECT_PATTERN = RegistryKey.of("ui.loom.select_pattern"); - RegistryKey UI_LOOM_TAKE_RESULT = RegistryKey.unsafeOf("ui.loom.take_result"); + RegistryKey UI_LOOM_TAKE_RESULT = RegistryKey.of("ui.loom.take_result"); - RegistryKey UI_STONECUTTER_SELECT_RECIPE = RegistryKey.unsafeOf("ui.stonecutter.select_recipe"); + RegistryKey UI_STONECUTTER_SELECT_RECIPE = RegistryKey.of("ui.stonecutter.select_recipe"); - RegistryKey UI_STONECUTTER_TAKE_RESULT = RegistryKey.unsafeOf("ui.stonecutter.take_result"); + RegistryKey UI_STONECUTTER_TAKE_RESULT = RegistryKey.of("ui.stonecutter.take_result"); - RegistryKey UI_TOAST_CHALLENGE_COMPLETE = RegistryKey.unsafeOf("ui.toast.challenge_complete"); + RegistryKey UI_TOAST_CHALLENGE_COMPLETE = RegistryKey.of("ui.toast.challenge_complete"); - RegistryKey UI_TOAST_IN = RegistryKey.unsafeOf("ui.toast.in"); + RegistryKey UI_TOAST_IN = RegistryKey.of("ui.toast.in"); - RegistryKey UI_TOAST_OUT = RegistryKey.unsafeOf("ui.toast.out"); + RegistryKey UI_TOAST_OUT = RegistryKey.of("ui.toast.out"); - RegistryKey WEATHER_END_FLASH = RegistryKey.unsafeOf("weather.end_flash"); + RegistryKey WEATHER_END_FLASH = RegistryKey.of("weather.end_flash"); - RegistryKey WEATHER_RAIN = RegistryKey.unsafeOf("weather.rain"); + RegistryKey WEATHER_RAIN = RegistryKey.of("weather.rain"); - RegistryKey WEATHER_RAIN_ABOVE = RegistryKey.unsafeOf("weather.rain.above"); + RegistryKey WEATHER_RAIN_ABOVE = RegistryKey.of("weather.rain.above"); } diff --git a/src/autogenerated/java/net/minestom/server/statistic/StatisticTypeKeys.java b/src/autogenerated/java/net/minestom/server/statistic/StatisticTypeKeys.java index 472e47de977..1732805508e 100644 --- a/src/autogenerated/java/net/minestom/server/statistic/StatisticTypeKeys.java +++ b/src/autogenerated/java/net/minestom/server/statistic/StatisticTypeKeys.java @@ -11,157 +11,157 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface StatisticTypeKeys { - RegistryKey ANIMALS_BRED = RegistryKey.unsafeOf("animals_bred"); + RegistryKey ANIMALS_BRED = RegistryKey.of("animals_bred"); - RegistryKey AVIATE_ONE_CM = RegistryKey.unsafeOf("aviate_one_cm"); + RegistryKey AVIATE_ONE_CM = RegistryKey.of("aviate_one_cm"); - RegistryKey BELL_RING = RegistryKey.unsafeOf("bell_ring"); + RegistryKey BELL_RING = RegistryKey.of("bell_ring"); - RegistryKey BOAT_ONE_CM = RegistryKey.unsafeOf("boat_one_cm"); + RegistryKey BOAT_ONE_CM = RegistryKey.of("boat_one_cm"); - RegistryKey CLEAN_ARMOR = RegistryKey.unsafeOf("clean_armor"); + RegistryKey CLEAN_ARMOR = RegistryKey.of("clean_armor"); - RegistryKey CLEAN_BANNER = RegistryKey.unsafeOf("clean_banner"); + RegistryKey CLEAN_BANNER = RegistryKey.of("clean_banner"); - RegistryKey CLEAN_SHULKER_BOX = RegistryKey.unsafeOf("clean_shulker_box"); + RegistryKey CLEAN_SHULKER_BOX = RegistryKey.of("clean_shulker_box"); - RegistryKey CLIMB_ONE_CM = RegistryKey.unsafeOf("climb_one_cm"); + RegistryKey CLIMB_ONE_CM = RegistryKey.of("climb_one_cm"); - RegistryKey CROUCH_ONE_CM = RegistryKey.unsafeOf("crouch_one_cm"); + RegistryKey CROUCH_ONE_CM = RegistryKey.of("crouch_one_cm"); - RegistryKey DAMAGE_ABSORBED = RegistryKey.unsafeOf("damage_absorbed"); + RegistryKey DAMAGE_ABSORBED = RegistryKey.of("damage_absorbed"); - RegistryKey DAMAGE_BLOCKED_BY_SHIELD = RegistryKey.unsafeOf("damage_blocked_by_shield"); + RegistryKey DAMAGE_BLOCKED_BY_SHIELD = RegistryKey.of("damage_blocked_by_shield"); - RegistryKey DAMAGE_DEALT = RegistryKey.unsafeOf("damage_dealt"); + RegistryKey DAMAGE_DEALT = RegistryKey.of("damage_dealt"); - RegistryKey DAMAGE_DEALT_ABSORBED = RegistryKey.unsafeOf("damage_dealt_absorbed"); + RegistryKey DAMAGE_DEALT_ABSORBED = RegistryKey.of("damage_dealt_absorbed"); - RegistryKey DAMAGE_DEALT_RESISTED = RegistryKey.unsafeOf("damage_dealt_resisted"); + RegistryKey DAMAGE_DEALT_RESISTED = RegistryKey.of("damage_dealt_resisted"); - RegistryKey DAMAGE_RESISTED = RegistryKey.unsafeOf("damage_resisted"); + RegistryKey DAMAGE_RESISTED = RegistryKey.of("damage_resisted"); - RegistryKey DAMAGE_TAKEN = RegistryKey.unsafeOf("damage_taken"); + RegistryKey DAMAGE_TAKEN = RegistryKey.of("damage_taken"); - RegistryKey DEATHS = RegistryKey.unsafeOf("deaths"); + RegistryKey DEATHS = RegistryKey.of("deaths"); - RegistryKey DROP = RegistryKey.unsafeOf("drop"); + RegistryKey DROP = RegistryKey.of("drop"); - RegistryKey EAT_CAKE_SLICE = RegistryKey.unsafeOf("eat_cake_slice"); + RegistryKey EAT_CAKE_SLICE = RegistryKey.of("eat_cake_slice"); - RegistryKey ENCHANT_ITEM = RegistryKey.unsafeOf("enchant_item"); + RegistryKey ENCHANT_ITEM = RegistryKey.of("enchant_item"); - RegistryKey FALL_ONE_CM = RegistryKey.unsafeOf("fall_one_cm"); + RegistryKey FALL_ONE_CM = RegistryKey.of("fall_one_cm"); - RegistryKey FILL_CAULDRON = RegistryKey.unsafeOf("fill_cauldron"); + RegistryKey FILL_CAULDRON = RegistryKey.of("fill_cauldron"); - RegistryKey FISH_CAUGHT = RegistryKey.unsafeOf("fish_caught"); + RegistryKey FISH_CAUGHT = RegistryKey.of("fish_caught"); - RegistryKey FLY_ONE_CM = RegistryKey.unsafeOf("fly_one_cm"); + RegistryKey FLY_ONE_CM = RegistryKey.of("fly_one_cm"); - RegistryKey HAPPY_GHAST_ONE_CM = RegistryKey.unsafeOf("happy_ghast_one_cm"); + RegistryKey HAPPY_GHAST_ONE_CM = RegistryKey.of("happy_ghast_one_cm"); - RegistryKey HORSE_ONE_CM = RegistryKey.unsafeOf("horse_one_cm"); + RegistryKey HORSE_ONE_CM = RegistryKey.of("horse_one_cm"); - RegistryKey INSPECT_DISPENSER = RegistryKey.unsafeOf("inspect_dispenser"); + RegistryKey INSPECT_DISPENSER = RegistryKey.of("inspect_dispenser"); - RegistryKey INSPECT_DROPPER = RegistryKey.unsafeOf("inspect_dropper"); + RegistryKey INSPECT_DROPPER = RegistryKey.of("inspect_dropper"); - RegistryKey INSPECT_HOPPER = RegistryKey.unsafeOf("inspect_hopper"); + RegistryKey INSPECT_HOPPER = RegistryKey.of("inspect_hopper"); - RegistryKey INTERACT_WITH_ANVIL = RegistryKey.unsafeOf("interact_with_anvil"); + RegistryKey INTERACT_WITH_ANVIL = RegistryKey.of("interact_with_anvil"); - RegistryKey INTERACT_WITH_BEACON = RegistryKey.unsafeOf("interact_with_beacon"); + RegistryKey INTERACT_WITH_BEACON = RegistryKey.of("interact_with_beacon"); - RegistryKey INTERACT_WITH_BLAST_FURNACE = RegistryKey.unsafeOf("interact_with_blast_furnace"); + RegistryKey INTERACT_WITH_BLAST_FURNACE = RegistryKey.of("interact_with_blast_furnace"); - RegistryKey INTERACT_WITH_BREWINGSTAND = RegistryKey.unsafeOf("interact_with_brewingstand"); + RegistryKey INTERACT_WITH_BREWINGSTAND = RegistryKey.of("interact_with_brewingstand"); - RegistryKey INTERACT_WITH_CAMPFIRE = RegistryKey.unsafeOf("interact_with_campfire"); + RegistryKey INTERACT_WITH_CAMPFIRE = RegistryKey.of("interact_with_campfire"); - RegistryKey INTERACT_WITH_CARTOGRAPHY_TABLE = RegistryKey.unsafeOf("interact_with_cartography_table"); + RegistryKey INTERACT_WITH_CARTOGRAPHY_TABLE = RegistryKey.of("interact_with_cartography_table"); - RegistryKey INTERACT_WITH_CRAFTING_TABLE = RegistryKey.unsafeOf("interact_with_crafting_table"); + RegistryKey INTERACT_WITH_CRAFTING_TABLE = RegistryKey.of("interact_with_crafting_table"); - RegistryKey INTERACT_WITH_FURNACE = RegistryKey.unsafeOf("interact_with_furnace"); + RegistryKey INTERACT_WITH_FURNACE = RegistryKey.of("interact_with_furnace"); - RegistryKey INTERACT_WITH_GRINDSTONE = RegistryKey.unsafeOf("interact_with_grindstone"); + RegistryKey INTERACT_WITH_GRINDSTONE = RegistryKey.of("interact_with_grindstone"); - RegistryKey INTERACT_WITH_LECTERN = RegistryKey.unsafeOf("interact_with_lectern"); + RegistryKey INTERACT_WITH_LECTERN = RegistryKey.of("interact_with_lectern"); - RegistryKey INTERACT_WITH_LOOM = RegistryKey.unsafeOf("interact_with_loom"); + RegistryKey INTERACT_WITH_LOOM = RegistryKey.of("interact_with_loom"); - RegistryKey INTERACT_WITH_SMITHING_TABLE = RegistryKey.unsafeOf("interact_with_smithing_table"); + RegistryKey INTERACT_WITH_SMITHING_TABLE = RegistryKey.of("interact_with_smithing_table"); - RegistryKey INTERACT_WITH_SMOKER = RegistryKey.unsafeOf("interact_with_smoker"); + RegistryKey INTERACT_WITH_SMOKER = RegistryKey.of("interact_with_smoker"); - RegistryKey INTERACT_WITH_STONECUTTER = RegistryKey.unsafeOf("interact_with_stonecutter"); + RegistryKey INTERACT_WITH_STONECUTTER = RegistryKey.of("interact_with_stonecutter"); - RegistryKey JUMP = RegistryKey.unsafeOf("jump"); + RegistryKey JUMP = RegistryKey.of("jump"); - RegistryKey LEAVE_GAME = RegistryKey.unsafeOf("leave_game"); + RegistryKey LEAVE_GAME = RegistryKey.of("leave_game"); - RegistryKey MINECART_ONE_CM = RegistryKey.unsafeOf("minecart_one_cm"); + RegistryKey MINECART_ONE_CM = RegistryKey.of("minecart_one_cm"); - RegistryKey MOB_KILLS = RegistryKey.unsafeOf("mob_kills"); + RegistryKey MOB_KILLS = RegistryKey.of("mob_kills"); - RegistryKey NAUTILUS_ONE_CM = RegistryKey.unsafeOf("nautilus_one_cm"); + RegistryKey NAUTILUS_ONE_CM = RegistryKey.of("nautilus_one_cm"); - RegistryKey OPEN_BARREL = RegistryKey.unsafeOf("open_barrel"); + RegistryKey OPEN_BARREL = RegistryKey.of("open_barrel"); - RegistryKey OPEN_CHEST = RegistryKey.unsafeOf("open_chest"); + RegistryKey OPEN_CHEST = RegistryKey.of("open_chest"); - RegistryKey OPEN_ENDERCHEST = RegistryKey.unsafeOf("open_enderchest"); + RegistryKey OPEN_ENDERCHEST = RegistryKey.of("open_enderchest"); - RegistryKey OPEN_SHULKER_BOX = RegistryKey.unsafeOf("open_shulker_box"); + RegistryKey OPEN_SHULKER_BOX = RegistryKey.of("open_shulker_box"); - RegistryKey PIG_ONE_CM = RegistryKey.unsafeOf("pig_one_cm"); + RegistryKey PIG_ONE_CM = RegistryKey.of("pig_one_cm"); - RegistryKey PLAY_NOTEBLOCK = RegistryKey.unsafeOf("play_noteblock"); + RegistryKey PLAY_NOTEBLOCK = RegistryKey.of("play_noteblock"); - RegistryKey PLAY_RECORD = RegistryKey.unsafeOf("play_record"); + RegistryKey PLAY_RECORD = RegistryKey.of("play_record"); - RegistryKey PLAY_TIME = RegistryKey.unsafeOf("play_time"); + RegistryKey PLAY_TIME = RegistryKey.of("play_time"); - RegistryKey PLAYER_KILLS = RegistryKey.unsafeOf("player_kills"); + RegistryKey PLAYER_KILLS = RegistryKey.of("player_kills"); - RegistryKey POT_FLOWER = RegistryKey.unsafeOf("pot_flower"); + RegistryKey POT_FLOWER = RegistryKey.of("pot_flower"); - RegistryKey RAID_TRIGGER = RegistryKey.unsafeOf("raid_trigger"); + RegistryKey RAID_TRIGGER = RegistryKey.of("raid_trigger"); - RegistryKey RAID_WIN = RegistryKey.unsafeOf("raid_win"); + RegistryKey RAID_WIN = RegistryKey.of("raid_win"); - RegistryKey SLEEP_IN_BED = RegistryKey.unsafeOf("sleep_in_bed"); + RegistryKey SLEEP_IN_BED = RegistryKey.of("sleep_in_bed"); - RegistryKey SNEAK_TIME = RegistryKey.unsafeOf("sneak_time"); + RegistryKey SNEAK_TIME = RegistryKey.of("sneak_time"); - RegistryKey SPRINT_ONE_CM = RegistryKey.unsafeOf("sprint_one_cm"); + RegistryKey SPRINT_ONE_CM = RegistryKey.of("sprint_one_cm"); - RegistryKey STRIDER_ONE_CM = RegistryKey.unsafeOf("strider_one_cm"); + RegistryKey STRIDER_ONE_CM = RegistryKey.of("strider_one_cm"); - RegistryKey SWIM_ONE_CM = RegistryKey.unsafeOf("swim_one_cm"); + RegistryKey SWIM_ONE_CM = RegistryKey.of("swim_one_cm"); - RegistryKey TALKED_TO_VILLAGER = RegistryKey.unsafeOf("talked_to_villager"); + RegistryKey TALKED_TO_VILLAGER = RegistryKey.of("talked_to_villager"); - RegistryKey TARGET_HIT = RegistryKey.unsafeOf("target_hit"); + RegistryKey TARGET_HIT = RegistryKey.of("target_hit"); - RegistryKey TIME_SINCE_DEATH = RegistryKey.unsafeOf("time_since_death"); + RegistryKey TIME_SINCE_DEATH = RegistryKey.of("time_since_death"); - RegistryKey TIME_SINCE_REST = RegistryKey.unsafeOf("time_since_rest"); + RegistryKey TIME_SINCE_REST = RegistryKey.of("time_since_rest"); - RegistryKey TOTAL_WORLD_TIME = RegistryKey.unsafeOf("total_world_time"); + RegistryKey TOTAL_WORLD_TIME = RegistryKey.of("total_world_time"); - RegistryKey TRADED_WITH_VILLAGER = RegistryKey.unsafeOf("traded_with_villager"); + RegistryKey TRADED_WITH_VILLAGER = RegistryKey.of("traded_with_villager"); - RegistryKey TRIGGER_TRAPPED_CHEST = RegistryKey.unsafeOf("trigger_trapped_chest"); + RegistryKey TRIGGER_TRAPPED_CHEST = RegistryKey.of("trigger_trapped_chest"); - RegistryKey TUNE_NOTEBLOCK = RegistryKey.unsafeOf("tune_noteblock"); + RegistryKey TUNE_NOTEBLOCK = RegistryKey.of("tune_noteblock"); - RegistryKey USE_CAULDRON = RegistryKey.unsafeOf("use_cauldron"); + RegistryKey USE_CAULDRON = RegistryKey.of("use_cauldron"); - RegistryKey WALK_ON_WATER_ONE_CM = RegistryKey.unsafeOf("walk_on_water_one_cm"); + RegistryKey WALK_ON_WATER_ONE_CM = RegistryKey.of("walk_on_water_one_cm"); - RegistryKey WALK_ONE_CM = RegistryKey.unsafeOf("walk_one_cm"); + RegistryKey WALK_ONE_CM = RegistryKey.of("walk_one_cm"); - RegistryKey WALK_UNDER_WATER_ONE_CM = RegistryKey.unsafeOf("walk_under_water_one_cm"); + RegistryKey WALK_UNDER_WATER_ONE_CM = RegistryKey.of("walk_under_water_one_cm"); } diff --git a/src/autogenerated/java/net/minestom/server/world/DimensionTypes.java b/src/autogenerated/java/net/minestom/server/world/DimensionTypes.java index 10157190372..915e4507284 100644 --- a/src/autogenerated/java/net/minestom/server/world/DimensionTypes.java +++ b/src/autogenerated/java/net/minestom/server/world/DimensionTypes.java @@ -9,11 +9,11 @@ */ @SuppressWarnings("unused") sealed interface DimensionTypes permits DimensionType { - RegistryKey OVERWORLD = RegistryKey.unsafeOf("overworld"); + RegistryKey OVERWORLD = RegistryKey.of("overworld"); - RegistryKey OVERWORLD_CAVES = RegistryKey.unsafeOf("overworld_caves"); + RegistryKey OVERWORLD_CAVES = RegistryKey.of("overworld_caves"); - RegistryKey THE_END = RegistryKey.unsafeOf("the_end"); + RegistryKey THE_END = RegistryKey.of("the_end"); - RegistryKey THE_NETHER = RegistryKey.unsafeOf("the_nether"); + RegistryKey THE_NETHER = RegistryKey.of("the_nether"); } diff --git a/src/autogenerated/java/net/minestom/server/world/biome/BiomeTags.java b/src/autogenerated/java/net/minestom/server/world/biome/BiomeTags.java index b5cd3a97550..8dda2561653 100644 --- a/src/autogenerated/java/net/minestom/server/world/biome/BiomeTags.java +++ b/src/autogenerated/java/net/minestom/server/world/biome/BiomeTags.java @@ -11,139 +11,139 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface BiomeTags { - TagKey ALLOWS_SURFACE_SLIME_SPAWNS = TagKey.unsafeOf("allows_surface_slime_spawns"); + TagKey ALLOWS_SURFACE_SLIME_SPAWNS = TagKey.of("allows_surface_slime_spawns"); - TagKey ALLOWS_TROPICAL_FISH_SPAWNS_AT_ANY_HEIGHT = TagKey.unsafeOf("allows_tropical_fish_spawns_at_any_height"); + TagKey ALLOWS_TROPICAL_FISH_SPAWNS_AT_ANY_HEIGHT = TagKey.of("allows_tropical_fish_spawns_at_any_height"); - TagKey HAS_STRUCTURE_ANCIENT_CITY = TagKey.unsafeOf("has_structure/ancient_city"); + TagKey HAS_STRUCTURE_ANCIENT_CITY = TagKey.of("has_structure/ancient_city"); - TagKey HAS_STRUCTURE_BASTION_REMNANT = TagKey.unsafeOf("has_structure/bastion_remnant"); + TagKey HAS_STRUCTURE_BASTION_REMNANT = TagKey.of("has_structure/bastion_remnant"); - TagKey HAS_STRUCTURE_BURIED_TREASURE = TagKey.unsafeOf("has_structure/buried_treasure"); + TagKey HAS_STRUCTURE_BURIED_TREASURE = TagKey.of("has_structure/buried_treasure"); - TagKey HAS_STRUCTURE_DESERT_PYRAMID = TagKey.unsafeOf("has_structure/desert_pyramid"); + TagKey HAS_STRUCTURE_DESERT_PYRAMID = TagKey.of("has_structure/desert_pyramid"); - TagKey HAS_STRUCTURE_END_CITY = TagKey.unsafeOf("has_structure/end_city"); + TagKey HAS_STRUCTURE_END_CITY = TagKey.of("has_structure/end_city"); - TagKey HAS_STRUCTURE_IGLOO = TagKey.unsafeOf("has_structure/igloo"); + TagKey HAS_STRUCTURE_IGLOO = TagKey.of("has_structure/igloo"); - TagKey HAS_STRUCTURE_JUNGLE_TEMPLE = TagKey.unsafeOf("has_structure/jungle_temple"); + TagKey HAS_STRUCTURE_JUNGLE_TEMPLE = TagKey.of("has_structure/jungle_temple"); - TagKey HAS_STRUCTURE_MINESHAFT = TagKey.unsafeOf("has_structure/mineshaft"); + TagKey HAS_STRUCTURE_MINESHAFT = TagKey.of("has_structure/mineshaft"); - TagKey HAS_STRUCTURE_MINESHAFT_MESA = TagKey.unsafeOf("has_structure/mineshaft_mesa"); + TagKey HAS_STRUCTURE_MINESHAFT_MESA = TagKey.of("has_structure/mineshaft_mesa"); - TagKey HAS_STRUCTURE_NETHER_FORTRESS = TagKey.unsafeOf("has_structure/nether_fortress"); + TagKey HAS_STRUCTURE_NETHER_FORTRESS = TagKey.of("has_structure/nether_fortress"); - TagKey HAS_STRUCTURE_NETHER_FOSSIL = TagKey.unsafeOf("has_structure/nether_fossil"); + TagKey HAS_STRUCTURE_NETHER_FOSSIL = TagKey.of("has_structure/nether_fossil"); - TagKey HAS_STRUCTURE_OCEAN_MONUMENT = TagKey.unsafeOf("has_structure/ocean_monument"); + TagKey HAS_STRUCTURE_OCEAN_MONUMENT = TagKey.of("has_structure/ocean_monument"); - TagKey HAS_STRUCTURE_OCEAN_RUIN_COLD = TagKey.unsafeOf("has_structure/ocean_ruin_cold"); + TagKey HAS_STRUCTURE_OCEAN_RUIN_COLD = TagKey.of("has_structure/ocean_ruin_cold"); - TagKey HAS_STRUCTURE_OCEAN_RUIN_WARM = TagKey.unsafeOf("has_structure/ocean_ruin_warm"); + TagKey HAS_STRUCTURE_OCEAN_RUIN_WARM = TagKey.of("has_structure/ocean_ruin_warm"); - TagKey HAS_STRUCTURE_PILLAGER_OUTPOST = TagKey.unsafeOf("has_structure/pillager_outpost"); + TagKey HAS_STRUCTURE_PILLAGER_OUTPOST = TagKey.of("has_structure/pillager_outpost"); - TagKey HAS_STRUCTURE_RUINED_PORTAL_DESERT = TagKey.unsafeOf("has_structure/ruined_portal_desert"); + TagKey HAS_STRUCTURE_RUINED_PORTAL_DESERT = TagKey.of("has_structure/ruined_portal_desert"); - TagKey HAS_STRUCTURE_RUINED_PORTAL_JUNGLE = TagKey.unsafeOf("has_structure/ruined_portal_jungle"); + TagKey HAS_STRUCTURE_RUINED_PORTAL_JUNGLE = TagKey.of("has_structure/ruined_portal_jungle"); - TagKey HAS_STRUCTURE_RUINED_PORTAL_MOUNTAIN = TagKey.unsafeOf("has_structure/ruined_portal_mountain"); + TagKey HAS_STRUCTURE_RUINED_PORTAL_MOUNTAIN = TagKey.of("has_structure/ruined_portal_mountain"); - TagKey HAS_STRUCTURE_RUINED_PORTAL_NETHER = TagKey.unsafeOf("has_structure/ruined_portal_nether"); + TagKey HAS_STRUCTURE_RUINED_PORTAL_NETHER = TagKey.of("has_structure/ruined_portal_nether"); - TagKey HAS_STRUCTURE_RUINED_PORTAL_OCEAN = TagKey.unsafeOf("has_structure/ruined_portal_ocean"); + TagKey HAS_STRUCTURE_RUINED_PORTAL_OCEAN = TagKey.of("has_structure/ruined_portal_ocean"); - TagKey HAS_STRUCTURE_RUINED_PORTAL_STANDARD = TagKey.unsafeOf("has_structure/ruined_portal_standard"); + TagKey HAS_STRUCTURE_RUINED_PORTAL_STANDARD = TagKey.of("has_structure/ruined_portal_standard"); - TagKey HAS_STRUCTURE_RUINED_PORTAL_SWAMP = TagKey.unsafeOf("has_structure/ruined_portal_swamp"); + TagKey HAS_STRUCTURE_RUINED_PORTAL_SWAMP = TagKey.of("has_structure/ruined_portal_swamp"); - TagKey HAS_STRUCTURE_SHIPWRECK = TagKey.unsafeOf("has_structure/shipwreck"); + TagKey HAS_STRUCTURE_SHIPWRECK = TagKey.of("has_structure/shipwreck"); - TagKey HAS_STRUCTURE_SHIPWRECK_BEACHED = TagKey.unsafeOf("has_structure/shipwreck_beached"); + TagKey HAS_STRUCTURE_SHIPWRECK_BEACHED = TagKey.of("has_structure/shipwreck_beached"); - TagKey HAS_STRUCTURE_STRONGHOLD = TagKey.unsafeOf("has_structure/stronghold"); + TagKey HAS_STRUCTURE_STRONGHOLD = TagKey.of("has_structure/stronghold"); - TagKey HAS_STRUCTURE_SWAMP_HUT = TagKey.unsafeOf("has_structure/swamp_hut"); + TagKey HAS_STRUCTURE_SWAMP_HUT = TagKey.of("has_structure/swamp_hut"); - TagKey HAS_STRUCTURE_TRAIL_RUINS = TagKey.unsafeOf("has_structure/trail_ruins"); + TagKey HAS_STRUCTURE_TRAIL_RUINS = TagKey.of("has_structure/trail_ruins"); - TagKey HAS_STRUCTURE_TRIAL_CHAMBERS = TagKey.unsafeOf("has_structure/trial_chambers"); + TagKey HAS_STRUCTURE_TRIAL_CHAMBERS = TagKey.of("has_structure/trial_chambers"); - TagKey HAS_STRUCTURE_VILLAGE_DESERT = TagKey.unsafeOf("has_structure/village_desert"); + TagKey HAS_STRUCTURE_VILLAGE_DESERT = TagKey.of("has_structure/village_desert"); - TagKey HAS_STRUCTURE_VILLAGE_PLAINS = TagKey.unsafeOf("has_structure/village_plains"); + TagKey HAS_STRUCTURE_VILLAGE_PLAINS = TagKey.of("has_structure/village_plains"); - TagKey HAS_STRUCTURE_VILLAGE_SAVANNA = TagKey.unsafeOf("has_structure/village_savanna"); + TagKey HAS_STRUCTURE_VILLAGE_SAVANNA = TagKey.of("has_structure/village_savanna"); - TagKey HAS_STRUCTURE_VILLAGE_SNOWY = TagKey.unsafeOf("has_structure/village_snowy"); + TagKey HAS_STRUCTURE_VILLAGE_SNOWY = TagKey.of("has_structure/village_snowy"); - TagKey HAS_STRUCTURE_VILLAGE_TAIGA = TagKey.unsafeOf("has_structure/village_taiga"); + TagKey HAS_STRUCTURE_VILLAGE_TAIGA = TagKey.of("has_structure/village_taiga"); - TagKey HAS_STRUCTURE_WOODLAND_MANSION = TagKey.unsafeOf("has_structure/woodland_mansion"); + TagKey HAS_STRUCTURE_WOODLAND_MANSION = TagKey.of("has_structure/woodland_mansion"); - TagKey IS_BADLANDS = TagKey.unsafeOf("is_badlands"); + TagKey IS_BADLANDS = TagKey.of("is_badlands"); - TagKey IS_BEACH = TagKey.unsafeOf("is_beach"); + TagKey IS_BEACH = TagKey.of("is_beach"); - TagKey IS_DEEP_OCEAN = TagKey.unsafeOf("is_deep_ocean"); + TagKey IS_DEEP_OCEAN = TagKey.of("is_deep_ocean"); - TagKey IS_END = TagKey.unsafeOf("is_end"); + TagKey IS_END = TagKey.of("is_end"); - TagKey IS_FOREST = TagKey.unsafeOf("is_forest"); + TagKey IS_FOREST = TagKey.of("is_forest"); - TagKey IS_HILL = TagKey.unsafeOf("is_hill"); + TagKey IS_HILL = TagKey.of("is_hill"); - TagKey IS_JUNGLE = TagKey.unsafeOf("is_jungle"); + TagKey IS_JUNGLE = TagKey.of("is_jungle"); - TagKey IS_MOUNTAIN = TagKey.unsafeOf("is_mountain"); + TagKey IS_MOUNTAIN = TagKey.of("is_mountain"); - TagKey IS_NETHER = TagKey.unsafeOf("is_nether"); + TagKey IS_NETHER = TagKey.of("is_nether"); - TagKey IS_OCEAN = TagKey.unsafeOf("is_ocean"); + TagKey IS_OCEAN = TagKey.of("is_ocean"); - TagKey IS_OVERWORLD = TagKey.unsafeOf("is_overworld"); + TagKey IS_OVERWORLD = TagKey.of("is_overworld"); - TagKey IS_RIVER = TagKey.unsafeOf("is_river"); + TagKey IS_RIVER = TagKey.of("is_river"); - TagKey IS_SAVANNA = TagKey.unsafeOf("is_savanna"); + TagKey IS_SAVANNA = TagKey.of("is_savanna"); - TagKey IS_TAIGA = TagKey.unsafeOf("is_taiga"); + TagKey IS_TAIGA = TagKey.of("is_taiga"); - TagKey MINESHAFT_BLOCKING = TagKey.unsafeOf("mineshaft_blocking"); + TagKey MINESHAFT_BLOCKING = TagKey.of("mineshaft_blocking"); - TagKey MORE_FREQUENT_DROWNED_SPAWNS = TagKey.unsafeOf("more_frequent_drowned_spawns"); + TagKey MORE_FREQUENT_DROWNED_SPAWNS = TagKey.of("more_frequent_drowned_spawns"); - TagKey POLAR_BEARS_SPAWN_ON_ALTERNATE_BLOCKS = TagKey.unsafeOf("polar_bears_spawn_on_alternate_blocks"); + TagKey POLAR_BEARS_SPAWN_ON_ALTERNATE_BLOCKS = TagKey.of("polar_bears_spawn_on_alternate_blocks"); - TagKey PRODUCES_CORALS_FROM_BONEMEAL = TagKey.unsafeOf("produces_corals_from_bonemeal"); + TagKey PRODUCES_CORALS_FROM_BONEMEAL = TagKey.of("produces_corals_from_bonemeal"); - TagKey REDUCE_WATER_AMBIENT_SPAWNS = TagKey.unsafeOf("reduce_water_ambient_spawns"); + TagKey REDUCE_WATER_AMBIENT_SPAWNS = TagKey.of("reduce_water_ambient_spawns"); - TagKey REQUIRED_OCEAN_MONUMENT_SURROUNDING = TagKey.unsafeOf("required_ocean_monument_surrounding"); + TagKey REQUIRED_OCEAN_MONUMENT_SURROUNDING = TagKey.of("required_ocean_monument_surrounding"); - TagKey SPAWNS_COLD_VARIANT_FARM_ANIMALS = TagKey.unsafeOf("spawns_cold_variant_farm_animals"); + TagKey SPAWNS_COLD_VARIANT_FARM_ANIMALS = TagKey.of("spawns_cold_variant_farm_animals"); - TagKey SPAWNS_COLD_VARIANT_FROGS = TagKey.unsafeOf("spawns_cold_variant_frogs"); + TagKey SPAWNS_COLD_VARIANT_FROGS = TagKey.of("spawns_cold_variant_frogs"); - TagKey SPAWNS_CORAL_VARIANT_ZOMBIE_NAUTILUS = TagKey.unsafeOf("spawns_coral_variant_zombie_nautilus"); + TagKey SPAWNS_CORAL_VARIANT_ZOMBIE_NAUTILUS = TagKey.of("spawns_coral_variant_zombie_nautilus"); - TagKey SPAWNS_GOLD_RABBITS = TagKey.unsafeOf("spawns_gold_rabbits"); + TagKey SPAWNS_GOLD_RABBITS = TagKey.of("spawns_gold_rabbits"); - TagKey SPAWNS_SNOW_FOXES = TagKey.unsafeOf("spawns_snow_foxes"); + TagKey SPAWNS_SNOW_FOXES = TagKey.of("spawns_snow_foxes"); - TagKey SPAWNS_WARM_VARIANT_FARM_ANIMALS = TagKey.unsafeOf("spawns_warm_variant_farm_animals"); + TagKey SPAWNS_WARM_VARIANT_FARM_ANIMALS = TagKey.of("spawns_warm_variant_farm_animals"); - TagKey SPAWNS_WARM_VARIANT_FROGS = TagKey.unsafeOf("spawns_warm_variant_frogs"); + TagKey SPAWNS_WARM_VARIANT_FROGS = TagKey.of("spawns_warm_variant_frogs"); - TagKey SPAWNS_WHITE_RABBITS = TagKey.unsafeOf("spawns_white_rabbits"); + TagKey SPAWNS_WHITE_RABBITS = TagKey.of("spawns_white_rabbits"); - TagKey STRONGHOLD_BIASED_TO = TagKey.unsafeOf("stronghold_biased_to"); + TagKey STRONGHOLD_BIASED_TO = TagKey.of("stronghold_biased_to"); - TagKey WATER_ON_MAP_OUTLINES = TagKey.unsafeOf("water_on_map_outlines"); + TagKey WATER_ON_MAP_OUTLINES = TagKey.of("water_on_map_outlines"); - TagKey WITHOUT_WANDERING_TRADER_SPAWNS = TagKey.unsafeOf("without_wandering_trader_spawns"); + TagKey WITHOUT_WANDERING_TRADER_SPAWNS = TagKey.of("without_wandering_trader_spawns"); - TagKey WITHOUT_ZOMBIE_SIEGES = TagKey.unsafeOf("without_zombie_sieges"); + TagKey WITHOUT_ZOMBIE_SIEGES = TagKey.of("without_zombie_sieges"); } diff --git a/src/autogenerated/java/net/minestom/server/world/biome/Biomes.java b/src/autogenerated/java/net/minestom/server/world/biome/Biomes.java index 12c0b7aeb16..8fb92385df6 100644 --- a/src/autogenerated/java/net/minestom/server/world/biome/Biomes.java +++ b/src/autogenerated/java/net/minestom/server/world/biome/Biomes.java @@ -9,135 +9,135 @@ */ @SuppressWarnings("unused") sealed interface Biomes permits Biome { - RegistryKey BADLANDS = RegistryKey.unsafeOf("badlands"); + RegistryKey BADLANDS = RegistryKey.of("badlands"); - RegistryKey BAMBOO_JUNGLE = RegistryKey.unsafeOf("bamboo_jungle"); + RegistryKey BAMBOO_JUNGLE = RegistryKey.of("bamboo_jungle"); - RegistryKey BASALT_DELTAS = RegistryKey.unsafeOf("basalt_deltas"); + RegistryKey BASALT_DELTAS = RegistryKey.of("basalt_deltas"); - RegistryKey BEACH = RegistryKey.unsafeOf("beach"); + RegistryKey BEACH = RegistryKey.of("beach"); - RegistryKey BIRCH_FOREST = RegistryKey.unsafeOf("birch_forest"); + RegistryKey BIRCH_FOREST = RegistryKey.of("birch_forest"); - RegistryKey CHERRY_GROVE = RegistryKey.unsafeOf("cherry_grove"); + RegistryKey CHERRY_GROVE = RegistryKey.of("cherry_grove"); - RegistryKey COLD_OCEAN = RegistryKey.unsafeOf("cold_ocean"); + RegistryKey COLD_OCEAN = RegistryKey.of("cold_ocean"); - RegistryKey CRIMSON_FOREST = RegistryKey.unsafeOf("crimson_forest"); + RegistryKey CRIMSON_FOREST = RegistryKey.of("crimson_forest"); - RegistryKey DARK_FOREST = RegistryKey.unsafeOf("dark_forest"); + RegistryKey DARK_FOREST = RegistryKey.of("dark_forest"); - RegistryKey DEEP_COLD_OCEAN = RegistryKey.unsafeOf("deep_cold_ocean"); + RegistryKey DEEP_COLD_OCEAN = RegistryKey.of("deep_cold_ocean"); - RegistryKey DEEP_DARK = RegistryKey.unsafeOf("deep_dark"); + RegistryKey DEEP_DARK = RegistryKey.of("deep_dark"); - RegistryKey DEEP_FROZEN_OCEAN = RegistryKey.unsafeOf("deep_frozen_ocean"); + RegistryKey DEEP_FROZEN_OCEAN = RegistryKey.of("deep_frozen_ocean"); - RegistryKey DEEP_LUKEWARM_OCEAN = RegistryKey.unsafeOf("deep_lukewarm_ocean"); + RegistryKey DEEP_LUKEWARM_OCEAN = RegistryKey.of("deep_lukewarm_ocean"); - RegistryKey DEEP_OCEAN = RegistryKey.unsafeOf("deep_ocean"); + RegistryKey DEEP_OCEAN = RegistryKey.of("deep_ocean"); - RegistryKey DESERT = RegistryKey.unsafeOf("desert"); + RegistryKey DESERT = RegistryKey.of("desert"); - RegistryKey DRIPSTONE_CAVES = RegistryKey.unsafeOf("dripstone_caves"); + RegistryKey DRIPSTONE_CAVES = RegistryKey.of("dripstone_caves"); - RegistryKey END_BARRENS = RegistryKey.unsafeOf("end_barrens"); + RegistryKey END_BARRENS = RegistryKey.of("end_barrens"); - RegistryKey END_HIGHLANDS = RegistryKey.unsafeOf("end_highlands"); + RegistryKey END_HIGHLANDS = RegistryKey.of("end_highlands"); - RegistryKey END_MIDLANDS = RegistryKey.unsafeOf("end_midlands"); + RegistryKey END_MIDLANDS = RegistryKey.of("end_midlands"); - RegistryKey ERODED_BADLANDS = RegistryKey.unsafeOf("eroded_badlands"); + RegistryKey ERODED_BADLANDS = RegistryKey.of("eroded_badlands"); - RegistryKey FLOWER_FOREST = RegistryKey.unsafeOf("flower_forest"); + RegistryKey FLOWER_FOREST = RegistryKey.of("flower_forest"); - RegistryKey FOREST = RegistryKey.unsafeOf("forest"); + RegistryKey FOREST = RegistryKey.of("forest"); - RegistryKey FROZEN_OCEAN = RegistryKey.unsafeOf("frozen_ocean"); + RegistryKey FROZEN_OCEAN = RegistryKey.of("frozen_ocean"); - RegistryKey FROZEN_PEAKS = RegistryKey.unsafeOf("frozen_peaks"); + RegistryKey FROZEN_PEAKS = RegistryKey.of("frozen_peaks"); - RegistryKey FROZEN_RIVER = RegistryKey.unsafeOf("frozen_river"); + RegistryKey FROZEN_RIVER = RegistryKey.of("frozen_river"); - RegistryKey GROVE = RegistryKey.unsafeOf("grove"); + RegistryKey GROVE = RegistryKey.of("grove"); - RegistryKey ICE_SPIKES = RegistryKey.unsafeOf("ice_spikes"); + RegistryKey ICE_SPIKES = RegistryKey.of("ice_spikes"); - RegistryKey JAGGED_PEAKS = RegistryKey.unsafeOf("jagged_peaks"); + RegistryKey JAGGED_PEAKS = RegistryKey.of("jagged_peaks"); - RegistryKey JUNGLE = RegistryKey.unsafeOf("jungle"); + RegistryKey JUNGLE = RegistryKey.of("jungle"); - RegistryKey LUKEWARM_OCEAN = RegistryKey.unsafeOf("lukewarm_ocean"); + RegistryKey LUKEWARM_OCEAN = RegistryKey.of("lukewarm_ocean"); - RegistryKey LUSH_CAVES = RegistryKey.unsafeOf("lush_caves"); + RegistryKey LUSH_CAVES = RegistryKey.of("lush_caves"); - RegistryKey MANGROVE_SWAMP = RegistryKey.unsafeOf("mangrove_swamp"); + RegistryKey MANGROVE_SWAMP = RegistryKey.of("mangrove_swamp"); - RegistryKey MEADOW = RegistryKey.unsafeOf("meadow"); + RegistryKey MEADOW = RegistryKey.of("meadow"); - RegistryKey MUSHROOM_FIELDS = RegistryKey.unsafeOf("mushroom_fields"); + RegistryKey MUSHROOM_FIELDS = RegistryKey.of("mushroom_fields"); - RegistryKey NETHER_WASTES = RegistryKey.unsafeOf("nether_wastes"); + RegistryKey NETHER_WASTES = RegistryKey.of("nether_wastes"); - RegistryKey OCEAN = RegistryKey.unsafeOf("ocean"); + RegistryKey OCEAN = RegistryKey.of("ocean"); - RegistryKey OLD_GROWTH_BIRCH_FOREST = RegistryKey.unsafeOf("old_growth_birch_forest"); + RegistryKey OLD_GROWTH_BIRCH_FOREST = RegistryKey.of("old_growth_birch_forest"); - RegistryKey OLD_GROWTH_PINE_TAIGA = RegistryKey.unsafeOf("old_growth_pine_taiga"); + RegistryKey OLD_GROWTH_PINE_TAIGA = RegistryKey.of("old_growth_pine_taiga"); - RegistryKey OLD_GROWTH_SPRUCE_TAIGA = RegistryKey.unsafeOf("old_growth_spruce_taiga"); + RegistryKey OLD_GROWTH_SPRUCE_TAIGA = RegistryKey.of("old_growth_spruce_taiga"); - RegistryKey PALE_GARDEN = RegistryKey.unsafeOf("pale_garden"); + RegistryKey PALE_GARDEN = RegistryKey.of("pale_garden"); - RegistryKey PLAINS = RegistryKey.unsafeOf("plains"); + RegistryKey PLAINS = RegistryKey.of("plains"); - RegistryKey RIVER = RegistryKey.unsafeOf("river"); + RegistryKey RIVER = RegistryKey.of("river"); - RegistryKey SAVANNA = RegistryKey.unsafeOf("savanna"); + RegistryKey SAVANNA = RegistryKey.of("savanna"); - RegistryKey SAVANNA_PLATEAU = RegistryKey.unsafeOf("savanna_plateau"); + RegistryKey SAVANNA_PLATEAU = RegistryKey.of("savanna_plateau"); - RegistryKey SMALL_END_ISLANDS = RegistryKey.unsafeOf("small_end_islands"); + RegistryKey SMALL_END_ISLANDS = RegistryKey.of("small_end_islands"); - RegistryKey SNOWY_BEACH = RegistryKey.unsafeOf("snowy_beach"); + RegistryKey SNOWY_BEACH = RegistryKey.of("snowy_beach"); - RegistryKey SNOWY_PLAINS = RegistryKey.unsafeOf("snowy_plains"); + RegistryKey SNOWY_PLAINS = RegistryKey.of("snowy_plains"); - RegistryKey SNOWY_SLOPES = RegistryKey.unsafeOf("snowy_slopes"); + RegistryKey SNOWY_SLOPES = RegistryKey.of("snowy_slopes"); - RegistryKey SNOWY_TAIGA = RegistryKey.unsafeOf("snowy_taiga"); + RegistryKey SNOWY_TAIGA = RegistryKey.of("snowy_taiga"); - RegistryKey SOUL_SAND_VALLEY = RegistryKey.unsafeOf("soul_sand_valley"); + RegistryKey SOUL_SAND_VALLEY = RegistryKey.of("soul_sand_valley"); - RegistryKey SPARSE_JUNGLE = RegistryKey.unsafeOf("sparse_jungle"); + RegistryKey SPARSE_JUNGLE = RegistryKey.of("sparse_jungle"); - RegistryKey STONY_PEAKS = RegistryKey.unsafeOf("stony_peaks"); + RegistryKey STONY_PEAKS = RegistryKey.of("stony_peaks"); - RegistryKey STONY_SHORE = RegistryKey.unsafeOf("stony_shore"); + RegistryKey STONY_SHORE = RegistryKey.of("stony_shore"); - RegistryKey SULFUR_CAVES = RegistryKey.unsafeOf("sulfur_caves"); + RegistryKey SULFUR_CAVES = RegistryKey.of("sulfur_caves"); - RegistryKey SUNFLOWER_PLAINS = RegistryKey.unsafeOf("sunflower_plains"); + RegistryKey SUNFLOWER_PLAINS = RegistryKey.of("sunflower_plains"); - RegistryKey SWAMP = RegistryKey.unsafeOf("swamp"); + RegistryKey SWAMP = RegistryKey.of("swamp"); - RegistryKey TAIGA = RegistryKey.unsafeOf("taiga"); + RegistryKey TAIGA = RegistryKey.of("taiga"); - RegistryKey THE_END = RegistryKey.unsafeOf("the_end"); + RegistryKey THE_END = RegistryKey.of("the_end"); - RegistryKey THE_VOID = RegistryKey.unsafeOf("the_void"); + RegistryKey THE_VOID = RegistryKey.of("the_void"); - RegistryKey WARM_OCEAN = RegistryKey.unsafeOf("warm_ocean"); + RegistryKey WARM_OCEAN = RegistryKey.of("warm_ocean"); - RegistryKey WARPED_FOREST = RegistryKey.unsafeOf("warped_forest"); + RegistryKey WARPED_FOREST = RegistryKey.of("warped_forest"); - RegistryKey WINDSWEPT_FOREST = RegistryKey.unsafeOf("windswept_forest"); + RegistryKey WINDSWEPT_FOREST = RegistryKey.of("windswept_forest"); - RegistryKey WINDSWEPT_GRAVELLY_HILLS = RegistryKey.unsafeOf("windswept_gravelly_hills"); + RegistryKey WINDSWEPT_GRAVELLY_HILLS = RegistryKey.of("windswept_gravelly_hills"); - RegistryKey WINDSWEPT_HILLS = RegistryKey.unsafeOf("windswept_hills"); + RegistryKey WINDSWEPT_HILLS = RegistryKey.of("windswept_hills"); - RegistryKey WINDSWEPT_SAVANNA = RegistryKey.unsafeOf("windswept_savanna"); + RegistryKey WINDSWEPT_SAVANNA = RegistryKey.of("windswept_savanna"); - RegistryKey WOODED_BADLANDS = RegistryKey.unsafeOf("wooded_badlands"); + RegistryKey WOODED_BADLANDS = RegistryKey.of("wooded_badlands"); } diff --git a/src/autogenerated/java/net/minestom/server/world/clock/ClockTimeMarkers.java b/src/autogenerated/java/net/minestom/server/world/clock/ClockTimeMarkers.java index 1c97a4cda34..8949cdbd247 100644 --- a/src/autogenerated/java/net/minestom/server/world/clock/ClockTimeMarkers.java +++ b/src/autogenerated/java/net/minestom/server/world/clock/ClockTimeMarkers.java @@ -9,17 +9,17 @@ */ @SuppressWarnings("unused") sealed interface ClockTimeMarkers permits ClockTimeMarker { - RegistryKey CLOCK_TIME_MARKER = RegistryKey.unsafeOf("clock_time_marker"); + RegistryKey CLOCK_TIME_MARKER = RegistryKey.of("clock_time_marker"); - RegistryKey DAY = RegistryKey.unsafeOf("day"); + RegistryKey DAY = RegistryKey.of("day"); - RegistryKey MIDNIGHT = RegistryKey.unsafeOf("midnight"); + RegistryKey MIDNIGHT = RegistryKey.of("midnight"); - RegistryKey NIGHT = RegistryKey.unsafeOf("night"); + RegistryKey NIGHT = RegistryKey.of("night"); - RegistryKey NOON = RegistryKey.unsafeOf("noon"); + RegistryKey NOON = RegistryKey.of("noon"); - RegistryKey ROLL_VILLAGE_SIEGE = RegistryKey.unsafeOf("roll_village_siege"); + RegistryKey ROLL_VILLAGE_SIEGE = RegistryKey.of("roll_village_siege"); - RegistryKey WAKE_UP_FROM_SLEEP = RegistryKey.unsafeOf("wake_up_from_sleep"); + RegistryKey WAKE_UP_FROM_SLEEP = RegistryKey.of("wake_up_from_sleep"); } diff --git a/src/autogenerated/java/net/minestom/server/world/clock/WorldClocks.java b/src/autogenerated/java/net/minestom/server/world/clock/WorldClocks.java index a1e3a6e2c8c..18868841beb 100644 --- a/src/autogenerated/java/net/minestom/server/world/clock/WorldClocks.java +++ b/src/autogenerated/java/net/minestom/server/world/clock/WorldClocks.java @@ -9,7 +9,7 @@ */ @SuppressWarnings("unused") sealed interface WorldClocks permits WorldClock { - RegistryKey OVERWORLD = RegistryKey.unsafeOf("overworld"); + RegistryKey OVERWORLD = RegistryKey.of("overworld"); - RegistryKey THE_END = RegistryKey.unsafeOf("the_end"); + RegistryKey THE_END = RegistryKey.of("the_end"); } diff --git a/src/autogenerated/java/net/minestom/server/world/timeline/TimelineTags.java b/src/autogenerated/java/net/minestom/server/world/timeline/TimelineTags.java index 5efc71e2386..1fca062a461 100644 --- a/src/autogenerated/java/net/minestom/server/world/timeline/TimelineTags.java +++ b/src/autogenerated/java/net/minestom/server/world/timeline/TimelineTags.java @@ -11,11 +11,11 @@ @SuppressWarnings("unused") @ApiStatus.NonExtendable public interface TimelineTags { - TagKey IN_END = TagKey.unsafeOf("in_end"); + TagKey IN_END = TagKey.of("in_end"); - TagKey IN_NETHER = TagKey.unsafeOf("in_nether"); + TagKey IN_NETHER = TagKey.of("in_nether"); - TagKey IN_OVERWORLD = TagKey.unsafeOf("in_overworld"); + TagKey IN_OVERWORLD = TagKey.of("in_overworld"); - TagKey UNIVERSAL = TagKey.unsafeOf("universal"); + TagKey UNIVERSAL = TagKey.of("universal"); } diff --git a/src/autogenerated/java/net/minestom/server/world/timeline/Timelines.java b/src/autogenerated/java/net/minestom/server/world/timeline/Timelines.java index 76196d38562..6d7ec0ac1bd 100644 --- a/src/autogenerated/java/net/minestom/server/world/timeline/Timelines.java +++ b/src/autogenerated/java/net/minestom/server/world/timeline/Timelines.java @@ -9,11 +9,11 @@ */ @SuppressWarnings("unused") sealed interface Timelines permits Timeline { - RegistryKey DAY = RegistryKey.unsafeOf("day"); + RegistryKey DAY = RegistryKey.of("day"); - RegistryKey EARLY_GAME = RegistryKey.unsafeOf("early_game"); + RegistryKey EARLY_GAME = RegistryKey.of("early_game"); - RegistryKey MOON = RegistryKey.unsafeOf("moon"); + RegistryKey MOON = RegistryKey.of("moon"); - RegistryKey VILLAGER_SCHEDULE = RegistryKey.unsafeOf("villager_schedule"); + RegistryKey VILLAGER_SCHEDULE = RegistryKey.of("villager_schedule"); } diff --git a/src/main/java/net/minestom/server/adventure/serializer/nbt/NbtComponentSerializer.java b/src/main/java/net/minestom/server/adventure/serializer/nbt/NbtComponentSerializer.java index b80cbe3587c..197ff6c74e1 100644 --- a/src/main/java/net/minestom/server/adventure/serializer/nbt/NbtComponentSerializer.java +++ b/src/main/java/net/minestom/server/adventure/serializer/nbt/NbtComponentSerializer.java @@ -5,9 +5,17 @@ import net.kyori.adventure.text.serializer.ComponentSerializer; import net.minestom.server.registry.Registries; +import java.util.Objects; + public sealed interface NbtComponentSerializer extends ComponentSerializer permits NbtComponentSerializerImpl { - /** Creates a component serializer bound to the supplied registries. */ + /** + * Returns a serializer bound to the given registry context. + * + * @param registries the registry context used to resolve registry references + * @return the serializer + */ static NbtComponentSerializer nbt(Registries registries) { + Objects.requireNonNull(registries, "registries"); return new NbtComponentSerializerImpl(registries); } } diff --git a/src/main/java/net/minestom/server/codec/CodecImpl.java b/src/main/java/net/minestom/server/codec/CodecImpl.java index a82aa088f23..56dd3f8f42d 100644 --- a/src/main/java/net/minestom/server/codec/CodecImpl.java +++ b/src/main/java/net/minestom/server/codec/CodecImpl.java @@ -37,13 +37,16 @@ record RawValueImpl(Transcoder coder, D value) implements Codec.RawValue { RawValueImpl { Objects.requireNonNull(coder, "coder"); Objects.requireNonNull(value, "value"); + // Only the data format matters here. Keeping a proxy would retain its context, such as a registry context + // that is still loading, and make equal values from different contexts compare unequal. + coder = TranscoderProxy.extractDelegate(coder); } @Override @SuppressWarnings("unchecked") public Result convertTo(Transcoder coder) { // If the two transcoders are the same instance, we can immediately return the value. - if (TranscoderProxy.extractDelegate(this.coder) == TranscoderProxy.extractDelegate(coder)) + if (this.coder == TranscoderProxy.extractDelegate(coder)) return new Result.Ok<>((D1) value); return this.coder.convertTo(coder, value); } diff --git a/src/main/java/net/minestom/server/command/builder/arguments/minecraft/ArgumentItemStack.java b/src/main/java/net/minestom/server/command/builder/arguments/minecraft/ArgumentItemStack.java index c1a48d2d0e2..98450fd206b 100644 --- a/src/main/java/net/minestom/server/command/builder/arguments/minecraft/ArgumentItemStack.java +++ b/src/main/java/net/minestom/server/command/builder/arguments/minecraft/ArgumentItemStack.java @@ -80,9 +80,13 @@ public static ItemStack staticParse(String input, Registries registries) throws reader.consume('='); final Result componentValueResult = (Result) component.decode(coder, reader.readTag()); - if (componentValueResult instanceof Result.Error(String message)) - throw new ArgumentSyntaxException(message, input, INVALID_COMPONENT); - components.set((DataComponent) component, componentValueResult.orElseThrow()); + final Object componentValue = switch (componentValueResult) { + case Result.Ok(var value) -> value; + case Result.Error(var message) -> + throw new ArgumentSyntaxException( + "Invalid item component: " + message, input, INVALID_COMPONENT); + }; + components.set((DataComponent) component, componentValue); if (reader.peek() != ']') reader.consume(','); diff --git a/src/main/java/net/minestom/server/entity/EntityType.java b/src/main/java/net/minestom/server/entity/EntityType.java index ac4fa335d6a..7978e2914a8 100644 --- a/src/main/java/net/minestom/server/entity/EntityType.java +++ b/src/main/java/net/minestom/server/entity/EntityType.java @@ -32,7 +32,6 @@ public sealed interface EntityType extends StaticProtocolObject, Ent */ @Deprecated(forRemoval = true) @SuppressWarnings("removal") - @Override @Contract(pure = true) RegistryData.EntityEntry registry(); diff --git a/src/main/java/net/minestom/server/entity/LivingEntity.java b/src/main/java/net/minestom/server/entity/LivingEntity.java index fbf39a3188a..7ef87be110e 100644 --- a/src/main/java/net/minestom/server/entity/LivingEntity.java +++ b/src/main/java/net/minestom/server/entity/LivingEntity.java @@ -356,10 +356,12 @@ public boolean damage(Damage damage) { float remainingDamage = entityDamageEvent.getDamage().getAmount(); if (entityDamageEvent.shouldAnimate()) { + final Entity attacker = damage.getAttacker(); + final Entity source = damage.getSource(); sendPacketToViewersAndSelf(new DamageEventPacket( - getEntityId(), damage.getTypeId(), - damage.getAttacker() == null ? 0 : damage.getAttacker().getEntityId() + 1, - damage.getSource() == null ? 0 : damage.getSource().getEntityId() + 1, + getEntityId(), damage.getType(), + attacker == null ? null : attacker.getEntityId(), + source == null ? null : source.getEntityId(), damage.getSourcePosition() )); } diff --git a/src/main/java/net/minestom/server/entity/VillagerProfession.java b/src/main/java/net/minestom/server/entity/VillagerProfession.java index db365932a4a..bd6fc38f914 100644 --- a/src/main/java/net/minestom/server/entity/VillagerProfession.java +++ b/src/main/java/net/minestom/server/entity/VillagerProfession.java @@ -35,7 +35,6 @@ default int id() { */ @Deprecated(forRemoval = true) @SuppressWarnings("removal") - @Override @Contract(pure = true) RegistryData.VillagerProfessionEntry registry(); diff --git a/src/main/java/net/minestom/server/entity/attribute/Attribute.java b/src/main/java/net/minestom/server/entity/attribute/Attribute.java index efc4549248c..1b4f99cfdc4 100644 --- a/src/main/java/net/minestom/server/entity/attribute/Attribute.java +++ b/src/main/java/net/minestom/server/entity/attribute/Attribute.java @@ -25,7 +25,6 @@ public sealed interface Attribute extends StaticProtocolObject, Attri */ @Deprecated(forRemoval = true) @SuppressWarnings("removal") - @Override @Contract(pure = true) RegistryData.AttributeEntry registry(); @@ -79,15 +78,6 @@ default boolean synced() { return registry().clientSync(); } - /** - * @deprecated use {@link #synced()} - */ - @Deprecated(forRemoval = true) - @Contract(pure = true) - default boolean isSynced() { - return synced(); - } - @Override default String translationKey() { return registry().translationKey(); diff --git a/src/main/java/net/minestom/server/entity/metadata/other/PaintingVariantImpl.java b/src/main/java/net/minestom/server/entity/metadata/other/PaintingVariantImpl.java index 9f2a39330e8..18740cad90f 100644 --- a/src/main/java/net/minestom/server/entity/metadata/other/PaintingVariantImpl.java +++ b/src/main/java/net/minestom/server/entity/metadata/other/PaintingVariantImpl.java @@ -31,7 +31,7 @@ public Either, PaintingVariant> unwrap() { @Override public RegistryKey asKey() { - return RegistryKey.unsafeOf(assetId); + return RegistryKey.of(assetId); } @Override diff --git a/src/main/java/net/minestom/server/game/GameEvent.java b/src/main/java/net/minestom/server/game/GameEvent.java index f1affc97f1f..694d69ff337 100644 --- a/src/main/java/net/minestom/server/game/GameEvent.java +++ b/src/main/java/net/minestom/server/game/GameEvent.java @@ -28,7 +28,6 @@ public sealed interface GameEvent extends StaticProtocolObject, GameE */ @Deprecated(forRemoval = true) @SuppressWarnings("removal") - @Override @Contract(pure = true) @Nullable RegistryData.GameEventEntry registry(); diff --git a/src/main/java/net/minestom/server/instance/Chunk.java b/src/main/java/net/minestom/server/instance/Chunk.java index 36ca5072210..b23c8fb7e41 100644 --- a/src/main/java/net/minestom/server/instance/Chunk.java +++ b/src/main/java/net/minestom/server/instance/Chunk.java @@ -67,7 +67,7 @@ public abstract class Chunk implements Block.Getter, Block.Setter, Biome.Getter, public Chunk(Instance instance, int chunkX, int chunkZ, boolean shouldGenerate) { this.identifier = UUID.randomUUID(); this.instance = instance; - this.tagHandler = TagHandler.newHandler(instance.process().registries()); + this.tagHandler = TagHandler.newHandler(instance.registries()); this.chunkX = chunkX; this.chunkZ = chunkZ; this.shouldGenerate = shouldGenerate; diff --git a/src/main/java/net/minestom/server/instance/Instance.java b/src/main/java/net/minestom/server/instance/Instance.java index f049b1e8562..48bb982151b 100644 --- a/src/main/java/net/minestom/server/instance/Instance.java +++ b/src/main/java/net/minestom/server/instance/Instance.java @@ -158,17 +158,31 @@ public abstract class Instance implements Block.Getter, Block.Setter, Biome.Gett * @param uuid the {@link UUID} of the instance * @param dimensionType the {@link DimensionType} of the instance */ - @SuppressWarnings("this-escape") // deliberate self registration during construction public Instance(ServerProcess process, UUID uuid, RegistryKey dimensionType, Key dimensionName) { - this.process = Objects.requireNonNull(process, - "A ServerProcess is required; use an Instance constructor accepting ServerProcess or process.instanceManager().createInstanceContainer()"); - this.registries = process.registries(); + this(process, process.registries(), uuid, dimensionType, dimensionName); + } + + /** + * Creates an instance with the given registry context and dimension name. + * + * @param process the process owning the instance + * @param registries the registry context used by the instance + * @param uuid the instance ID + * @param dimensionType the dimension type + * @param dimensionName the dimension name sent to clients + * @throws IllegalArgumentException if {@code dimensionType} is not registered in {@code registries} + */ + @SuppressWarnings("this-escape") // deliberate self registration during construction + public Instance(ServerProcess process, Registries registries, UUID uuid, RegistryKey dimensionType, Key dimensionName) { + this.process = Objects.requireNonNull(process, "process"); + this.registries = registries; this.tagHandler = TagHandler.newHandler(registries); this.entityTracker = EntityTracker.newTracker(process); this.uuid = uuid; this.dimensionType = dimensionType; this.cachedDimensionType = registries.dimensionType().get(dimensionType); - Check.argCondition(cachedDimensionType == null, "The dimension " + dimensionType + " is not registered in this process."); + Check.argCondition(cachedDimensionType == null, + "The dimension {0} is not registered in the supplied registry context", dimensionType); this.dimensionName = dimensionName.asString(); this.clocks = new Object2ObjectArrayMap<>(); @@ -186,12 +200,29 @@ public Instance(ServerProcess process, UUID uuid, RegistryKey dim this(process, uuid, dimensionType, dimensionType.key()); } + /** + * Creates an instance whose dimension name is taken from its dimension type. + * + * @param process the process owning the instance + * @param registries the registry context used by the instance + * @param uuid the instance ID + * @param dimensionType the dimension type + * @throws IllegalArgumentException if {@code dimensionType} is not registered in {@code registries} + */ + public Instance(ServerProcess process, Registries registries, UUID uuid, RegistryKey dimensionType) { + this(process, registries, uuid, dimensionType, dimensionType.key()); + } + @Override public final ServerProcess process() { return process; } - /** Gets the registries owned by this instance's process. */ + /** + * Gets the registries used by this instance. + * + * @return the registries + */ public Registries registries() { return registries; } @@ -597,11 +628,10 @@ public WorldBorder getWorldBorder() { */ public void setWorldBorder(WorldBorder worldBorder, double transitionTime) { Check.stateCondition(transitionTime < 0, "Transition time cannot be lower than 0"); - long transitionMilliseconds = (long) (transitionTime * 1000); - sendNewWorldBorderPackets(worldBorder, transitionMilliseconds); + long transitionTicks = (long) (transitionTime * 1000) / Tick.SERVER_TICKS.getDuration().toMillis(); + sendNewWorldBorderPackets(worldBorder, transitionTicks); this.targetBorderDiameter = worldBorder.diameter(); - long transitionTicks = transitionMilliseconds / Tick.SERVER_TICKS.getDuration().toMillis(); remainingWorldBorderTransitionTicks = transitionTicks; if (transitionTicks == 0) this.worldBorder = worldBorder; else this.worldBorder = worldBorder.withDiameter(this.worldBorder.diameter()); @@ -619,14 +649,14 @@ public void setWorldBorder(WorldBorder worldBorder) { * Creates the {@link InitializeWorldBorderPacket} sent to players who join this instance. */ public InitializeWorldBorderPacket createInitializeWorldBorderPacket() { - return worldBorder.createInitializePacket(targetBorderDiameter, remainingWorldBorderTransitionTicks * Tick.SERVER_TICKS.getDuration().toMillis()); + return worldBorder.createInitializePacket(targetBorderDiameter, remainingWorldBorderTransitionTicks); } - private void sendNewWorldBorderPackets(WorldBorder newBorder, long transitionMilliseconds) { + private void sendNewWorldBorderPackets(WorldBorder newBorder, long transitionTicks) { // Only send the relevant border packets if (this.worldBorder.diameter() != newBorder.diameter()) { - if (transitionMilliseconds == 0) sendGroupedPacket(newBorder.createSizePacket()); - else sendGroupedPacket(this.worldBorder.createLerpSizePacket(newBorder.diameter(), transitionMilliseconds)); + if (transitionTicks == 0) sendGroupedPacket(newBorder.createSizePacket()); + else sendGroupedPacket(this.worldBorder.createLerpSizePacket(newBorder.diameter(), transitionTicks)); } if (this.worldBorder.centerX() != newBorder.centerX() || this.worldBorder.centerZ() != newBorder.centerZ()) { sendGroupedPacket(newBorder.createCenterPacket()); diff --git a/src/main/java/net/minestom/server/instance/InstanceContainer.java b/src/main/java/net/minestom/server/instance/InstanceContainer.java index 2825455d955..431c178071b 100644 --- a/src/main/java/net/minestom/server/instance/InstanceContainer.java +++ b/src/main/java/net/minestom/server/instance/InstanceContainer.java @@ -30,6 +30,7 @@ import net.minestom.server.network.packet.server.play.MultiBlockChangePacket; import net.minestom.server.network.packet.server.play.UnloadChunkPacket; import net.minestom.server.network.packet.server.play.WorldEventPacket; +import net.minestom.server.registry.Registries; import net.minestom.server.registry.RegistryKey; import net.minestom.server.utils.PacketSendingUtils; import net.minestom.server.utils.async.AsyncUtils; @@ -101,15 +102,46 @@ public class InstanceContainer extends Instance { protected InstanceContainer srcInstance; // only present if this instance has been created using a copy private volatile long lastBlockChangeTime; // Time at which the last block change happened (#setBlock) + /** + * Creates an instance container using the registries of {@code process}. + * + * @param process the process owning the instance + * @param uuid the instance ID + * @param dimensionType the dimension type + * @param loader the chunk loader, or {@code null} to use the default loader + * @param dimensionName the dimension name sent to clients + */ + public InstanceContainer( + ServerProcess process, + UUID uuid, + RegistryKey dimensionType, + @Nullable ChunkLoader loader, + Key dimensionName + ) { + this(process, process.registries(), uuid, dimensionType, loader, dimensionName); + } + + /** + * Creates an instance container with the given registry context and dimension name. + * + * @param process the process owning the instance + * @param registries the registry context used by the instance + * @param uuid the instance ID + * @param dimensionType the dimension type + * @param loader the chunk loader, or {@code null} to use the default loader + * @param dimensionName the dimension name sent to clients + * @throws IllegalArgumentException if {@code dimensionType} is not registered in {@code registries} + */ @SuppressWarnings("this-escape") // deliberate self registration during construction public InstanceContainer( ServerProcess process, + Registries registries, UUID uuid, RegistryKey dimensionType, @Nullable ChunkLoader loader, Key dimensionName ) { - super(process, uuid, dimensionType, dimensionName); + super(process, registries, uuid, dimensionType, dimensionName); setChunkSupplier(DynamicChunk::new); setChunkLoader(Objects.requireNonNullElse(loader, DEFAULT_LOADER)); this.chunkLoader.loadInstance(this); @@ -121,6 +153,19 @@ public InstanceContainer(ServerProcess process, UUID uuid, RegistryKey dimensionType) { + this(process, registries, uuid, dimensionType, null, dimensionType.key()); + } + @Override public void setBlock(int x, int y, int z, Block block, boolean doBlockUpdates) { Chunk chunk = getChunkAt(x, z); @@ -600,13 +645,13 @@ void removeSharedInstance(SharedInstance sharedInstance) { * Copies all the chunks of this instance and create a new instance container with all of them. *

* Chunks are copied with {@link Chunk#copy(Instance, int, int)}, - * {@link UUID} is randomized and {@link DimensionType} is passed over. + * {@link UUID} is randomized, and the process, registries, {@link DimensionType}, and dimension name are passed over. * * @return an {@link InstanceContainer} with the exact same chunks as 'this' * @see #getSrcInstance() to retrieve the "creation source" of the copied instance */ public synchronized InstanceContainer copy() { - InstanceContainer copiedInstance = new InstanceContainer(process(), UUID.randomUUID(), getDimensionType(), null, Key.key(getDimensionName())); + InstanceContainer copiedInstance = new InstanceContainer(process(), registries(), UUID.randomUUID(), getDimensionType(), null, Key.key(getDimensionName())); copiedInstance.srcInstance = this; copiedInstance.tagHandler = this.tagHandler.copy(); copiedInstance.lastBlockChangeTime = this.lastBlockChangeTime; diff --git a/src/main/java/net/minestom/server/instance/InstanceManager.java b/src/main/java/net/minestom/server/instance/InstanceManager.java index 6ef0112dd16..dd5e83b5182 100644 --- a/src/main/java/net/minestom/server/instance/InstanceManager.java +++ b/src/main/java/net/minestom/server/instance/InstanceManager.java @@ -5,6 +5,7 @@ import net.minestom.server.entity.Player; import net.minestom.server.event.instance.InstanceRegisterEvent; import net.minestom.server.event.instance.InstanceUnregisterEvent; +import net.minestom.server.registry.Registries; import net.minestom.server.registry.RegistryKey; import net.minestom.server.utils.validate.Check; import net.minestom.server.world.DimensionType; @@ -57,11 +58,36 @@ public void registerInstance(Instance instance) { * @return the created {@link InstanceContainer} */ public InstanceContainer createInstanceContainer(RegistryKey dimensionType, @Nullable ChunkLoader loader) { - final InstanceContainer instanceContainer = new InstanceContainer(process, UUID.randomUUID(), dimensionType, loader, dimensionType.key()); + return createInstanceContainer(process.registries(), dimensionType, loader); + } + + /** + * Creates and registers an instance container with the given registry context. + * + * @param registries the registry context used by the instance + * @param dimensionType the dimension type + * @param loader the chunk loader, or {@code null} to use the default loader + * @return the created instance container + * @throws IllegalArgumentException if {@code dimensionType} is not registered in {@code registries} + */ + public InstanceContainer createInstanceContainer(Registries registries, RegistryKey dimensionType, @Nullable ChunkLoader loader) { + final InstanceContainer instanceContainer = new InstanceContainer(process, registries, UUID.randomUUID(), dimensionType, loader, dimensionType.key()); registerInstance(instanceContainer); return instanceContainer; } + /** + * Creates and registers an instance container with the given registry context. + * + * @param registries the registry context used by the instance + * @param dimensionType the dimension type + * @return the created instance container + * @throws IllegalArgumentException if {@code dimensionType} is not registered in {@code registries} + */ + public InstanceContainer createInstanceContainer(Registries registries, RegistryKey dimensionType) { + return createInstanceContainer(registries, dimensionType, null); + } + public InstanceContainer createInstanceContainer(RegistryKey dimensionType) { return createInstanceContainer(dimensionType, null); } diff --git a/src/main/java/net/minestom/server/instance/SharedInstance.java b/src/main/java/net/minestom/server/instance/SharedInstance.java index a0501964d65..0e829b0b7ee 100644 --- a/src/main/java/net/minestom/server/instance/SharedInstance.java +++ b/src/main/java/net/minestom/server/instance/SharedInstance.java @@ -1,5 +1,6 @@ package net.minestom.server.instance; +import net.kyori.adventure.key.Key; import net.minestom.server.coordinate.Point; import net.minestom.server.entity.Player; import net.minestom.server.instance.block.Block; @@ -22,7 +23,8 @@ public class SharedInstance extends Instance { private final InstanceContainer instanceContainer; public SharedInstance(UUID uuid, InstanceContainer instanceContainer) { - super(instanceContainer.process(), uuid, instanceContainer.getDimensionType()); + super(instanceContainer.process(), instanceContainer.registries(), uuid, + instanceContainer.getDimensionType(), Key.key(instanceContainer.getDimensionName())); this.instanceContainer = instanceContainer; } diff --git a/src/main/java/net/minestom/server/instance/WorldBorder.java b/src/main/java/net/minestom/server/instance/WorldBorder.java index 2dc920443cb..4ec3e4cfb86 100644 --- a/src/main/java/net/minestom/server/instance/WorldBorder.java +++ b/src/main/java/net/minestom/server/instance/WorldBorder.java @@ -117,14 +117,14 @@ public boolean inBounds(Entity entity) { * Creates a {@link InitializeWorldBorderPacket} which dictates every property * of the world border. * - * @param targetDiameter the target diameter if there is a current lerp in progress - * @param transitionTime the transition time in milliseconds of the current - * lerp in progress + * @param targetDiameter the target diameter if there is a current lerp in progress + * @param transitionTicks the remaining transition time in ticks of the current + * lerp in progress * @return an {@link InitializeWorldBorderPacket} reflecting the * properties of this border */ - public InitializeWorldBorderPacket createInitializePacket(double targetDiameter, long transitionTime) { - return new InitializeWorldBorderPacket(centerX, centerZ, diameter, targetDiameter, transitionTime, dimensionTeleportBoundary, warningTime, warningDistance); + public InitializeWorldBorderPacket createInitializePacket(double targetDiameter, long transitionTicks) { + return new InitializeWorldBorderPacket(centerX, centerZ, diameter, targetDiameter, transitionTicks, dimensionTeleportBoundary, warningTime, warningDistance); } /** @@ -140,12 +140,12 @@ public WorldBorderCenterPacket createCenterPacket() { * Creates a {@link WorldBorderLerpSizePacket} which lerps the border from its current * diameter to the target diameter over the given transition time. * - * @param targetDiameter the final diameter of the border after this transition - * @param transitionTime the transition time in milliseconds for this lerp + * @param targetDiameter the final diameter of the border after this transition + * @param transitionTicks the transition time in ticks for this lerp * @return the {@link WorldBorderLerpSizePacket} representing this lerp */ - public WorldBorderLerpSizePacket createLerpSizePacket(double targetDiameter, long transitionTime) { - return new WorldBorderLerpSizePacket(diameter, targetDiameter, transitionTime); + public WorldBorderLerpSizePacket createLerpSizePacket(double targetDiameter, long transitionTicks) { + return new WorldBorderLerpSizePacket(diameter, targetDiameter, transitionTicks); } /** diff --git a/src/main/java/net/minestom/server/instance/anvil/AnvilLoader.java b/src/main/java/net/minestom/server/instance/anvil/AnvilLoader.java index 9e8820213f0..b4f72f95d66 100644 --- a/src/main/java/net/minestom/server/instance/anvil/AnvilLoader.java +++ b/src/main/java/net/minestom/server/instance/anvil/AnvilLoader.java @@ -304,7 +304,7 @@ private static int[] loadBiomePalette(DynamicRegistry biomeRegistry, List int[] convertedPalette = new int[length]; for (int i = 0; i < length; i++) { final String name = paletteTag.getString(i); - int biomeId = biomeRegistry.getId(RegistryKey.unsafeOf(name)); + int biomeId = biomeRegistry.getId(RegistryKey.of(name)); if (biomeId == -1) biomeId = biomeRegistry.getId(Biome.PLAINS); convertedPalette[i] = biomeId; } diff --git a/src/main/java/net/minestom/server/instance/block/Block.java b/src/main/java/net/minestom/server/instance/block/Block.java index 99e69b40ad7..797cca97caf 100644 --- a/src/main/java/net/minestom/server/instance/block/Block.java +++ b/src/main/java/net/minestom/server/instance/block/Block.java @@ -243,7 +243,6 @@ default boolean hasNbt() { */ @Deprecated(forRemoval = true) @SuppressWarnings("removal") - @Override @Contract(pure = true) RegistryData.BlockEntry registry(); @@ -272,15 +271,6 @@ default boolean air() { return registry().isAir(); } - /** - * @deprecated use {@link #air()} - */ - @Deprecated(forRemoval = true) - @Contract(pure = true) - default boolean isAir() { - return air(); - } - /** * Returns the vanilla solid-state classification for this block state. *

@@ -295,15 +285,6 @@ default boolean solid() { return registry().isSolid(); } - /** - * @deprecated use {@link #solid()} - */ - @Deprecated(forRemoval = true) - @Contract(pure = true) - default boolean isSolid() { - return solid(); - } - /** * Returns whether vanilla classifies this block state as blocking motion. *

@@ -330,15 +311,6 @@ default boolean liquid() { return registry().isLiquid(); } - /** - * @deprecated use {@link #liquid()} - */ - @Deprecated(forRemoval = true) - @Contract(pure = true) - default boolean isLiquid() { - return liquid(); - } - /** * Returns whether this block state contains a non-empty fluid. *

@@ -352,15 +324,6 @@ default boolean fluid() { return registry().isFluid(); } - /** - * @deprecated use {@link #fluid()} - */ - @Deprecated(forRemoval = true) - @Contract(pure = true) - default boolean isFluid() { - return fluid(); - } - /** * Returns this block state's destroy-time hardness. * diff --git a/src/main/java/net/minestom/server/instance/block/BlockSoundType.java b/src/main/java/net/minestom/server/instance/block/BlockSoundType.java index 5348593febd..fd98ed6724c 100644 --- a/src/main/java/net/minestom/server/instance/block/BlockSoundType.java +++ b/src/main/java/net/minestom/server/instance/block/BlockSoundType.java @@ -25,7 +25,6 @@ public sealed interface BlockSoundType extends StaticProtocolObject, Fluids permit * @return the legacy registry data * @deprecated registry data will no longer be exposed */ - @Override @Deprecated(forRemoval = true) @SuppressWarnings("removal") @Contract(pure = true) diff --git a/src/main/java/net/minestom/server/instance/gamerule/GameRule.java b/src/main/java/net/minestom/server/instance/gamerule/GameRule.java index e7275730fba..a6a4eeed340 100644 --- a/src/main/java/net/minestom/server/instance/gamerule/GameRule.java +++ b/src/main/java/net/minestom/server/instance/gamerule/GameRule.java @@ -2,7 +2,6 @@ import net.minestom.server.registry.Registry; import net.minestom.server.registry.StaticProtocolObject; -import org.jetbrains.annotations.Nullable; /// Bindings for [Game rule](https://minecraft.wiki/w/Game_rule) public sealed interface GameRule extends GameRules, StaticProtocolObject> permits GameRuleImpl { @@ -10,13 +9,5 @@ static Registry> staticRegistry() { return GameRuleImpl.REGISTRY; } - @Deprecated(forRemoval = true) - @SuppressWarnings("removal") - @Override - @Nullable - default Object registry() { - return null; - } - T defaultValue(); } diff --git a/src/main/java/net/minestom/server/inventory/type/EnchantmentTableInventory.java b/src/main/java/net/minestom/server/inventory/type/EnchantmentTableInventory.java index 894f3dee7d6..f425f510d74 100644 --- a/src/main/java/net/minestom/server/inventory/type/EnchantmentTableInventory.java +++ b/src/main/java/net/minestom/server/inventory/type/EnchantmentTableInventory.java @@ -6,22 +6,42 @@ import net.minestom.server.inventory.InventoryProperty; import net.minestom.server.inventory.InventoryType; import net.minestom.server.item.enchant.Enchantment; +import net.minestom.server.registry.Registry; import net.minestom.server.registry.RegistryKey; +import net.minestom.server.utils.validate.Check; import org.jetbrains.annotations.Nullable; +import java.util.EnumMap; +import java.util.Map; +import java.util.Objects; + public class EnchantmentTableInventory extends Inventory { + private final Registry enchantmentRegistry; private final short[] levelRequirements = new short[EnchantmentSlot.values().length]; private short seed; - private final short[] enchantmentShown = new short[EnchantmentSlot.values().length]; + private final Map> enchantmentShown = new EnumMap<>(EnchantmentSlot.class); private final short[] enchantmentLevel = new short[EnchantmentSlot.values().length]; - public EnchantmentTableInventory(ServerProcess process, Component title) { + /** + * Creates an enchantment table inventory that sends displayed enchantments by their ID in + * {@code enchantmentRegistry}. + * + * @param process the process owning the inventory + * @param title the inventory title + * @param enchantmentRegistry the registry that assigns the IDs of displayed enchantments + */ + public EnchantmentTableInventory(ServerProcess process, Component title, Registry enchantmentRegistry) { + this.enchantmentRegistry = Objects.requireNonNull(enchantmentRegistry, "enchantmentRegistry"); super(process, InventoryType.ENCHANTMENT, title); } + public EnchantmentTableInventory(ServerProcess process, Component title) { + this(process, title, process.registries().enchantment()); + } + public EnchantmentTableInventory(ServerProcess process, String title) { - super(process, InventoryType.ENCHANTMENT, title); + this(process, Component.text(title)); } /** @@ -75,27 +95,31 @@ public void setSeed(short seed) { * @return the enchantment shown in the slot, null if it is hidden */ public @Nullable RegistryKey getEnchantmentShown(EnchantmentSlot enchantmentSlot) { - final int id = enchantmentShown[enchantmentSlot.ordinal()]; - if (id == -1) return null; - return process().registries().enchantment().getKey(id); + return enchantmentShown.get(enchantmentSlot); } /** * Sets the enchantment shown in a slot. - *

- * Can be set to null to hide it. * * @param enchantmentSlot the enchantment slot - * @param enchantment the enchantment + * @param enchantment the enchantment, or {@code null} to hide it + * @throws IllegalArgumentException if the enchantment is not registered in this inventory's enchantment registry + * or its ID is too large for an inventory property */ public void setEnchantmentShown(EnchantmentSlot enchantmentSlot, @Nullable RegistryKey enchantment) { - final short id = enchantment == null ? -1 : (short) process().registries().enchantment().getId(enchantment); + final int registryId = enchantment == null ? -1 : enchantmentRegistry.getId(enchantment); + Check.argCondition(enchantment != null && registryId == -1, + "Unknown enchantment {0} for registry {1}", enchantment, enchantmentRegistry.key()); + Check.argCondition(registryId > Short.MAX_VALUE, + "Enchantment id {0} cannot be represented by an inventory property", registryId); + final short id = (short) registryId; switch (enchantmentSlot) { case TOP -> sendProperty(InventoryProperty.ENCHANTMENT_TABLE_ENCH_ID_TOP, id); case MIDDLE -> sendProperty(InventoryProperty.ENCHANTMENT_TABLE_ENCH_ID_MIDDLE, id); case BOTTOM -> sendProperty(InventoryProperty.ENCHANTMENT_TABLE_ENCH_ID_BOTTOM, id); } - this.enchantmentShown[enchantmentSlot.ordinal()] = id; + if (enchantment == null) this.enchantmentShown.remove(enchantmentSlot); + else this.enchantmentShown.put(enchantmentSlot, enchantment); } /** diff --git a/src/main/java/net/minestom/server/item/ItemStackTemplate.java b/src/main/java/net/minestom/server/item/ItemStackTemplate.java index 8fcc299e954..2701c14d6c2 100644 --- a/src/main/java/net/minestom/server/item/ItemStackTemplate.java +++ b/src/main/java/net/minestom/server/item/ItemStackTemplate.java @@ -9,7 +9,7 @@ public interface ItemStackTemplate { NetworkBuffer.Type NETWORK_TYPE = NetworkBufferTemplate.template( Material.NETWORK_TYPE, ItemStack::material, NetworkBuffer.VAR_INT, ItemStack::amount, - DataComponent.PATCH_NETWORK_TYPE, (i) -> ((ItemStackImpl) i).components(), + DataComponent.PATCH_NETWORK_TYPE, ItemStack::componentPatch, ItemStack::of); Codec CODEC = ItemStack.CODEC .orElse(Material.CODEC.transform(ItemStack::of, ItemStack::material)); diff --git a/src/main/java/net/minestom/server/item/Material.java b/src/main/java/net/minestom/server/item/Material.java index a4994164d16..1183987566a 100644 --- a/src/main/java/net/minestom/server/item/Material.java +++ b/src/main/java/net/minestom/server/item/Material.java @@ -30,7 +30,6 @@ public sealed interface Material extends StaticProtocolObject, Materia */ @Deprecated(forRemoval = true) @SuppressWarnings("removal") - @Override @Contract(pure = true) RegistryData.MaterialEntry registry(); @@ -44,15 +43,6 @@ default int id() { return registry().id(); } - /** - * @deprecated use {@code block() != null} - */ - @Deprecated(forRemoval = true) - @Contract(pure = true) - default boolean isBlock() { - return block() != null; - } - /** * Returns the block corresponding to this material. * @@ -84,15 +74,6 @@ default boolean armor() { return registry().isArmor(); } - /** - * @deprecated use {@link #armor()} - */ - @Deprecated(forRemoval = true) - @Contract(pure = true) - default boolean isArmor() { - return armor(); - } - /** * Returns the equipment slot used by this material. * diff --git a/src/main/java/net/minestom/server/item/component/Tool.java b/src/main/java/net/minestom/server/item/component/Tool.java index b0f64572c5a..67a5a222d7e 100644 --- a/src/main/java/net/minestom/server/item/component/Tool.java +++ b/src/main/java/net/minestom/server/item/component/Tool.java @@ -51,16 +51,12 @@ public record Rule(RegistryTag blocks, @Nullable Float speed, @Nullable B } /** - * Tests the first matching rule against the supplied block registry. + * Returns whether this tool is correct for drops from the given block key. * - * @deprecated use {@link #isCorrectForDrops(Registry, RegistryKey)} with {@link Block#registryKey()} + * @param registry the block registry used to resolve rule tags + * @param block the block key to test + * @return whether the first matching rule marks this tool as correct for drops */ - @Deprecated(forRemoval = true) - public boolean isCorrectForDrops(Registry registry, Block block) { - return isCorrectForDrops(registry, block.registryKey()); - } - - /** Tests the first matching rule against the supplied block registry. */ public boolean isCorrectForDrops(Registry registry, RegistryKey block) { for (Rule rule : rules) { if (rule.correctForDrops != null && rule.blocks.contains(registry, block)) { @@ -71,16 +67,12 @@ public boolean isCorrectForDrops(Registry registry, RegistryKey bl } /** - * Returns the first matching rule's speed in the supplied block registry. + * Returns this tool's mining speed for the given block key. * - * @deprecated use {@link #getSpeed(Registry, RegistryKey)} with {@link Block#registryKey()} + * @param registry the block registry used to resolve rule tags + * @param block the block key to test + * @return the first matching rule's speed, or {@link #defaultMiningSpeed()} when none match */ - @Deprecated(forRemoval = true) - public float getSpeed(Registry registry, Block block) { - return getSpeed(registry, block.registryKey()); - } - - /** Returns the first matching rule's speed in the supplied block registry. */ public float getSpeed(Registry registry, RegistryKey block) { for (Rule rule : rules) { if (rule.speed != null && rule.blocks.contains(registry, block)) { diff --git a/src/main/java/net/minestom/server/listener/preplay/LoginListener.java b/src/main/java/net/minestom/server/listener/preplay/LoginListener.java index b7a3fd4aec4..c019b1c98e8 100644 --- a/src/main/java/net/minestom/server/listener/preplay/LoginListener.java +++ b/src/main/java/net/minestom/server/listener/preplay/LoginListener.java @@ -7,6 +7,7 @@ import net.minestom.server.Auth; import net.minestom.server.entity.Player; import net.minestom.server.extras.mojangAuth.MojangCrypt; +import net.minestom.server.network.ConnectionState; import net.minestom.server.network.NetworkBuffer; import net.minestom.server.network.packet.client.configuration.ClientFinishConfigurationPacket; import net.minestom.server.network.packet.client.configuration.ClientSelectKnownPacksPacket; @@ -52,6 +53,7 @@ public final class LoginListener { private static final Component ERROR_MALFORMED_USERNAME = Component.text("Malformed username!", NamedTextColor.RED); private static final Component ENCRYPTION_FAILED = Component.text("Encryption failed!", NamedTextColor.RED); private static final Component ERROR_MOJANG_RESPONSE = Component.text("Failed to contact Mojang's Session Servers (Are they down?)", NamedTextColor.RED); + private static final Component CONFIGURATION_FINISHED_EARLY = Component.text("Configuration finished too early!", NamedTextColor.RED); public static final Component INVALID_PROXY_RESPONSE = Component.text("Invalid proxy response!", NamedTextColor.RED); @@ -247,6 +249,12 @@ public static void selectKnownPacks(ClientSelectKnownPacksPacket packet, Player } public static void finishConfigListener(ClientFinishConfigurationPacket packet, Player player) { + final PlayerConnection connection = player.getPlayerConnection(); + if (connection.getServerState() != ConnectionState.PLAY) { + // The server has not sent its own finish packet yet, so the player has no spawning instance. + connection.kick(CONFIGURATION_FINISHED_EARLY); + return; + } player.process().connectionManager().transitionConfigToPlay(player); } diff --git a/src/main/java/net/minestom/server/network/ComponentNetworkBufferTypeImpl.java b/src/main/java/net/minestom/server/network/ComponentNetworkBufferTypeImpl.java index 2fbacde306f..c40e3aff434 100644 --- a/src/main/java/net/minestom/server/network/ComponentNetworkBufferTypeImpl.java +++ b/src/main/java/net/minestom/server/network/ComponentNetworkBufferTypeImpl.java @@ -12,7 +12,7 @@ import net.kyori.adventure.text.TranslatableComponent; import net.kyori.adventure.text.TranslationArgument; import net.kyori.adventure.text.event.ClickEvent; -import net.kyori.adventure.text.event.DataComponentValueConverterRegistry; +import net.kyori.adventure.text.event.DataComponentValue; import net.kyori.adventure.text.event.HoverEvent; import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.ShadowColor; @@ -29,6 +29,7 @@ import net.minestom.server.dialog.Dialog; import net.minestom.server.registry.Registries; import net.minestom.server.registry.RegistryTranscoder; +import org.jetbrains.annotations.Nullable; import java.util.List; import java.util.Locale; @@ -428,16 +429,14 @@ private static void writeHoverEvent(NetworkBuffer buffer, HoverEvent hoverEve buffer.write(BYTE, TAG_COMPOUND); buffer.write(STRING_IO_UTF8, "components"); for (var entry : value.dataComponents().entrySet()) { - var converted = entry.getValue() instanceof MinestomDataComponentValue nativeValue - ? nativeValue.toNbt(entry.getKey(), buffer.registries()) - : DataComponentValueConverterRegistry.convert(NbtDataComponentValue.class, entry.getKey(), entry.getValue()); - final BinaryTag dataComponentValue = converted.value(); + final Key key = entry.getKey(); + final BinaryTag dataComponentValue = hoverDataComponentValue(buffer, key, entry.getValue()); if (dataComponentValue == null) { buffer.write(BYTE, TAG_COMPOUND); - buffer.write(STRING_IO_UTF8, "!" + entry.getKey().asString()); + buffer.write(STRING_IO_UTF8, "!" + key.asString()); buffer.write(BYTE, TAG_END); } else { - BinaryTagTypeImpl.writeNamed(buffer, entry.getKey().asString(), dataComponentValue); + BinaryTagTypeImpl.writeNamed(buffer, key.asString(), dataComponentValue); } } buffer.write(BYTE, TAG_END); @@ -464,4 +463,13 @@ private static void writeHoverEvent(NetworkBuffer buffer, HoverEvent hoverEve buffer.write(BYTE, TAG_END); } + + private static @Nullable BinaryTag hoverDataComponentValue(NetworkBuffer buffer, Key key, + DataComponentValue value) { + if (value instanceof DataComponentValue.Removed) return null; + if (value instanceof NbtDataComponentValue nbtValue) return nbtValue.value(); + final Registries registries = Objects.requireNonNull(buffer.registries(), + "Registries required to convert hover item data components"); + return MinestomDataComponentValue.from(key, value, registries).toNbt(key, registries).value(); + } } diff --git a/src/main/java/net/minestom/server/network/ConnectionManager.java b/src/main/java/net/minestom/server/network/ConnectionManager.java index 2615c07f5f9..cd1c8243948 100644 --- a/src/main/java/net/minestom/server/network/ConnectionManager.java +++ b/src/main/java/net/minestom/server/network/ConnectionManager.java @@ -63,6 +63,7 @@ public final class ConnectionManager implements ProcessOwned { private static final Component TIMEOUT_TEXT = Component.text("Timeout", NamedTextColor.RED); private static final Component SHUTDOWN_TEXT = Component.text("Server shutting down"); + private static final Component SPAWN_ERROR_TEXT = Component.text("Error during spawn!", NamedTextColor.RED); private final ServerProcess process; private final CachedPacket cachedTagsPacket = new CachedPacket(() -> Registries.tagsPacket(process().registries())); @@ -471,20 +472,25 @@ public void updateWaitingPlayers() { }); this.playWaitingPlayers.drain(player -> { if (!player.isOnline()) return; // Player disconnected while in queued to join - configurationPlayers.remove(player); - playPlayers.add(player); - keepAlivePlayers.add(player); + try { + configurationPlayers.remove(player); + playPlayers.add(player); + keepAlivePlayers.add(player); - // This fixes a bug with Geyser. They do not reply to keep alive during config, meaning that - // `Player#didAnswerKeepAlive()` will always be false when entering the play state, so a new keep - // alive will never be sent and they will disconnect themselves or we will kick them for not replying. - player.refreshAnswerKeepAlive(true); + // This fixes a bug with Geyser. They do not reply to keep alive during config, meaning that + // `Player#didAnswerKeepAlive()` will always be false when entering the play state, so a new keep + // alive will never be sent and they will disconnect themselves or we will kick them for not replying. + player.refreshAnswerKeepAlive(true); - // Spawn the player at Player#getRespawnPoint - CompletableFuture spawnFuture = player.UNSAFE_init(); + // Spawn the player at Player#getRespawnPoint + CompletableFuture spawnFuture = player.UNSAFE_init(); - // Required to get the exact moment the player spawns - if (ServerProperties.INSIDE_TEST.get()) spawnFuture.join(); + // Required to get the exact moment the player spawns + if (ServerProperties.INSIDE_TEST.get()) spawnFuture.join(); + } catch (Throwable t) { + player.kick(SPAWN_ERROR_TEXT); + process.exceptionManager().handleException(t); + } }); } diff --git a/src/main/java/net/minestom/server/network/NetworkBuffer.java b/src/main/java/net/minestom/server/network/NetworkBuffer.java index 4ecec5eb326..de422f0cafd 100644 --- a/src/main/java/net/minestom/server/network/NetworkBuffer.java +++ b/src/main/java/net/minestom/server/network/NetworkBuffer.java @@ -5,6 +5,7 @@ import net.kyori.adventure.nbt.CompoundBinaryTag; import net.kyori.adventure.text.Component; import net.minestom.server.codec.Codec; +import net.minestom.server.codec.StructCodec; import net.minestom.server.coordinate.Point; import net.minestom.server.coordinate.Pos; import net.minestom.server.coordinate.Vec; @@ -16,14 +17,12 @@ import net.minestom.server.utils.Unit; import net.minestom.server.utils.crypto.KeyUtils; import net.minestom.server.utils.validate.Check; -import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.UnknownNullability; +import org.jetbrains.annotations.Unmodifiable; import javax.crypto.Cipher; -import java.io.DataInput; -import java.io.DataOutput; import java.io.IOException; import java.lang.foreign.MemorySegment; import java.nio.channels.ReadableByteChannel; @@ -39,7 +38,48 @@ import java.util.function.Function; import java.util.function.Supplier; import java.util.zip.DataFormatException; - +import java.util.zip.Deflater; +import java.util.zip.Inflater; + +/** + * A mutable byte buffer that reads and writes network protocol data through {@link Type}s. + *

+ * Buffers keep separate read and write indexes. They come in two flavors: + *

    + *
  • Static buffers have no resize strategy, so writes past their capacity fail. They are created with {@link #staticBuffer(long)}.
  • + *
  • Resizable buffers grow when a write needs more room and are created with {@link #resizableBuffer()}.
  • + *
+ * + * Basic Usage: + *
{@code
+ * NetworkBuffer buffer = NetworkBuffer.resizableBuffer();
+ * buffer.write(NetworkBuffer.INT, 42);
+ * buffer.write(NetworkBuffer.STRING, "Hello");
+ *
+ * int value = buffer.read(NetworkBuffer.INT);
+ * String text = buffer.read(NetworkBuffer.STRING);
+ * }
+ * + * Custom Types with Templates: + *
{@code
+ * record MyData(int id, String name) {
+ *     static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template(
+ *             NetworkBuffer.INT, MyData::id,
+ *             NetworkBuffer.STRING, MyData::name,
+ *             MyData::new);
+ * }
+ *
+ * MyData data = new MyData(1, "Test");
+ * byte[] bytes = NetworkBuffer.makeArray(MyData.SERIALIZER, data);
+ * NetworkBuffer buffer = NetworkBuffer.wrap(bytes, 0, bytes.length);
+ * MyData value = buffer.read(MyData.SERIALIZER); // MyData[id=1, name=Test]
+ * }
+ *

+ * Buffers are not thread safe, because they track their read and write indexes. + * + * @see Type for custom types + * @see NetworkBufferTemplate for templating + */ public sealed interface NetworkBuffer permits NetworkBufferImpl { Type UNIT = new NetworkBufferTypeImpl.UnitType(); Type BOOLEAN = new NetworkBufferTypeImpl.BooleanType(); @@ -100,11 +140,27 @@ public sealed interface NetworkBuffer permits NetworkBufferImpl { // Combinators + /** + * Creates a type for the constants of an enum, encoded as a {@link #VAR_INT} of the ordinal. + * Reading an ordinal with no matching constant throws {@link IndexOutOfBoundsException}. + * + * @param enumClass the enum class + * @param the enum type + * @return the enum type + */ static > Type Enum(Class enumClass) { final E[] values = enumClass.getEnumConstants(); return VAR_INT.transform(integer -> values[integer], Enum::ordinal); } + /** + * Creates a type for a set of enum constants, encoded as a {@link #FixedBitSet(int)} with one bit per constant + * in ordinal order. + * + * @param enumClass the enum class + * @param the enum type + * @return the enum set type + */ static > Type> EnumSet(Class enumClass) { final E[] values = enumClass.getEnumConstants(); return new NetworkBufferTypeImpl.EnumSetType<>(enumClass, values); @@ -187,103 +243,422 @@ static Type FixedRawDoubles(int length) { return new NetworkBufferTypeImpl.RawDoublesType(length); } - static Type Lazy(Supplier> supplier) { + /** + * Creates a type that gets its implementation from {@code supplier} on first use. + * The supplier should be thread safe, because first uses from several threads at once can each call it. + * + * @param supplier the supplier of the type + * @param the value type + * @return the lazy type + */ + static Type Lazy(Supplier> supplier) { return new NetworkBufferTypeImpl.LazyType<>(supplier); } - static Type TypedNBT(Codec serializer) { + /** + * Creates a type that encodes values with {@code serializer} as {@link #NBT}, and reads them with {@link #UNTRUSTED_NBT}. + * Reading and writing throw {@link IllegalStateException} when the buffer has no {@link #registries()}, + * and {@link IllegalArgumentException} when the codec fails. + * + * @param serializer the codec for the values + * @param the value type + * @return the NBT type + */ + static Type TypedNBT(Codec serializer) { return new NetworkBufferTypeImpl.TypedNbtType<>(serializer); } + /** + * Creates a type for an {@link Either}, encoded as a {@link #BOOLEAN} that is {@code true} for a left value, + * followed by the value. + * + * @param left the type of left values + * @param right the type of right values + * @param the left type + * @param the right type + * @return the either type + */ static Type> Either(NetworkBuffer.Type left, NetworkBuffer.Type right) { return new NetworkBufferTypeImpl.EitherType<>(left, right); } - static Type Recursive(Function, Type> func) { + /** + * Creates a type that refers to itself, such as a node that contains other nodes. + * {@code func} is called once, right away, with a type that delegates to the type it returns. + * That reference must not read or write before {@code func} returns. + * + * @param func the function that builds the type from a reference to itself + * @param the value type + * @return the type returned by {@code func} + */ + static Type Recursive(Function, ? extends Type> func) { return new NetworkBufferTypeImpl.RecursiveType<>(func).delegate; } - static Type Tagged(Type discriminator, Function discriminatorFromValue, - Map> serializerMap, @Nullable Type fallback) { + /** + * Creates a type for the subtypes of {@code T}, encoded as the discriminator of each value + * followed by the value in the serializer mapped to that discriminator. + * The fallback serializer handles discriminators missing from {@code serializerMap}. Without a fallback, + * reading and writing throw {@link UnsupportedOperationException} for a missing discriminator. + * + * @param discriminator the type of the discriminator + * @param discriminatorFromValue the discriminator of a value + * @param serializerMap the serializer for each discriminator, which this method copies + * @param fallback the serializer for other discriminators, or {@code null} for none + * @param the value type + * @param the discriminator type + * @return the tagged type + * @throws NullPointerException if {@code serializerMap} contains a null key or value + */ + static Type Tagged(Type discriminator, Function discriminatorFromValue, + Map> serializerMap, @Nullable Type fallback) { // Map.copyOf does some trickery with the generic bounds here. return new NetworkBufferTypeImpl.TaggedType<>(discriminator, discriminatorFromValue, Map.copyOf(serializerMap), fallback); } - static Type Tagged(Type discriminator, Function discriminatorFromValue, - Map> serializerMap) { + /** + * Creates a tagged type with no fallback, so reading and writing throw {@link UnsupportedOperationException} + * for a discriminator missing from {@code serializerMap}. + * + * @param discriminator the type of the discriminator + * @param discriminatorFromValue the discriminator of a value + * @param serializerMap the serializer for each discriminator, which this method copies + * @param the value type + * @param the discriminator type + * @return the tagged type + * @throws NullPointerException if {@code serializerMap} contains a null key or value + * @see #Tagged(Type, Function, Map, Type) + */ + static Type Tagged(Type discriminator, Function discriminatorFromValue, + Map> serializerMap) { return Tagged(discriminator, discriminatorFromValue, serializerMap, null); } + /** + * Writes a value at the {@link #writeIndex()} and advances it past the value. + * The buffer is resized first when it needs more room and has a resize strategy. + * + * @param type the type of the value + * @param value the value to write + * @param the value type + * @throws IndexOutOfBoundsException if the value does not fit and the buffer cannot grow + * @throws IllegalArgumentException if this buffer is read-only + */ void write(Type type, T value) throws IndexOutOfBoundsException; + /** + * Reads a value at the {@link #readIndex()} and advances it past the value. + * + * @param type the type of the value + * @param the value type + * @return the value + * @throws IndexOutOfBoundsException if the value extends past the {@link #capacity()} + * @throws IllegalArgumentException if this buffer is a dummy + */ T read(Type type) throws IndexOutOfBoundsException; + /** + * Writes a value at {@code index}, leaving the {@link #writeIndex()} unchanged. + * + * @param index the index to write at + * @param type the type of the value + * @param value the value to write + * @param the value type + * @throws IndexOutOfBoundsException if the value does not fit and the buffer cannot grow + * @throws IllegalArgumentException if this buffer is read-only + */ void writeAt(long index, Type type, T value) throws IndexOutOfBoundsException; + /** + * Reads a value at {@code index}, leaving the {@link #readIndex()} unchanged. + * + * @param index the index to read at + * @param type the type of the value + * @param the value type + * @return the value + * @throws IndexOutOfBoundsException if the value extends past the {@link #capacity()} + * @throws IllegalArgumentException if this buffer is a dummy + */ T readAt(long index, Type type) throws IndexOutOfBoundsException; + /** + * Copies {@code length} bytes starting at {@code srcOffset} into {@code dest}, ignoring the read and write indexes. + * + * @param srcOffset the index of the first byte to copy + * @param dest the destination array + * @param destOffset the index in {@code dest} to copy to + * @param length the number of bytes to copy + * @throws IndexOutOfBoundsException if either range is out of bounds + * @throws IllegalArgumentException if this buffer is a dummy + */ void copyTo(long srcOffset, byte[] dest, int destOffset, int length); + /** + * Copies {@code length} bytes starting at {@code srcOffset} into {@code dest}, ignoring the read and write indexes. + * + * @param srcOffset the index of the first byte to copy + * @param dest the destination segment + * @param destOffset the index in {@code dest} to copy to + * @param length the number of bytes to copy + * @throws IndexOutOfBoundsException if either range is out of bounds + * @throws IllegalArgumentException if this buffer is a dummy, or {@code dest} is read-only + */ void copyTo(long srcOffset, MemorySegment dest, long destOffset, long length); - byte[] extractBytes(Consumer extractor); + /** + * Runs {@code extractor} on this buffer and returns a copy of the bytes it read, + * from the {@link #readIndex()} before the call to the one after it. + * + * @param extractor the reads to capture + * @return the bytes read by {@code extractor} + * @throws IllegalArgumentException if this buffer is a dummy + */ + byte[] extractBytes(Consumer extractor); + /** + * Sets the read and write indexes to 0. The stored bytes are not zeroed. + * + * @return this buffer + */ NetworkBuffer clear(); + /** + * Returns the index of the next byte to write. + * + * @return the write index + */ long writeIndex(); + /** + * Returns the index of the next byte to read. + * + * @return the read index + */ long readIndex(); + /** + * Sets the write index. The index is not validated. + * + * @param writeIndex the new write index + * @return this buffer + */ NetworkBuffer writeIndex(long writeIndex); + /** + * Sets the read index. The index is not validated. + * + * @param readIndex the new read index + * @return this buffer + */ NetworkBuffer readIndex(long readIndex); + /** + * Sets both the read index and the write index. The indexes are not validated. + * + * @param readIndex the new read index + * @param writeIndex the new write index + * @return this buffer + */ NetworkBuffer index(long readIndex, long writeIndex); + /** + * Moves the write index forward by {@code length}. + * + * @param length the number of bytes to advance + * @return the previous write index + */ long advanceWrite(long length); + /** + * Moves the read index forward by {@code length}. + * + * @param length the number of bytes to advance + * @return the previous read index + */ long advanceRead(long length); + /** + * Returns the number of bytes between the read index and the write index, {@code writeIndex() - readIndex()}. + * + * @return the readable bytes + */ long readableBytes(); + /** + * Returns the number of bytes between the write index and the capacity, {@code capacity() - writeIndex()}. + * A buffer with a resize strategy can grow past this. + * + * @return the writable bytes + */ long writableBytes(); + /** + * Returns the size of the memory backing this buffer. A dummy buffer reports {@link Long#MAX_VALUE}. + * + * @return the capacity + */ long capacity(); + /** + * Creates a read-only view of this buffer with the same indexes and registries, and no resize strategy. + * The view shares memory with this buffer until this buffer is resized, after which it keeps the old bytes. + * + * @return the read-only view + * @throws IllegalArgumentException if this buffer is a dummy + */ @Contract(pure = true, value = "-> new") NetworkBuffer readOnly(); + /** + * Returns whether this buffer rejects writes, as the views created by {@link #readOnly()} do. + * + * @return true if this buffer is read-only + */ boolean isReadOnly(); + /** + * Moves the contents of this buffer into new memory of {@code newSize} bytes, keeping the indexes. + * Buffers without a resize strategy can be resized this way too. + * Views created by {@link #readOnly()} or {@link #slice(long, long, long, long)} keep the old memory. + * + * @param newSize the new capacity, which must be greater than the current capacity + * @throws IllegalArgumentException if {@code newSize} is not greater than the current capacity + * @throws IllegalArgumentException if this buffer is read-only or a dummy + */ void resize(long newSize); + /** + * Ensures that at least {@code length} bytes can be written at the {@link #writeIndex()}, + * resizing the buffer with its resize strategy when needed. + * + * @param length the number of bytes, which must not be negative + * @throws IllegalArgumentException if {@code length} is negative, or this buffer is read-only + * @throws IndexOutOfBoundsException if the buffer is too small and has no resize strategy, + * or the strategy returns the current capacity + */ void ensureWritable(long length) throws IndexOutOfBoundsException; + /** + * Ensures that at least {@code length} bytes are readable, as counted by {@link #readableBytes()}. + * + * @param length the number of bytes, which must not be negative + * @throws IllegalArgumentException if {@code length} is negative + * @throws IndexOutOfBoundsException if fewer than {@code length} bytes are readable + */ void ensureReadable(long length) throws IndexOutOfBoundsException; + /** + * Moves the readable bytes to the start of the buffer and lowers both indexes by the old read index. + * The capacity does not change. + * + * @throws IllegalArgumentException if this buffer is read-only or a dummy + */ void compact(); + /** + * Copies {@code length} bytes starting at {@code index} into a new buffer with the given indexes. + * The copy keeps the resize strategy and registries of this buffer. + * + * @param index the index of the first byte to copy + * @param length the number of bytes to copy, which becomes the capacity of the copy + * @param readIndex the read index of the copy + * @param writeIndex the write index of the copy + * @return the new buffer + * @throws IndexOutOfBoundsException if the range is outside the capacity + * @throws IllegalArgumentException if this buffer is a dummy + */ NetworkBuffer copy(long index, long length, long readIndex, long writeIndex); + /** + * Copies {@code length} bytes starting at {@code index} into a new buffer with the current indexes of this buffer. + * + * @param index the index of the first byte to copy + * @param length the number of bytes to copy, which becomes the capacity of the copy + * @return the new buffer + * @throws IndexOutOfBoundsException if the range is outside the capacity + * @throws IllegalArgumentException if this buffer is a dummy + * @see #copy(long, long, long, long) + */ default NetworkBuffer copy(long index, long length) { return copy(index, length, readIndex(), writeIndex()); } + /** + * Reads from {@code channel} into the {@link #writableBytes()} of this buffer and advances the {@link #writeIndex()}. + * The buffer is not resized. + * + * @param channel the channel to read from + * @return the number of bytes read + * @throws IOException if the channel fails or has reached the end of its stream + * @throws IllegalArgumentException if this buffer is a dummy + */ int readChannel(ReadableByteChannel channel) throws IOException; + /** + * Writes the {@link #readableBytes()} of this buffer to {@code channel} and advances the {@link #readIndex()} + * by the number of bytes written. + * + * @param channel the channel to write to + * @return true if every readable byte was written + * @throws IOException if the channel fails + * @throws IllegalArgumentException if this buffer is a dummy + */ boolean writeChannel(WritableByteChannel channel) throws IOException; + /** + * Encrypts or decrypts {@code length} bytes starting at {@code start} in place with {@code cipher}. + * + * @param cipher the cipher to update with the bytes + * @param start the index of the first byte + * @param length the number of bytes + * @throws IllegalArgumentException if this buffer is a dummy + */ void cipher(Cipher cipher, long start, long length); + /** + * Compresses {@code length} bytes starting at {@code start} with a {@link Deflater} into {@code output} + * at its write index, and advances the write index of {@code output}. + * The output is not resized, so it needs enough writable bytes for the compressed data. + * + * @param start the index of the first byte + * @param length the number of bytes + * @param output the buffer to write the compressed bytes to + * @return the number of compressed bytes written + * @throws IllegalArgumentException if either buffer is a dummy, or {@code output} is read-only + */ long compress(long start, long length, NetworkBuffer output); + /** + * Decompresses {@code length} bytes starting at {@code start} with an {@link Inflater} into {@code output} + * at its write index, and advances the write index of {@code output}. The output is not resized. + * + * @param start the index of the first byte + * @param length the number of bytes + * @param output the buffer to write the decompressed bytes to + * @return the number of decompressed bytes written + * @throws DataFormatException if the data is invalid or incomplete, or does not fit in the writable bytes of {@code output} + * @throws IllegalArgumentException if either buffer is a dummy, or {@code output} is read-only + */ long decompress(long start, long length, NetworkBuffer output) throws DataFormatException; /** Configuration used by this buffer and all derived views and copies. */ ServerProperties properties(); + /** + * Returns the registries for types that need them, given when the buffer was created + * or set with {@link #registries(Registries)}. + * + * @return the registries, or {@code null} if there are none + */ @Nullable Registries registries(); + /** + * Sets the registries for types that need them, replacing the ones given when the buffer was created. + * Buffers already created from this one by {@link #readOnly()}, {@link #slice(long, long, long, long)}, + * or {@link #copy(long, long, long, long)} keep their own registries. + * + * @param registries the registries, or {@code null} for none + */ void registries(@Nullable Registries registries); /** @@ -303,79 +678,205 @@ default NetworkBuffer copy(long index, long length) { NetworkBuffer slice(long offset, long byteLength, long readIndex, long writeIndex); /** - * Creates a new {@link IOView} of this buffer. - *
- * Useful to interface with API's that support {@link DataInput} or {@link DataOutput}. + * Reads and writes values of {@code T} in a {@link NetworkBuffer}, so that reading returns the value that was written. + * Unlike {@link StructCodec}, types are always written linearly into a {@link NetworkBuffer}. + * Prefer {@link NetworkBufferTemplate} to build types for records, which keeps both directions in sync. * - * @return the io view. + * @param the value type, which may be nullable */ - @Deprecated(forRemoval = true) // Use NetworkBuffer directly, no DataInput or DataOutput replacement is provided. - @ApiStatus.Experimental - @Contract(pure = true, value = "-> new") - IOView ioView(); - interface Type { + /** + * Writes a value to {@code buffer} at its write index. + * + * @param buffer the buffer to write to + * @param value the value + */ void write(NetworkBuffer buffer, T value); + /** + * Reads a value from {@code buffer} at its read index. + * + * @param buffer the buffer to read from + * @return the value + */ T read(NetworkBuffer buffer); + /** + * Returns the number of bytes that {@link #write(NetworkBuffer, Object)} uses for {@code value}. + * The value is written to a dummy buffer, which counts bytes without storing them and cannot be read. + * Override this method rather than the other {@code sizeOf} overloads, which call it. + * + * @param value the value to measure + * @param registries the registries for types that need them, or {@code null} + * @param properties the configuration of the dummy buffer + * @return the size in bytes + */ default long sizeOf(T value, @Nullable Registries registries, ServerProperties properties) { return NetworkBufferTypeImpl.sizeOf(this, value, registries, properties); } + /** + * Returns the number of bytes that {@link #write(NetworkBuffer, Object)} uses for {@code value}, + * measured with {@link ServerProperties#defaults()}. + * + * @param value the value to measure + * @param registries the registries for types that need them, or {@code null} + * @return the size in bytes + * @see #sizeOf(Object, Registries, ServerProperties) + */ default long sizeOf(T value, @Nullable Registries registries) { return sizeOf(value, registries, ServerProperties.defaults()); } + /** + * Returns the number of bytes that {@link #write(NetworkBuffer, Object)} uses for {@code value}, without registries. + * + * @param value the value to measure + * @return the size in bytes + * @see #sizeOf(Object, Registries) + */ default long sizeOf(T value) { return sizeOf(value, null); } - default Type transform(Function to, Function from) { + /** + * Creates a type that converts between the values of this type and {@code S}. + * + * @param to the function applied to each value read by this type + * @param from the function applied to each value before this type writes it + * @param the converted type + * @return the converted type + */ + default Type transform(Function to, Function from) { return new NetworkBufferTypeImpl.TransformType<>(this, to, from); } - default Type> mapValue(Type valueType, int maxSize) { + /** + * Creates a type for an unmodifiable map with keys of this type, + * encoded as a {@link #VAR_INT} size followed by each key and value. + * Reading throws {@link IllegalArgumentException} when the size is negative or greater than {@code maxSize}, + * or a key repeats. + * + * @param valueType the type of the values + * @param maxSize the largest size accepted when reading + * @param the value type + * @return the map type + */ + default Type<@Unmodifiable @UnknownNullability Map> mapValue(Type valueType, int maxSize) { return new NetworkBufferTypeImpl.MapType<>(this, valueType, maxSize); } - default Type> mapValue(Type valueType) { + /** + * Creates a type for an unmodifiable map with keys of this type, accepting up to {@link Integer#MAX_VALUE} entries. + * Use {@link #mapValue(Type, int)} when the size has a strict upper bound. + * + * @param valueType the type of the values + * @param the value type + * @return the map type + */ + default Type<@Unmodifiable @UnknownNullability Map> mapValue(Type valueType) { return mapValue(valueType, Integer.MAX_VALUE); } - default Type> list(int maxSize) { + /** + * Creates a type for an unmodifiable list of this type, encoded as a {@link #VAR_INT} size followed by each element. + * Writing {@code null} encodes an empty list. Reading throws {@link IllegalArgumentException} + * when the size is negative or greater than {@code maxSize}. + * + * @param maxSize the largest size accepted when reading + * @return the list type + */ + default Type<@Unmodifiable @UnknownNullability List> list(int maxSize) { return new NetworkBufferTypeImpl.ListType<>(this, maxSize); } - default Type> list() { + /** + * Creates a type for an unmodifiable list of this type, accepting up to {@link Integer#MAX_VALUE} elements. + * Use {@link #list(int)} when the size has a strict upper bound. + * + * @return the list type + */ + default Type<@Unmodifiable @UnknownNullability List> list() { return list(Integer.MAX_VALUE); } - default Type> set(int maxSize) { + /** + * Creates a type for an unmodifiable set of this type, encoded as a {@link #VAR_INT} size followed by each element. + * Writing {@code null} encodes an empty set. Reading throws {@link IllegalArgumentException} + * when the size is negative or greater than {@code maxSize}, or an element repeats. + * + * @param maxSize the largest size accepted when reading + * @return the set type + */ + default Type<@Unmodifiable @UnknownNullability Set> set(int maxSize) { return new NetworkBufferTypeImpl.SetType<>(this, maxSize); } - default Type> set() { + /** + * Creates a type for an unmodifiable set of this type, accepting up to {@link Integer#MAX_VALUE} elements. + * Use {@link #set(int)} when the size has a strict upper bound. + * + * @return the set type + */ + default Type<@Unmodifiable @UnknownNullability Set> set() { return set(Integer.MAX_VALUE); } + /** + * Creates a type that also accepts {@code null}, encoded as a {@link #BOOLEAN} that is {@code true} + * when a value of this type follows. + * + * @return the optional type + */ default Type<@Nullable T> optional() { return new NetworkBufferTypeImpl.OptionalType<>(this); } - default Type unionType(Function> serializers, Function keyFunc) { + /** + * Creates a type for the subtypes of {@code R}, such as the permitted types of a sealed interface. + * Each value is encoded as its key in this type, followed by the value in the serializer for that key. + * Reading and writing throw {@link UnsupportedOperationException} when {@code serializers} returns {@code null}. + * + * @param serializers the serializer for the values of each key + * @param keyFunc the key of a value + * @param the union type + * @return the union type + */ + default Type unionType(Function> serializers, Function keyFunc) { return new NetworkBufferTypeImpl.UnionType<>(this, keyFunc, serializers); } + /** + * Creates a type that encodes each value as a {@link #BYTE_ARRAY}, which is a {@link #VAR_INT} length + * followed by the bytes of the value. Reading throws {@link IllegalArgumentException} when the length + * is greater than {@code maxLength} or the readable bytes, or the value does not use exactly that many bytes. + * + * @param maxLength the largest length accepted when reading + * @return the length prefixed type + */ default Type lengthPrefixed(int maxLength) { return new NetworkBufferTypeImpl.LengthPrefixedType<>(this, maxLength); } + /** + * Creates a type that encodes values the same way as this type, but rejects values longer than {@code maxLength} bytes. + * Both throw {@link IllegalArgumentException} for a value that is too long. + * + * @param maxLength the largest encoded size in bytes + * @return the length limited type + */ default Type maxLength(long maxLength) { return new NetworkBufferTypeImpl.MaxLength<>(this, maxLength); } } + /** + * Creates a builder for a buffer with an initial capacity of {@code size} bytes. + * The buffer has no resize strategy and no registries unless the builder sets them. + * + * @param size the initial capacity, which must not be negative + * @return the new builder + */ static Builder builder(long size) { return new NetworkBufferImpl.Builder(size); } @@ -384,10 +885,25 @@ static NetworkBuffer staticBuffer(long size, @Nullable Registries registries, Se return builder(size).registry(registries).properties(properties).build(); } + /** + * Creates a buffer with a capacity of {@code size} bytes and no resize strategy, + * so writes past the capacity throw {@link IndexOutOfBoundsException}. + * + * @param size the capacity + * @param registries the registries for types that need them + * @return the new buffer + */ static NetworkBuffer staticBuffer(long size, Registries registries) { return builder(size).registry(registries).build(); } + /** + * Creates a buffer with a capacity of {@code size} bytes, no resize strategy, and no registries. + * + * @param size the capacity + * @return the new buffer + * @see #staticBuffer(long, Registries) + */ static NetworkBuffer staticBuffer(long size) { return builder(size).build(); } @@ -396,6 +912,13 @@ static NetworkBuffer resizableBuffer(long initialSize, @Nullable Registries regi return builder(initialSize).autoResize(AutoResize.DOUBLE).registry(registries).properties(properties).build(); } + /** + * Creates a buffer with an initial capacity of {@code initialSize} bytes that grows with {@link AutoResize#DOUBLE}. + * + * @param initialSize the initial capacity + * @param registries the registries for types that need them + * @return the new buffer + */ static NetworkBuffer resizableBuffer(long initialSize, Registries registries) { return builder(initialSize) .autoResize(AutoResize.DOUBLE) @@ -403,16 +926,35 @@ static NetworkBuffer resizableBuffer(long initialSize, Registries registries) { .build(); } - static NetworkBuffer resizableBuffer(int initialSize) { + /** + * Creates a buffer with an initial capacity of {@code initialSize} bytes that grows with {@link AutoResize#DOUBLE}, + * and has no registries. + * + * @param initialSize the initial capacity + * @return the new buffer + */ + static NetworkBuffer resizableBuffer(long initialSize) { return builder(initialSize) .autoResize(AutoResize.DOUBLE) .build(); } + /** + * Creates a buffer with an initial capacity of 256 bytes that grows with {@link AutoResize#DOUBLE}. + * + * @param registries the registries for types that need them + * @return the new buffer + */ static NetworkBuffer resizableBuffer(Registries registries) { return resizableBuffer(256, registries); } + /** + * Creates a buffer with an initial capacity of 256 bytes that grows with {@link AutoResize#DOUBLE}, + * and has no registries. + * + * @return the new buffer + */ static NetworkBuffer resizableBuffer() { return resizableBuffer(256); } @@ -422,10 +964,29 @@ static NetworkBuffer wrap(MemorySegment segment, long readIndex, long writeIndex return NetworkBufferImpl.wrap(segment, readIndex, writeIndex, registries, properties); } + /** + * Creates a buffer that reads and writes {@code segment} directly, with no resize strategy. + * Useful when you already have a memory segment. + * + * @param segment the memory to use + * @param readIndex the {@link #readIndex()} + * @param writeIndex the {@link #writeIndex()} + * @param registries the {@link #registries()}, or {@code null} + * @return the new buffer + */ static NetworkBuffer wrap(MemorySegment segment, long readIndex, long writeIndex, @Nullable Registries registries) { return wrap(segment, readIndex, writeIndex, registries, ServerProperties.defaults()); } + /** + * Creates a buffer that reads and writes {@code segment} directly, with no resize strategy and no registries. + * + * @param segment the memory to use + * @param readIndex the {@link #readIndex()} + * @param writeIndex the {@link #writeIndex()} + * @return the new buffer + * @see #wrap(MemorySegment, long, long, Registries) + */ static NetworkBuffer wrap(MemorySegment segment, long readIndex, long writeIndex) { return wrap(segment, readIndex, writeIndex, null); } @@ -435,174 +996,168 @@ static NetworkBuffer wrap(byte[] bytes, int readIndex, int writeIndex, return wrap(MemorySegment.ofArray(bytes), readIndex, writeIndex, registries, properties); } + /** + * Creates a buffer that reads and writes {@code bytes} directly, with no resize strategy. + * Useful when you already have a {@code byte[]}. + * + * @param bytes the array to use + * @param readIndex the {@link #readIndex()} + * @param writeIndex the {@link #writeIndex()} + * @param registries the {@link #registries()}, or {@code null} + * @return the new buffer + */ static NetworkBuffer wrap(byte[] bytes, int readIndex, int writeIndex, @Nullable Registries registries) { return wrap(MemorySegment.ofArray(bytes), readIndex, writeIndex, registries); } + /** + * Creates a buffer that reads and writes {@code bytes} directly, with no resize strategy and no registries. + * + * @param bytes the array to use + * @param readIndex the {@link #readIndex()} + * @param writeIndex the {@link #writeIndex()} + * @return the new buffer + * @see #wrap(byte[], int, int, Registries) + */ static NetworkBuffer wrap(byte[] bytes, int readIndex, int writeIndex) { return wrap(bytes, readIndex, writeIndex, null); } + /** + * Configures and creates buffers, obtained from {@link #builder(long)}. + * A builder can be reused, and each call to {@link #build()} creates a separate buffer. + */ sealed interface Builder permits NetworkBufferImpl.Builder { + /** + * Sets the resize strategy used when a write needs more room than the capacity. + * + * @param autoResize the resize strategy, or {@code null} for a buffer that does not grow + * @return this builder + */ Builder autoResize(@Nullable AutoResize autoResize); + /** + * Sets the registries for types that need them. + * + * @param registries the registries, or {@code null} for none + * @return this builder + */ Builder registry(@Nullable Registries registries); /** Binds configuration without copying it. {@link ServerProperties#defaults()} applies when omitted. */ Builder properties(ServerProperties properties); + /** + * Creates a buffer with the configured capacity, resize strategy, and registries, + * with both indexes at 0. The buffer allocates native memory, which is freed once it is no longer reachable. + * + * @return the new buffer + * @throws IllegalArgumentException if the capacity is negative + */ NetworkBuffer build(); } + /** + * Resize strategy for a {@link NetworkBuffer}, used when a write needs more room than the capacity. + */ @FunctionalInterface interface AutoResize { AutoResize DOUBLE = (capacity, targetSize) -> Math.max(capacity * 2, targetSize); + /** + * Returns the new capacity for a buffer that needs to hold {@code targetSize} bytes. + * + * @param capacity the current capacity + * @param targetSize the write index plus the number of bytes being written + * @return the new capacity, which must be at least {@code targetSize} + */ long resize(long capacity, long targetSize); } - /** - * Self-contained interface - * that extends {@link DataInput} and {@link DataOutput} for mostly reading/writing binary tags. - *
- * You can access the io view of a network buffer with {@link NetworkBuffer#ioView()} - *
- * This interface is separate from {@link NetworkBuffer} - * because we don't want DataInput and DataOutput to be part of the public API. - * You should use {@link NetworkBuffer} instead where possible. - * - * @apiNote You should never rely on the identity of {@link IOView} as it is a value class candidate. - * @implNote This implementation removes checked exceptions as the backing {@link NetworkBuffer} would not throw {@link IOException}'s. - * Also {@link #readLine()} is not implemented as it's already deprecated in {@link java.io.DataInputStream}. - */ - @Deprecated(forRemoval = true) // Use NetworkBuffer directly, no DataInput or DataOutput replacement is provided. - @SuppressWarnings("removal") - @ApiStatus.Experimental - sealed interface IOView extends DataInput, DataOutput permits NetworkBufferImpl.IOView { - - @Deprecated(forRemoval = true) - @Override - @Contract("-> fail") - default String readLine() { - throw new UnsupportedOperationException("Deprecated method readLine() called, not implemented"); - } - - @Override - void readFully(byte[] bytes); - - @Override - void readFully(byte[] bytes, int off, int len); - - @Override - int skipBytes(int n); - - @Override - boolean readBoolean(); - - @Override - byte readByte(); - - @Override - int readUnsignedByte(); - - @Override - short readShort(); - - @Override - int readUnsignedShort(); - - @Override - char readChar(); - - @Override - int readInt(); - - @Override - long readLong(); - - @Override - float readFloat(); - - @Override - double readDouble(); - - @Override - String readUTF(); - - @Override - void write(int lower); - - @Override - void write(byte[] bytes); - - @Override - void write(byte[] bytes, int off, int len); - - @Override - void writeBoolean(boolean value); - - @Override - void writeByte(int value); - - @Override - void writeShort(int value); - - @Override - void writeChar(int value); - - @Override - void writeInt(int value); - - @Override - void writeLong(long value); - - @Override - void writeFloat(float value); - - @Override - void writeDouble(double value); - - @Override - void writeBytes(String value); - - @Override - void writeChars(String value); - - @Override - void writeUTF(String value); - } - - static byte[] makeArray(Consumer writing, @Nullable Registries registries, ServerProperties properties) { + static byte[] makeArray(Consumer writing, @Nullable Registries registries, ServerProperties properties) { NetworkBuffer buffer = resizableBuffer(256, registries, properties); writing.accept(buffer); return buffer.read(RAW_BYTES); } - static byte[] makeArray(Consumer writing, @Nullable Registries registries) { + /** + * Runs {@code writing} on a new resizable buffer and returns the bytes it wrote, in an array of exactly that length. + * + * @param writing the writes to capture + * @param registries the registries for types that need them, or {@code null} + * @return the written bytes + */ + static byte[] makeArray(Consumer writing, @Nullable Registries registries) { return makeArray(writing, registries, ServerProperties.defaults()); } - static byte[] makeArray(Consumer writing) { + /** + * Runs {@code writing} on a new resizable buffer without registries and returns the bytes it wrote. + * + * @param writing the writes to capture + * @return the written bytes + * @see #makeArray(Consumer, Registries) + */ + static byte[] makeArray(Consumer writing) { return makeArray(writing, null); } - static byte[] makeArray(Type type, T value, @Nullable Registries registries, ServerProperties properties) { + static byte[] makeArray(Type type, T value, @Nullable Registries registries, ServerProperties properties) { return makeArray(buffer -> buffer.write(type, value), registries, properties); } - static byte[] makeArray(Type type, T value, @Nullable Registries registries) { + /** + * Encodes {@code value} with {@code type} and returns the bytes, in an array of exactly that length. + * + * @param type the type of the value + * @param value the value to encode + * @param registries the registries for types that need them, or {@code null} + * @param the value type + * @return the encoded bytes + */ + static byte[] makeArray(Type type, T value, @Nullable Registries registries) { return makeArray(buffer -> buffer.write(type, value), registries); } - static byte[] makeArray(Type type, T value) { + /** + * Encodes {@code value} with {@code type} without registries and returns the bytes. + * + * @param type the type of the value + * @param value the value to encode + * @param the value type + * @return the encoded bytes + * @see #makeArray(Type, Object, Registries) + */ + static byte[] makeArray(Type type, T value) { return makeArray(type, value, null); } + /** + * Copies {@code length} bytes from {@code srcBuffer} at {@code srcOffset} to {@code dstBuffer} at {@code dstOffset}, + * ignoring the read and write indexes of both buffers. {@code dstBuffer} is not resized. + * + * @param srcBuffer the buffer to copy from + * @param srcOffset the index of the first byte to copy + * @param dstBuffer the buffer to copy to + * @param dstOffset the index in {@code dstBuffer} to copy to + * @param length the number of bytes to copy + * @throws IndexOutOfBoundsException if either range is outside the capacity of its buffer + * @throws IllegalArgumentException if either buffer is a dummy, or {@code dstBuffer} is read-only + */ static void copy(NetworkBuffer srcBuffer, long srcOffset, NetworkBuffer dstBuffer, long dstOffset, long length) { NetworkBufferImpl.copy(srcBuffer, srcOffset, dstBuffer, dstOffset, length); } + /** + * Checks whether two buffers have the same capacity and the same bytes across it, + * ignoring their read and write indexes. + * + * @param buffer1 the first buffer + * @param buffer2 the second buffer + * @return true if the contents are equal + * @throws IllegalArgumentException if either buffer is a dummy + */ static boolean equals(NetworkBuffer buffer1, NetworkBuffer buffer2) { return NetworkBufferImpl.equals(buffer1, buffer2); } diff --git a/src/main/java/net/minestom/server/network/NetworkBufferImpl.java b/src/main/java/net/minestom/server/network/NetworkBufferImpl.java index cb9b80bfda1..2e2228f7d5d 100644 --- a/src/main/java/net/minestom/server/network/NetworkBufferImpl.java +++ b/src/main/java/net/minestom/server/network/NetworkBufferImpl.java @@ -101,7 +101,7 @@ public void copyTo(long srcOffset, MemorySegment dest, long destOffset, long len } @Override - public byte[] extractBytes(Consumer extractor) { + public byte[] extractBytes(Consumer extractor) { final MemorySegment segment = this.segment; assertDummy(segment); final long startingPosition = readIndex(); @@ -384,13 +384,6 @@ public NetworkBuffer slice(long offset, long byteLength, long readIndex, long wr return new NetworkBufferImpl(slice, readIndex, writeIndex, null, registries, properties); } - @Deprecated(forRemoval = true) - @SuppressWarnings("removal") - @Override - public IOView ioView() { - return new IOView(this); - } - @Override public String toString() { return String.format("NetworkBuffer{r%d|w%d->%d, registries=%s, autoResize=%s, readOnly=%s}", @@ -652,172 +645,4 @@ static NetworkBufferImpl dummy(@Nullable Registries registries, ServerProperties static NetworkBufferImpl impl(NetworkBuffer buffer) { return (NetworkBufferImpl) buffer; } - - // Use a record for final field trusting, hopefully better scalar replacement, to avoid caching IOView - @Deprecated(forRemoval = true) - @SuppressWarnings("removal") - record IOView(NetworkBufferImpl buffer) implements NetworkBuffer.IOView { - @Override - public void readFully(byte[] bytes) { - readFully(bytes, 0, bytes.length); - } - - @Override - public void readFully(byte[] bytes, int off, int len) { - Objects.requireNonNull(bytes, "bytes"); - var buffer = buffer(); - buffer.ensureReadable(len); - buffer.copyTo(buffer.readIndex(), bytes, off, len); - buffer.advanceRead(len); - } - - @Override - public int skipBytes(int n) { - if (n <= 0) return 0; - var buffer = buffer(); - n = (int) Math.min(n, buffer.readableBytes()); - buffer.advanceRead(n); - return n; - } - - @Override - public boolean readBoolean() { - return buffer().read(BOOLEAN); - } - - @Override - public byte readByte() { - return buffer().read(BYTE); - } - - @Override - public int readUnsignedByte() { - return buffer().read(UNSIGNED_BYTE); - } - - @Override - public short readShort() { - return buffer().read(SHORT); - } - - @Override - public int readUnsignedShort() { - return buffer().read(UNSIGNED_SHORT); - } - - @Override - public char readChar() { - return (char) readUnsignedShort(); - } - - @Override - public int readInt() { - return buffer().read(INT); - } - - @Override - public long readLong() { - return buffer().read(LONG); - } - - @Override - public float readFloat() { - return buffer().read(FLOAT); - } - - @Override - public double readDouble() { - return buffer().read(DOUBLE); - } - - @Override - public String readUTF() { - return buffer().read(STRING_IO_UTF8); - } - - @Override - public void write(int lower) { - buffer().write(BYTE, (byte) lower); - } - - @Override - public void write(byte[] bytes) { - Objects.requireNonNull(bytes, "bytes"); - buffer().write(RAW_BYTES, bytes); - } - - @Override - public void write(byte[] bytes, int off, int len) { - Objects.requireNonNull(bytes, "bytes"); - if (len == 0) return; - var buffer = buffer(); - buffer.ensureWritable(len); // Small intrinsic like RAW_BYTES - buffer._putBytes(buffer.writeIndex(), bytes, off, len); - buffer.advanceWrite(len); - } - - @Override - public void writeBoolean(boolean value) { - buffer().write(BOOLEAN, value); - } - - @Override - public void writeByte(int value) { - buffer().write(BYTE, (byte) value); - } - - @Override - public void writeShort(int value) { - buffer().write(UNSIGNED_SHORT, value); - } - - @Override - public void writeChar(int value) { - buffer().write(UNSIGNED_SHORT, value); - } - - @Override - public void writeInt(int value) { - buffer().write(INT, value); - } - - @Override - public void writeLong(long value) { - buffer().write(LONG, value); - } - - @Override - public void writeFloat(float value) { - buffer().write(FLOAT, value); - } - - @Override - public void writeDouble(double value) { - buffer().write(DOUBLE, value); - } - - @Override - public void writeBytes(String value) { - Objects.requireNonNull(value, "value"); - var buffer = buffer(); - for (int i = 0; i < value.length(); i++) { - buffer.write(BYTE, (byte) value.charAt(i)); // Low byte only - } - } - - @Override - public void writeChars(String value) { - Objects.requireNonNull(value, "value"); - var buffer = buffer(); - for (int i = 0; i < value.length(); i++) { - buffer.write(UNSIGNED_SHORT, (int) value.charAt(i)); - } - } - - @Override - public void writeUTF(String value) { - Objects.requireNonNull(value, "value"); - buffer().write(STRING_IO_UTF8, value); - } - } } diff --git a/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java b/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java index 46c50924166..e52cc6113d5 100644 --- a/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java +++ b/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java @@ -20,6 +20,7 @@ import net.minestom.server.utils.json.JsonUtil; import net.minestom.server.utils.validate.Check; import org.jetbrains.annotations.Nullable; +import org.jetbrains.annotations.UnknownNullability; import java.io.DataInputStream; import java.io.UTFDataFormatException; @@ -58,7 +59,7 @@ import static net.minestom.server.network.NetworkBuffer.VAR_LONG; import static net.minestom.server.network.NetworkBufferImpl.impl; -interface NetworkBufferTypeImpl extends NetworkBuffer.Type { +interface NetworkBufferTypeImpl extends NetworkBuffer.Type { int SEGMENT_BITS = 0x7F; int CONTINUE_BIT = 0x80; int MAX_INITIAL_COLLECTION_SIZE = 65_536; @@ -890,13 +891,13 @@ public BitSet read(NetworkBuffer buffer) { record OptionalType(NetworkBuffer.Type parent) implements NetworkBufferTypeImpl<@Nullable T> { @Override - public void write(NetworkBuffer buffer, T value) { + public void write(NetworkBuffer buffer, @Nullable T value) { buffer.write(BOOLEAN, value != null); if (value != null) buffer.write(parent, value); } @Override - public T read(NetworkBuffer buffer) { + public @Nullable T read(NetworkBuffer buffer) { return buffer.read(BOOLEAN) ? buffer.read(parent) : null; } } @@ -941,9 +942,9 @@ public T read(NetworkBuffer buffer) { } } - final class LazyType implements NetworkBufferTypeImpl { + final class LazyType implements NetworkBufferTypeImpl { private final Supplier> supplier; - private NetworkBuffer.Type type; + private @Nullable NetworkBuffer.Type type; public LazyType(Supplier> supplier) { this.supplier = supplier; @@ -958,14 +959,14 @@ public void write(NetworkBuffer buffer, T value) { @Override public T read(NetworkBuffer buffer) { if (type == null) type = supplier.get(); - return null; + return type.read(buffer); } } - final class RecursiveType implements NetworkBufferTypeImpl { + final class RecursiveType implements NetworkBufferTypeImpl { final NetworkBuffer.Type delegate; - public RecursiveType(Function, NetworkBuffer.Type> self) { + public RecursiveType(Function, ? extends NetworkBuffer.Type> self) { Objects.requireNonNull(self, "self"); this.delegate = Objects.requireNonNull(self.apply(this), "delegate"); } @@ -981,7 +982,7 @@ public T read(NetworkBuffer buffer) { } } - record TypedNbtType(Codec nbtType) implements NetworkBufferTypeImpl { + record TypedNbtType(Codec nbtType) implements NetworkBufferTypeImpl { @Override public void write(NetworkBuffer buffer, T value) { final Registries registries = buffer.registries(); @@ -1031,8 +1032,8 @@ public Either read(NetworkBuffer buffer) { } } - record TransformType(NetworkBuffer.Type parent, Function to, - Function from) implements NetworkBufferTypeImpl { + record TransformType(NetworkBuffer.Type parent, Function to, + Function from) implements NetworkBufferTypeImpl { @Override public void write(NetworkBuffer buffer, S value) { parent.write(buffer, from.apply(value)); @@ -1077,9 +1078,9 @@ public Map read(NetworkBuffer buffer) { } } - record ListType(NetworkBuffer.Type parent, int maxSize) implements NetworkBufferTypeImpl> { + record ListType(NetworkBuffer.Type parent, int maxSize) implements NetworkBufferTypeImpl<@UnknownNullability List> { @Override - public void write(NetworkBuffer buffer, List values) { + public void write(NetworkBuffer buffer, @UnknownNullability List values) { if (values == null) { buffer.write(BYTE, (byte) 0); return; @@ -1106,9 +1107,9 @@ public List read(NetworkBuffer buffer) { } } - record SetType(NetworkBuffer.Type parent, int maxSize) implements NetworkBufferTypeImpl> { + record SetType(NetworkBuffer.Type parent, int maxSize) implements NetworkBufferTypeImpl<@UnknownNullability Set> { @Override - public void write(NetworkBuffer buffer, Set values) { + public void write(NetworkBuffer buffer, @UnknownNullability Set values) { if (values == null) { buffer.write(BYTE, (byte) 0); return; @@ -1135,9 +1136,9 @@ public Set read(NetworkBuffer buffer) { } } - record UnionType( - NetworkBuffer.Type keyType, Function keyFunc, - Function> serializers + record UnionType( + NetworkBuffer.Type keyType, Function keyFunc, + Function> serializers ) implements NetworkBufferTypeImpl { @SuppressWarnings("unchecked") @@ -1149,7 +1150,7 @@ public void write(NetworkBuffer buffer, T value) { var serializer = serializers.apply(key); if (serializer == null) throw new UnsupportedOperationException("Unrecognized type: " + key); - serializer.write(buffer, (TR) value); + ((NetworkBuffer.Type) serializer).write(buffer, value); } @Override @@ -1161,7 +1162,7 @@ public T read(NetworkBuffer buffer) { } } - record TaggedType( + record TaggedType( NetworkBuffer.Type discriminatorType, Function discriminatorFromValue, Map> serializerMap, @Nullable NetworkBuffer.Type fallback ) implements NetworkBufferTypeImpl { @@ -1176,7 +1177,8 @@ record TaggedType( public void write(NetworkBuffer buffer, T value) { final D key = discriminatorFromValue.apply(value); buffer.write(discriminatorType, key); - var serializer = serializerMap.getOrDefault(key, fallback); + var serializer = serializerMap.get(key); + if (serializer == null) serializer = fallback; if (serializer == null) throw new UnsupportedOperationException("Unrecognized type: " + key); ((NetworkBuffer.Type) serializer).write(buffer, value); @@ -1185,7 +1187,8 @@ public void write(NetworkBuffer buffer, T value) { @Override public T read(NetworkBuffer buffer) { final D key = buffer.read(discriminatorType); - var serializer = serializerMap.getOrDefault(key, fallback); + var serializer = serializerMap.get(key); + if (serializer == null) serializer = fallback; if (serializer == null) throw new UnsupportedOperationException("Unrecognized type: " + key); return serializer.read(buffer); } diff --git a/src/main/java/net/minestom/server/network/debug/info/DebugGameEventInfo.java b/src/main/java/net/minestom/server/network/debug/info/DebugGameEventInfo.java index cb3f5cd53d0..2b2622f99c6 100644 --- a/src/main/java/net/minestom/server/network/debug/info/DebugGameEventInfo.java +++ b/src/main/java/net/minestom/server/network/debug/info/DebugGameEventInfo.java @@ -8,6 +8,6 @@ public record DebugGameEventInfo(GameEvent event, Point position) { public static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template( GameEvent.NETWORK_TYPE, DebugGameEventInfo::event, - NetworkBuffer.VECTOR3, DebugGameEventInfo::position, + NetworkBuffer.VECTOR3D, DebugGameEventInfo::position, DebugGameEventInfo::new); } diff --git a/src/main/java/net/minestom/server/network/debug/info/DebugHiveInfo.java b/src/main/java/net/minestom/server/network/debug/info/DebugHiveInfo.java index 7b9756e6b8c..3cd89ab5604 100644 --- a/src/main/java/net/minestom/server/network/debug/info/DebugHiveInfo.java +++ b/src/main/java/net/minestom/server/network/debug/info/DebugHiveInfo.java @@ -12,8 +12,8 @@ public record DebugHiveInfo( ) { public static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template( Block.ID_NETWORK_TYPE, DebugHiveInfo::type, - NetworkBuffer.INT, DebugHiveInfo::occupantCount, - NetworkBuffer.INT, DebugHiveInfo::honeyLevel, + NetworkBuffer.VAR_INT, DebugHiveInfo::occupantCount, + NetworkBuffer.VAR_INT, DebugHiveInfo::honeyLevel, NetworkBuffer.BOOLEAN, DebugHiveInfo::sedated, DebugHiveInfo::new); } diff --git a/src/main/java/net/minestom/server/network/debug/info/DebugPoiInfo.java b/src/main/java/net/minestom/server/network/debug/info/DebugPoiInfo.java index 51bc2da41ab..84db7c1d251 100644 --- a/src/main/java/net/minestom/server/network/debug/info/DebugPoiInfo.java +++ b/src/main/java/net/minestom/server/network/debug/info/DebugPoiInfo.java @@ -12,7 +12,7 @@ public record DebugPoiInfo( public static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template( NetworkBuffer.BLOCK_POSITION, DebugPoiInfo::position, Type.SERIALIZER, DebugPoiInfo::type, - NetworkBuffer.INT, DebugPoiInfo::freeTicketCount, + NetworkBuffer.VAR_INT, DebugPoiInfo::freeTicketCount, DebugPoiInfo::new); public enum Type { diff --git a/src/main/java/net/minestom/server/network/packet/client/play/ClientChangeDifficultyPacket.java b/src/main/java/net/minestom/server/network/packet/client/play/ClientChangeDifficultyPacket.java index 7b6ad8c359e..17469e871ae 100644 --- a/src/main/java/net/minestom/server/network/packet/client/play/ClientChangeDifficultyPacket.java +++ b/src/main/java/net/minestom/server/network/packet/client/play/ClientChangeDifficultyPacket.java @@ -5,12 +5,10 @@ import net.minestom.server.network.packet.client.ClientPacket; import net.minestom.server.world.Difficulty; -import static net.minestom.server.network.NetworkBuffer.BOOLEAN; import static net.minestom.server.network.NetworkBuffer.Enum; -public record ClientChangeDifficultyPacket(Difficulty difficulty, boolean locked) implements ClientPacket.Play { +public record ClientChangeDifficultyPacket(Difficulty difficulty) implements ClientPacket.Play { public static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template( Enum(Difficulty.class), ClientChangeDifficultyPacket::difficulty, - BOOLEAN, ClientChangeDifficultyPacket::locked, ClientChangeDifficultyPacket::new); } diff --git a/src/main/java/net/minestom/server/network/packet/client/play/ClientSetBeaconEffectPacket.java b/src/main/java/net/minestom/server/network/packet/client/play/ClientSetBeaconEffectPacket.java index 7f507bd34fb..bce4a3ce675 100644 --- a/src/main/java/net/minestom/server/network/packet/client/play/ClientSetBeaconEffectPacket.java +++ b/src/main/java/net/minestom/server/network/packet/client/play/ClientSetBeaconEffectPacket.java @@ -3,14 +3,14 @@ import net.minestom.server.network.NetworkBuffer; import net.minestom.server.network.NetworkBufferTemplate; import net.minestom.server.network.packet.client.ClientPacket; -import net.minestom.server.potion.PotionType; +import net.minestom.server.potion.PotionEffect; import org.jetbrains.annotations.Nullable; -public record ClientSetBeaconEffectPacket(@Nullable PotionType primaryEffect, - @Nullable PotionType secondaryEffect) implements ClientPacket.Play { +public record ClientSetBeaconEffectPacket(@Nullable PotionEffect primaryEffect, + @Nullable PotionEffect secondaryEffect) implements ClientPacket.Play { public static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template( - PotionType.NETWORK_TYPE.optional(), ClientSetBeaconEffectPacket::primaryEffect, - PotionType.NETWORK_TYPE.optional(), ClientSetBeaconEffectPacket::secondaryEffect, + PotionEffect.NETWORK_TYPE.optional(), ClientSetBeaconEffectPacket::primaryEffect, + PotionEffect.NETWORK_TYPE.optional(), ClientSetBeaconEffectPacket::secondaryEffect, ClientSetBeaconEffectPacket::new ); } diff --git a/src/main/java/net/minestom/server/network/packet/client/play/ClientUpdateStructureBlockPacket.java b/src/main/java/net/minestom/server/network/packet/client/play/ClientUpdateStructureBlockPacket.java index 70ad3f4c2c1..7757e96ec92 100644 --- a/src/main/java/net/minestom/server/network/packet/client/play/ClientUpdateStructureBlockPacket.java +++ b/src/main/java/net/minestom/server/network/packet/client/play/ClientUpdateStructureBlockPacket.java @@ -11,9 +11,9 @@ import static net.minestom.server.network.NetworkBuffer.BYTE; import static net.minestom.server.network.NetworkBuffer.Enum; import static net.minestom.server.network.NetworkBuffer.FLOAT; -import static net.minestom.server.network.NetworkBuffer.LONG; import static net.minestom.server.network.NetworkBuffer.STRING; import static net.minestom.server.network.NetworkBuffer.VAR_INT; +import static net.minestom.server.network.NetworkBuffer.VAR_LONG; import static net.minestom.server.network.NetworkBuffer.VECTOR3B; public record ClientUpdateStructureBlockPacket( @@ -36,7 +36,7 @@ public record ClientUpdateStructureBlockPacket( VAR_INT.transform(ClientUpdateStructureBlockPacket::fromRestrictedRotation, ClientUpdateStructureBlockPacket::toRestrictedRotation), ClientUpdateStructureBlockPacket::rotation, STRING, ClientUpdateStructureBlockPacket::metadata, FLOAT, ClientUpdateStructureBlockPacket::integrity, - LONG, ClientUpdateStructureBlockPacket::seed, + VAR_LONG, ClientUpdateStructureBlockPacket::seed, BYTE, ClientUpdateStructureBlockPacket::flags, ClientUpdateStructureBlockPacket::new ); diff --git a/src/main/java/net/minestom/server/network/packet/server/play/DamageEventPacket.java b/src/main/java/net/minestom/server/network/packet/server/play/DamageEventPacket.java index c771ab9dc82..f658642e423 100644 --- a/src/main/java/net/minestom/server/network/packet/server/play/DamageEventPacket.java +++ b/src/main/java/net/minestom/server/network/packet/server/play/DamageEventPacket.java @@ -1,11 +1,14 @@ package net.minestom.server.network.packet.server.play; import net.minestom.server.coordinate.Point; +import net.minestom.server.entity.damage.DamageType; import net.minestom.server.network.NetworkBuffer; import net.minestom.server.network.NetworkBufferTemplate; import net.minestom.server.network.packet.server.ServerPacket; +import net.minestom.server.registry.RegistryKey; import org.jetbrains.annotations.Nullable; +import static net.minestom.server.network.NetworkBuffer.OPTIONAL_VAR_INT; import static net.minestom.server.network.NetworkBuffer.VAR_INT; import static net.minestom.server.network.NetworkBuffer.VECTOR3D; @@ -13,18 +16,20 @@ * See the Minecraft wiki for more info. * * @param targetEntityId ID of the entity being damaged - * @param damageTypeId ID of damage type - * @param sourceEntityId 0 if there is no source entity, otherwise it is entityId + 1 - * @param sourceDirectId 0 if there is no direct source. For direct attacks (e.g. melee), this is the same as sourceEntityId. For indirect attacks (e.g. projectiles), this is the projectile entity id + 1 + * @param damageType the damage type + * @param sourceEntityId the ID of the entity responsible for the damage, or {@code null} when there is none + * @param sourceDirectId the ID of the entity that directly dealt the damage, such as a projectile, or {@code null} + * when there is none. For a melee hit this is the same as {@code sourceEntityId} * @param sourcePos null if there is no source position, otherwise the position of the source */ -public record DamageEventPacket(int targetEntityId, int damageTypeId, int sourceEntityId, int sourceDirectId, +public record DamageEventPacket(int targetEntityId, RegistryKey damageType, + @Nullable Integer sourceEntityId, @Nullable Integer sourceDirectId, @Nullable Point sourcePos) implements ServerPacket.Play { public static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template( VAR_INT, DamageEventPacket::targetEntityId, - VAR_INT, DamageEventPacket::damageTypeId, - VAR_INT, DamageEventPacket::sourceEntityId, - VAR_INT, DamageEventPacket::sourceDirectId, + DamageType.NETWORK_TYPE, DamageEventPacket::damageType, + OPTIONAL_VAR_INT, DamageEventPacket::sourceEntityId, + OPTIONAL_VAR_INT, DamageEventPacket::sourceDirectId, VECTOR3D.optional(), DamageEventPacket::sourcePos, DamageEventPacket::new); } diff --git a/src/main/java/net/minestom/server/network/packet/server/play/DebugChunkValuePacket.java b/src/main/java/net/minestom/server/network/packet/server/play/DebugChunkValuePacket.java index cf4e3983bd0..a368b25e688 100644 --- a/src/main/java/net/minestom/server/network/packet/server/play/DebugChunkValuePacket.java +++ b/src/main/java/net/minestom/server/network/packet/server/play/DebugChunkValuePacket.java @@ -5,9 +5,11 @@ import net.minestom.server.network.debug.DebugSubscription; import net.minestom.server.network.packet.server.ServerPacket; -public record DebugChunkValuePacket(long chunkPos, DebugSubscription.Update update) implements ServerPacket.Play { +public record DebugChunkValuePacket(int chunkX, int chunkZ, DebugSubscription.Update update) implements ServerPacket.Play { + // The client reads the chunk position as one big endian long with x in the low bits public static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template( - NetworkBuffer.LONG, DebugChunkValuePacket::chunkPos, + NetworkBuffer.INT, DebugChunkValuePacket::chunkZ, + NetworkBuffer.INT, DebugChunkValuePacket::chunkX, DebugSubscription.Update.NETWORK_TYPE, DebugChunkValuePacket::update, - DebugChunkValuePacket::new); + (chunkZ, chunkX, update) -> new DebugChunkValuePacket(chunkX, chunkZ, update)); } diff --git a/src/main/java/net/minestom/server/network/packet/server/play/DeleteChatPacket.java b/src/main/java/net/minestom/server/network/packet/server/play/DeleteChatPacket.java index bd29720dac6..1cf3f0b6c0b 100644 --- a/src/main/java/net/minestom/server/network/packet/server/play/DeleteChatPacket.java +++ b/src/main/java/net/minestom/server/network/packet/server/play/DeleteChatPacket.java @@ -5,9 +5,23 @@ import net.minestom.server.network.NetworkBufferTemplate; import net.minestom.server.network.packet.server.ServerPacket; -public record DeleteChatPacket(MessageSignature signature) implements ServerPacket.Play { +/** + * Removes a signed message from the chat of the client. + * + * @param signature the signature of the message to remove, either in full or as an index into the signature cache of the client + */ +public record DeleteChatPacket(MessageSignature.Packed signature) implements ServerPacket.Play { public static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template( - MessageSignature.SERIALIZER, DeleteChatPacket::signature, + MessageSignature.Packed.SERIALIZER, DeleteChatPacket::signature, DeleteChatPacket::new ); + + /** + * Creates a packet that removes the message with the given full signature. + * + * @param signature the full signature of the message to remove + */ + public DeleteChatPacket(MessageSignature signature) { + this(new MessageSignature.Packed(signature)); + } } diff --git a/src/main/java/net/minestom/server/network/packet/server/play/MoveMinecartPacket.java b/src/main/java/net/minestom/server/network/packet/server/play/MoveMinecartPacket.java index a79879d3388..ebb195d5630 100644 --- a/src/main/java/net/minestom/server/network/packet/server/play/MoveMinecartPacket.java +++ b/src/main/java/net/minestom/server/network/packet/server/play/MoveMinecartPacket.java @@ -26,9 +26,10 @@ public record LerpStep( public static final NetworkBuffer.Type SERIALIZER = NetworkBufferTemplate.template( VECTOR3D, LerpStep::position, VECTOR3D, LerpStep::velocity, - NetworkBuffer.FLOAT, LerpStep::yaw, - NetworkBuffer.FLOAT, LerpStep::pitch, + NetworkBuffer.BYTE, value -> (byte) (value.yaw * 256f / 360f), + NetworkBuffer.BYTE, value -> (byte) (value.pitch * 256f / 360f), NetworkBuffer.FLOAT, LerpStep::weight, - LerpStep::new); + (position, velocity, yaw, pitch, weight) -> new LerpStep(position, velocity, + yaw * 360f / 256f, pitch * 360f / 256f, weight)); } } diff --git a/src/main/java/net/minestom/server/potion/PotionEffect.java b/src/main/java/net/minestom/server/potion/PotionEffect.java index f7387e895f9..a84ecc21a71 100644 --- a/src/main/java/net/minestom/server/potion/PotionEffect.java +++ b/src/main/java/net/minestom/server/potion/PotionEffect.java @@ -26,7 +26,6 @@ public sealed interface PotionEffect extends StaticProtocolObject, */ @Deprecated(forRemoval = true) @SuppressWarnings("removal") - @Override @Contract(pure = true) RegistryData.PotionEffectEntry registry(); diff --git a/src/main/java/net/minestom/server/registry/RegistryCodecs.java b/src/main/java/net/minestom/server/registry/RegistryCodecs.java index 0dfd3d11324..1c4c24a2e8e 100644 --- a/src/main/java/net/minestom/server/registry/RegistryCodecs.java +++ b/src/main/java/net/minestom/server/registry/RegistryCodecs.java @@ -84,7 +84,7 @@ public Result encode(Transcoder coder, @Nullable Holder value) { } } - record TagKeyImpl(Registries.Selector selector, boolean hash) implements Codec> { + record TagKeyImpl(Registries.Selector selector) implements Codec> { TagKeyImpl { Objects.requireNonNull(selector, "selector"); } @@ -97,11 +97,6 @@ public Result> decode(Transcoder coder, D value) { final var result = coder.getString(value); if (!(result instanceof Result.Ok(@Subst("a")String reference))) return result.cast(); - if (hash) { - if (reference.length() < 2 || reference.charAt(0) != '#') - return new Result.Error<>("Invalid tag hash: " + reference); - reference = reference.substring(1); - } final TagKey tagKey = new net.minestom.server.registry.TagKeyImpl<>(Key.key(reference)); if (registry.getTag(tagKey) == null) return new Result.Error<>("Unknown tag " + reference + " for registry " + registry.key()); @@ -113,7 +108,7 @@ public Result encode(Transcoder coder, @Nullable TagKey value) { if (value == null) return new Result.Error<>("null"); if (!(coder instanceof RegistryTranscoder)) return new Result.Error<>("Missing registries in transcoder"); - return new Result.Ok<>(coder.createString(hash ? value.hashedKey() : value.key().asString())); + return new Result.Ok<>(coder.createString(value.key().asString())); } } @@ -135,7 +130,7 @@ public Result> decode(Transcoder coder, D value) { return tag != null ? new Result.Ok<>(RegistryTag.reference(tagKey)) : new Result.Error<>("Unknown tag " + tagKey + " for registry " + registry.key()); } - return new Result.Ok<>(RegistryTag.direct(RegistryKey.unsafeOf(tagKeyStr))); + return new Result.Ok<>(RegistryTag.direct(RegistryKey.of(tagKeyStr))); } final Result> entriesResult = coder.getList(value); if (entriesResult instanceof Result.Ok(List entries)) { @@ -144,7 +139,7 @@ public Result> decode(Transcoder coder, D value) { final Result keyResult = coder.getString(entry); if (!(keyResult instanceof Result.Ok(@Subst("a")String key))) return keyResult.mapError(e -> "Invalid tag entry: " + e).cast(); - final RegistryKey registryKey = registry != null ? registry.getKey(Key.key(key)) : RegistryKey.unsafeOf(key); + final RegistryKey registryKey = registry != null ? registry.getKey(Key.key(key)) : RegistryKey.of(key); if (registryKey == null) return new Result.Error<>("Unknown key " + key + " for registry " + registry.key()); keys.add(registryKey); diff --git a/src/main/java/net/minestom/server/registry/RegistryData.java b/src/main/java/net/minestom/server/registry/RegistryData.java index dd107d9c30f..02f029a7c2e 100644 --- a/src/main/java/net/minestom/server/registry/RegistryData.java +++ b/src/main/java/net/minestom/server/registry/RegistryData.java @@ -197,7 +197,7 @@ private static void getTagValues(RegistryTagImpl.Backed tag, Properties m if (tagString.startsWith("#")) { getTagValues(tag, main, tagString.substring(1)); } else { - tag.add(RegistryKey.unsafeOf(tagString)); + tag.add(RegistryKey.of(tagString)); } }); } diff --git a/src/main/java/net/minestom/server/registry/RegistryKey.java b/src/main/java/net/minestom/server/registry/RegistryKey.java index ed0aa04f3fa..e8075c177e1 100644 --- a/src/main/java/net/minestom/server/registry/RegistryKey.java +++ b/src/main/java/net/minestom/server/registry/RegistryKey.java @@ -1,6 +1,7 @@ package net.minestom.server.registry; import net.kyori.adventure.key.Key; +import net.kyori.adventure.key.KeyPattern; import net.kyori.adventure.key.Keyed; import net.minestom.server.codec.Codec; import net.minestom.server.network.NetworkBuffer; @@ -31,20 +32,29 @@ static Codec> uncheckedCodec() { } /** - * Creates a new {@link RegistryKey} from the given raw string. Should not be used externally. - * Registry keys are returned from {@link DynamicRegistry#register(Key, Object)}. + * Creates a typed key from a string. The key syntax is validated, registry membership is not. A key is only a + * typed name: the same key can name a registered entry in one registry and nothing in another. Lookups with a + * key that has no entry return {@code null} or {@code -1}. + * + * @param key the entry key + * @param the registry entry type + * @return the typed registry key + * @throws IllegalArgumentException if {@code key} is not valid + * @throws NullPointerException if {@code key} is {@code null} */ - @ApiStatus.Internal - static RegistryKey unsafeOf(String key) { - return unsafeOf(Key.key(key)); + static RegistryKey of(@KeyPattern String key) { + return of(Key.key(key)); } /** - * Creates a new {@link RegistryKey} from the given raw string. Should not be used externally. - * Registry keys are returned from {@link DynamicRegistry#register(Key, Object)}. + * Creates a typed key without checking registry membership. See {@link #of(String)}. + * + * @param key the entry key + * @param the registry entry type + * @return the typed registry key + * @throws NullPointerException if {@code key} is {@code null} */ - @ApiStatus.Internal - static RegistryKey unsafeOf(Key key) { + static RegistryKey of(Key key) { return new RegistryKeyImpl<>(key); } diff --git a/src/main/java/net/minestom/server/registry/RegistryNetworkTypes.java b/src/main/java/net/minestom/server/registry/RegistryNetworkTypes.java index f088aaf5eae..ffd8bbc6ee9 100644 --- a/src/main/java/net/minestom/server/registry/RegistryNetworkTypes.java +++ b/src/main/java/net/minestom/server/registry/RegistryNetworkTypes.java @@ -99,7 +99,7 @@ public RegistryTag read(NetworkBuffer buffer) { final var key = buffer.read(NetworkBuffer.KEY); final var tag = registry.getTag(key); Check.stateCondition(tag == null, "No such tag {0} for registry {1}", key, registry.key()); - return RegistryTag.reference(TagKey.unsafeOf(key)); + return RegistryTag.reference(TagKey.of(key)); } else if (encodedCount == 1) { return RegistryTag.empty(); } else { diff --git a/src/main/java/net/minestom/server/registry/StaticProtocolObject.java b/src/main/java/net/minestom/server/registry/StaticProtocolObject.java index 618c3ef5f9a..88f712fcebd 100644 --- a/src/main/java/net/minestom/server/registry/StaticProtocolObject.java +++ b/src/main/java/net/minestom/server/registry/StaticProtocolObject.java @@ -3,7 +3,6 @@ import net.kyori.adventure.key.Key; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.Contract; -import org.jetbrains.annotations.Nullable; /** * Represents a value from a static protocol registry. @@ -38,16 +37,4 @@ default RegistryKey registryKey() { @Contract(pure = true) int id(); - - /** - * Returns the legacy registry data backing this object. - * - * @return the legacy registry data, or {@code null} when none is exposed - * @deprecated registry values are exposed directly by each protocol object - */ - @Deprecated(forRemoval = true) - @Contract(pure = true) - default @Nullable Object registry() { - return null; - } } diff --git a/src/main/java/net/minestom/server/registry/TagKey.java b/src/main/java/net/minestom/server/registry/TagKey.java index 0c4254983d6..48da9fe4730 100644 --- a/src/main/java/net/minestom/server/registry/TagKey.java +++ b/src/main/java/net/minestom/server/registry/TagKey.java @@ -5,25 +5,10 @@ import net.kyori.adventure.key.Keyed; import net.minestom.server.codec.Codec; import net.minestom.server.network.NetworkBuffer; -import org.jetbrains.annotations.ApiStatus; public sealed interface TagKey extends Keyed permits TagKeyImpl { static Codec> codec(Registries.Selector selector) { - return new RegistryCodecs.TagKeyImpl<>(selector, false); - } - - /** - * Creates a codec encoding the tag key in the hashed {@code #namespace:value} form. - * - * @param selector selects the owning registry - * @param the registry entry type - * @return the hashed tag key codec - * @deprecated no longer used by any component; vanilla encodes tag valued components as holder - * sets, see {@link RegistryTag#codec(Registries.Selector)} - */ - @Deprecated(forRemoval = true) - static Codec> hashCodec(Registries.Selector selector) { - return new RegistryCodecs.TagKeyImpl<>(selector, true); + return new RegistryCodecs.TagKeyImpl<>(selector); } static NetworkBuffer.Type> networkType(Registries.Selector selector) { @@ -37,18 +22,28 @@ static TagKey ofHash(String hashedKey) { } /** - * Creates a tag key from an unhashed key. Should not be used externally. + * Creates a tag key from an unhashed string. The key syntax is validated, tag existence is not. A tag key is only + * a typed name. Looking up a tag that does not exist returns {@code null}. + * + * @param key the tag key without a leading {@code #} + * @param the registry entry type + * @return the tag key + * @throws IllegalArgumentException if {@code key} is invalid + * @throws NullPointerException if {@code key} is {@code null} */ - @ApiStatus.Internal - static TagKey unsafeOf(@KeyPattern String key) { - return unsafeOf(Key.key(key)); + static TagKey of(@KeyPattern String key) { + return of(Key.key(key)); } /** - * Creates a tag key from an unhashed key. Should not be used externally. + * Creates a tag key from an unhashed key without checking that the tag exists. See {@link #of(String)}. + * + * @param key the tag key + * @param the registry entry type + * @return the tag key + * @throws NullPointerException if {@code key} is {@code null} */ - @ApiStatus.Internal - static TagKey unsafeOf(Key key) { + static TagKey of(Key key) { return new TagKeyImpl<>(key); } diff --git a/src/main/java/net/minestom/server/statistic/PlayerStatistic.java b/src/main/java/net/minestom/server/statistic/PlayerStatistic.java index e38af667a29..aaf1983b355 100644 --- a/src/main/java/net/minestom/server/statistic/PlayerStatistic.java +++ b/src/main/java/net/minestom/server/statistic/PlayerStatistic.java @@ -2,6 +2,8 @@ import net.minestom.server.entity.Player; +import java.util.Objects; + /** * Represents a single statistic in the "statistics" game menu. *

@@ -27,4 +29,15 @@ public StatisticCategory getCategory() { public int getStatisticId() { return statisticId; } + + @Override + public boolean equals(Object o) { + if (!(o instanceof PlayerStatistic that)) return false; + return statisticId == that.statisticId && category == that.category; + } + + @Override + public int hashCode() { + return Objects.hash(category, statisticId); + } } diff --git a/src/main/java/net/minestom/server/world/clock/ClockTimeMarker.java b/src/main/java/net/minestom/server/world/clock/ClockTimeMarker.java index 9d26afabd73..f22fa1201e9 100644 --- a/src/main/java/net/minestom/server/world/clock/ClockTimeMarker.java +++ b/src/main/java/net/minestom/server/world/clock/ClockTimeMarker.java @@ -15,7 +15,7 @@ static ClockTimeMarker create(RegistryKey clock, int ticks, @Nullabl } static RegistryKey key(Key key) { - return RegistryKey.unsafeOf(key); + return RegistryKey.of(key); } RegistryKey clock(); diff --git a/src/test/java/net/minestom/server/adventure/ProcessGameplayOwnershipTest.java b/src/test/java/net/minestom/server/adventure/ProcessGameplayOwnershipTest.java index 58173864096..8fc075fe4d1 100644 --- a/src/test/java/net/minestom/server/adventure/ProcessGameplayOwnershipTest.java +++ b/src/test/java/net/minestom/server/adventure/ProcessGameplayOwnershipTest.java @@ -331,7 +331,7 @@ void inventoryEventsEnchantmentsAndDamageUseOwnedRegistries() { assertEquals(Component.translatable("death.attack.second"), damage.buildDeathScreenText(second)); var damagePackets = bc.trackIncoming(DamageEventPacket.class); assertTrue(second.damage(damage)); - damagePackets.assertSingle(packet -> assertEquals(damage.getTypeId(), packet.damageTypeId())); + damagePackets.assertSingle(packet -> assertEquals(secondType, packet.damageType())); assertThrows(IllegalArgumentException.class, () -> first.damage(damage)); } } diff --git a/src/test/java/net/minestom/server/codec/CodecTest.java b/src/test/java/net/minestom/server/codec/CodecTest.java index 2d493ecd86e..f3428eccddb 100644 --- a/src/test/java/net/minestom/server/codec/CodecTest.java +++ b/src/test/java/net/minestom/server/codec/CodecTest.java @@ -1,5 +1,6 @@ package net.minestom.server.codec; +import net.kyori.adventure.nbt.BinaryTag; import net.kyori.adventure.nbt.ListBinaryTag; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -114,6 +115,16 @@ void listOrSingleSingleValueAsSingle() { assertEquals(intBinaryTag(42), value); } + @Test + void rawValueDoesNotKeepTranscoderProxy() { + final TranscoderProxy proxy = () -> Transcoder.NBT; + final Codec.RawValue proxied = Codec.RAW_VALUE.decode(proxy, intBinaryTag(42)).orElseThrow(); + final Codec.RawValue direct = Codec.RAW_VALUE.decode(Transcoder.NBT, intBinaryTag(42)).orElseThrow(); + assertEquals(direct, proxied); + assertEquals(direct.hashCode(), proxied.hashCode()); + assertEquals(intBinaryTag(42), proxied.convertTo(Transcoder.NBT).orElseThrow()); + } + @Test void listOrSingleMultiValueAsList() { var codec = Codec.INT.listOrSingle(); diff --git a/src/test/java/net/minestom/server/command/ArgumentTypeTest.java b/src/test/java/net/minestom/server/command/ArgumentTypeTest.java index 4c3d74bfe18..2c92dc3a2a4 100644 --- a/src/test/java/net/minestom/server/command/ArgumentTypeTest.java +++ b/src/test/java/net/minestom/server/command/ArgumentTypeTest.java @@ -184,6 +184,7 @@ public void testArgumentItemStack() { assertArg(arg, ItemStack.of(Material.GLASS_PANE).with(DataComponents.REPAIR_COST, 5).withTag(Tag.String("tag"), "value"), "glass_pane[repair_cost=5]{tag:value}"); assertArg(arg, ItemStack.of(Material.GLASS_PANE).with(DataComponents.REPAIR_COST, 5).with(DataComponents.CUSTOM_DATA, new CustomData(CompoundBinaryTag.builder().putInt("hi", 232).build())).withTag(Tag.String("tag"), "value"), "glass_pane[repair_cost=5,minecraft:custom_data={hi:232}]{tag:value}"); + assertInvalidArg(arg, "glass_pane[damage_type=\"minestom:missing\"]"); } @Test diff --git a/src/test/java/net/minestom/server/instance/InstanceContainerTest.java b/src/test/java/net/minestom/server/instance/InstanceContainerTest.java index a8c501360b0..7ee84087be9 100644 --- a/src/test/java/net/minestom/server/instance/InstanceContainerTest.java +++ b/src/test/java/net/minestom/server/instance/InstanceContainerTest.java @@ -1,6 +1,8 @@ package net.minestom.server.instance; +import net.kyori.adventure.key.Key; import net.minestom.server.ServerProcess; +import net.minestom.server.registry.Registries; import net.minestom.server.tag.Tag; import net.minestom.server.world.DimensionType; import org.junit.jupiter.api.AfterAll; @@ -10,6 +12,9 @@ import java.util.UUID; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertSame; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; @TestInstance(TestInstance.Lifecycle.PER_CLASS) public class InstanceContainerTest { @@ -30,4 +35,46 @@ public void copyPreservesTag() { var result = copyInstance.getTag(tag); assertEquals("123", result); } + + @Test + public void derivedInstancesPreserveProcessAndDimensionName() { + final Key dimensionName = Key.key("minestom:derived"); + final InstanceContainer instance = new InstanceContainer( + process, UUID.randomUUID(), + DimensionType.OVERWORLD, null, dimensionName); + + final InstanceContainer copy = instance.copy(); + final SharedInstance shared = new SharedInstance(UUID.randomUUID(), instance); + + assertSame(process, copy.process()); + assertSame(process, shared.process()); + assertSame(process.registries(), copy.registries()); + assertSame(process.registries(), shared.registries()); + assertEquals(dimensionName.asString(), copy.getDimensionName()); + assertEquals(dimensionName.asString(), shared.getDimensionName()); + } + + @Test + public void explicitRegistriesAreUsedAndPreserved() { + final Key dimensionName = Key.key("minestom:explicit"); + final Registries registries = Registries.vanilla(); + final var dimension = registries.dimensionType().register("test:explicit", DimensionType.builder().ambientLight(0.7f).build()); + + assertThrows(IllegalArgumentException.class, () -> new InstanceContainer(process, UUID.randomUUID(), dimension)); + + final InstanceContainer instance = new InstanceContainer(process, registries, UUID.randomUUID(), dimension, null, dimensionName); + final InstanceContainer copy = instance.copy(); + final SharedInstance shared = new SharedInstance(UUID.randomUUID(), instance); + final InstanceContainer managed = process.instanceManager().createInstanceContainer(registries, dimension); + + for (Instance derived : new Instance[]{instance, copy, shared, managed}) { + assertSame(process, derived.process()); + assertSame(registries, derived.registries()); + assertSame(registries.dimensionType().get(dimension), derived.getCachedDimensionType()); + } + assertSame(registries, instance.loadChunk(0, 0).join().tagRegistries()); + assertEquals(dimensionName.asString(), copy.getDimensionName()); + assertEquals(dimensionName.asString(), shared.getDimensionName()); + assertTrue(process.instanceManager().getInstances().contains(managed)); + } } diff --git a/src/test/java/net/minestom/server/instance/WorldBorderIntegrationTest.java b/src/test/java/net/minestom/server/instance/WorldBorderIntegrationTest.java index 52bab2c2f69..8cffbc12912 100644 --- a/src/test/java/net/minestom/server/instance/WorldBorderIntegrationTest.java +++ b/src/test/java/net/minestom/server/instance/WorldBorderIntegrationTest.java @@ -4,6 +4,8 @@ import net.minestom.server.coordinate.Vec; import net.minestom.server.entity.Entity; import net.minestom.server.entity.EntityType; +import net.minestom.server.network.packet.server.play.WorldBorderLerpSizePacket; +import net.minestom.server.utils.time.Tick; import net.minestom.testing.Env; import net.minestom.testing.EnvTest; import org.junit.jupiter.api.Test; @@ -55,6 +57,23 @@ public void resizeWorldBorder(Env env) { } } + @Test + public void transitionTimeIsSentInTicks(Env env) { + Instance instance = env.createFlatInstance(); + var connection = env.createConnection(); + connection.connect(instance, new Pos(0, 42, 0)); + + final long ticksPerSecond = 1000 / Tick.SERVER_TICKS.getDuration().toMillis(); + WorldBorder border = instance.getWorldBorder(); + instance.setWorldBorder(border.withDiameter(30)); + var lerp = connection.trackIncoming(WorldBorderLerpSizePacket.class); + instance.setWorldBorder(border.withDiameter(10), 1); + lerp.assertSingle(packet -> assertEquals(ticksPerSecond, packet.speed())); + + for (int i = 0; i < 5; i++) instance.tick(0); + assertEquals(ticksPerSecond - 5, instance.createInitializeWorldBorderPacket().speed()); + } + @Test public void invalidArguments(Env env) { Instance instance = env.createFlatInstance(); diff --git a/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryTest.java b/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryTest.java new file mode 100644 index 00000000000..a70f4e7a85b --- /dev/null +++ b/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryTest.java @@ -0,0 +1,61 @@ +package net.minestom.server.inventory.type; + +import net.kyori.adventure.text.Component; +import net.minestom.server.ServerProcess; +import net.minestom.server.item.enchant.Enchantment; +import net.minestom.server.registry.Registries; +import net.minestom.server.registry.RegistryKey; +import org.junit.jupiter.api.AfterAll; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.TestInstance; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertThrows; + +@TestInstance(TestInstance.Lifecycle.PER_CLASS) +class EnchantmentTableInventoryTest { + private final ServerProcess process = ServerProcess.create(); + + @AfterAll + void closeProcess() { + process.close(); + } + + @Test + void displayedEnchantmentRoundTrips() { + final var inventory = new EnchantmentTableInventory(process, Component.text("Enchant")); + assertNull(inventory.getEnchantmentShown(EnchantmentTableInventory.EnchantmentSlot.MIDDLE)); + + inventory.setEnchantmentShown(EnchantmentTableInventory.EnchantmentSlot.MIDDLE, Enchantment.SHARPNESS); + assertEquals(Enchantment.SHARPNESS, + inventory.getEnchantmentShown(EnchantmentTableInventory.EnchantmentSlot.MIDDLE)); + + inventory.setEnchantmentShown(EnchantmentTableInventory.EnchantmentSlot.MIDDLE, null); + assertNull(inventory.getEnchantmentShown(EnchantmentTableInventory.EnchantmentSlot.MIDDLE)); + } + + @Test + void unknownEnchantmentIsRejected() { + final var inventory = new EnchantmentTableInventory(process, Component.text("Enchant")); + final RegistryKey unknown = RegistryKey.of("minestom:unknown_enchantment"); + + assertThrows(IllegalArgumentException.class, () -> + inventory.setEnchantmentShown(EnchantmentTableInventory.EnchantmentSlot.MIDDLE, unknown)); + } + + @Test + void explicitRegistryDeterminesKnownEnchantments() { + final Registries registries = Registries.vanilla(); + final RegistryKey custom = registries.enchantment() + .register("test:explicit", registries.enchantment().get(Enchantment.SHARPNESS)); + final var slot = EnchantmentTableInventory.EnchantmentSlot.TOP; + + final var defaultInventory = new EnchantmentTableInventory(process, Component.text("Enchant")); + assertThrows(IllegalArgumentException.class, () -> defaultInventory.setEnchantmentShown(slot, custom)); + + final var inventory = new EnchantmentTableInventory(process, Component.text("Enchant"), registries.enchantment()); + inventory.setEnchantmentShown(slot, custom); + assertEquals(custom, inventory.getEnchantmentShown(slot)); + } +} diff --git a/src/test/java/net/minestom/server/item/component/BlockPredicatesTest.java b/src/test/java/net/minestom/server/item/component/BlockPredicatesTest.java index a4f32750e09..afcbc03b935 100644 --- a/src/test/java/net/minestom/server/item/component/BlockPredicatesTest.java +++ b/src/test/java/net/minestom/server/item/component/BlockPredicatesTest.java @@ -52,7 +52,7 @@ protected List> directReadWriteEntries() { public void testSingleBlockNbtInput(Registries registries) throws IOException { var tag = MinestomAdventure.tagStringIO().asTag("{blocks:'minecraft:stone'}"); var component = assertOk(DataComponents.CAN_PLACE_ON.decode(Transcoder.NBT, tag)); - var expected = new BlockPredicates(new BlockPredicate(RegistryTag.direct(RegistryKey.unsafeOf("minecraft:stone")))); + var expected = new BlockPredicates(new BlockPredicate(RegistryTag.direct(RegistryKey.of("minecraft:stone")))); assertEquals(expected, component); assertEquals(1, component.predicates().getFirst().blocks().resolve(registries.blocks()).size()); assertTrue(component.predicates().getFirst().blocks().contains(registries.blocks(), BlockKeys.STONE)); diff --git a/src/test/java/net/minestom/server/network/ComponentHoverContextRegistriesTest.java b/src/test/java/net/minestom/server/network/ComponentHoverContextRegistriesTest.java new file mode 100644 index 00000000000..28ddbbc1b90 --- /dev/null +++ b/src/test/java/net/minestom/server/network/ComponentHoverContextRegistriesTest.java @@ -0,0 +1,72 @@ +package net.minestom.server.network; + +import net.kyori.adventure.nbt.CompoundBinaryTag; +import net.kyori.adventure.nbt.StringBinaryTag; +import net.kyori.adventure.text.Component; +import net.kyori.adventure.text.event.HoverEvent; +import net.minestom.server.adventure.serializer.nbt.NbtDataComponentValue; +import net.minestom.server.component.DataComponents; +import net.minestom.server.entity.damage.DamageType; +import net.minestom.server.item.ItemStack; +import net.minestom.server.item.Material; +import net.minestom.server.registry.Registries; +import net.minestom.server.registry.RegistryKey; +import net.minestom.testing.RegistriesTest; +import org.junit.jupiter.api.Test; + +import java.util.Map; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertThrows; + +@RegistriesTest +class ComponentHoverContextRegistriesTest { + + @Test + void showItemUsesBufferRegistryContext(Registries registries) { + final Registries detached = Registries.vanilla(); + final RegistryKey customKey = detached.damageType().register("minestom:hover_damage", + DamageType.builder() + .messageId("hover_damage") + .scaling("never") + .build()); + assertNull(registries.damageType().get(customKey)); + + final ItemStack item = ItemStack.of(Material.STONE).with(DataComponents.DAMAGE_TYPE, customKey); + final Component component = Component.text("item").hoverEvent(item.asHoverEvent()); + final NetworkBuffer buffer = NetworkBuffer.resizableBuffer(256, detached); + buffer.write(NetworkBuffer.COMPONENT, component); + buffer.readIndex(0); + + final CompoundBinaryTag root = (CompoundBinaryTag) buffer.read(NetworkBuffer.NBT); + final CompoundBinaryTag hoverEvent = (CompoundBinaryTag) root.get("hover_event"); + final CompoundBinaryTag components = (CompoundBinaryTag) hoverEvent.get("components"); + assertEquals(StringBinaryTag.stringBinaryTag(customKey.key().asString()), + components.get(DataComponents.DAMAGE_TYPE.key().asString())); + } + + @Test + void typedShowItemComponentRequiresBufferRegistryContext() { + final ItemStack item = ItemStack.of(Material.STONE) + .with(DataComponents.DAMAGE_TYPE, DamageType.GENERIC); + final Component component = Component.text("item").hoverEvent(item.asHoverEvent()); + final NetworkBuffer buffer = NetworkBuffer.resizableBuffer(256); + + assertThrows(NullPointerException.class, () -> buffer.write(NetworkBuffer.COMPONENT, component)); + } + + @Test + void preEncodedShowItemComponentDoesNotRequireBufferRegistryContext() { + final HoverEvent.ShowItem item = HoverEvent.ShowItem.showItem( + Material.STONE, 1, + Map.of( + DataComponents.DAMAGE_TYPE.key(), + NbtDataComponentValue.nbtDataComponentValue( + StringBinaryTag.stringBinaryTag(DamageType.GENERIC.key().asString())))); + final Component component = Component.text("item").hoverEvent(HoverEvent.showItem(item)); + final NetworkBuffer buffer = NetworkBuffer.resizableBuffer(256); + + buffer.write(NetworkBuffer.COMPONENT, component); + } +} diff --git a/src/test/java/net/minestom/server/network/ConnectionManagerIntegrationTest.java b/src/test/java/net/minestom/server/network/ConnectionManagerIntegrationTest.java index 49895f45305..7c7186cefa6 100644 --- a/src/test/java/net/minestom/server/network/ConnectionManagerIntegrationTest.java +++ b/src/test/java/net/minestom/server/network/ConnectionManagerIntegrationTest.java @@ -3,10 +3,15 @@ import net.minestom.server.ServerProcess; import net.minestom.server.coordinate.Pos; import net.minestom.server.entity.Player; +import net.minestom.server.event.player.AsyncPlayerConfigurationEvent; import net.minestom.server.instance.Instance; +import net.minestom.server.listener.preplay.LoginListener; +import net.minestom.server.network.packet.client.configuration.ClientFinishConfigurationPacket; import net.minestom.server.network.packet.server.SendablePacket; +import net.minestom.server.network.packet.server.common.DisconnectPacket; import net.minestom.server.network.packet.server.login.LoginSuccessPacket; import net.minestom.server.network.player.GameProfile; +import net.minestom.server.network.player.PlayerConnection; import net.minestom.server.network.player.PlayerSocketConnection; import net.minestom.testing.Env; import net.minestom.testing.EnvTest; @@ -15,13 +20,21 @@ import java.io.IOException; import java.net.InetSocketAddress; +import java.net.SocketAddress; import java.nio.channels.SocketChannel; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; import java.util.UUID; import java.util.concurrent.CompletableFuture; +import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertInstanceOf; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; +import static org.junit.jupiter.api.Assertions.assertTrue; @EnvTest public class ConnectionManagerIntegrationTest { @@ -75,6 +88,93 @@ public void profileIsPublishedBeforeLoginSuccess(Env env) throws IOException { } } + @Test + public void earlyFinishConfigurationIsRejected(Env env) { + final ConnectionManager connectionManager = env.process().connectionManager(); + final RecordingConnection connection = new RecordingConnection(env.process()); + connection.setClientState(ConnectionState.CONFIGURATION); + connection.setServerState(ConnectionState.CONFIGURATION); + final Player player = connectionManager.createPlayer(connection, profiles[0]); + + // The client finishes before the server sent its own finish packet, so no spawning instance exists yet + LoginListener.finishConfigListener(new ClientFinishConfigurationPacket(), player); + + assertFalse(connection.isOnline()); + assertInstanceOf(DisconnectPacket.class, connection.packets.getLast()); + assertDoesNotThrow(env::tick); + assertTrue(connectionManager.getOnlinePlayers().isEmpty()); + } + + @Test + public void spawnFailureKicksOnlyThatPlayer(Env env) { + final ConnectionManager connectionManager = env.process().connectionManager(); + final List failures = new ArrayList<>(); + env.process().exceptionManager().setExceptionHandler(failures::add); + final Instance instance = env.createEmptyInstance(); + + connectionManager.setPlayerProvider(FailingSpawnPlayer::new); + final RecordingConnection failingConnection = new RecordingConnection(env.process()); + enterPlay(connectionManager, failingConnection, profiles[0], instance); + connectionManager.setPlayerProvider(Player::new); + final RecordingConnection otherConnection = new RecordingConnection(env.process()); + final Player other = enterPlay(connectionManager, otherConnection, profiles[1], instance); + + assertDoesNotThrow(env::tick); + assertEquals(1, failures.size()); + assertInstanceOf(IllegalStateException.class, failures.getFirst()); + assertFalse(failingConnection.isOnline()); + assertTrue(otherConnection.isOnline()); + assertEquals(Set.of(other), connectionManager.getOnlinePlayers()); + assertEquals(instance, other.getInstance()); + } + + /** + * Runs the configuration phase for a new player and acknowledges its end as the client would. + */ + private static Player enterPlay(ConnectionManager connectionManager, RecordingConnection connection, + GameProfile profile, Instance instance) { + connection.setClientState(ConnectionState.CONFIGURATION); + connection.setServerState(ConnectionState.CONFIGURATION); + final Player player = connectionManager.createPlayer(connection, profile); + player.eventNode().addListener(AsyncPlayerConfigurationEvent.class, event -> event.setSpawningInstance(instance)); + // The configuration event must be called from a virtual thread + CompletableFuture.runAsync(() -> connectionManager.doConfiguration(player, false), Thread.ofVirtual()::start).join(); + // The recording connection does not follow the state changes of the packets it sends + connection.setClientState(ConnectionState.PLAY); + connection.setServerState(ConnectionState.PLAY); + LoginListener.finishConfigListener(new ClientFinishConfigurationPacket(), player); + return player; + } + + private static final class RecordingConnection extends PlayerConnection { + private final List packets = new ArrayList<>(); + + private RecordingConnection(ServerProcess process) { + super(process); + } + + @Override + public void sendPacket(SendablePacket packet) { + packets.add(packet); + } + + @Override + public SocketAddress getRemoteAddress() { + return new InetSocketAddress("localhost", 25565); + } + } + + private static final class FailingSpawnPlayer extends Player { + private FailingSpawnPlayer(PlayerConnection connection, GameProfile gameProfile) { + super(connection, gameProfile); + } + + @Override + public CompletableFuture UNSAFE_init() { + throw new IllegalStateException("Spawn failure"); + } + } + private static final class ProfileCapturingConnection extends PlayerSocketConnection { private final CompletableFuture profileWhenLoginSuccessSent = new CompletableFuture<>(); diff --git a/src/test/java/net/minestom/server/network/NetworkBufferIOViewTest.java b/src/test/java/net/minestom/server/network/NetworkBufferIOViewTest.java deleted file mode 100644 index c5506637bf1..00000000000 --- a/src/test/java/net/minestom/server/network/NetworkBufferIOViewTest.java +++ /dev/null @@ -1,832 +0,0 @@ -package net.minestom.server.network; - -import org.junit.jupiter.api.Test; -import org.junit.jupiter.params.ParameterizedTest; -import org.junit.jupiter.params.provider.MethodSource; - -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.util.List; -import java.util.function.Consumer; - -import static org.junit.jupiter.api.Assertions.assertArrayEquals; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertFalse; -import static org.junit.jupiter.api.Assertions.assertThrows; -import static org.junit.jupiter.api.Assertions.assertTrue; - -@SuppressWarnings("removal") // Covers ioView() until it is removed -public class NetworkBufferIOViewTest { - private static List buffers() { - return List.of(NetworkBuffer.resizableBuffer(), NetworkBuffer.staticBuffer(512)); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadBoolean(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeBoolean(true); - view.writeBoolean(false); - - assertTrue(view.readBoolean()); - assertFalse(view.readBoolean()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadByte(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeByte(42); - view.writeByte(-128); - view.writeByte(127); - - assertEquals(42, view.readByte()); - assertEquals(-128, view.readByte()); - assertEquals(127, view.readByte()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadUnsignedByte(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeByte(0); - view.writeByte(255); - view.writeByte(-1); // Should be read as 255 - - assertEquals(0, view.readUnsignedByte()); - assertEquals(255, view.readUnsignedByte()); - assertEquals(255, view.readUnsignedByte()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadShort(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeShort(1234); - view.writeShort(-32768); - view.writeShort(32767); - - assertEquals(1234, view.readShort()); - assertEquals(-32768, view.readShort()); - assertEquals(32767, view.readShort()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadUnsignedShort(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeShort(0); - view.writeShort(65535); - view.writeShort(-1); // Should be read as 65535 - - assertEquals(0, view.readUnsignedShort()); - assertEquals(65535, view.readUnsignedShort()); - assertEquals(65535, view.readUnsignedShort()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadChar(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeChar('A'); - view.writeChar('Z'); - view.writeChar('€'); - view.writeChar(0); - view.writeChar(65535); - - assertEquals('A', view.readChar()); - assertEquals('Z', view.readChar()); - assertEquals('€', view.readChar()); - assertEquals((char) 0, view.readChar()); - assertEquals((char) 65535, view.readChar()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadInt(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeInt(123456); - view.writeInt(-2147483648); - view.writeInt(2147483647); - view.writeInt(0); - - assertEquals(123456, view.readInt()); - assertEquals(-2147483648, view.readInt()); - assertEquals(2147483647, view.readInt()); - assertEquals(0, view.readInt()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadLong(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeLong(123456789012345L); - view.writeLong(-9223372036854775808L); - view.writeLong(9223372036854775807L); - view.writeLong(0L); - - assertEquals(123456789012345L, view.readLong()); - assertEquals(-9223372036854775808L, view.readLong()); - assertEquals(9223372036854775807L, view.readLong()); - assertEquals(0L, view.readLong()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadFloat(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeFloat(3.14159f); - view.writeFloat(-0.0f); - view.writeFloat(Float.MAX_VALUE); - view.writeFloat(Float.MIN_VALUE); - view.writeFloat(Float.NaN); - view.writeFloat(Float.POSITIVE_INFINITY); - - assertEquals(3.14159f, view.readFloat(), 0.00001f); - assertEquals(-0.0f, view.readFloat()); - assertEquals(Float.MAX_VALUE, view.readFloat()); - assertEquals(Float.MIN_VALUE, view.readFloat()); - assertTrue(Float.isNaN(view.readFloat())); - assertEquals(Float.POSITIVE_INFINITY, view.readFloat()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadDouble(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeDouble(3.141592653589793); - view.writeDouble(-0.0); - view.writeDouble(Double.MAX_VALUE); - view.writeDouble(Double.MIN_VALUE); - view.writeDouble(Double.NaN); - view.writeDouble(Double.NEGATIVE_INFINITY); - - assertEquals(3.141592653589793, view.readDouble(), 0.000000000000001); - assertEquals(-0.0, view.readDouble()); - assertEquals(Double.MAX_VALUE, view.readDouble()); - assertEquals(Double.MIN_VALUE, view.readDouble()); - assertTrue(Double.isNaN(view.readDouble())); - assertEquals(Double.NEGATIVE_INFINITY, view.readDouble()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadSingleByte(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.write(65); // 'A' - view.write(255); - view.write(-1); // Should write as byte - - assertEquals(65, view.readByte()); - assertEquals((byte) 255, view.readByte()); - assertEquals((byte) -1, view.readByte()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadByteArray(NetworkBuffer buffer) { - var view = buffer.ioView(); - - byte[] data = {1, 2, 3, 4, 5}; - view.write(data); - - byte[] result = new byte[5]; - view.readFully(result); - - assertArrayEquals(data, result); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadByteArrayWithOffset(NetworkBuffer buffer) { - var view = buffer.ioView(); - - byte[] data = {1, 2, 3, 4, 5, 6, 7}; - view.write(data, 2, 3); // Write bytes at index 2-4 - - byte[] result = new byte[3]; - view.readFully(result); - - assertArrayEquals(new byte[]{3, 4, 5}, result); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testReadFullyWithOffset(NetworkBuffer buffer) { - var view = buffer.ioView(); - - byte[] data = {10, 20, 30, 40, 50}; - view.write(data); - - byte[] result = new byte[10]; - view.readFully(result, 2, 5); - - assertEquals(0, result[0]); - assertEquals(0, result[1]); - assertEquals(10, result[2]); - assertEquals(20, result[3]); - assertEquals(30, result[4]); - assertEquals(40, result[5]); - assertEquals(50, result[6]); - assertEquals(0, result[7]); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testSkipBytes(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeInt(100); - view.writeInt(200); - view.writeInt(300); - - assertEquals(100, view.readInt()); - assertEquals(4, view.skipBytes(4)); // Skip the second int - assertEquals(300, view.readInt()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testSkipBytesPartial(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeInt(100); - view.writeInt(200); - - view.readInt(); // Read first int - int skipped = view.skipBytes(100); // Try to skip more than available - assertEquals(4, skipped); // Only 4 bytes (one int) left - } - - - @ParameterizedTest - @MethodSource("buffers") - public void testSkipBytesZero(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeInt(100); - - assertEquals(0, view.skipBytes(0)); - assertEquals(100, view.readInt()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testSkipBytesNegative(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeInt(100); - - assertEquals(0, view.skipBytes(-1)); - assertEquals(0, view.skipBytes(Integer.MIN_VALUE)); - assertEquals(100, view.readInt()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadUTF(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeUTF("Hello, World!"); - view.writeUTF("Test 123"); - view.writeUTF("€ ¥ £ 中文"); - - assertEquals("Hello, World!", view.readUTF()); - assertEquals("Test 123", view.readUTF()); - assertEquals("€ ¥ £ 中文", view.readUTF()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteAndReadUTFEmpty(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeUTF(""); - - assertEquals("", view.readUTF()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteBytes(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeBytes("ABC"); - - assertEquals((byte) 'A', view.readByte()); - assertEquals((byte) 'B', view.readByte()); - assertEquals((byte) 'C', view.readByte()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteBytesLowByteOnly(NetworkBuffer buffer) { - var view = buffer.ioView(); - - // writeBytes should only write the low byte of each char - view.writeBytes("€"); // Euro sign (U+20AC = 0x20AC) - - // Only the low byte (0xAC) should be written - assertEquals((byte) 0xAC, view.readByte()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteChars(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeChars("AB"); - - assertEquals('A', view.readChar()); - assertEquals('B', view.readChar()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteCharsUnicode(NetworkBuffer buffer) { - var view = buffer.ioView(); - - view.writeChars("€¥"); - - assertEquals('€', view.readChar()); - assertEquals('¥', view.readChar()); - } - - @SuppressWarnings("DataFlowIssue") - @ParameterizedTest - @MethodSource("buffers") - public void testWriteUTFNull(NetworkBuffer buffer) { - var view = buffer.ioView(); - - assertThrows(NullPointerException.class, () -> view.writeUTF(null)); - } - - @SuppressWarnings("DataFlowIssue") - @ParameterizedTest - @MethodSource("buffers") - public void testWriteBytesNull(NetworkBuffer buffer) { - var view = buffer.ioView(); - - assertThrows(NullPointerException.class, () -> view.writeBytes(null)); - } - - @SuppressWarnings("DataFlowIssue") - @ParameterizedTest - @MethodSource("buffers") - public void testWriteCharsNull(NetworkBuffer buffer) { - var view = buffer.ioView(); - - assertThrows(NullPointerException.class, () -> view.writeChars(null)); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testMixedReadWrite(NetworkBuffer buffer) { - var view = buffer.ioView(); - - // Write mixed data types - view.writeBoolean(true); - view.writeByte(42); - view.writeShort(1000); - view.writeChar('X'); - view.writeInt(123456); - view.writeLong(987654321L); - view.writeFloat(3.14f); - view.writeDouble(2.718); - view.writeUTF("Test"); - - // Read back in same order - assertTrue(view.readBoolean()); - assertEquals(42, view.readByte()); - assertEquals(1000, view.readShort()); - assertEquals('X', view.readChar()); - assertEquals(123456, view.readInt()); - assertEquals(987654321L, view.readLong()); - assertEquals(3.14f, view.readFloat(), 0.001f); - assertEquals(2.718, view.readDouble(), 0.0001); - assertEquals("Test", view.readUTF()); - } - - // Tests comparing against Java's DataInputStream/DataOutputStream - - @ParameterizedTest - @MethodSource("buffers") - public void testCompatibilityWithDataOutputStream(NetworkBuffer scratch) throws Exception { - // Write using standard Java DataOutputStream - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - - dos.writeBoolean(true); - dos.writeByte(42); - dos.writeShort(1234); - dos.writeChar('X'); - dos.writeInt(123456); - dos.writeLong(987654321L); - dos.writeFloat(3.14f); - dos.writeDouble(2.718); - dos.writeUTF("Hello"); - dos.flush(); - - byte[] javaBytes = baos.toByteArray(); - - // Write using NetworkBufferIOView and extract bytes - byte[] networkBytes = extractWrittenBytes(scratch, buffer -> { - var view = buffer.ioView(); - view.writeBoolean(true); - view.writeByte(42); - view.writeShort(1234); - view.writeChar('X'); - view.writeInt(123456); - view.writeLong(987654321L); - view.writeFloat(3.14f); - view.writeDouble(2.718); - view.writeUTF("Hello"); - }); - - assertArrayEquals(javaBytes, networkBytes, "NetworkBuffer bytes should match Java DataOutputStream bytes"); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testCompatibilityWithDataInputStream(NetworkBuffer scratch) throws Exception { - // Write using NetworkBufferIOView and extract bytes - byte[] networkBytes = extractWrittenBytes(scratch, buffer -> { - var view = buffer.ioView(); - view.writeBoolean(false); - view.writeByte(-5); - view.writeShort(-1000); - view.writeChar('€'); - view.writeInt(-987654); - view.writeLong(-123456789L); - view.writeFloat(-2.5f); - view.writeDouble(-3.141592); - view.writeUTF("Test String"); - }); - - // Read using standard Java DataInputStream - ByteArrayInputStream bais = new ByteArrayInputStream(networkBytes); - DataInputStream dis = new DataInputStream(bais); - - assertFalse(dis.readBoolean()); - assertEquals(-5, dis.readByte()); - assertEquals(-1000, dis.readShort()); - assertEquals('€', dis.readChar()); - assertEquals(-987654, dis.readInt()); - assertEquals(-123456789L, dis.readLong()); - assertEquals(-2.5f, dis.readFloat(), 0.0001f); - assertEquals(-3.141592, dis.readDouble(), 0.000001); - assertEquals("Test String", dis.readUTF()); - } - - @Test - public void testReadFromJavaDataOutputStream() throws Exception { - // Write using Java DataOutputStream - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - - dos.writeBoolean(true); - dos.writeByte(100); - dos.writeShort(20000); - dos.writeChar('Z'); - dos.writeInt(1000000); - dos.writeLong(9999999999L); - dos.writeFloat(1.5f); - dos.writeDouble(9.876); - dos.writeUTF("Java UTF"); - dos.flush(); - - byte[] javaBytes = baos.toByteArray(); - - // Load into NetworkBuffer and read - var buffer = NetworkBuffer.wrap(javaBytes, 0, javaBytes.length); - var view = buffer.ioView(); - - assertTrue(view.readBoolean()); - assertEquals(100, view.readByte()); - assertEquals(20000, view.readShort()); - assertEquals('Z', view.readChar()); - assertEquals(1000000, view.readInt()); - assertEquals(9999999999L, view.readLong()); - assertEquals(1.5f, view.readFloat(), 0.0001f); - assertEquals(9.876, view.readDouble(), 0.000001); - assertEquals("Java UTF", view.readUTF()); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteBytesCompatibility(NetworkBuffer scratch) throws Exception { - String testString = "Hello World!"; - - // Java DataOutputStream - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - dos.writeBytes(testString); - dos.flush(); - byte[] javaBytes = baos.toByteArray(); - - // NetworkBuffer - byte[] networkBytes = extractWrittenBytes(scratch, buffer -> { - var view = buffer.ioView(); - view.writeBytes(testString); - }); - - assertArrayEquals(javaBytes, networkBytes); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteCharsCompatibility(NetworkBuffer scratch) throws Exception { - String testString = "Test€¥"; - - // Java DataOutputStream - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - dos.writeChars(testString); - dos.flush(); - byte[] javaBytes = baos.toByteArray(); - - // NetworkBuffer - byte[] networkBytes = extractWrittenBytes(scratch, buffer -> { - var view = buffer.ioView(); - view.writeChars(testString); - }); - - assertArrayEquals(javaBytes, networkBytes); - } - - @Test - public void testUnsignedByteCompatibility() throws Exception { - // Test unsigned byte reading - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - - dos.writeByte(0); - dos.writeByte(127); - dos.writeByte(128); // -128 as signed, 128 as unsigned - dos.writeByte(255); // -1 as signed, 255 as unsigned - dos.flush(); - - byte[] javaBytes = baos.toByteArray(); - - // Read with Java - DataInputStream dis = new DataInputStream(new ByteArrayInputStream(javaBytes)); - int java1 = dis.readUnsignedByte(); - int java2 = dis.readUnsignedByte(); - int java3 = dis.readUnsignedByte(); - int java4 = dis.readUnsignedByte(); - - // Read with NetworkBuffer - var buffer = NetworkBuffer.wrap(javaBytes, 0, javaBytes.length); - var view = buffer.ioView(); - - assertEquals(java1, view.readUnsignedByte()); - assertEquals(java2, view.readUnsignedByte()); - assertEquals(java3, view.readUnsignedByte()); - assertEquals(java4, view.readUnsignedByte()); - } - - @Test - public void testUnsignedShortCompatibility() throws Exception { - // Test unsigned short reading - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - - dos.writeShort(0); - dos.writeShort(32767); - dos.writeShort(32768); // -32768 as signed, 32768 as unsigned - dos.writeShort(65535); // -1 as signed, 65535 as unsigned - dos.flush(); - - byte[] javaBytes = baos.toByteArray(); - - // Read with Java - DataInputStream dis = new DataInputStream(new ByteArrayInputStream(javaBytes)); - int java1 = dis.readUnsignedShort(); - int java2 = dis.readUnsignedShort(); - int java3 = dis.readUnsignedShort(); - int java4 = dis.readUnsignedShort(); - - // Read with NetworkBuffer - var buffer = NetworkBuffer.wrap(javaBytes, 0, javaBytes.length); - var view = buffer.ioView(); - - assertEquals(java1, view.readUnsignedShort()); - assertEquals(java2, view.readUnsignedShort()); - assertEquals(java3, view.readUnsignedShort()); - assertEquals(java4, view.readUnsignedShort()); - } - - @Test - public void testReadFullyCompatibility() throws Exception { - byte[] testData = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; - - // Test with Java DataInputStream - DataInputStream dis = new DataInputStream(new ByteArrayInputStream(testData)); - byte[] javaResult = new byte[10]; - dis.readFully(javaResult); - - // Test with NetworkBuffer - var buffer = NetworkBuffer.wrap(testData, 0, testData.length); - var view = buffer.ioView(); - byte[] networkResult = new byte[10]; - view.readFully(networkResult); - - assertArrayEquals(javaResult, networkResult); - } - - @Test - public void testReadFullyWithOffsetCompatibility() throws Exception { - byte[] testData = {10, 20, 30, 40, 50}; - - // Test with Java DataInputStream - DataInputStream dis = new DataInputStream(new ByteArrayInputStream(testData)); - byte[] javaResult = new byte[10]; - dis.readFully(javaResult, 2, 5); - - // Test with NetworkBuffer - var buffer = NetworkBuffer.wrap(testData, 0, testData.length); - var view = buffer.ioView(); - byte[] networkResult = new byte[10]; - view.readFully(networkResult, 2, 5); - - assertArrayEquals(javaResult, networkResult); - } - - @Test - public void testSkipBytesCompatibility() throws Exception { - byte[] testData = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; - - // Test with Java DataInputStream - DataInputStream dis = new DataInputStream(new ByteArrayInputStream(testData)); - dis.readByte(); // Read first byte - int javaSkipped = dis.skipBytes(5); - byte javaNext = dis.readByte(); - - // Test with NetworkBuffer - var buffer = NetworkBuffer.wrap(testData, 0, testData.length); - var view = buffer.ioView(); - view.readByte(); // Read first byte - int networkSkipped = view.skipBytes(5); - byte networkNext = view.readByte(); - - assertEquals(javaSkipped, networkSkipped); - assertEquals(javaNext, networkNext); - } - - @Test - public void testNegativeSkipBytesCompatibility() throws Exception { - byte[] testData = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; - - // Test with Java DataInputStream - DataInputStream dis = new DataInputStream(new ByteArrayInputStream(testData)); - dis.readByte(); // Read first byte - int javaSkipped = dis.skipBytes(-1); - byte javaNext = dis.readByte(); - - // Test with NetworkBuffer - var buffer = NetworkBuffer.wrap(testData, 0, testData.length); - var view = buffer.ioView(); - view.readByte(); // Read first byte - int networkSkipped = view.skipBytes(-1); - byte networkNext = view.readByte(); - - assertEquals(javaSkipped, networkSkipped); - assertEquals(javaNext, networkNext); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testWriteArrayWithOffsetCompatibility(NetworkBuffer scratch) throws Exception { - byte[] testData = {1, 2, 3, 4, 5, 6, 7}; - - // Test with Java DataOutputStream - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - dos.write(testData, 2, 3); - dos.flush(); - byte[] javaBytes = baos.toByteArray(); - - // Test with NetworkBuffer - byte[] networkBytes = extractWrittenBytes(scratch, buffer -> { - var view = buffer.ioView(); - view.write(testData, 2, 3); - }); - - assertArrayEquals(javaBytes, networkBytes); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testSpecialFloatValuesCompatibility(NetworkBuffer scratch) throws Exception { - // Test special float values - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - - dos.writeFloat(Float.NaN); - dos.writeFloat(Float.POSITIVE_INFINITY); - dos.writeFloat(Float.NEGATIVE_INFINITY); - dos.writeFloat(0.0f); - dos.writeFloat(-0.0f); - dos.flush(); - - byte[] javaBytes = baos.toByteArray(); - - // Write with NetworkBuffer - byte[] networkBytes = extractWrittenBytes(scratch, buffer -> { - var view = buffer.ioView(); - view.writeFloat(Float.NaN); - view.writeFloat(Float.POSITIVE_INFINITY); - view.writeFloat(Float.NEGATIVE_INFINITY); - view.writeFloat(0.0f); - view.writeFloat(-0.0f); - }); - - assertArrayEquals(javaBytes, networkBytes); - } - - @ParameterizedTest - @MethodSource("buffers") - public void testSpecialDoubleValuesCompatibility(NetworkBuffer scratch) throws Exception { - // Test special double values - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - - dos.writeDouble(Double.NaN); - dos.writeDouble(Double.POSITIVE_INFINITY); - dos.writeDouble(Double.NEGATIVE_INFINITY); - dos.writeDouble(0.0); - dos.writeDouble(-0.0); - dos.flush(); - - byte[] javaBytes = baos.toByteArray(); - - // Write with NetworkBuffer - byte[] networkBytes = extractWrittenBytes(scratch, buffer -> { - var view = buffer.ioView(); - view.writeDouble(Double.NaN); - view.writeDouble(Double.POSITIVE_INFINITY); - view.writeDouble(Double.NEGATIVE_INFINITY); - view.writeDouble(0.0); - view.writeDouble(-0.0); - }); - - assertArrayEquals(javaBytes, networkBytes); - } - - @Test - public void testComplexDataStreamCompatibility() throws Exception { - // Write a complex sequence with Java - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); - - dos.writeUTF("Header"); - dos.writeInt(5); // Array length - for (int i = 0; i < 5; i++) { - dos.writeDouble(i * 1.5); - } - dos.writeBoolean(true); - dos.writeUTF("Footer"); - dos.flush(); - - byte[] javaBytes = baos.toByteArray(); - - // Read with NetworkBuffer and verify - var buffer = NetworkBuffer.wrap(javaBytes, 0, javaBytes.length); - var view = buffer.ioView(); - - assertEquals("Header", view.readUTF()); - assertEquals(5, view.readInt()); - for (int i = 0; i < 5; i++) { - assertEquals(i * 1.5, view.readDouble(), 0.000001); - } - assertTrue(view.readBoolean()); - assertEquals("Footer", view.readUTF()); - - // Verify we've read all data - assertEquals(0, buffer.readableBytes()); - } - - //TODO: remove with applicable NetworkBuffer method - private static byte[] extractWrittenBytes(NetworkBuffer buffer, Consumer extractor) { - final long startingPosition = buffer.writeIndex(); - extractor.accept(buffer); - final long endingPosition = buffer.writeIndex(); - final long length = endingPosition - startingPosition; - byte[] output = new byte[(int) length]; - buffer.copyTo(startingPosition, output, 0, output.length); - return output; - } -} diff --git a/src/test/java/net/minestom/server/network/NetworkBufferRegistriesTest.java b/src/test/java/net/minestom/server/network/NetworkBufferRegistriesTest.java index 9d4c768b4f2..387d8bd09d3 100644 --- a/src/test/java/net/minestom/server/network/NetworkBufferRegistriesTest.java +++ b/src/test/java/net/minestom/server/network/NetworkBufferRegistriesTest.java @@ -2,6 +2,7 @@ import net.kyori.adventure.nbt.CompoundBinaryTag; import net.kyori.adventure.text.Component; +import net.minestom.server.codec.Codec; import net.minestom.server.component.DataComponents; import net.minestom.server.item.ItemStack; import net.minestom.server.item.Material; @@ -800,6 +801,16 @@ public void maxLengthList() { assertEquals(List.of(1, 2), buffer.read(INT.list().maxLength(14))); } + @Test + public void maxLengthUsesBufferRegistries(Registries registries) { + var buffer = NetworkBuffer.resizableBuffer(registries); + var type = NetworkBuffer.TypedNBT(Codec.STRING); + + assertThrows(IllegalArgumentException.class, () -> buffer.write(type.maxLength(1), "value")); + buffer.write(type.maxLength(64), "value"); + assertEquals("value", buffer.read(type.maxLength(64))); + } + @Test public void oomStringRegression() { var buffer = NetworkBuffer.resizableBuffer(100); diff --git a/src/test/java/net/minestom/server/network/PacketWriteReadRegistriesTest.java b/src/test/java/net/minestom/server/network/PacketWriteReadRegistriesTest.java index c91c2f848f5..950221322f2 100644 --- a/src/test/java/net/minestom/server/network/PacketWriteReadRegistriesTest.java +++ b/src/test/java/net/minestom/server/network/PacketWriteReadRegistriesTest.java @@ -293,7 +293,6 @@ import net.minestom.server.particle.Particle; import net.minestom.server.potion.Potion; import net.minestom.server.potion.PotionEffect; -import net.minestom.server.potion.PotionType; import net.minestom.server.recipe.Ingredient; import net.minestom.server.recipe.RecipeBookCategory; import net.minestom.server.recipe.RecipeProperty; @@ -672,21 +671,22 @@ public static void setupServer(Registries registries) { addServerPackets(new ChunkDataPacket(0, 0, new ChunkData(Map.of(), new byte[0], Map.of()), new LightData(new BitSet(), new BitSet(), new BitSet(), new BitSet(), List.of(), List.of()))); addServerPackets(new ChunkBiomesPacket(List.of()), new ChunkBiomesPacket(List.of(new ChunkBiomesPacket.ChunkBiomeData(0, 0, new byte[0])))); addServerPackets(new CustomChatCompletionPacket(CustomChatCompletionPacket.Action.ADD, List.of("entry1", "entry2"))); - addServerPackets(new DamageEventPacket(5, registries.damageType().getId(DamageType.ARROW), 2, 3, VEC), - new DamageEventPacket(50, registries.damageType().getId(DamageType.WITHER), 0, 0, null)); + addServerPackets(new DamageEventPacket(5, DamageType.ARROW, 2, 3, VEC), + new DamageEventPacket(50, DamageType.WITHER, null, null, null), + new DamageEventPacket(7, DamageType.CACTUS, 0, 0, null)); addServerPackets(new DeclareCommandsPacket(List.of(), 0)); addServerPackets(new BundlePacket()); addServerPackets(new DebugBlockValuePacket(Vec.ONE, new DebugSubscription.Update<>(DebugSubscription.BEE_HIVES, new DebugHiveInfo(Block.BEEHIVE, 1, 0, true)))); - addServerPackets(new DebugChunkValuePacket(1, new DebugSubscription.Update<>(DebugSubscription.POIS, new DebugPoiInfo(BLOCK_VEC, DebugPoiInfo.Type.BUTCHER, 1)))); + addServerPackets(new DebugChunkValuePacket(1, -2, new DebugSubscription.Update<>(DebugSubscription.POIS, new DebugPoiInfo(BLOCK_VEC, DebugPoiInfo.Type.BUTCHER, 1)))); addServerPackets(new DebugEntityValuePacket(0, new DebugSubscription.Update<>(DebugSubscription.ENTITY_PATHS, new DebugPathInfo(new DebugPathInfo.Path(true, 0, BLOCK_VEC, List.of(), new DebugPathInfo.Data(Set.of(), List.of(), List.of())), 1)))); addServerPackets(new DebugEventPacket(new DebugSubscription.Event<>(DebugSubscription.NEIGHBOR_UPDATES, Vec.ZERO))); addServerPackets(new DebugSamplePacket(new long[0], DebugSamplePacket.Type.TICK_TIME)); // Legacy debug wrapper, maybe it will change. - addServerPackets(new DeleteChatPacket(new MessageSignature(new byte[256]))); + addServerPackets(new DeleteChatPacket(new MessageSignature(new byte[256])), new DeleteChatPacket(new MessageSignature.Packed(5, null))); addServerPackets(new DisguisedChatPacket(Component.text("Hey"), 0, Component.text("Message"), null)); addServerPackets(new EntityPositionSyncPacket(1, VEC, VEC, 1f, 1f, false)); addServerPackets(new GameTestHighlightPosPacket(BLOCK_VEC, BLOCK_VEC)); addServerPackets(new UpdateLightPacket(0, 0, new LightData(new BitSet(), new BitSet(), new BitSet(), new BitSet(), List.of(), List.of()))); - addServerPackets(new MoveMinecartPacket(1, List.of(new MoveMinecartPacket.LerpStep(VEC, Vec.ZERO, 1f, 1f, 1f)))); + addServerPackets(new MoveMinecartPacket(1, List.of(new MoveMinecartPacket.LerpStep(VEC, Vec.ZERO, 90f, -45f, 1f)))); addServerPackets(new PlayerChatMessagePacket(0, UUID.randomUUID(), 0, new MessageSignature(new byte[256]), new SignedMessageBody.Packed("hey", Instant.EPOCH, 0L, new LastSeenMessages.Packed(List.of())), null, new FilterMask(FilterMask.Type.FULLY_FILTERED, new BitSet()), 1, Component.text("hey"), null)); addServerPackets(new RecipeBookSettingsPacket(false, false, true, false, false, false, false, false)); addServerPackets(new RemoveEntityEffectPacket(0, PotionEffect.BAD_OMEN)); @@ -815,7 +815,7 @@ public static void setupClient(Registries registries) { addClientPackets(new ClientTeleportConfirmPacket(325626), new ClientTeleportConfirmPacket(Integer.MAX_VALUE), new ClientTeleportConfirmPacket(Integer.MIN_VALUE)); addClientPackets(new ClientQueryBlockNbtPacket(1325, BLOCK_VEC), new ClientQueryBlockNbtPacket(-15, Vec.ONE)); addClientPackets(new ClientSelectBundleItemPacket(32, 65), new ClientSelectBundleItemPacket(Integer.MAX_VALUE, Integer.MAX_VALUE)); - addClientPackets(new ClientChangeDifficultyPacket(Difficulty.EASY, false), new ClientChangeDifficultyPacket(Difficulty.HARD, true), new ClientChangeDifficultyPacket(Difficulty.PEACEFUL, true)); + addClientPackets(new ClientChangeDifficultyPacket(Difficulty.EASY), new ClientChangeDifficultyPacket(Difficulty.HARD), new ClientChangeDifficultyPacket(Difficulty.PEACEFUL)); addClientPackets(new ClientChangeGameModePacket(GameMode.ADVENTURE), new ClientChangeGameModePacket(GameMode.SURVIVAL), new ClientChangeGameModePacket(GameMode.CREATIVE), new ClientChangeGameModePacket(GameMode.SPECTATOR)); addClientPackets(new ClientChatAckPacket(12549581), new ClientChatAckPacket(Integer.MIN_VALUE), new ClientChatAckPacket(Integer.MAX_VALUE)); addClientPackets(new ClientCommandChatPacket("l".repeat(256)), new ClientCommandChatPacket("helloworld")); @@ -872,7 +872,7 @@ public static void setupClient(Registries registries) { addClientPackets(new ClientResourcePackStatusPacket(UUID.randomUUID(), ResourcePackStatus.ACCEPTED), new ClientResourcePackStatusPacket(UUID.randomUUID(), ResourcePackStatus.DECLINED)); addClientPackets(new ClientAdvancementTabPacket(AdvancementAction.OPENED_TAB, "minecraft:story/root"), new ClientAdvancementTabPacket(AdvancementAction.CLOSED_SCREEN, null)); addClientPackets(new ClientSelectTradePacket(0), new ClientSelectTradePacket(5), new ClientSelectTradePacket(Integer.MAX_VALUE)); - addClientPackets(new ClientSetBeaconEffectPacket(PotionType.STRENGTH, PotionType.REGENERATION), new ClientSetBeaconEffectPacket(null, null), new ClientSetBeaconEffectPacket(PotionType.fromKey("strength"), null)); + addClientPackets(new ClientSetBeaconEffectPacket(PotionEffect.SPEED, PotionEffect.REGENERATION), new ClientSetBeaconEffectPacket(null, null), new ClientSetBeaconEffectPacket(PotionEffect.fromKey("strength"), null)); addClientPackets(new ClientHeldItemChangePacket((short) 0), new ClientHeldItemChangePacket((short) 8), new ClientHeldItemChangePacket((short) 4)); addClientPackets(new ClientUpdateCommandBlockPacket(Vec.ONE, "/say hello", ClientUpdateCommandBlockPacket.Mode.REDSTONE, (byte) 0), new ClientUpdateCommandBlockPacket(Vec.ZERO, "/tp @p 0 100 0", ClientUpdateCommandBlockPacket.Mode.AUTO, (byte) 0x01)); addClientPackets(new ClientUpdateCommandBlockMinecartPacket(100, "/say minecart", true), new ClientUpdateCommandBlockMinecartPacket(Integer.MAX_VALUE, "", false)); diff --git a/src/test/java/net/minestom/server/registry/DynamicRegistryFreezeTest.java b/src/test/java/net/minestom/server/registry/DynamicRegistryFreezeTest.java index c980e20d287..57448b619bb 100644 --- a/src/test/java/net/minestom/server/registry/DynamicRegistryFreezeTest.java +++ b/src/test/java/net/minestom/server/registry/DynamicRegistryFreezeTest.java @@ -15,7 +15,7 @@ class DynamicRegistryFreezeTest { void explicitFreezeRejectsEntryChangesAndLeavesTagsMutable() { var registry = DynamicRegistry.fromMap(Key.key("test:registry"), Map.entry(Key.key("test:entry"), "original")); var entryKey = registry.getKey(Key.key("test:entry")); - var tagKey = TagKey.unsafeOf("test:tag"); + var tagKey = TagKey.of("test:tag"); assertFalse(registry.isFrozen()); registry.freeze(); registry.freeze();