public class StorageNbtComponent extends NbtComponent
| Constructor and Description |
|---|
StorageNbtComponent(java.lang.String component,
boolean resolve,
ATextComponent separator,
net.lenni0451.mcstructs.core.Identifier id) |
StorageNbtComponent(java.lang.String component,
boolean resolve,
net.lenni0451.mcstructs.core.Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
ATextComponent |
copy() |
boolean |
equals(java.lang.Object o) |
net.lenni0451.mcstructs.core.Identifier |
getId() |
int |
hashCode() |
StorageNbtComponent |
setId(net.lenni0451.mcstructs.core.Identifier id)
Set the id of this component.
|
java.lang.String |
toString() |
asSingleString, getComponent, getSeparator, isResolve, setComponent, setResolve, setSeparatorappend, append, append, asLegacyFormatString, asUnformattedString, copyParentStyle, forEach, getSiblings, getStyle, modifyStyle, putMetaCopy, setParentStyle, setStylepublic StorageNbtComponent(java.lang.String component,
boolean resolve,
net.lenni0451.mcstructs.core.Identifier id)
public StorageNbtComponent(java.lang.String component,
boolean resolve,
ATextComponent separator,
net.lenni0451.mcstructs.core.Identifier id)
public net.lenni0451.mcstructs.core.Identifier getId()
public StorageNbtComponent setId(net.lenni0451.mcstructs.core.Identifier id)
id - The idpublic ATextComponent copy()
copy in interface net.lenni0451.mcstructs.core.ICopyable<ATextComponent>copy in class ATextComponentpublic boolean equals(java.lang.Object o)
equals in class ATextComponentpublic int hashCode()
hashCode in class ATextComponentpublic java.lang.String toString()
toString in class ATextComponent