mojira.dev

Stoupy

Assigned

No issues.

Reported

View all
MC-304278 Default atlas in tellraw should be "items" Invalid

Comments

Also encountered the error in 26.1 Snapshot 11, here is my function:

#> mgs:v5.0.0/maps/editor/give_tools
#
# @within   mgs:v5.0.0/maps/editor/enter
#
# Give all editor egg tools
item replace entity @s hotbar.0 with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.base_coordinates","color":"light_purple","italic":false},minecraft:item_model="minecraft:endermite_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"base_coordinates"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.base_coordinates"]}]
item replace entity @s hotbar.1 with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.red_spawn","color":"red","italic":false},minecraft:item_model="minecraft:magma_cube_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"red_spawn"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.red_spawn"]}]
item replace entity @s hotbar.2 with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.blue_spawn","color":"blue","italic":false},minecraft:item_model="minecraft:dolphin_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"blue_spawn"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.blue_spawn"]}]
item replace entity @s hotbar.3 with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.general_spawn","color":"yellow","italic":false},minecraft:item_model="minecraft:blaze_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"general_spawn"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.general_spawn"]}]
item replace entity @s hotbar.4 with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.out_of_bounds","color":"dark_red","italic":false},minecraft:item_model="minecraft:spider_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"out_of_bounds"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.out_of_bounds"]}]
item replace entity @s inventory.0 with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.boundary_corner","color":"gray","italic":false},minecraft:item_model="minecraft:skeleton_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"boundary"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.boundary"]}]
item replace entity @s inventory.1 with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.sd_objective","color":"gold","italic":false},minecraft:item_model="minecraft:fox_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"search_and_destroy"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.search_and_destroy"]}]
item replace entity @s inventory.2 with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.domination_point","color":"green","italic":false},minecraft:item_model="minecraft:creeper_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"domination"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.domination"]}]
item replace entity @s inventory.3 with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.hardpoint_zone","color":"dark_purple","italic":false},minecraft:item_model="minecraft:warden_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"hardpoint"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.hardpoint"]}]
item replace entity @s weapon.offhand with minecraft:bat_spawn_egg[minecraft:item_name={"translate": "mgs.destroy","color":"dark_red","italic":false,"bold":true},minecraft:item_model="minecraft:wither_skeleton_spawn_egg",minecraft:custom_data={mgs:{editor:true,type:"destroy"}},minecraft:entity_data={id:"minecraft:bat",NoAI:1b,Silent:1b,Invulnerable:1b,Tags:["mgs.new_element","mgs.element.destroy"]}]

Error log:

14:08:59 [ServerMain/ERROR]: Failed to load function mgs:v5.0.0/maps/editor/give_tools
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 8: Could not parse command: Components not bound yet at position 60: ..._spawn_egg<--[HERE]
        at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323)
        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359)
        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1791)
        at net.minecraft.server.packs.resources.SimpleReloadInstance.lambda$prepareTasks$1(SimpleReloadInstance.java:51)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1750)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1742)
        at java.base/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1659)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1450)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2019)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 8: Could not parse command: Components not bound yet at position 60: ..._spawn_egg<--[HERE]
        at net.minecraft.commands.functions.CommandFunction.fromLines(CommandFunction.java:80)
        at net.minecraft.server.ServerFunctionLibrary.lambda$reload$3(ServerFunctionLibrary.java:85)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1789)
        ... 8 more

Can confirm in 1.21.10

Additional information to my 9s video:

I have an inventory_changed advancement that does nothing, but it’s what’s hiding the locator bar

(Can confirm in 1.21.7)

Actually, any inventory update hides the locator bar:

[media: 5W4dTtc.mp4]

https://i.imgur.com/5W4dTtc.gif

I’m having the same log errors in 1.21.6 PreRelease-1

[15:42:01] [Netty Server IO #15/ERROR]: Error sending packet clientbound/minecraft:disconnect
io.netty.handler.codec.EncoderException: Sending unknown packet 'clientbound/minecraft:disconnect'
        at zl.a(SourceFile:50) ~[server-1.21.6-pre1.jar:?]
        at zl.encode(SourceFile:14) ~[server-1.21.6-pre1.jar:?]
        at wr.a(SourceFile:26) ~[server-1.21.6-pre1.jar:?]
        at wr.encode(SourceFile:12) ~[server-1.21.6-pre1.jar:?]
        at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[netty-codec-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at wd$2.write(SourceFile:525) ~[server-1.21.6-pre1.jar:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:956) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:974) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:305) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at wd.c(SourceFile:351) ~[server-1.21.6-pre1.jar:?]
        at wd.b(SourceFile:343) ~[server-1.21.6-pre1.jar:?]
        at wd.a(SourceFile:325) ~[server-1.21.6-pre1.jar:?]
        at wd.a(SourceFile:319) ~[server-1.21.6-pre1.jar:?]
        at wd.exceptionCaught(SourceFile:170) ~[server-1.21.6-pre1.jar:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1324) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:856) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:125) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:177) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:796) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:732) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:658) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998) ~[netty-common-4.1.118.Final.jar:4.1.118.Final]
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.118.Final.jar:4.1.118.Final]
        at java.base/java.lang.Thread.run(Thread.java:1570) [?:?]