From 89399c65ce77855ffadc3be9b8af7d60fe63b70d Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sat, 3 Oct 2026 18:57:55 +0000 Subject: [PATCH 01/23] fix: match the protocol for debug, chat, and other packets (#3382) Debug hive and POI values write their counts as VarInts, and debug game events write their position as doubles. DebugChunkValuePacket takes chunk x and z and packs x into the low bits of the chunk position. DeleteChatPacket holds a packed signature, so it can delete by cache index as well as by full signature. Minecart lerp steps pack their rotations into LP_FLOAT, and item templates write the component patch instead of every default component. World border lerp and initialize packets carry the transition time in ticks. WorldBorder.createLerpSizePacket and createInitializePacket take ticks. (Breaking) On the serverbound side, the change difficulty packet has no locked flag, the structure block seed is a VarLong, and beacon effects are mob effects. --- .../minestom/server/instance/Instance.java | 13 ++++++------- .../minestom/server/instance/WorldBorder.java | 18 +++++++++--------- .../server/item/ItemStackTemplate.java | 2 +- .../debug/info/DebugGameEventInfo.java | 2 +- .../network/debug/info/DebugHiveInfo.java | 4 ++-- .../network/debug/info/DebugPoiInfo.java | 2 +- .../play/ClientChangeDifficultyPacket.java | 4 +--- .../play/ClientSetBeaconEffectPacket.java | 10 +++++----- .../ClientUpdateStructureBlockPacket.java | 4 ++-- .../server/play/DebugChunkValuePacket.java | 8 +++++--- .../packet/server/play/DeleteChatPacket.java | 18 ++++++++++++++++-- .../server/play/MoveMinecartPacket.java | 7 ++++--- .../instance/WorldBorderIntegrationTest.java | 19 +++++++++++++++++++ .../PacketWriteReadRegistriesTest.java | 11 +++++------ 14 files changed, 77 insertions(+), 45 deletions(-) diff --git a/src/main/java/net/minestom/server/instance/Instance.java b/src/main/java/net/minestom/server/instance/Instance.java index 402cfd985ad..a3262f7f3ae 100644 --- a/src/main/java/net/minestom/server/instance/Instance.java +++ b/src/main/java/net/minestom/server/instance/Instance.java @@ -610,11 +610,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) / MinecraftServer.TICK_MS; + sendNewWorldBorderPackets(worldBorder, transitionTicks); this.targetBorderDiameter = worldBorder.diameter(); - long transitionTicks = transitionMilliseconds / MinecraftServer.TICK_MS; remainingWorldBorderTransitionTicks = transitionTicks; if (transitionTicks == 0) this.worldBorder = worldBorder; else this.worldBorder = worldBorder.withDiameter(this.worldBorder.diameter()); @@ -632,14 +631,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 * MinecraftServer.TICK_MS); + 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/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/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/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/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/test/java/net/minestom/server/instance/WorldBorderIntegrationTest.java b/src/test/java/net/minestom/server/instance/WorldBorderIntegrationTest.java index 460ae1bdfa5..1ad567cd548 100644 --- a/src/test/java/net/minestom/server/instance/WorldBorderIntegrationTest.java +++ b/src/test/java/net/minestom/server/instance/WorldBorderIntegrationTest.java @@ -1,9 +1,11 @@ package net.minestom.server.instance; +import net.minestom.server.MinecraftServer; import net.minestom.server.coordinate.Pos; 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.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 / MinecraftServer.TICK_MS; + 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/network/PacketWriteReadRegistriesTest.java b/src/test/java/net/minestom/server/network/PacketWriteReadRegistriesTest.java index c91c2f848f5..0bc3c2e496d 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; @@ -677,16 +676,16 @@ public static void setupServer(Registries registries) { 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 +814,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 +871,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)); From 0c4aed9f5251cdca7bb4cd2c3da99d79b16a090c Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sat, 3 Oct 2026 19:36:03 +0000 Subject: [PATCH 02/23] refactor: Drop NetworkBuffer.IOView (#3383) Deleted by just making our own NBT reader/writer, which is likely better. Already deprecated for removal. --- .../server/network/NetworkBuffer.java | 126 --- .../server/network/NetworkBufferImpl.java | 175 ---- .../network/NetworkBufferIOViewTest.java | 832 ------------------ 3 files changed, 1133 deletions(-) delete mode 100644 src/test/java/net/minestom/server/network/NetworkBufferIOViewTest.java diff --git a/src/main/java/net/minestom/server/network/NetworkBuffer.java b/src/main/java/net/minestom/server/network/NetworkBuffer.java index b1e7aa776a6..7cbca7ddb26 100644 --- a/src/main/java/net/minestom/server/network/NetworkBuffer.java +++ b/src/main/java/net/minestom/server/network/NetworkBuffer.java @@ -15,14 +15,11 @@ 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 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; @@ -298,18 +295,6 @@ default NetworkBuffer copy(long index, long length) { @Contract(pure = true, value = "_, _, _, _ -> new") 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}. - * - * @return the io view. - */ - @Deprecated(forRemoval = true) // Use NetworkBuffer directly, no DataInput or DataOutput replacement is provided. - @ApiStatus.Experimental - @Contract(pure = true, value = "-> new") - IOView ioView(); - interface Type { void write(NetworkBuffer buffer, T value); @@ -432,117 +417,6 @@ interface AutoResize { 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) { NetworkBuffer buffer = resizableBuffer(256, registries); writing.accept(buffer); diff --git a/src/main/java/net/minestom/server/network/NetworkBufferImpl.java b/src/main/java/net/minestom/server/network/NetworkBufferImpl.java index 1b681abaf10..755edf44f48 100644 --- a/src/main/java/net/minestom/server/network/NetworkBufferImpl.java +++ b/src/main/java/net/minestom/server/network/NetworkBufferImpl.java @@ -370,13 +370,6 @@ public NetworkBuffer slice(long offset, long byteLength, long readIndex, long wr return new NetworkBufferImpl(slice, readIndex, writeIndex, null, registries); } - @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}", @@ -626,172 +619,4 @@ static NetworkBufferImpl dummy(@Nullable Registries registries) { 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/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; - } -} From 981c713e190d076ee518c6a452981048f351e22c Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sat, 3 Oct 2026 20:24:03 +0000 Subject: [PATCH 03/23] fix: NetworkBuffer generic bounds (#3384) --- .../server/network/NetworkBuffer.java | 41 ++++++++-------- .../server/network/NetworkBufferImpl.java | 2 +- .../server/network/NetworkBufferTypeImpl.java | 47 ++++++++++--------- 3 files changed, 47 insertions(+), 43 deletions(-) diff --git a/src/main/java/net/minestom/server/network/NetworkBuffer.java b/src/main/java/net/minestom/server/network/NetworkBuffer.java index 7cbca7ddb26..648ce2f0f34 100644 --- a/src/main/java/net/minestom/server/network/NetworkBuffer.java +++ b/src/main/java/net/minestom/server/network/NetworkBuffer.java @@ -18,6 +18,7 @@ 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.IOException; @@ -183,11 +184,11 @@ static Type FixedRawDoubles(int length) { return new NetworkBufferTypeImpl.RawDoublesType(length); } - static Type Lazy(Supplier> supplier) { + static Type Lazy(Supplier> supplier) { return new NetworkBufferTypeImpl.LazyType<>(supplier); } - static Type TypedNBT(Codec serializer) { + static Type TypedNBT(Codec serializer) { return new NetworkBufferTypeImpl.TypedNbtType<>(serializer); } @@ -195,18 +196,18 @@ static Type> Either(NetworkBuffer.Type left, NetworkBuffe return new NetworkBufferTypeImpl.EitherType<>(left, right); } - static Type Recursive(Function, Type> 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) { + 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) { + static Type Tagged(Type discriminator, Function discriminatorFromValue, + Map> serializerMap) { return Tagged(discriminator, discriminatorFromValue, serializerMap, null); } @@ -222,7 +223,7 @@ static Type Tagged(Type discriminator, Function extractor); + byte[] extractBytes(Consumer extractor); NetworkBuffer clear(); @@ -308,31 +309,31 @@ default long sizeOf(T value) { return sizeOf(value, null); } - default Type transform(Function to, Function from) { + default Type transform(Function to, Function from) { return new NetworkBufferTypeImpl.TransformType<>(this, to, from); } - default Type> mapValue(Type valueType, int maxSize) { + default Type<@Unmodifiable @UnknownNullability Map> mapValue(Type valueType, int maxSize) { return new NetworkBufferTypeImpl.MapType<>(this, valueType, maxSize); } - default Type> mapValue(Type valueType) { + default Type<@Unmodifiable @UnknownNullability Map> mapValue(Type valueType) { return mapValue(valueType, Integer.MAX_VALUE); } - default Type> list(int maxSize) { + default Type<@Unmodifiable @UnknownNullability List> list(int maxSize) { return new NetworkBufferTypeImpl.ListType<>(this, maxSize); } - default Type> list() { + default Type<@Unmodifiable @UnknownNullability List> list() { return list(Integer.MAX_VALUE); } - default Type> set(int maxSize) { + default Type<@Unmodifiable @UnknownNullability Set> set(int maxSize) { return new NetworkBufferTypeImpl.SetType<>(this, maxSize); } - default Type> set() { + default Type<@Unmodifiable @UnknownNullability Set> set() { return set(Integer.MAX_VALUE); } @@ -340,7 +341,7 @@ default Type> set() { return new NetworkBufferTypeImpl.OptionalType<>(this); } - default Type unionType(Function> serializers, Function keyFunc) { + default Type unionType(Function> serializers, Function keyFunc) { return new NetworkBufferTypeImpl.UnionType<>(this, keyFunc, serializers); } @@ -417,21 +418,21 @@ interface AutoResize { long resize(long capacity, long targetSize); } - static byte[] makeArray(Consumer writing, @Nullable Registries registries) { + static byte[] makeArray(Consumer writing, @Nullable Registries registries) { NetworkBuffer buffer = resizableBuffer(256, registries); writing.accept(buffer); return buffer.read(RAW_BYTES); } - static byte[] makeArray(Consumer writing) { + static byte[] makeArray(Consumer writing) { return makeArray(writing, null); } - static byte[] makeArray(Type type, T value, @Nullable Registries registries) { + 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) { + static byte[] makeArray(Type type, T value) { return makeArray(type, value, null); } diff --git a/src/main/java/net/minestom/server/network/NetworkBufferImpl.java b/src/main/java/net/minestom/server/network/NetworkBufferImpl.java index 755edf44f48..5447a925474 100644 --- a/src/main/java/net/minestom/server/network/NetworkBufferImpl.java +++ b/src/main/java/net/minestom/server/network/NetworkBufferImpl.java @@ -98,7 +98,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(); diff --git a/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java b/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java index c26a8d5123d..1d6347ed380 100644 --- a/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java +++ b/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java @@ -19,6 +19,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; @@ -57,7 +58,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; @@ -889,13 +890,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; } } @@ -940,9 +941,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; @@ -957,14 +958,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"); } @@ -980,7 +981,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(); @@ -1030,8 +1031,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)); @@ -1076,9 +1077,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; @@ -1105,9 +1106,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; @@ -1134,9 +1135,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") @@ -1148,7 +1149,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 @@ -1160,7 +1161,7 @@ public T read(NetworkBuffer buffer) { } } - record TaggedType( + record TaggedType( NetworkBuffer.Type discriminatorType, Function discriminatorFromValue, Map> serializerMap, @Nullable NetworkBuffer.Type fallback ) implements NetworkBufferTypeImpl { @@ -1175,7 +1176,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); @@ -1184,7 +1186,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); } From 6b83d18fcb210ec8665d1878a396ade0f48ee69a Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sat, 3 Oct 2026 20:38:02 +0000 Subject: [PATCH 04/23] fix: Measure maxLength values with the buffer registries (#3385) --- .../server/network/NetworkBufferTypeImpl.java | 2 +- .../server/network/NetworkBufferRegistriesTest.java | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java b/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java index 1d6347ed380..d3cfc518a7a 100644 --- a/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java +++ b/src/main/java/net/minestom/server/network/NetworkBufferTypeImpl.java @@ -926,7 +926,7 @@ public T read(NetworkBuffer buffer) { record MaxLength(NetworkBuffer.Type parent, long maxLength) implements NetworkBufferTypeImpl { @Override public void write(NetworkBuffer buffer, T value) { - final long length = parent.sizeOf(value); + final long length = parent.sizeOf(value, buffer.registries()); Check.argCondition(length > maxLength, "Value is too long (length: {0}, max: {1})", length, maxLength); buffer.write(parent, value); } 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); From 5f790bd4f9cf0dec793d68195cf27c263101702e Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sat, 3 Oct 2026 21:25:59 +0000 Subject: [PATCH 05/23] docs: Add javadocs to NetworkBuffer (#3386) Port of FFM work --- .../server/network/NetworkBuffer.java | 672 +++++++++++++++++- 1 file changed, 671 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/network/NetworkBuffer.java b/src/main/java/net/minestom/server/network/NetworkBuffer.java index 648ce2f0f34..315bc108075 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; @@ -36,7 +37,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(); @@ -97,11 +139,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); @@ -184,100 +242,419 @@ static Type FixedRawDoubles(int length) { return new NetworkBufferTypeImpl.RawDoublesType(length); } + /** + * 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); } + /** + * 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); } + /** + * 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; } + /** + * 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); } + /** + * 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); + /** + * 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; + /** + * 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); /** @@ -296,76 +673,226 @@ default NetworkBuffer copy(long index, long length) { @Contract(pure = true, value = "_, _, _, _ -> new") NetworkBuffer slice(long offset, long byteLength, long readIndex, long writeIndex); + /** + * 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. + * + * @param the value type, which may be nullable + */ 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 {@link #sizeOf(Object)}, which calls it without registries. + * + * @param value the value to measure + * @param registries the registries for types that need them, or {@code null} + * @return the size in bytes + */ default long sizeOf(T value, @Nullable Registries registries) { return NetworkBufferTypeImpl.sizeOf(this, value, registries); } + /** + * 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); } + /** + * 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); } + /** + * 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); } + /** + * 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); } + /** + * 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); } + /** + * 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); } + /** + * 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); } + /** + * 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); } + /** + * 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); } + /** + * 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(); } + /** + * 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) @@ -373,74 +900,217 @@ static NetworkBuffer resizableBuffer(long initialSize, Registries registries) { .build(); } + /** + * 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(int 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); } + /** + * 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 NetworkBufferImpl.wrap(segment, readIndex, writeIndex, registries); } + /** + * 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); } + /** + * 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); + /** + * 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); } + /** + * 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) { NetworkBuffer buffer = resizableBuffer(256, registries); writing.accept(buffer); return buffer.read(RAW_BYTES); } + /** + * 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); } + /** + * 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); } + /** + * 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); } From 64381b6ff9aefc976bb8bf9c01c13ee097213cb3 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sat, 3 Oct 2026 21:46:14 +0000 Subject: [PATCH 06/23] refactor: NetworkBuffer#resizableBuffer should take long (#3387) * refactor: NetworkBuffer#resizableBuffer should take long Instead of int, breaking change though I think it's fine to have a ABI incompatible one compared to a source incompatible one where it tries to pick the bridge. * fix: update usage in jmh --- .../jmh/java/net/minestom/server/network/NbtBenchmark.java | 4 ++-- src/main/java/net/minestom/server/network/NetworkBuffer.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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/src/main/java/net/minestom/server/network/NetworkBuffer.java b/src/main/java/net/minestom/server/network/NetworkBuffer.java index 315bc108075..da27792fe23 100644 --- a/src/main/java/net/minestom/server/network/NetworkBuffer.java +++ b/src/main/java/net/minestom/server/network/NetworkBuffer.java @@ -907,7 +907,7 @@ static NetworkBuffer resizableBuffer(long initialSize, Registries registries) { * @param initialSize the initial capacity * @return the new buffer */ - static NetworkBuffer resizableBuffer(int initialSize) { + static NetworkBuffer resizableBuffer(long initialSize) { return builder(initialSize) .autoResize(AutoResize.DOUBLE) .build(); From e01a003a1d4d85fcf51c58e8a90db9153b74faaf Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:19:07 +0000 Subject: [PATCH 07/23] feat: add NbtComponentSerializer.nbt(Registries) (#3388) Lets callers serialize components without an initialized server process. --- .../nbt/NbtComponentSerializer.java | 20 +++++++++++++++++++ .../nbt/NbtComponentSerializerImpl.java | 13 ++++++++---- ...NbtComponentSerializerRegistriesTest.java} | 13 +++++++----- 3 files changed, 37 insertions(+), 9 deletions(-) rename src/test/java/net/minestom/server/adventure/nbt/{TestNbtComponentSerializer.java => NbtComponentSerializerRegistriesTest.java} (73%) 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 520eebffb4d..b4e1d359d35 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 @@ -3,9 +3,29 @@ import net.kyori.adventure.nbt.BinaryTag; import net.kyori.adventure.text.Component; 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 { + /** + * Returns a serializer that looks up the server process registries on every operation, so it fails when used + * before the server process is initialized. Prefer {@link #nbt(Registries)} when a registry context is available. + * + * @return the serializer + */ static NbtComponentSerializer nbt() { return NbtComponentSerializerImpl.INSTANCE; } + + /** + * 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/adventure/serializer/nbt/NbtComponentSerializerImpl.java b/src/main/java/net/minestom/server/adventure/serializer/nbt/NbtComponentSerializerImpl.java index 3dc5208216c..50c193daa3e 100644 --- a/src/main/java/net/minestom/server/adventure/serializer/nbt/NbtComponentSerializerImpl.java +++ b/src/main/java/net/minestom/server/adventure/serializer/nbt/NbtComponentSerializerImpl.java @@ -5,21 +5,26 @@ import net.minestom.server.MinecraftServer; import net.minestom.server.codec.Codec; import net.minestom.server.codec.Transcoder; +import net.minestom.server.registry.Registries; import net.minestom.server.registry.RegistryTranscoder; +import org.jetbrains.annotations.Nullable; -final class NbtComponentSerializerImpl implements NbtComponentSerializer { - static final NbtComponentSerializer INSTANCE = new NbtComponentSerializerImpl(); +record NbtComponentSerializerImpl(@Nullable Registries registries) implements NbtComponentSerializer { + static final NbtComponentSerializer INSTANCE = new NbtComponentSerializerImpl(null); @Override public Component deserialize(BinaryTag input) { - final Transcoder coder = new RegistryTranscoder<>(Transcoder.NBT, MinecraftServer.getRegistries()); + final Transcoder coder = new RegistryTranscoder<>(Transcoder.NBT, context()); return Codec.COMPONENT.decode(coder, input).orElseThrow(); } @Override public BinaryTag serialize(Component component) { - final Transcoder coder = new RegistryTranscoder<>(Transcoder.NBT, MinecraftServer.getRegistries()); + final Transcoder coder = new RegistryTranscoder<>(Transcoder.NBT, context()); return Codec.COMPONENT.encode(coder, component).orElseThrow(); } + private Registries context() { + return registries != null ? registries : MinecraftServer.getRegistries(); + } } diff --git a/src/test/java/net/minestom/server/adventure/nbt/TestNbtComponentSerializer.java b/src/test/java/net/minestom/server/adventure/nbt/NbtComponentSerializerRegistriesTest.java similarity index 73% rename from src/test/java/net/minestom/server/adventure/nbt/TestNbtComponentSerializer.java rename to src/test/java/net/minestom/server/adventure/nbt/NbtComponentSerializerRegistriesTest.java index d0f083ae3f4..f9e2b145255 100644 --- a/src/test/java/net/minestom/server/adventure/nbt/TestNbtComponentSerializer.java +++ b/src/test/java/net/minestom/server/adventure/nbt/NbtComponentSerializerRegistriesTest.java @@ -4,6 +4,8 @@ import net.kyori.adventure.nbt.ListBinaryTag; import net.kyori.adventure.text.Component; import net.minestom.server.adventure.serializer.nbt.NbtComponentSerializer; +import net.minestom.server.registry.Registries; +import net.minestom.testing.RegistriesTest; import org.junit.jupiter.api.Test; import java.util.List; @@ -11,10 +13,11 @@ import static net.kyori.adventure.nbt.StringBinaryTag.stringBinaryTag; import static org.junit.jupiter.api.Assertions.assertEquals; -public class TestNbtComponentSerializer { +@RegistriesTest +public class NbtComponentSerializerRegistriesTest { @Test - void testReadStringChildren() { + void testReadStringChildren(Registries registries) { var tag = CompoundBinaryTag.builder() .putString("text", "Hello") .put("extra", ListBinaryTag.from(List.of( @@ -22,15 +25,15 @@ void testReadStringChildren() { stringBinaryTag("World!") ))) .build(); - var deserialized = NbtComponentSerializer.nbt().deserialize(tag); + var deserialized = NbtComponentSerializer.nbt(registries).deserialize(tag); var expected = Component.text("Hello").appendSpace().append(Component.text("World!")); assertEquals(expected, deserialized); } @Test - void testWriteRead() { - var serializer = NbtComponentSerializer.nbt(); + void testWriteRead(Registries registries) { + var serializer = NbtComponentSerializer.nbt(registries); var comp = Component.text("Hello").appendSpace().append(Component.text("World!")); var tag = serializer.serialize(comp); From 985f1d03283dbabffff1ff1611198b40957fd0f1 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:19:09 +0000 Subject: [PATCH 08/23] fix: report invalid item components as syntax errors (#3389) --- .../builder/arguments/minecraft/ArgumentItemStack.java | 8 +++++++- .../net/minestom/server/command/ArgumentTypeTest.java | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) 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 6586d47c673..8eb8af0a101 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 @@ -79,7 +79,13 @@ public static ItemStack staticParse(String input) throws ArgumentSyntaxException reader.consume('='); final Result componentValueResult = (Result) component.decode(coder, reader.readTag()); - 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/test/java/net/minestom/server/command/ArgumentTypeTest.java b/src/test/java/net/minestom/server/command/ArgumentTypeTest.java index c8b620f4484..57bb7db6842 100644 --- a/src/test/java/net/minestom/server/command/ArgumentTypeTest.java +++ b/src/test/java/net/minestom/server/command/ArgumentTypeTest.java @@ -183,6 +183,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 From b39f6f6250cff1099e8544fbc5e296cea8b7baca Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:19:12 +0000 Subject: [PATCH 09/23] fix: unwrap transcoder proxies in raw values (#3390) Raw values decoded with different registry contexts compare equal. --- .../java/net/minestom/server/codec/CodecImpl.java | 5 ++++- .../java/net/minestom/server/codec/CodecTest.java | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) 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/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(); From 79081a0375dc6a95cb6c4aed51dfb9a82a3c21cf Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:19:14 +0000 Subject: [PATCH 10/23] fix: look up enchantment table IDs in a given registry (#3391) Each enchantment table uses the registry it was created with. This likely needs to be refactored to be deferred lookup only when the property needs to be sent, so it's not a requirement to pass this, it's not like it matters so much for scratch though. --- .../type/EnchantmentTableInventory.java | 47 ++++++++++++++----- ...chantmentTableInventoryRegistriesTest.java | 38 +++++++++++++++ 2 files changed, 72 insertions(+), 13 deletions(-) create mode 100644 src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryRegistriesTest.java 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 bc5295ad839..cfb3d84a9ec 100644 --- a/src/main/java/net/minestom/server/inventory/type/EnchantmentTableInventory.java +++ b/src/main/java/net/minestom/server/inventory/type/EnchantmentTableInventory.java @@ -6,24 +6,41 @@ import net.minestom.server.inventory.InventoryProperty; import net.minestom.server.inventory.InventoryType; import net.minestom.server.item.enchant.Enchantment; -import net.minestom.server.registry.DynamicRegistry; +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 static final DynamicRegistry ENCHANTMENT_REGISTRY = MinecraftServer.getEnchantmentRegistry(); + 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(Component title) { + /** + * Creates an enchantment table inventory that sends displayed enchantments by their ID in + * {@code enchantmentRegistry}. + * + * @param title the inventory title + * @param enchantmentRegistry the registry that assigns the IDs of displayed enchantments + */ + public EnchantmentTableInventory(Component title, Registry enchantmentRegistry) { + this.enchantmentRegistry = Objects.requireNonNull(enchantmentRegistry, "enchantmentRegistry"); super(InventoryType.ENCHANTMENT, title); } + public EnchantmentTableInventory(Component title) { + this(title, MinecraftServer.getEnchantmentRegistry()); + } + public EnchantmentTableInventory(String title) { - super(InventoryType.ENCHANTMENT, title); + this(Component.text(title)); } /** @@ -77,27 +94,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 ENCHANTMENT_REGISTRY.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) ENCHANTMENT_REGISTRY.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/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryRegistriesTest.java b/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryRegistriesTest.java new file mode 100644 index 00000000000..6a131e57330 --- /dev/null +++ b/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryRegistriesTest.java @@ -0,0 +1,38 @@ +package net.minestom.server.inventory.type; + +import net.kyori.adventure.text.Component; +import net.minestom.server.item.enchant.Enchantment; +import net.minestom.server.registry.Registries; +import net.minestom.server.registry.RegistryKey; +import net.minestom.testing.RegistriesTest; +import org.junit.jupiter.api.Test; + +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 EnchantmentTableInventoryRegistriesTest { + + @Test + void displayedEnchantmentRoundTrips(Registries registries) { + final var inventory = new EnchantmentTableInventory(Component.text("Enchant"), registries.enchantment()); + 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(Registries registries) { + final var inventory = new EnchantmentTableInventory(Component.text("Enchant"), registries.enchantment()); + final RegistryKey unknown = RegistryKey.unsafeOf("minestom:unknown_enchantment"); + + assertThrows(IllegalArgumentException.class, () -> + inventory.setEnchantmentShown(EnchantmentTableInventory.EnchantmentSlot.MIDDLE, unknown)); + } +} From b581999e6205302ef192062e84ce4850c73243d9 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:19:17 +0000 Subject: [PATCH 11/23] fix: keep the source registries in copied and shared instances (#3392) Copies also keep the dimension name. --- .../server/instance/InstanceContainer.java | 6 ++- .../server/instance/SharedInstance.java | 4 +- .../InstanceContainerRegistriesTest.java | 46 +++++++++++++++++++ .../instance/InstanceContainerTest.java | 23 ---------- 4 files changed, 53 insertions(+), 26 deletions(-) create mode 100644 src/test/java/net/minestom/server/instance/InstanceContainerRegistriesTest.java delete mode 100644 src/test/java/net/minestom/server/instance/InstanceContainerTest.java diff --git a/src/main/java/net/minestom/server/instance/InstanceContainer.java b/src/main/java/net/minestom/server/instance/InstanceContainer.java index 77323410d2a..f7a3cb22b36 100644 --- a/src/main/java/net/minestom/server/instance/InstanceContainer.java +++ b/src/main/java/net/minestom/server/instance/InstanceContainer.java @@ -614,13 +614,15 @@ 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 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(UUID.randomUUID(), getDimensionType()); + InstanceContainer copiedInstance = new InstanceContainer( + 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/SharedInstance.java b/src/main/java/net/minestom/server/instance/SharedInstance.java index 7d157c1a3c8..3e5f5fb020f 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(uuid, instanceContainer.getDimensionType()); + super(instanceContainer.registries(), uuid, + instanceContainer.getDimensionType(), Key.key(instanceContainer.getDimensionName())); this.instanceContainer = instanceContainer; } diff --git a/src/test/java/net/minestom/server/instance/InstanceContainerRegistriesTest.java b/src/test/java/net/minestom/server/instance/InstanceContainerRegistriesTest.java new file mode 100644 index 00000000000..3828961511f --- /dev/null +++ b/src/test/java/net/minestom/server/instance/InstanceContainerRegistriesTest.java @@ -0,0 +1,46 @@ +package net.minestom.server.instance; + +import net.kyori.adventure.key.Key; +import net.minestom.server.registry.Registries; +import net.minestom.server.tag.Tag; +import net.minestom.server.world.DimensionType; +import net.minestom.testing.RegistriesTest; +import org.junit.jupiter.api.Test; + +import java.util.UUID; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertSame; + +@RegistriesTest +public class InstanceContainerRegistriesTest { + + @Test + public void copyPreservesTag(Registries registries) { + var tag = Tag.String("test"); + var instance = new InstanceContainer( + registries, UUID.randomUUID(), + DimensionType.OVERWORLD, null, DimensionType.OVERWORLD.key()); + instance.setTag(tag, "123"); + + var copyInstance = instance.copy(); + var result = copyInstance.getTag(tag); + assertEquals("123", result); + } + + @Test + public void derivedInstancesPreserveRegistryContext(Registries registries) { + final Key dimensionName = Key.key("minestom:derived"); + final InstanceContainer instance = new InstanceContainer( + registries, UUID.randomUUID(), + DimensionType.OVERWORLD, null, dimensionName); + + final InstanceContainer copy = instance.copy(); + final SharedInstance shared = new SharedInstance(UUID.randomUUID(), instance); + + assertSame(registries, copy.registries()); + assertSame(registries, shared.registries()); + assertEquals(dimensionName.asString(), copy.getDimensionName()); + assertEquals(dimensionName.asString(), shared.getDimensionName()); + } +} diff --git a/src/test/java/net/minestom/server/instance/InstanceContainerTest.java b/src/test/java/net/minestom/server/instance/InstanceContainerTest.java deleted file mode 100644 index 536691da9b8..00000000000 --- a/src/test/java/net/minestom/server/instance/InstanceContainerTest.java +++ /dev/null @@ -1,23 +0,0 @@ -package net.minestom.server.instance; - -import net.minestom.server.tag.Tag; -import net.minestom.server.world.DimensionType; -import org.junit.jupiter.api.Test; - -import java.util.UUID; - -import static org.junit.jupiter.api.Assertions.assertEquals; - -public class InstanceContainerTest { - - @Test - public void copyPreservesTag() { - var tag = Tag.String("test"); - var instance = new InstanceContainer(UUID.randomUUID(), DimensionType.OVERWORLD); - instance.setTag(tag, "123"); - - var copyInstance = instance.copy(); - var result = copyInstance.getTag(tag); - assertEquals("123", result); - } -} From 4e9811c7c6c2c1dc5bbce4bad6a5989b3214f358 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:19:20 +0000 Subject: [PATCH 12/23] refactor: remove API deprecated for removal (#3393) --- .../minestom/server/entity/EntityType.java | 1 - .../server/entity/VillagerProfession.java | 1 - .../server/entity/attribute/Attribute.java | 10 ----- .../net/minestom/server/game/GameEvent.java | 1 - .../minestom/server/instance/block/Block.java | 37 ------------------- .../server/instance/block/BlockSoundType.java | 1 - .../minestom/server/instance/fluid/Fluid.java | 1 - .../server/instance/gamerule/GameRule.java | 9 ----- .../net/minestom/server/item/Material.java | 19 ---------- .../minestom/server/item/component/Tool.java | 24 ------------ .../minestom/server/potion/PotionEffect.java | 1 - .../server/registry/RegistryCodecs.java | 9 +---- .../server/registry/StaticProtocolObject.java | 13 ------- .../net/minestom/server/registry/TagKey.java | 16 +------- 14 files changed, 3 insertions(+), 140 deletions(-) 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/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/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/block/Block.java b/src/main/java/net/minestom/server/instance/block/Block.java index d575b4332cf..1e420740868 100644 --- a/src/main/java/net/minestom/server/instance/block/Block.java +++ b/src/main/java/net/minestom/server/instance/block/Block.java @@ -238,7 +238,6 @@ default boolean hasNbt() { */ @Deprecated(forRemoval = true) @SuppressWarnings("removal") - @Override @Contract(pure = true) RegistryData.BlockEntry registry(); @@ -267,15 +266,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. *

@@ -290,15 +280,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. *

@@ -325,15 +306,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. *

@@ -347,15 +319,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/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 ce1a2318bdf..1d91711f33d 100644 --- a/src/main/java/net/minestom/server/item/component/Tool.java +++ b/src/main/java/net/minestom/server/item/component/Tool.java @@ -49,18 +49,6 @@ public record Rule(RegistryTag blocks, @Nullable Float speed, @Nullable B Rule::new); } - /** - * Returns whether this tool is correct for drops from the given block. - * - * @param block the block to test - * @return whether the first matching rule marks this tool as correct for drops - * @deprecated use {@link #isCorrectForDrops(RegistryKey)} - */ - @Deprecated(forRemoval = true) - public boolean isCorrectForDrops(Block block) { - return isCorrectForDrops(block.registryKey()); - } - /** * Returns whether this tool is correct for drops from the given block key. * @@ -77,18 +65,6 @@ public boolean isCorrectForDrops(RegistryKey block) { return false; } - /** - * Returns this tool's mining speed for the given block. - * - * @param block the block to test - * @return the first matching rule's speed, or {@link #defaultMiningSpeed()} when none match - * @deprecated use {@link #getSpeed(RegistryKey)} - */ - @Deprecated(forRemoval = true) - public float getSpeed(Block block) { - return getSpeed(block.registryKey()); - } - /** * Returns this tool's mining speed for the given block key. * 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 76472d89cd7..e883703cade 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())); } } 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..cc667e24e01 100644 --- a/src/main/java/net/minestom/server/registry/TagKey.java +++ b/src/main/java/net/minestom/server/registry/TagKey.java @@ -9,21 +9,7 @@ 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) { From 5e7446d4d4deec05cffb5eded5dd7f80e2eea753 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:19:23 +0000 Subject: [PATCH 13/23] fix: read player dimension type IDs from the current process (#3394) --- .../java/net/minestom/server/entity/Player.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main/java/net/minestom/server/entity/Player.java b/src/main/java/net/minestom/server/entity/Player.java index 7ae5a28d0ee..237caed3896 100644 --- a/src/main/java/net/minestom/server/entity/Player.java +++ b/src/main/java/net/minestom/server/entity/Player.java @@ -173,8 +173,6 @@ * You can easily create your own implementation of this and use it with {@link ConnectionManager#setPlayerProvider(PlayerProvider)}. */ public class Player extends LivingEntity implements CommandSender, HoverEventSource, NamedAndIdentified { - private static final DynamicRegistry DIMENSION_TYPE_REGISTRY = MinecraftServer.getDimensionTypeRegistry(); - private static final Component REMOVE_MESSAGE = Component.text("You have been removed from the server without reason.", NamedTextColor.RED); private static final Component MISSING_REQUIRED_RESOURCE_PACK = Component.text("Required resource pack was not loaded.", NamedTextColor.RED); @@ -310,7 +308,7 @@ public Player(PlayerConnection playerConnection, GameProfile gameProfile) { refreshAnswerKeepAlive(true); this.gameMode = GameMode.SURVIVAL; - this.dimensionTypeId = DIMENSION_TYPE_REGISTRY.getId(DimensionType.OVERWORLD); // Default dimension + this.dimensionTypeId = dimensionTypeRegistry().getId(DimensionType.OVERWORLD); // Default dimension this.levelFlat = true; // FakePlayer init its connection there @@ -341,7 +339,7 @@ public CompletableFuture UNSAFE_init() { this.pendingInstance = null; this.removed = false; - this.dimensionTypeId = DIMENSION_TYPE_REGISTRY.getId(spawnInstance.getDimensionType()); + this.dimensionTypeId = dimensionTypeRegistry().getId(spawnInstance.getDimensionType()); final JoinGamePacket joinGamePacket = new JoinGamePacket( getEntityId(), this.hardcore, List.of(), 0, @@ -1739,7 +1737,7 @@ private void updateViewDistance(int oldSettingsViewDistance, int oldInstanceView * @return the player current dimension */ public DimensionType getDimensionType() { - return DIMENSION_TYPE_REGISTRY.get(dimensionTypeId); + return dimensionTypeRegistry().get(dimensionTypeId); } public PlayerInventory getInventory() { @@ -1825,13 +1823,19 @@ public boolean setGameMode(GameMode gameMode) { protected void sendDimension(RegistryKey dimensionType, String dimensionName, long hashedSeed) { Check.argCondition(instance.getDimensionName().equals(dimensionName), "The dimension needs to be different than the current one!"); - this.dimensionTypeId = DIMENSION_TYPE_REGISTRY.getId(dimensionType); + this.dimensionTypeId = dimensionTypeRegistry().getId(dimensionType); sendPacket(new RespawnPacket(new PlayerSpawnInfo(dimensionTypeId, dimensionName, hashedSeed, gameMode, gameMode, false, levelFlat, deathLocation, portalCooldown, DEFAULT_SEA_LEVEL), (byte) RespawnPacket.COPY_ALL)); refreshClientStateAfterRespawn(); } + // Horrible temporary method because of how registries are synchronized, and the player can exist without an instance. + @ApiStatus.Internal + private static DynamicRegistry dimensionTypeRegistry() { + return MinecraftServer.getDimensionTypeRegistry(); + } + /** * Kicks the player with a reason. * From f6486c08906f7b6de40719a75f4ea7b6ba9865d0 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:19:27 +0000 Subject: [PATCH 14/23] refactor: use a damage type key and nullable source IDs in DamageEventPacket (#3395) The damage type ID is resolved when the packet is written. --- .../minestom/server/entity/LivingEntity.java | 8 +++++--- .../packet/server/play/DamageEventPacket.java | 19 ++++++++++++------- .../PacketWriteReadRegistriesTest.java | 5 +++-- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/main/java/net/minestom/server/entity/LivingEntity.java b/src/main/java/net/minestom/server/entity/LivingEntity.java index f07087fc025..f6b7542921e 100644 --- a/src/main/java/net/minestom/server/entity/LivingEntity.java +++ b/src/main/java/net/minestom/server/entity/LivingEntity.java @@ -350,10 +350,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/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/test/java/net/minestom/server/network/PacketWriteReadRegistriesTest.java b/src/test/java/net/minestom/server/network/PacketWriteReadRegistriesTest.java index 0bc3c2e496d..950221322f2 100644 --- a/src/test/java/net/minestom/server/network/PacketWriteReadRegistriesTest.java +++ b/src/test/java/net/minestom/server/network/PacketWriteReadRegistriesTest.java @@ -671,8 +671,9 @@ 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)))); From 29988a8012b80f37918d85c8511b7512ed75acc8 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:25:57 +0000 Subject: [PATCH 15/23] fix: set the registries of pooled packet buffers per write (#3396) Pooled buffers hold no registries until a write sets them. --- .../server/network/packet/PacketVanilla.java | 9 ++- .../server/network/packet/PacketWriting.java | 36 +++++++++++- .../player/PlayerSocketConnection.java | 1 + .../SendablePacketIntegrationTest.java | 34 +++++++++++ .../network/SendablePacketRegistriesTest.java | 38 ++++++++++++ .../server/network/SendablePacketTest.java | 58 ------------------- .../network/SocketReadIntegrationTest.java | 30 ---------- .../packet/PacketPoolRegistriesTest.java | 30 ++++++++++ 8 files changed, 143 insertions(+), 93 deletions(-) create mode 100644 src/test/java/net/minestom/server/network/SendablePacketIntegrationTest.java create mode 100644 src/test/java/net/minestom/server/network/SendablePacketRegistriesTest.java delete mode 100644 src/test/java/net/minestom/server/network/SendablePacketTest.java create mode 100644 src/test/java/net/minestom/server/network/packet/PacketPoolRegistriesTest.java diff --git a/src/main/java/net/minestom/server/network/packet/PacketVanilla.java b/src/main/java/net/minestom/server/network/packet/PacketVanilla.java index 6924303d3b1..525399a92e3 100644 --- a/src/main/java/net/minestom/server/network/packet/PacketVanilla.java +++ b/src/main/java/net/minestom/server/network/packet/PacketVanilla.java @@ -1,6 +1,5 @@ package net.minestom.server.network.packet; -import net.minestom.server.MinecraftServer; import net.minestom.server.network.ConnectionState; import net.minestom.server.network.NetworkBuffer; import net.minestom.server.network.packet.client.ClientPacket; @@ -255,8 +254,12 @@ public final class PacketVanilla { * Size starts with {@link ServerProperties#POOLED_BUFFER_SIZE} and doubles until {@link ServerProperties#MAX_PACKET_SIZE}. */ public static final ObjectPool PACKET_POOL = ObjectPool.pool( - () -> NetworkBuffer.staticBuffer(ServerProperties.POOLED_BUFFER_SIZE.get(), MinecraftServer.getRegistries()), - NetworkBuffer::clear); + () -> NetworkBuffer.staticBuffer(ServerProperties.POOLED_BUFFER_SIZE.get()), + buffer -> { + buffer.clear(); + buffer.registries(null); + return buffer; + }); public static ConnectionState nextClientState(ClientPacket packet, ConnectionState currentState) { return switch (packet) { diff --git a/src/main/java/net/minestom/server/network/packet/PacketWriting.java b/src/main/java/net/minestom/server/network/packet/PacketWriting.java index 3857685f403..791d847f506 100644 --- a/src/main/java/net/minestom/server/network/packet/PacketWriting.java +++ b/src/main/java/net/minestom/server/network/packet/PacketWriting.java @@ -1,13 +1,16 @@ package net.minestom.server.network.packet; +import net.minestom.server.MinecraftServer; import net.minestom.server.network.ConnectionState; import net.minestom.server.network.NetworkBuffer; import net.minestom.server.network.packet.client.ClientPacket; import net.minestom.server.network.packet.server.ServerPacket; import net.minestom.server.property.ServerProperties; +import net.minestom.server.registry.Registries; import org.jctools.queues.MessagePassingQueue; import org.jetbrains.annotations.ApiStatus; +import java.util.Objects; import java.util.function.BiPredicate; /** @@ -118,13 +121,31 @@ private static void writeCompressedFormat(NetworkBuffer buffer, public static NetworkBuffer allocateTrimmedPacket(ConnectionState state, ClientPacket packet, int compressionThreshold) { - return allocateTrimmedPacket(PacketVanilla.CLIENT_PACKET_PARSER, state, packet, compressionThreshold); + return allocateTrimmedPacket(state, packet, compressionThreshold, MinecraftServer.getRegistries()); + } + + public static NetworkBuffer allocateTrimmedPacket(ConnectionState state, + ClientPacket packet, + int compressionThreshold, + Registries registries) { + return allocateTrimmedPacket( + PacketVanilla.CLIENT_PACKET_PARSER, state, packet, + compressionThreshold, registries); } public static NetworkBuffer allocateTrimmedPacket(ConnectionState state, ServerPacket packet, int compressionThreshold) { - return allocateTrimmedPacket(PacketVanilla.SERVER_PACKET_PARSER, state, packet, compressionThreshold); + return allocateTrimmedPacket(state, packet, compressionThreshold, MinecraftServer.getRegistries()); + } + + public static NetworkBuffer allocateTrimmedPacket(ConnectionState state, + ServerPacket packet, + int compressionThreshold, + Registries registries) { + return allocateTrimmedPacket( + PacketVanilla.SERVER_PACKET_PARSER, state, packet, + compressionThreshold, registries); } public static NetworkBuffer allocateTrimmedPacket( @@ -132,8 +153,19 @@ public static NetworkBuffer allocateTrimmedPacket( ConnectionState state, T packet, int compressionThreshold) { + return allocateTrimmedPacket(parser, state, packet, compressionThreshold, MinecraftServer.getRegistries()); + } + + public static NetworkBuffer allocateTrimmedPacket( + PacketParser parser, + ConnectionState state, + T packet, + int compressionThreshold, + Registries registries) { + Objects.requireNonNull(registries, "registries"); NetworkBuffer buffer = PacketVanilla.PACKET_POOL.get(); try { + buffer.registries(registries); return allocateTrimmedPacket(buffer, parser, state, packet, compressionThreshold); } finally { PacketVanilla.PACKET_POOL.add(buffer); diff --git a/src/main/java/net/minestom/server/network/player/PlayerSocketConnection.java b/src/main/java/net/minestom/server/network/player/PlayerSocketConnection.java index a6fe0f05c8a..1d34cd09460 100644 --- a/src/main/java/net/minestom/server/network/player/PlayerSocketConnection.java +++ b/src/main/java/net/minestom/server/network/player/PlayerSocketConnection.java @@ -480,6 +480,7 @@ public void flushSync() throws IOException { } if (!channel.isConnected()) throw new EOFException("Channel is closed"); NetworkBuffer buffer = PacketVanilla.PACKET_POOL.get(); + buffer.registries(MinecraftServer.getRegistries()); // Write to buffer PacketWriting.writeQueue(buffer, packetQueue, 1, (b, packet) -> { final boolean compressed = sentPacketCounter.get() > compressionStart; diff --git a/src/test/java/net/minestom/server/network/SendablePacketIntegrationTest.java b/src/test/java/net/minestom/server/network/SendablePacketIntegrationTest.java new file mode 100644 index 00000000000..47b8dff2606 --- /dev/null +++ b/src/test/java/net/minestom/server/network/SendablePacketIntegrationTest.java @@ -0,0 +1,34 @@ +package net.minestom.server.network; + +import net.kyori.adventure.text.Component; +import net.minestom.server.MinecraftServer; +import net.minestom.server.network.packet.PacketWriting; +import net.minestom.server.network.packet.server.CachedPacket; +import net.minestom.server.network.packet.server.play.SystemChatPacket; +import net.minestom.testing.Env; +import net.minestom.testing.EnvTest; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertSame; +import static org.junit.jupiter.api.Assertions.assertTrue; + +@EnvTest +public class SendablePacketIntegrationTest { + + @Test + public void cached(Env env) { + var packet = new SystemChatPacket(Component.text("Hello World!"), false); + var cached = new CachedPacket(packet); + assertSame(packet, cached.packet(ConnectionState.PLAY)); + + var buffer = PacketWriting.allocateTrimmedPacket(ConnectionState.PLAY, packet, + MinecraftServer.getCompressionThreshold(), env.process().registries()); + var cachedBuffer = cached.body(ConnectionState.PLAY); + assertTrue(NetworkBuffer.equals(buffer, cachedBuffer)); + // May fail in the very unlikely case where soft references are cleared + // Rare enough to make this test worth it + assertSame(cached.body(ConnectionState.PLAY), cachedBuffer); + + assertSame(packet, cached.packet(ConnectionState.PLAY)); + } +} diff --git a/src/test/java/net/minestom/server/network/SendablePacketRegistriesTest.java b/src/test/java/net/minestom/server/network/SendablePacketRegistriesTest.java new file mode 100644 index 00000000000..1f9eabc127a --- /dev/null +++ b/src/test/java/net/minestom/server/network/SendablePacketRegistriesTest.java @@ -0,0 +1,38 @@ +package net.minestom.server.network; + +import net.minestom.server.entity.PlayerHand; +import net.minestom.server.network.packet.PacketReading; +import net.minestom.server.network.packet.PacketWriting; +import net.minestom.server.network.packet.client.ClientPacket; +import net.minestom.server.network.packet.client.play.ClientAnimationPacket; +import net.minestom.server.registry.Registries; +import net.minestom.testing.RegistriesTest; +import org.junit.jupiter.api.Test; + +import java.util.List; +import java.util.zip.DataFormatException; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.fail; + +@RegistriesTest +public class SendablePacketRegistriesTest { + + @Test + public void trimmed(Registries registries) throws DataFormatException { + var packet = new ClientAnimationPacket(PlayerHand.MAIN); + + var buffer = PacketWriting.allocateTrimmedPacket(ConnectionState.PLAY, packet, 0, registries); + + var result = PacketReading.readClient(buffer, ConnectionState.PLAY, false); + if (!(result instanceof PacketReading.Result.Success( + List> packets + ))) { + fail(); + return; + } + assertEquals(1, packets.size()); + ClientPacket readPacket = packets.getFirst().packet(); + assertEquals(packet, readPacket); + } +} diff --git a/src/test/java/net/minestom/server/network/SendablePacketTest.java b/src/test/java/net/minestom/server/network/SendablePacketTest.java deleted file mode 100644 index bb217fc0cbb..00000000000 --- a/src/test/java/net/minestom/server/network/SendablePacketTest.java +++ /dev/null @@ -1,58 +0,0 @@ -package net.minestom.server.network; - -import net.kyori.adventure.text.Component; -import net.minestom.server.MinecraftServer; -import net.minestom.server.entity.PlayerHand; -import net.minestom.server.network.packet.PacketReading; -import net.minestom.server.network.packet.PacketWriting; -import net.minestom.server.network.packet.client.ClientPacket; -import net.minestom.server.network.packet.client.play.ClientAnimationPacket; -import net.minestom.server.network.packet.server.CachedPacket; -import net.minestom.server.network.packet.server.play.SystemChatPacket; -import org.junit.jupiter.api.Test; - -import java.util.List; -import java.util.zip.DataFormatException; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertSame; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.junit.jupiter.api.Assertions.fail; - -public class SendablePacketTest { - - @Test - public void cached() { - var packet = new SystemChatPacket(Component.text("Hello World!"), false); - var cached = new CachedPacket(packet); - assertSame(packet, cached.packet(ConnectionState.PLAY)); - - var buffer = PacketWriting.allocateTrimmedPacket(ConnectionState.PLAY, packet, - MinecraftServer.getCompressionThreshold()); // TODO required because CachedPacket internally uses process. - var cachedBuffer = cached.body(ConnectionState.PLAY); - assertTrue(NetworkBuffer.equals(buffer, cachedBuffer)); - // May fail in the very unlikely case where soft references are cleared - // Rare enough to make this test worth it - assertSame(cached.body(ConnectionState.PLAY), cachedBuffer); - - assertSame(packet, cached.packet(ConnectionState.PLAY)); - } - - @Test - public void trimmed() throws DataFormatException { - var packet = new ClientAnimationPacket(PlayerHand.MAIN); - - var buffer = PacketWriting.allocateTrimmedPacket(ConnectionState.PLAY, packet, 0); - - var result = PacketReading.readClient(buffer, ConnectionState.PLAY, false); - if (!(result instanceof PacketReading.Result.Success( - List> packets - ))) { - fail(); - return; - } - assertEquals(1, packets.size()); - ClientPacket readPacket = packets.getFirst().packet(); - assertEquals(packet, readPacket); - } -} diff --git a/src/test/java/net/minestom/server/network/SocketReadIntegrationTest.java b/src/test/java/net/minestom/server/network/SocketReadIntegrationTest.java index 29d97b6e5cd..169ed69b279 100644 --- a/src/test/java/net/minestom/server/network/SocketReadIntegrationTest.java +++ b/src/test/java/net/minestom/server/network/SocketReadIntegrationTest.java @@ -5,12 +5,10 @@ import net.minestom.server.network.packet.PacketWriting; import net.minestom.server.network.packet.client.ClientPacket; import net.minestom.server.network.packet.client.common.ClientPluginMessagePacket; -import net.minestom.server.registry.Registries; import net.minestom.testing.Env; import net.minestom.testing.EnvTest; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; @@ -18,7 +16,6 @@ import java.util.zip.DataFormatException; import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotSame; @EnvTest public class SocketReadIntegrationTest { @@ -155,31 +152,4 @@ public void resizeHeader(boolean compressed) throws DataFormatException { assertEquals(5, requiredCapacity); } - @Test - public void compressedReadDoesNotPollutePoolRegistries() throws DataFormatException { - // Encode a framed packet large enough to actually compress (threshold = 256), keeping - // the pool untouched by the test setup so the read is the only relevant consumer. - final var packet = new ClientPluginMessagePacket("ch", new byte[2000]); - final var encoded = NetworkBuffer.resizableBuffer(); - PacketWriting.writeFramedPacket(encoded, ConnectionState.PLAY, packet, 256); - final int length = (int) encoded.writeIndex(); - final byte[] framed = new byte[length]; - encoded.copyTo(0, framed, 0, length); - - // Drain the pool so any buffer we inspect afterwards must have been used by the read. - while (PacketVanilla.PACKET_POOL.count() > 0) PacketVanilla.PACKET_POOL.get(); - - final Registries sourceRegistries = Registries.vanilla(); - final var source = NetworkBuffer.wrap(framed, 0, framed.length, sourceRegistries); - PacketReading.readClients(source, ConnectionState.PLAY, true); - - final NetworkBuffer pooled = PacketVanilla.PACKET_POOL.get(); - try { - assertNotSame(pooled.registries(), sourceRegistries, - "Decompressed pool buffer must not be polluted with registries"); - } finally { - PacketVanilla.PACKET_POOL.add(pooled); - } - } - } diff --git a/src/test/java/net/minestom/server/network/packet/PacketPoolRegistriesTest.java b/src/test/java/net/minestom/server/network/packet/PacketPoolRegistriesTest.java new file mode 100644 index 00000000000..1222405bd65 --- /dev/null +++ b/src/test/java/net/minestom/server/network/packet/PacketPoolRegistriesTest.java @@ -0,0 +1,30 @@ +package net.minestom.server.network.packet; + +import net.minestom.server.network.NetworkBuffer; +import net.minestom.server.registry.Registries; +import net.minestom.testing.RegistriesTest; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertNull; + +@RegistriesTest +public class PacketPoolRegistriesTest { + + @Test + public void packetPoolClearsRegistryContext(Registries registries) { + final var pool = PacketVanilla.PACKET_POOL; + pool.clear(); + + final NetworkBuffer buffer = pool.get(); + buffer.registries(registries); + pool.add(buffer); + + final NetworkBuffer recycled = pool.get(); + try { + assertNull(recycled.registries()); + } finally { + pool.add(recycled); + pool.clear(); + } + } +} From 268866b01b0b450c5605295e253c15d5d062a90c Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Sun, 4 Oct 2026 22:14:23 +0000 Subject: [PATCH 16/23] fix: encode hover item components with the buffer registries (#3400) --- .../ComponentNetworkBufferTypeImpl.java | 37 ++++++++-- .../ComponentHoverContextRegistriesTest.java | 72 +++++++++++++++++++ 2 files changed, 104 insertions(+), 5 deletions(-) create mode 100644 src/test/java/net/minestom/server/network/ComponentHoverContextRegistriesTest.java diff --git a/src/main/java/net/minestom/server/network/ComponentNetworkBufferTypeImpl.java b/src/main/java/net/minestom/server/network/ComponentNetworkBufferTypeImpl.java index 3bc4c818469..cd90ebb8272 100644 --- a/src/main/java/net/minestom/server/network/ComponentNetworkBufferTypeImpl.java +++ b/src/main/java/net/minestom/server/network/ComponentNetworkBufferTypeImpl.java @@ -12,6 +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.DataComponentValue; import net.kyori.adventure.text.event.HoverEvent; import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.ShadowColor; @@ -20,13 +21,17 @@ import net.kyori.adventure.text.format.TextDecoration; import net.kyori.adventure.text.object.PlayerHeadObjectContents; import net.kyori.adventure.text.object.SpriteObjectContents; +import net.kyori.adventure.text.serializer.gson.GsonDataComponentValue; import net.minestom.server.adventure.MinestomAdventure; +import net.minestom.server.adventure.MinestomDataComponentValue; import net.minestom.server.adventure.serializer.nbt.NbtDataComponentValue; import net.minestom.server.codec.Codec; import net.minestom.server.codec.Transcoder; +import net.minestom.server.component.DataComponent; 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; @@ -426,15 +431,15 @@ private static void writeHoverEvent(NetworkBuffer buffer, HoverEvent hoverEve buffer.write(BYTE, TAG_COMPOUND); buffer.write(STRING_IO_UTF8, "components"); - final Map dataComponents = value.dataComponentsAs(NbtDataComponentValue.class); - for (final Map.Entry entry : dataComponents.entrySet()) { - final BinaryTag dataComponentValue = entry.getValue().value(); + for (final Map.Entry entry : value.dataComponents().entrySet()) { + 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); @@ -461,4 +466,26 @@ private static void writeHoverEvent(NetworkBuffer buffer, HoverEvent hoverEve buffer.write(BYTE, TAG_END); } + + // Adventures provider doesn't inherent the registries from the buffer + @SuppressWarnings("unchecked") + 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"); + final DataComponent component = (DataComponent) DataComponent.fromKey(key); + if (component == null) throw new IllegalArgumentException("Unknown data component: " + key); + final Object decoded = switch (value) { + case MinestomDataComponentValue minestomValue -> minestomValue.value(); + case GsonDataComponentValue gsonValue -> component.decode( + new RegistryTranscoder<>(Transcoder.JSON, registries), gsonValue.element()) + .orElseThrow("failed to decode " + key); + default -> throw new IllegalArgumentException( + "Unsupported hover item data component value: " + value.getClass().getName()); + }; + return component.encode(new RegistryTranscoder<>(Transcoder.NBT, registries), decoded) + .orElseThrow("failed to encode " + key); + } } 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); + } +} From e26714d0681224ce4e3b4dc999f5dc46f2963d63 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 4 Oct 2026 22:18:12 +0000 Subject: [PATCH 17/23] chore: bump the non-breaking group with 3 updates (#3397) Bumps the non-breaking group with 3 updates: [gradle-wrapper](https://github.com/gradle/gradle), [ch.qos.logback:logback-core](https://github.com/qos-ch/logback) and [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback). Updates `gradle-wrapper` from 9.7.1 to 9.8.0 - [Release notes](https://github.com/gradle/gradle/releases) - [Commits](https://github.com/gradle/gradle/compare/v9.7.1...v9.8.0) Updates `ch.qos.logback:logback-core` from 1.6.3 to 1.6.5 - [Release notes](https://github.com/qos-ch/logback/releases) - [Commits](https://github.com/qos-ch/logback/compare/v_1.6.3...v_1.6.5) Updates `ch.qos.logback:logback-classic` from 1.6.3 to 1.6.5 - [Release notes](https://github.com/qos-ch/logback/releases) - [Commits](https://github.com/qos-ch/logback/compare/v_1.6.3...v_1.6.5) Updates `ch.qos.logback:logback-classic` from 1.6.3 to 1.6.5 - [Release notes](https://github.com/qos-ch/logback/releases) - [Commits](https://github.com/qos-ch/logback/compare/v_1.6.3...v_1.6.5) --- updated-dependencies: - dependency-name: gradle-wrapper dependency-version: 9.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: ch.qos.logback:logback-core dependency-version: 1.6.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: ch.qos.logback:logback-classic dependency-version: 1.6.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: ch.qos.logback:logback-classic dependency-version: 1.6.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-breaking ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- gradle/libs.versions.toml | 2 +- gradle/wrapper/gradle-wrapper.jar | Bin 47505 -> 47623 bytes gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew.bat | 52 ++++++++++++++++++----- 4 files changed, 43 insertions(+), 13 deletions(-) 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 eddabd2eef8d94a5437d6168ff9c87a78ff725b3..5097068a8d375f5bf0d15693fb5b3615c972a801 100644 GIT binary patch delta 38775 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 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% From 814d4b0456dd1b1f3af29af996217e7b8b1a9a3f Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Mon, 5 Oct 2026 03:05:59 +0000 Subject: [PATCH 18/23] refactor: create registry keys with of (#3401) RegistryKey.of and TagKey.of replace unsafeOf. A key will become just a typed key, it was never really a proof of registration as you could simply register and unregister a entry in a dynamic registry regardless. Drops unsafeOf as they are internal (Though I know they are used so I will include migration notes and mark this as breaking) --- .../codegen/BuiltinRegistriesGenerator.java | 6 +- .../minestom/codegen/GameRuleGenerator.java | 2 +- .../minestom/codegen/ParticleGenerator.java | 2 +- .../minestom/codegen/RegistryGenerator.java | 6 +- .../DynamicRegistryGetIdBenchmark.java | 2 +- .../net/minestom/server/FeatureFlagKeys.java | 8 +- .../minestom/server/dialog/DialogTags.java | 4 +- .../net/minestom/server/dialog/Dialogs.java | 6 +- .../server/entity/EntityTypeKeys.java | 316 +- .../server/entity/EntityTypeTags.java | 96 +- .../server/entity/VillagerProfessionKeys.java | 30 +- .../entity/attribute/AttributeKeys.java | 80 +- .../server/entity/damage/DamageTypeTags.java | 68 +- .../server/entity/damage/DamageTypes.java | 102 +- .../metadata/animal/ChickenSoundVariants.java | 4 +- .../metadata/animal/ChickenVariants.java | 6 +- .../metadata/animal/CowSoundVariants.java | 4 +- .../entity/metadata/animal/CowVariants.java | 6 +- .../entity/metadata/animal/FrogVariants.java | 6 +- .../metadata/animal/PigSoundVariants.java | 6 +- .../entity/metadata/animal/PigVariants.java | 6 +- .../animal/ZombieNautilusVariants.java | 4 +- .../animal/tameable/CatSoundVariants.java | 4 +- .../metadata/animal/tameable/CatVariants.java | 22 +- .../animal/tameable/WolfSoundVariants.java | 14 +- .../animal/tameable/WolfVariants.java | 18 +- .../metadata/cube/SulfurCubeArchetypes.java | 24 +- .../metadata/other/PaintingVariantTags.java | 2 +- .../metadata/other/PaintingVariants.java | 102 +- .../minestom/server/game/GameEventKeys.java | 122 +- .../minestom/server/game/GameEventTags.java | 10 +- .../instance/block/BlockEntityTypeKeys.java | 98 +- .../server/instance/block/BlockKeys.java | 2392 +++++----- .../instance/block/BlockSoundTypeKeys.java | 254 +- .../server/instance/block/BlockTags.java | 530 +-- .../block/banner/BannerPatternTags.java | 22 +- .../instance/block/banner/BannerPatterns.java | 86 +- .../instance/block/jukebox/JukeboxSongs.java | 44 +- .../server/instance/fluid/FluidKeys.java | 10 +- .../server/instance/fluid/FluidTags.java | 12 +- .../instance/gamerule/GameRuleKeys.java | 118 +- .../minestom/server/item/MaterialKeys.java | 3074 ++++++------- .../minestom/server/item/MaterialTags.java | 448 +- .../server/item/armor/TrimMaterials.java | 22 +- .../server/item/armor/TrimPatterns.java | 36 +- .../server/item/enchant/EnchantmentTags.java | 44 +- .../server/item/enchant/Enchantments.java | 86 +- .../item/instrument/InstrumentTags.java | 6 +- .../server/item/instrument/Instruments.java | 16 +- .../minestom/server/message/ChatTypes.java | 14 +- .../server/particle/ParticleKeys.java | 250 +- .../server/potion/PotionEffectKeys.java | 80 +- .../server/potion/PotionTypeKeys.java | 92 +- .../server/potion/PotionTypeTags.java | 2 +- .../server/registry/BuiltinRegistries.java | 88 +- .../minestom/server/sound/SoundEventKeys.java | 3936 ++++++++--------- .../server/statistic/StatisticTypeKeys.java | 154 +- .../minestom/server/world/DimensionTypes.java | 8 +- .../server/world/biome/BiomeTags.java | 136 +- .../minestom/server/world/biome/Biomes.java | 132 +- .../server/world/clock/ClockTimeMarkers.java | 14 +- .../server/world/clock/WorldClocks.java | 4 +- .../server/world/timeline/TimelineTags.java | 8 +- .../server/world/timeline/Timelines.java | 8 +- .../metadata/other/PaintingVariantImpl.java | 2 +- .../server/instance/anvil/AnvilLoader.java | 2 +- .../server/registry/RegistryCodecs.java | 4 +- .../server/registry/RegistryData.java | 2 +- .../minestom/server/registry/RegistryKey.java | 28 +- .../net/minestom/server/registry/TagKey.java | 25 +- .../server/world/clock/ClockTimeMarker.java | 2 +- ...chantmentTableInventoryRegistriesTest.java | 2 +- .../item/component/BlockPredicatesTest.java | 2 +- 73 files changed, 6700 insertions(+), 6681 deletions(-) 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/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/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/instance/anvil/AnvilLoader.java b/src/main/java/net/minestom/server/instance/anvil/AnvilLoader.java index 58b25ab5002..ef845865286 100644 --- a/src/main/java/net/minestom/server/instance/anvil/AnvilLoader.java +++ b/src/main/java/net/minestom/server/instance/anvil/AnvilLoader.java @@ -303,7 +303,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/registry/RegistryCodecs.java b/src/main/java/net/minestom/server/registry/RegistryCodecs.java index e883703cade..5447896d0d6 100644 --- a/src/main/java/net/minestom/server/registry/RegistryCodecs.java +++ b/src/main/java/net/minestom/server/registry/RegistryCodecs.java @@ -130,7 +130,7 @@ public Result> decode(Transcoder coder, D value) { return tag != null ? new Result.Ok<>(tag) : 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)) { @@ -139,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 892361b2e3f..d870a19d828 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/TagKey.java b/src/main/java/net/minestom/server/registry/TagKey.java index cc667e24e01..48da9fe4730 100644 --- a/src/main/java/net/minestom/server/registry/TagKey.java +++ b/src/main/java/net/minestom/server/registry/TagKey.java @@ -5,7 +5,6 @@ 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) { @@ -23,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/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/inventory/type/EnchantmentTableInventoryRegistriesTest.java b/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryRegistriesTest.java index 6a131e57330..23dff1dd831 100644 --- a/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryRegistriesTest.java +++ b/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryRegistriesTest.java @@ -30,7 +30,7 @@ void displayedEnchantmentRoundTrips(Registries registries) { @Test void unknownEnchantmentIsRejected(Registries registries) { final var inventory = new EnchantmentTableInventory(Component.text("Enchant"), registries.enchantment()); - final RegistryKey unknown = RegistryKey.unsafeOf("minestom:unknown_enchantment"); + final RegistryKey unknown = RegistryKey.of("minestom:unknown_enchantment"); assertThrows(IllegalArgumentException.class, () -> inventory.setEnchantmentShown(EnchantmentTableInventory.EnchantmentSlot.MIDDLE, unknown)); 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 bd3f4bae601..2aa3890f6a9 100644 --- a/src/test/java/net/minestom/server/item/component/BlockPredicatesTest.java +++ b/src/test/java/net/minestom/server/item/component/BlockPredicatesTest.java @@ -51,7 +51,7 @@ protected List> directReadWriteEntries() { public void testSingleBlockNbtInput() 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().size()); assertTrue(component.predicates().getFirst().blocks().contains(BlockKeys.STONE)); From 46410aa1b304e57184e3eaf3219c3cc599e9dd07 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Mon, 5 Oct 2026 03:11:31 +0000 Subject: [PATCH 19/23] feat: choose the registry context when creating instances (#3402) Instance and InstanceContainer constructors without a registry context are deprecated. --- .../minestom/server/instance/Instance.java | 19 +++++- .../server/instance/InstanceContainer.java | 62 ++++++++++++++++++- .../server/instance/InstanceManager.java | 25 ++++++++ .../InstanceContainerRegistriesTest.java | 4 +- .../InstanceManagerIntegrationTest.java | 30 +++++++++ .../InstanceUnregisterIntegrationTest.java | 3 +- .../light/LightParityIntegrationTest.java | 7 ++- 7 files changed, 141 insertions(+), 9 deletions(-) create mode 100644 src/test/java/net/minestom/server/instance/InstanceManagerIntegrationTest.java diff --git a/src/main/java/net/minestom/server/instance/Instance.java b/src/main/java/net/minestom/server/instance/Instance.java index a3262f7f3ae..9852170cf19 100644 --- a/src/main/java/net/minestom/server/instance/Instance.java +++ b/src/main/java/net/minestom/server/instance/Instance.java @@ -154,7 +154,9 @@ 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 + * @deprecated use {@link #Instance(Registries, UUID, RegistryKey)} to choose the registry context explicitly */ + @Deprecated public Instance(UUID uuid, RegistryKey dimensionType) { this(uuid, dimensionType, dimensionType.key()); } @@ -164,11 +166,25 @@ public Instance(UUID uuid, RegistryKey dimensionType) { * * @param uuid the {@link UUID} of the instance * @param dimensionType the {@link DimensionType} of the instance + * @deprecated use {@link #Instance(Registries, UUID, RegistryKey, Key)} to choose the registry context explicitly */ + @Deprecated public Instance(UUID uuid, RegistryKey dimensionType, Key dimensionName) { this(MinecraftServer.getRegistries(), uuid, dimensionType, dimensionName); } + /** + * Creates an instance whose dimension name is taken from its dimension type. + * + * @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(Registries registries, UUID uuid, RegistryKey dimensionType) { + this(registries, uuid, dimensionType, dimensionType.key()); + } + /** * Creates a new instance. * @@ -181,7 +197,8 @@ public Instance(Registries registries, UUID uuid, RegistryKey dim this.uuid = uuid; this.dimensionType = dimensionType; this.cachedDimensionType = registries.dimensionType().get(dimensionType); - Check.argCondition(cachedDimensionType == null, "The dimension " + dimensionType + " is not registered! Please add it to the registry (`MinecraftServer.getDimensionTypeRegistry().registry(dimensionType)`)."); + Check.argCondition(cachedDimensionType == null, + "The dimension {0} is not registered in the supplied registry context", dimensionType); this.dimensionName = dimensionName.asString(); this.clocks = new Object2ObjectArrayMap<>(); diff --git a/src/main/java/net/minestom/server/instance/InstanceContainer.java b/src/main/java/net/minestom/server/instance/InstanceContainer.java index f7a3cb22b36..d89e7451064 100644 --- a/src/main/java/net/minestom/server/instance/InstanceContainer.java +++ b/src/main/java/net/minestom/server/instance/InstanceContainer.java @@ -103,23 +103,83 @@ 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. + * + * @param uuid the instance ID + * @param dimensionType the dimension type + * @deprecated use {@link #InstanceContainer(Registries, UUID, RegistryKey)} to choose the registry context explicitly + */ + @Deprecated public InstanceContainer(UUID uuid, RegistryKey dimensionType) { this(uuid, dimensionType, null, dimensionType.key()); } + /** + * Creates an instance container. + * + * @param uuid the instance ID + * @param dimensionType the dimension type + * @param dimensionName the dimension name sent to clients + * @deprecated use {@link #InstanceContainer(Registries, UUID, RegistryKey, ChunkLoader, Key)} to choose the registry + * context explicitly + */ + @Deprecated public InstanceContainer(UUID uuid, RegistryKey dimensionType, Key dimensionName) { this(uuid, dimensionType, null, dimensionName); } + /** + * Creates an instance container. + * + * @param uuid the instance ID + * @param dimensionType the dimension type + * @param loader the chunk loader, or {@code null} to use the default loader + * @deprecated use {@link #InstanceContainer(Registries, UUID, RegistryKey, ChunkLoader, Key)} to choose the registry + * context explicitly + */ + @Deprecated public InstanceContainer(UUID uuid, RegistryKey dimensionType, @Nullable ChunkLoader loader) { this(uuid, dimensionType, loader, dimensionType.key()); } - @SuppressWarnings("this-escape") // deliberate self registration during construction + /** + * Creates an instance container. + * + * @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 + * @deprecated use {@link #InstanceContainer(Registries, UUID, RegistryKey, ChunkLoader, Key)} to choose the registry + * context explicitly + */ + @Deprecated public InstanceContainer(UUID uuid, RegistryKey dimensionType, @Nullable ChunkLoader loader, Key dimensionName) { this(MinecraftServer.getRegistries(), uuid, dimensionType, loader, dimensionName); } + /** + * Creates an instance container whose dimension name is taken from its dimension type. + * + * @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 InstanceContainer(Registries registries, UUID uuid, RegistryKey dimensionType) { + this(registries, uuid, dimensionType, null, dimensionType.key()); + } + + /** + * Creates an instance container with the given registry context and dimension name. + * + * @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( Registries registries, diff --git a/src/main/java/net/minestom/server/instance/InstanceManager.java b/src/main/java/net/minestom/server/instance/InstanceManager.java index 62afd81b62f..2f94e476595 100644 --- a/src/main/java/net/minestom/server/instance/InstanceManager.java +++ b/src/main/java/net/minestom/server/instance/InstanceManager.java @@ -52,11 +52,36 @@ public void registerInstance(Instance instance) { * @return the created {@link InstanceContainer} */ public InstanceContainer createInstanceContainer(RegistryKey dimensionType, @Nullable ChunkLoader loader) { + return createInstanceContainer(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(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/test/java/net/minestom/server/instance/InstanceContainerRegistriesTest.java b/src/test/java/net/minestom/server/instance/InstanceContainerRegistriesTest.java index 3828961511f..272da407e73 100644 --- a/src/test/java/net/minestom/server/instance/InstanceContainerRegistriesTest.java +++ b/src/test/java/net/minestom/server/instance/InstanceContainerRegistriesTest.java @@ -18,9 +18,7 @@ public class InstanceContainerRegistriesTest { @Test public void copyPreservesTag(Registries registries) { var tag = Tag.String("test"); - var instance = new InstanceContainer( - registries, UUID.randomUUID(), - DimensionType.OVERWORLD, null, DimensionType.OVERWORLD.key()); + var instance = new InstanceContainer(registries, UUID.randomUUID(), DimensionType.OVERWORLD); instance.setTag(tag, "123"); var copyInstance = instance.copy(); diff --git a/src/test/java/net/minestom/server/instance/InstanceManagerIntegrationTest.java b/src/test/java/net/minestom/server/instance/InstanceManagerIntegrationTest.java new file mode 100644 index 00000000000..7ecb0ece947 --- /dev/null +++ b/src/test/java/net/minestom/server/instance/InstanceManagerIntegrationTest.java @@ -0,0 +1,30 @@ +package net.minestom.server.instance; + +import net.minestom.server.registry.Registries; +import net.minestom.server.world.DimensionType; +import net.minestom.testing.Env; +import net.minestom.testing.EnvTest; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertNotSame; +import static org.junit.jupiter.api.Assertions.assertSame; +import static org.junit.jupiter.api.Assertions.assertTrue; + +@EnvTest +public class InstanceManagerIntegrationTest { + + @Test + public void createInstanceContainerUsesGivenRegistries(Env env) { + final InstanceManager manager = env.process().instance(); + final Registries registries = Registries.vanilla(); + assertNotSame(env.process().registries(), registries); + + final InstanceContainer instance = manager.createInstanceContainer(registries, DimensionType.OVERWORLD); + final InstanceContainer withLoader = manager.createInstanceContainer(registries, DimensionType.OVERWORLD, null); + + assertSame(registries, instance.registries()); + assertSame(registries, withLoader.registries()); + assertTrue(manager.getInstances().contains(instance)); + assertTrue(manager.getInstances().contains(withLoader)); + } +} diff --git a/src/test/java/net/minestom/server/instance/InstanceUnregisterIntegrationTest.java b/src/test/java/net/minestom/server/instance/InstanceUnregisterIntegrationTest.java index 90bdff942bf..da668324552 100644 --- a/src/test/java/net/minestom/server/instance/InstanceUnregisterIntegrationTest.java +++ b/src/test/java/net/minestom/server/instance/InstanceUnregisterIntegrationTest.java @@ -104,7 +104,8 @@ public void chunkGC(Env env) { @Test public void testGCWithEventsLambda(Env env) { - var ref = new WeakReference<>(new InstanceContainer(UUID.randomUUID(), DimensionType.OVERWORLD)); + var ref = new WeakReference<>(new InstanceContainer( + env.process().registries(), UUID.randomUUID(), DimensionType.OVERWORLD)); env.process().instance().registerInstance(ref.get()); tmp(ref.get()); diff --git a/src/test/java/net/minestom/server/instance/light/LightParityIntegrationTest.java b/src/test/java/net/minestom/server/instance/light/LightParityIntegrationTest.java index 57cf2c97dca..e4a055e543b 100644 --- a/src/test/java/net/minestom/server/instance/light/LightParityIntegrationTest.java +++ b/src/test/java/net/minestom/server/instance/light/LightParityIntegrationTest.java @@ -7,6 +7,7 @@ import net.minestom.server.instance.Section; import net.minestom.server.instance.anvil.AnvilLoader; import net.minestom.server.instance.palette.Palette; +import net.minestom.server.registry.Registries; import net.minestom.server.world.DimensionType; import net.minestom.testing.Env; import net.minestom.testing.EnvTest; @@ -34,7 +35,7 @@ public class LightParityIntegrationTest { @Test public void test(Env env) throws URISyntaxException, IOException { - Map sections = retrieveSections(); + Map sections = retrieveSections(env.process().registries()); // Generate our own light InstanceContainer instance = (InstanceContainer) env.createFlatInstance(); @@ -131,7 +132,7 @@ public void test(Env env) throws URISyntaxException, IOException { record SectionEntry(Palette blocks, byte[] sky, byte[] block) { } - private static Map retrieveSections() throws IOException, URISyntaxException { + private static Map retrieveSections(Registries registries) throws IOException, URISyntaxException { var worldDir = Files.createTempDirectory("minestom-light-parity-test"); var mcaFile = worldDir.resolve("region").resolve("r.0.0.mca"); Files.createDirectories(mcaFile.getParent()); @@ -139,7 +140,7 @@ private static Map retrieveSections() throws IOException, URI Files.copy(Objects.requireNonNull(is), mcaFile); } - var instance = new InstanceContainer(UUID.randomUUID(), DimensionType.OVERWORLD); // Never registered + var instance = new InstanceContainer(registries, UUID.randomUUID(), DimensionType.OVERWORLD); // Never registered var anvilLoader = new AnvilLoader(worldDir); Map sections = new HashMap<>(); From fcd35c05d91add21fc063fa5689bbf8d85d46692 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Mon, 5 Oct 2026 03:49:44 +0000 Subject: [PATCH 20/23] docs: describe migration notes for breaking changes (#3403) --- .github/CONTRIBUTING.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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. From 97fc9874a656608e147637265bde057c5285b4e3 Mon Sep 17 00:00:00 2001 From: Kerman <46640204+kermandev@users.noreply.github.com> Date: Wed, 7 Oct 2026 17:08:57 -0500 Subject: [PATCH 21/23] Merge commit from fork --- .../listener/preplay/LoginListener.java | 8 ++ .../server/network/ConnectionManager.java | 34 ++++--- .../ConnectionManagerIntegrationTest.java | 96 +++++++++++++++++++ 3 files changed, 124 insertions(+), 14 deletions(-) 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 42f196df51a..beeaace000f 100644 --- a/src/main/java/net/minestom/server/listener/preplay/LoginListener.java +++ b/src/main/java/net/minestom/server/listener/preplay/LoginListener.java @@ -8,6 +8,7 @@ import net.minestom.server.MinecraftServer; 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; @@ -49,6 +50,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); @@ -234,6 +236,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; + } MinecraftServer.getConnectionManager().transitionConfigToPlay(player); } diff --git a/src/main/java/net/minestom/server/network/ConnectionManager.java b/src/main/java/net/minestom/server/network/ConnectionManager.java index 3c20f562ef4..b28ee5db810 100644 --- a/src/main/java/net/minestom/server/network/ConnectionManager.java +++ b/src/main/java/net/minestom/server/network/ConnectionManager.java @@ -58,6 +58,7 @@ public final class ConnectionManager { 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 CachedPacket cachedTagsPacket = new CachedPacket(() -> Registries.tagsPacket(MinecraftServer.getRegistries())); @@ -356,20 +357,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); - - // 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(); - - // Required to get the exact moment the player spawns - if (ServerProperties.INSIDE_TEST.get()) spawnFuture.join(); + 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); + + // 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(); + } catch (Throwable t) { + player.kick(SPAWN_ERROR_TEXT); + MinecraftServer.getExceptionManager().handleException(t); + } }); } diff --git a/src/test/java/net/minestom/server/network/ConnectionManagerIntegrationTest.java b/src/test/java/net/minestom/server/network/ConnectionManagerIntegrationTest.java index 1a1e246e556..c734a108dff 100644 --- a/src/test/java/net/minestom/server/network/ConnectionManagerIntegrationTest.java +++ b/src/test/java/net/minestom/server/network/ConnectionManagerIntegrationTest.java @@ -2,10 +2,15 @@ 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; @@ -14,13 +19,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 { @@ -74,6 +87,89 @@ public void profileIsPublishedBeforeLoginSuccess(Env env) throws IOException { } } + @Test + public void earlyFinishConfigurationIsRejected(Env env) { + final ConnectionManager connectionManager = env.process().connection(); + final RecordingConnection connection = new RecordingConnection(); + 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().connection(); + final List failures = new ArrayList<>(); + env.process().exception().setExceptionHandler(failures::add); + final Instance instance = env.createEmptyInstance(); + + connectionManager.setPlayerProvider(FailingSpawnPlayer::new); + final RecordingConnection failingConnection = new RecordingConnection(); + enterPlay(connectionManager, failingConnection, profiles[0], instance); + connectionManager.setPlayerProvider(Player::new); + final RecordingConnection otherConnection = new RecordingConnection(); + 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<>(); + + @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<>(); From 5485bbd50f1c1d2cb7cb20e520f2b831a040df4d Mon Sep 17 00:00:00 2001 From: iceBear67 <48877375+iceBear67@users.noreply.github.com> Date: Wed, 7 Oct 2026 22:21:28 +0000 Subject: [PATCH 22/23] feat: implement equals and hashCode methods for PlayerStatistic (#3406) --- .../minestom/server/statistic/PlayerStatistic.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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); + } } From 2242600820ec27b30c26ec67778c88a82f5c98da Mon Sep 17 00:00:00 2001 From: oglassdev <23040613+oglassdev@users.noreply.github.com> Date: Mon, 12 Oct 2026 17:57:12 -0400 Subject: [PATCH 23/23] feat: choose the registry context for instances and enchantment tables Adopts upstream's Registries overloads on Instance, InstanceContainer, InstanceManager and EnchantmentTableInventory, with the owning ServerProcess prepended. The process-only constructors stay undeprecated and default to the process's registries. Copies, shared instances and chunk tag handlers follow the instance's registries. --- .../net/minestom/server/instance/Chunk.java | 2 +- .../minestom/server/instance/Instance.java | 43 +++++++++++++--- .../server/instance/InstanceContainer.java | 51 +++++++++++++++++-- .../server/instance/InstanceManager.java | 28 +++++++++- .../server/instance/SharedInstance.java | 2 +- .../type/EnchantmentTableInventory.java | 23 +++++++-- .../instance/InstanceContainerTest.java | 29 +++++++++++ .../type/EnchantmentTableInventoryTest.java | 16 ++++++ 8 files changed, 178 insertions(+), 16 deletions(-) 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 5fee50ef469..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 {0} is not registered in this process", dimensionType); + 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; } diff --git a/src/main/java/net/minestom/server/instance/InstanceContainer.java b/src/main/java/net/minestom/server/instance/InstanceContainer.java index 09ec582fb1a..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 the process, {@link DimensionType}, and dimension name are 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 90fdbc07484..0e829b0b7ee 100644 --- a/src/main/java/net/minestom/server/instance/SharedInstance.java +++ b/src/main/java/net/minestom/server/instance/SharedInstance.java @@ -23,7 +23,7 @@ public class SharedInstance extends Instance { private final InstanceContainer instanceContainer; public SharedInstance(UUID uuid, InstanceContainer instanceContainer) { - super(instanceContainer.process(), uuid, + super(instanceContainer.process(), instanceContainer.registries(), uuid, instanceContainer.getDimensionType(), Key.key(instanceContainer.getDimensionName())); this.instanceContainer = instanceContainer; } 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 5d6633eb652..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,26 +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 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)); } /** @@ -87,11 +103,10 @@ public void setSeed(short seed) { * * @param enchantmentSlot the enchantment slot * @param enchantment the enchantment, or {@code null} to hide it - * @throws IllegalArgumentException if the enchantment is not registered in this inventory's process + * @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 var enchantmentRegistry = process().registries().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()); diff --git a/src/test/java/net/minestom/server/instance/InstanceContainerTest.java b/src/test/java/net/minestom/server/instance/InstanceContainerTest.java index 2fffa3f4f9b..7ee84087be9 100644 --- a/src/test/java/net/minestom/server/instance/InstanceContainerTest.java +++ b/src/test/java/net/minestom/server/instance/InstanceContainerTest.java @@ -2,6 +2,7 @@ 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; @@ -12,6 +13,8 @@ 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 { @@ -45,7 +48,33 @@ public void derivedInstancesPreserveProcessAndDimensionName() { 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/inventory/type/EnchantmentTableInventoryTest.java b/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryTest.java index fdb25284b71..a70f4e7a85b 100644 --- a/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryTest.java +++ b/src/test/java/net/minestom/server/inventory/type/EnchantmentTableInventoryTest.java @@ -3,6 +3,7 @@ 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; @@ -42,4 +43,19 @@ void unknownEnchantmentIsRejected() { 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)); + } }