Mojira Archive
MC-276691

Inline json doesn't allow mixing types in array

How to Reproduce

  1. Execute the following command
    /loot give @s loot {pools:[{rolls:1,entries:[{type:"item",name:"stone",functions:[{function:"set_name",entity:"this",name:["test",{selector:"@s"}]}]}]}]}
    

Expected Behaviour

Parse successfully since it's a valid json.

Observed Behaviour

Can't insert TAG_Compound into list of TAG_String

Works As Intended

ccJerrycc

2024-09-14, 06:21 AM

2024-10-01, 07:35 AM

2024-10-01, 07:35 AM

0

3

Confirmed

(Unassigned)

24w37a

-