Usage
To get started, place an NBT-typed Variable Card into the left slot of the NBT Extractor. The block will read the variable and display its contents as a collapsible tree.
Right click any compound tag or list entry in the tree to expand or collapse it. Keep drilling down until you reach the value you want to extract.
Left click the target entry to select its path. Once a path is selected, place a compatible Variable Card into the right slot. The extractor will write the extracted value to that card according to the active Output Mode.
The Output Mode controls how the output value is created. In Reference Mode, the output variable holds a live reference to the extracted value and updates whenever the source NBT variable changes. In Operator Mode, the extraction path is encoded as a reusable Operator that accepts any NBT input and returns the sub-value. In Value Mode, the current value is written to the card as a fixed constant. In NBT Path Mode, the path itself is stored as a CyclopsCore NBT Path string.
For most use cases, Reference Mode is the right choice. If you want a snapshot that does not change, or if you intend to apply the same extraction to many different NBT values, consider Value Mode or Operator Mode respectively.
The Auto Refresh toggle in the GUI controls whether the displayed NBT tree updates automatically when the source variable is updated. Turn it off to freeze the view at its current state, which is useful when inspecting rapidly changing data.