yarn/mappings/net/minecraft/nbt/visitor/NbtTextFormatter.mapping

31 lines
1.5 KiB
Plaintext
Raw Normal View History

CLASS net/minecraft/class_5628 net/minecraft/nbt/visitor/NbtTextFormatter
Refactor the whole net.minecraft.nbt package. (#2090) * Refactor the whole net.minecraft.nbt package. * a NBT -> an NBT * -bits -> -bit * Improve javadoc and consistency. * Update mappings/net/minecraft/nbt/AbstractNbtList.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * NbtObject -> NbtCompound... * Remove last occurences of NbtObject I have no idea how I missed those... They are quite obvious. Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtCompound.mapping Co-authored-by: YanisBft <doublecraft.official@gmail.com> * Apply suggestions. * Restore addElement and setElement. * Fix some missed stuff. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: Gegy <gegy1000@gmail.com> * Reformat type value part of NBT elements javadoc. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Clarify documentation. * Apply @ChloeDawn's suggestion. * rawType -> id * Apply haykam's suggestions. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * getX -> xValue in AbstractNbtNumber. * Apply more changes from code review. * Apply suggestions from haykam's code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: YanisBft <doublecraft.official@gmail.com> Co-authored-by: Gegy <gegy1000@gmail.com>
2021-03-18 15:17:51 -04:00
COMMENT Formats an NBT element into a colored, multiline {@link Text} representation suitable for human-readable
COMMENT displays.
2022-01-19 12:26:32 -05:00
FIELD field_27831 LOGGER Lorg/slf4j/Logger;
FIELD field_27832 SINGLE_LINE_ELEMENT_TYPES Lit/unimi/dsi/fastutil/bytes/ByteCollection;
FIELD field_27833 NAME_COLOR Lnet/minecraft/class_124;
FIELD field_27834 STRING_COLOR Lnet/minecraft/class_124;
FIELD field_27835 NUMBER_COLOR Lnet/minecraft/class_124;
FIELD field_27836 TYPE_SUFFIX_COLOR Lnet/minecraft/class_124;
FIELD field_27837 SIMPLE_NAME Ljava/util/regex/Pattern;
FIELD field_27838 KEY_VALUE_SEPARATOR Ljava/lang/String;
FIELD field_27839 ENTRY_SEPARATOR Ljava/lang/String;
FIELD field_27840 prefix Ljava/lang/String;
FIELD field_27841 indentationLevel I
FIELD field_27842 result Lnet/minecraft/class_2561;
FIELD field_33272 SQUARE_OPEN_BRACKET Ljava/lang/String;
FIELD field_33273 SQUARE_CLOSE_BRACKET Ljava/lang/String;
FIELD field_33274 SEMICOLON Ljava/lang/String;
FIELD field_33275 SPACE Ljava/lang/String;
FIELD field_33276 CURLY_OPEN_BRACKET Ljava/lang/String;
FIELD field_33277 CURLY_CLOSE_BRACKET Ljava/lang/String;
FIELD field_33278 NEW_LINE Ljava/lang/String;
METHOD <init> (Ljava/lang/String;I)V
ARG 1 prefix
ARG 2 indentationLevel
METHOD method_32304 escapeName (Ljava/lang/String;)Lnet/minecraft/class_2561;
ARG 0 name
METHOD method_32305 apply (Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;
COMMENT {@return the textified NBT {@code element}}
Refactor the whole net.minecraft.nbt package. (#2090) * Refactor the whole net.minecraft.nbt package. * a NBT -> an NBT * -bits -> -bit * Improve javadoc and consistency. * Update mappings/net/minecraft/nbt/AbstractNbtList.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * NbtObject -> NbtCompound... * Remove last occurences of NbtObject I have no idea how I missed those... They are quite obvious. Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtCompound.mapping Co-authored-by: YanisBft <doublecraft.official@gmail.com> * Apply suggestions. * Restore addElement and setElement. * Fix some missed stuff. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: Gegy <gegy1000@gmail.com> * Reformat type value part of NBT elements javadoc. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Clarify documentation. * Apply @ChloeDawn's suggestion. * rawType -> id * Apply haykam's suggestions. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * getX -> xValue in AbstractNbtNumber. * Apply more changes from code review. * Apply suggestions from haykam's code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: YanisBft <doublecraft.official@gmail.com> Co-authored-by: Gegy <gegy1000@gmail.com>
2021-03-18 15:17:51 -04:00
ARG 1 element