#how to read multilayered nbt
24 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
it looks like {mekData:{GasTanks:[{Tank:0b,stored:{amount:9223372036854775807L,gasName:"mekanism:steam"}}]}} btw
nbt.mekData.GasTanks[0].stored.gasName
other question, how would you get the mod id from said fluid id
the mekanism part?
yeah
let id = nbt.mekData.GasTanks[0].stored.gasName
let mod = id.split(':')[0]
also do liquids have block lang?
they should but i dont know much about those or how to get it 
how can i turn mod.somegas into gas.mod.somegas
as a string?
yeah

it works!
noice
Paste version of message.js from @sacred palm
Please close your ticket (with </ticket close:1054771505520717835> or the button atop this thread) once you resolved your issue! This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.
Do you have any other questions regarding your issue? Feel free to ask!
Note: You should generally create a new post for unrelated issues.
