Started by
BIoodheaven
on
Topic category: Help with Minecraft modding (Java Edition)
Hi,
I'm wondering how the NBT functions work with the Get NBT from string or Set NBT from string to value.
Can the Get NBT be used for vanilla NBTs and if so how do you do it?
I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei
I did watch some of them regarding the topic NBT.
However is it possible to change vanilla nbts or get them via String output?
I just want to get the Item I have selected with my hand with the full id.
I tried to use NBT Get String >SelectedItem< to maybe gain access to the id but NBT can't find the value because it probably looks for >ForgeData:SelectedItem<.
I'm struggling to solve this, I want to summon a Armor_Stand with the selected Item on it but I need to have id of minecraft:stone | mymodid:customblock instead of stone | customblock. Is there any way to do this?
/data get .... isnt an option because it cant store value to use it later on my /summon command or can it?
Without code, not yet
Got ya, I used the File Manager Plugin in order to achieve my plan, works perfectly now.