public interface NbtVisitor
| Modifier and Type | Method and Description | 
|---|---|
| boolean | visit(NbtBase<?> node)Visit a leaf node, which is a NBT tag with a primitive or String value. | 
| boolean | visitEnter(NbtCompound compound)Begin visiting a compound node that contains multiple child nodes of different types. | 
| boolean | visitEnter(NbtList<?> list)Begin visiting a list node that contains multiple child nodes of the same type. | 
| boolean | visitLeave(NbtCompound compound)Stop visiting a compound node. | 
| boolean | visitLeave(NbtList<?> list)Stop visiting a list node. | 
boolean visit(NbtBase<?> node)
node - - the visited leaf node.boolean visitEnter(NbtList<?> list)
list - - the NBT tag to process.boolean visitEnter(NbtCompound compound)
compound - - the NBT tag to process.boolean visitLeave(NbtList<?> list)
list - - the list we're done visiting.boolean visitLeave(NbtCompound compound)
compound - - the compound we're done visting.