Method | Description | |
---|---|---|
Copy ( ) : TagNode |
Makes a deep copy of the node.
|
|
GetTagType ( ) : TagType |
Gets the tag type of the node.
|
|
IsCastableTo ( TagType type ) : bool |
Checks if the node is castable to another node of a given tag type.
|
|
TagNodeShort ( ) : System |
Constructs a new short node with a data value of 0.
|
|
TagNodeShort ( short d ) : System |
Constructs a new short node.
|
|
ToString ( ) : string |
Gets a string representation of the node's data.
|
|
ToTagDouble ( ) : Substrate.Nbt.TagNodeDouble |
Converts the node to a new double node.
|
|
ToTagFloat ( ) : Substrate.Nbt.TagNodeFloat |
Converts the node to a new float node.
|
|
ToTagInt ( ) : Substrate.Nbt.TagNodeInt |
Converts the node to a new int node.
|
|
ToTagLong ( ) : Substrate.Nbt.TagNodeLong |
Converts the node to a new long node.
|
|
ToTagShort ( ) : |
Converts the node to itself.
|
public IsCastableTo ( TagType type ) : bool | ||
type | TagType | An NBT tag type. |
return | bool |
public TagNodeShort ( short d ) : System | ||
d | short | The value to set the node's tag data value. |
return | System |
public ToTagDouble ( ) : Substrate.Nbt.TagNodeDouble | ||
return | Substrate.Nbt.TagNodeDouble |
public ToTagFloat ( ) : Substrate.Nbt.TagNodeFloat | ||
return | Substrate.Nbt.TagNodeFloat |
public ToTagInt ( ) : Substrate.Nbt.TagNodeInt | ||
return | Substrate.Nbt.TagNodeInt |
public ToTagLong ( ) : Substrate.Nbt.TagNodeLong | ||
return | Substrate.Nbt.TagNodeLong |