Unable to read NBT Type or Data from path
N1ghthauq opened this issue ยท 2 comments
Issue type:
- ๐ Bug
Short description:
When trying to use the NBT path variable cards to read NBT data or NBT type it throws null or nothing.
Steps to reproduce the problem:
- Following the guide from On the Dynamics of Integration
- Place a lectern with a book in it
- Place a block reader on the lectern
- Attach the block reader to a network with a variable store via logic cables
- Pull the Tile Entity NBT data from the Block Reader
- Attach a display panel to the same network as the other connected parts
- Place NBT card into display panel (Observe NBT intact and coherent)
- Create new string variable card with ".id" NBT path
- Apply variable card with string and variable card with NBT to NBT path test
- Place resulting card into a display panel, this will return a value of true, indicating the path exists
- Apply String and NBT data to a NBT{}.Type card
- Place resulting card into a display panel, this returns a Null, indicating there is nothing there
- Any other attempt to pull data either by listing NBT Keys, the NBT data itself, grabbing compound tags, all result in nothing or null
Expected behaviour:
Display the NBT values when attempting to get Type, Strings, Keys, etc.
Versions:
- This mod: 1.24.0
Cyclops Core: 1.19.5
Common Capabilities: 2.9.4 - Minecraft: 1.20.1
- Mod loader version: Forge 47.3.12
Log file:
This works fine on my end.
I'm guessing you used the .id
string in the NBT{}.Type operator, while this one does not accept NBT paths, but direct keys, so you should use id
here.