@@ -164,52 +164,19 @@ def test_load_tag_file(raw_data: str, want_values: list[TagValue]):
164164 ],
165165 """{"values":[{"id":"minecraft:stone","required":false}],"replace":false}""" ,
166166 ),
167- # (
168- # """\
169- # {
170- # "values": [
171- # "minecraft:stone"
172- # ]
173- # }
174- # """,
175- # [
176- # ResourceLocation("minecraft", "stone"),
177- # ],
178- # ),
179- # (
180- # """\
181- # {
182- # "values": [
183- # {"id": "minecraft:stone", "required": false}
184- # ]
185- # }
186- # """,
187- # [
188- # OptionalTagValue(
189- # id=ResourceLocation("minecraft", "stone"),
190- # required=False,
191- # ),
192- # ],
193- # ),
194- # (
195- # """\
196- # {
197- # "values": [
198- # "hextweaks:infusion",
199- # "hextweaks:nuke_chunk_nowill",
200- # {"id": "hextweaks:you_like_drinking_potions","required": false}
201- # ]
202- # }
203- # """,
204- # [
205- # ResourceLocation("hextweaks", "infusion"),
206- # ResourceLocation("hextweaks", "nuke_chunk_nowill"),
207- # OptionalTagValue(
208- # id=ResourceLocation("hextweaks", "you_like_drinking_potions"),
209- # required=False,
210- # ),
211- # ],
212- # ),
167+ (
168+ [
169+ ResourceLocation ("hextweaks" , "infusion" ),
170+ ResourceLocation ("hextweaks" , "nuke_chunk_nowill" ),
171+ OptionalTagValue (
172+ id = ResourceLocation ("hextweaks" , "you_like_drinking_potions" ),
173+ required = False ,
174+ ),
175+ ],
176+ False ,
177+ None ,
178+ """{"values":["hextweaks:infusion","hextweaks:nuke_chunk_nowill",{"id":"hextweaks:you_like_drinking_potions","required":false}],"replace":false}""" ,
179+ ),
213180 ],
214181)
215182def test_export_tag (
0 commit comments