2021-03-18 15:17:51 -04:00
|
|
|
CLASS net/minecraft/class_2519 net/minecraft/nbt/NbtString
|
2022-05-11 14:28:23 -04:00
|
|
|
COMMENT Represents an NBT string. Its type is {@value NbtElement#STRING_TYPE}.
|
|
|
|
COMMENT Instances are immutable.
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_11590 value Ljava/lang/String;
|
2021-03-18 15:17:51 -04:00
|
|
|
FIELD field_21045 TYPE Lnet/minecraft/class_4614;
|
2019-09-30 16:27:11 -04:00
|
|
|
FIELD field_21046 EMPTY Lnet/minecraft/class_2519;
|
2021-11-17 09:34:14 -05:00
|
|
|
FIELD field_33241 SIZE I
|
|
|
|
FIELD field_33242 DOUBLE_QUOTE C
|
|
|
|
FIELD field_33243 SINGLE_QUOTE C
|
|
|
|
FIELD field_33244 BACKSLASH C
|
|
|
|
FIELD field_33245 NULL C
|
2019-09-30 16:27:11 -04:00
|
|
|
METHOD <init> (Ljava/lang/String;)V
|
|
|
|
ARG 1 value
|
2019-02-20 16:01:25 -05:00
|
|
|
METHOD equals (Ljava/lang/Object;)Z
|
|
|
|
ARG 1 o
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_10706 escape (Ljava/lang/String;)Ljava/lang/String;
|
2022-05-11 14:28:23 -04:00
|
|
|
COMMENT {@return the string quoted with quotes and backslashes escaped}
|
|
|
|
COMMENT
|
|
|
|
COMMENT @implNote If {@code value} contains one of the singlequote or the double quote,
|
|
|
|
COMMENT it tries to use the other quotes to quote the string. If both appear, then the quote
|
|
|
|
COMMENT that appeared later will be used to quote the string. If neither of them appears, this
|
|
|
|
COMMENT uses a double quote. For example, the string {@code It's a "Tiny Potato"!} will be
|
|
|
|
COMMENT escaped as {@code "It's a \\"Tiny Potato\\"!"}, while the string
|
|
|
|
COMMENT {@code It is a "Tiny Potato"!} will be escaped as {@code 'It is a "Tiny Potato"!'}.
|
2019-09-30 16:27:11 -04:00
|
|
|
ARG 0 value
|
|
|
|
METHOD method_23256 of (Ljava/lang/String;)Lnet/minecraft/class_2519;
|
2022-05-11 14:28:23 -04:00
|
|
|
COMMENT {@return the NBT string from {@code value}}
|
2019-09-30 16:27:11 -04:00
|
|
|
ARG 0 value
|
2021-11-19 05:48:18 -05:00
|
|
|
METHOD method_39875 skip (Ljava/io/DataInput;)V
|
|
|
|
ARG 0 input
|