You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempted to run /neoforge tags minecraft:worldgen/biome get c:is_cold/overworld in a world (run from the development environment), I was presented with this error:
[22:20:46] [Server thread/ERROR] [minecraft/Commands]: '/neoforge tags minecraft:worldgen/biome get c:is_cold/overworld' threw an exception
java.lang.ClassCastException: class net.minecraft.tags.TagKey cannot be cast to class net.minecraft.resources.ResourceKey (net.minecraft.tags.TagKey and net.minecraft.resources.ResourceKey are in module [email protected] of loader 'TRANSFORMER' @4b2a30d)
at TRANSFORMER/[email protected]/net.neoforged.neoforge.server.command.TagsCommand.listTagElements(TagsCommand.java:125) ~[neoforge-21.4.54-beta-minecraft.jar%23216!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.neoforged.neoforge.server.command.TagsCommand.lambda$register$7(TagsCommand.java:82) ~[neoforge-21.4.54-beta-minecraft.jar%23216!/:?] {re:classloading}
at MC-BOOTSTRAP/[email protected]/com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar%23138!/:?] {}
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:29) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:103) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.commands.Commands.executeCommandInContext(Commands.java:368) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.commands.Commands.performCommand(Commands.java:289) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:1382) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$7(ServerGamePacketListenerImpl.java:1369) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:905) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:177) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:888) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:882) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:115) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:851) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:735) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:278) ~[neoforge-21.4.54-beta-minecraft.jar%23215!/:?] {re:classloading,pl:accesstransformer:B}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {}
As you can see, a TagKey apparently cannot be cast to a ResourceKey.
The text was updated successfully, but these errors were encountered:
When I attempted to run
/neoforge tags minecraft:worldgen/biome get c:is_cold/overworld
in a world (run from the development environment), I was presented with this error:As you can see, a
TagKey
apparently cannot be cast to aResourceKey
.The text was updated successfully, but these errors were encountered: