Package net.minecraft.nbt
Class NbtCompound
java.lang.Object
net.minecraft.nbt.NbtCompound
- All Implemented Interfaces:
class_4373
- Mappings:
Namespace Name official gyintermediary net/minecraft/class_322named net/minecraft/nbt/NbtCompound
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Patternprivate final Map<String,class_4373> private static final LoggerFields inherited from interface net.minecraft.class_4373
field_21488, field_21489, field_21490, field_21491, field_21492 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate CrashReportaddDetailsToCrashReport(String key, int id, ClassCastException ex) booleanbooleanbooleancontainsUuid(String key) booleanprotected static StringbooleangetBoolean(String key) bytebyte[]getByteArray(String key) getCompound(String key) doublefloatintint[]getIntArray(String key) getKeys()longshortintgetSize()byteinthashCode()booleanisEmpty()method_10575(NbtCompound nbtCompound) bytevoidmethod_1649(DataInput dataInput, int int2, PositionTracker positionTracker) voidmethod_1650(DataOutput dataOutput) voidmethod_20092(String string, long[] long2) voidmethod_20093(String string, List<Integer> list) voidmethod_20094(String string, List<Long> list) long[]method_20095(String string) protected static Textmethod_20096(String string) method_20146(String string, int int2) (package private) static class_4373method_7341(byte byte2, String string, DataInput dataInput, int int2, PositionTracker positionTracker) private static voidmethod_7343(String string, class_4373 class_4373, DataOutput dataOutput) method_807(String string) voidmethod_814(String string, class_4373 class_4373) voidputBoolean(String key, boolean bool) voidvoidputByteArray(String key, byte[] value) voidvoidvoidvoidputIntArray(String key, int[] value) voidvoidvoidvoidprivate static bytereadByte(DataInput input, PositionTracker tracker) private static StringreadString(DataInput input, PositionTracker tracker) voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_4373
method_20147, method_7370
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official fLgy;f:Lorg/apache/logging/log4j/Logger;intermediary field_15347Lnet/minecraft/class_322;field_15347:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/nbt/NbtCompound;LOGGER:Lorg/apache/logging/log4j/Logger;
-
ALLOW_UNQUOTED_PATTERN
- Mappings:
Namespace Name Mixin selector official gLgy;g:Ljava/util/regex/Pattern;intermediary field_16244Lnet/minecraft/class_322;field_16244:Ljava/util/regex/Pattern;named ALLOW_UNQUOTED_PATTERNLnet/minecraft/nbt/NbtCompound;ALLOW_UNQUOTED_PATTERN:Ljava/util/regex/Pattern;
-
data
- Mappings:
Namespace Name Mixin selector official hLgy;h:Ljava/util/Map;intermediary field_899Lnet/minecraft/class_322;field_899:Ljava/util/Map;named dataLnet/minecraft/nbt/NbtCompound;data:Ljava/util/Map;
-
-
Constructor Details
-
NbtCompound
public NbtCompound()
-
-
Method Details
-
method_1650
- Specified by:
method_1650in interfaceclass_4373- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLho;a(Ljava/io/DataOutput;)Vintermediary method_1650Lnet/minecraft/class_4373;method_1650(Ljava/io/DataOutput;)Vnamed method_1650Lnet/minecraft/class_4373;method_1650(Ljava/io/DataOutput;)V
-
method_1649
public void method_1649(DataInput dataInput, int int2, PositionTracker positionTracker) throws IOException - Specified by:
method_1649in interfaceclass_4373- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLho;a(Ljava/io/DataInput;ILhh;)Vintermediary method_1649Lnet/minecraft/class_4373;method_1649(Ljava/io/DataInput;ILnet/minecraft/class_1944;)Vnamed method_1649Lnet/minecraft/class_4373;method_1649(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
-
getKeys
- Mappings:
Namespace Name Mixin selector official cLgy;c()Ljava/util/Set;intermediary method_7347Lnet/minecraft/class_322;method_7347()Ljava/util/Set;named getKeysLnet/minecraft/nbt/NbtCompound;getKeys()Ljava/util/Set;
-
method_1645
public byte method_1645()- Specified by:
method_1645in interfaceclass_4373- Mappings:
Namespace Name Mixin selector official aLho;a()Bintermediary method_1645Lnet/minecraft/class_4373;method_1645()Bnamed method_1645Lnet/minecraft/class_4373;method_1645()B
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official dLgy;d()Iintermediary method_12589Lnet/minecraft/class_322;method_12589()Inamed getSizeLnet/minecraft/nbt/NbtCompound;getSize()I
-
method_814
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;Lho;)Vintermediary method_814Lnet/minecraft/class_322;method_814(Ljava/lang/String;Lnet/minecraft/class_4373;)Vnamed method_814Lnet/minecraft/nbt/NbtCompound;method_814(Ljava/lang/String;Lnet/minecraft/class_4373;)V
-
putByte
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;B)Vintermediary method_808Lnet/minecraft/class_322;method_808(Ljava/lang/String;B)Vnamed putByteLnet/minecraft/nbt/NbtCompound;putByte(Ljava/lang/String;B)V
-
putShort
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;S)Vintermediary method_816Lnet/minecraft/class_322;method_816(Ljava/lang/String;S)Vnamed putShortLnet/minecraft/nbt/NbtCompound;putShort(Ljava/lang/String;S)V
-
putInt
- Mappings:
Namespace Name Mixin selector official bLgy;b(Ljava/lang/String;I)Vintermediary method_811Lnet/minecraft/class_322;method_811(Ljava/lang/String;I)Vnamed putIntLnet/minecraft/nbt/NbtCompound;putInt(Ljava/lang/String;I)V
-
putLong
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;J)Vintermediary method_812Lnet/minecraft/class_322;method_812(Ljava/lang/String;J)Vnamed putLongLnet/minecraft/nbt/NbtCompound;putLong(Ljava/lang/String;J)V
-
putUuid
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;Ljava/util/UUID;)Vintermediary method_12587Lnet/minecraft/class_322;method_12587(Ljava/lang/String;Ljava/util/UUID;)Vnamed putUuidLnet/minecraft/nbt/NbtCompound;putUuid(Ljava/lang/String;Ljava/util/UUID;)V
-
getUuid
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;)Ljava/util/UUID;intermediary method_12586Lnet/minecraft/class_322;method_12586(Ljava/lang/String;)Ljava/util/UUID;named getUuidLnet/minecraft/nbt/NbtCompound;getUuid(Ljava/lang/String;)Ljava/util/UUID;
-
containsUuid
- Mappings:
Namespace Name Mixin selector official bLgy;b(Ljava/lang/String;)Zintermediary method_12588Lnet/minecraft/class_322;method_12588(Ljava/lang/String;)Znamed containsUuidLnet/minecraft/nbt/NbtCompound;containsUuid(Ljava/lang/String;)Z
-
putFloat
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;F)Vintermediary method_810Lnet/minecraft/class_322;method_810(Ljava/lang/String;F)Vnamed putFloatLnet/minecraft/nbt/NbtCompound;putFloat(Ljava/lang/String;F)V
-
putDouble
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;D)Vintermediary method_809Lnet/minecraft/class_322;method_809(Ljava/lang/String;D)Vnamed putDoubleLnet/minecraft/nbt/NbtCompound;putDouble(Ljava/lang/String;D)V
-
putString
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;Ljava/lang/String;)Vintermediary method_815Lnet/minecraft/class_322;method_815(Ljava/lang/String;Ljava/lang/String;)Vnamed putStringLnet/minecraft/nbt/NbtCompound;putString(Ljava/lang/String;Ljava/lang/String;)V
-
putByteArray
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;[B)Vintermediary method_818Lnet/minecraft/class_322;method_818(Ljava/lang/String;[B)Vnamed putByteArrayLnet/minecraft/nbt/NbtCompound;putByteArray(Ljava/lang/String;[B)V
-
putIntArray
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;[I)Vintermediary method_819Lnet/minecraft/class_322;method_819(Ljava/lang/String;[I)Vnamed putIntArrayLnet/minecraft/nbt/NbtCompound;putIntArray(Ljava/lang/String;[I)V
-
method_20093
- Mappings:
Namespace Name Mixin selector official bLgy;b(Ljava/lang/String;Ljava/util/List;)Vintermediary method_20093Lnet/minecraft/class_322;method_20093(Ljava/lang/String;Ljava/util/List;)Vnamed method_20093Lnet/minecraft/nbt/NbtCompound;method_20093(Ljava/lang/String;Ljava/util/List;)V
-
method_20092
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;[J)Vintermediary method_20092Lnet/minecraft/class_322;method_20092(Ljava/lang/String;[J)Vnamed method_20092Lnet/minecraft/nbt/NbtCompound;method_20092(Ljava/lang/String;[J)V
-
method_20094
- Mappings:
Namespace Name Mixin selector official cLgy;c(Ljava/lang/String;Ljava/util/List;)Vintermediary method_20094Lnet/minecraft/class_322;method_20094(Ljava/lang/String;Ljava/util/List;)Vnamed method_20094Lnet/minecraft/nbt/NbtCompound;method_20094(Ljava/lang/String;Ljava/util/List;)V
-
putBoolean
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;Z)Vintermediary method_817Lnet/minecraft/class_322;method_817(Ljava/lang/String;Z)Vnamed putBooleanLnet/minecraft/nbt/NbtCompound;putBoolean(Ljava/lang/String;Z)V
-
method_807
- Mappings:
Namespace Name Mixin selector official cLgy;c(Ljava/lang/String;)Lho;intermediary method_807Lnet/minecraft/class_322;method_807(Ljava/lang/String;)Lnet/minecraft/class_4373;named method_807Lnet/minecraft/nbt/NbtCompound;method_807(Ljava/lang/String;)Lnet/minecraft/class_4373;
-
getType
- Mappings:
Namespace Name Mixin selector official dLgy;d(Ljava/lang/String;)Bintermediary method_7345Lnet/minecraft/class_322;method_7345(Ljava/lang/String;)Bnamed getTypeLnet/minecraft/nbt/NbtCompound;getType(Ljava/lang/String;)B
-
contains
- Mappings:
Namespace Name Mixin selector official eLgy;e(Ljava/lang/String;)Zintermediary method_820Lnet/minecraft/class_322;method_820(Ljava/lang/String;)Znamed containsLnet/minecraft/nbt/NbtCompound;contains(Ljava/lang/String;)Z
-
contains
- Mappings:
Namespace Name Mixin selector official cLgy;c(Ljava/lang/String;I)Zintermediary method_7346Lnet/minecraft/class_322;method_7346(Ljava/lang/String;I)Znamed containsLnet/minecraft/nbt/NbtCompound;contains(Ljava/lang/String;I)Z
-
getByte
- Mappings:
Namespace Name Mixin selector official fLgy;f(Ljava/lang/String;)Bintermediary method_822Lnet/minecraft/class_322;method_822(Ljava/lang/String;)Bnamed getByteLnet/minecraft/nbt/NbtCompound;getByte(Ljava/lang/String;)B
-
getShort
- Mappings:
Namespace Name Mixin selector official gLgy;g(Ljava/lang/String;)Sintermediary method_823Lnet/minecraft/class_322;method_823(Ljava/lang/String;)Snamed getShortLnet/minecraft/nbt/NbtCompound;getShort(Ljava/lang/String;)S
-
getInt
- Mappings:
Namespace Name Mixin selector official hLgy;h(Ljava/lang/String;)Iintermediary method_824Lnet/minecraft/class_322;method_824(Ljava/lang/String;)Inamed getIntLnet/minecraft/nbt/NbtCompound;getInt(Ljava/lang/String;)I
-
getLong
- Mappings:
Namespace Name Mixin selector official iLgy;i(Ljava/lang/String;)Jintermediary method_825Lnet/minecraft/class_322;method_825(Ljava/lang/String;)Jnamed getLongLnet/minecraft/nbt/NbtCompound;getLong(Ljava/lang/String;)J
-
getFloat
- Mappings:
Namespace Name Mixin selector official jLgy;j(Ljava/lang/String;)Fintermediary method_826Lnet/minecraft/class_322;method_826(Ljava/lang/String;)Fnamed getFloatLnet/minecraft/nbt/NbtCompound;getFloat(Ljava/lang/String;)F
-
getDouble
- Mappings:
Namespace Name Mixin selector official kLgy;k(Ljava/lang/String;)Dintermediary method_827Lnet/minecraft/class_322;method_827(Ljava/lang/String;)Dnamed getDoubleLnet/minecraft/nbt/NbtCompound;getDouble(Ljava/lang/String;)D
-
getString
- Mappings:
Namespace Name Mixin selector official lLgy;l(Ljava/lang/String;)Ljava/lang/String;intermediary method_828Lnet/minecraft/class_322;method_828(Ljava/lang/String;)Ljava/lang/String;named getStringLnet/minecraft/nbt/NbtCompound;getString(Ljava/lang/String;)Ljava/lang/String;
-
getByteArray
- Mappings:
Namespace Name Mixin selector official mLgy;m(Ljava/lang/String;)[Bintermediary method_829Lnet/minecraft/class_322;method_829(Ljava/lang/String;)[Bnamed getByteArrayLnet/minecraft/nbt/NbtCompound;getByteArray(Ljava/lang/String;)[B
-
getIntArray
- Mappings:
Namespace Name Mixin selector official nLgy;n(Ljava/lang/String;)[Iintermediary method_830Lnet/minecraft/class_322;method_830(Ljava/lang/String;)[Inamed getIntArrayLnet/minecraft/nbt/NbtCompound;getIntArray(Ljava/lang/String;)[I
-
method_20095
- Mappings:
Namespace Name Mixin selector official oLgy;o(Ljava/lang/String;)[Jintermediary method_20095Lnet/minecraft/class_322;method_20095(Ljava/lang/String;)[Jnamed method_20095Lnet/minecraft/nbt/NbtCompound;method_20095(Ljava/lang/String;)[J
-
getCompound
- Mappings:
Namespace Name Mixin selector official pLgy;p(Ljava/lang/String;)Lgy;intermediary method_831Lnet/minecraft/class_322;method_831(Ljava/lang/String;)Lnet/minecraft/class_322;named getCompoundLnet/minecraft/nbt/NbtCompound;getCompound(Ljava/lang/String;)Lnet/minecraft/nbt/NbtCompound;
-
getList
- Mappings:
Namespace Name Mixin selector official dLgy;d(Ljava/lang/String;I)Lhe;intermediary method_7348Lnet/minecraft/class_322;method_7348(Ljava/lang/String;I)Lnet/minecraft/class_474;named getListLnet/minecraft/nbt/NbtCompound;getList(Ljava/lang/String;I)Lnet/minecraft/nbt/NbtList;
-
getBoolean
- Mappings:
Namespace Name Mixin selector official qLgy;q(Ljava/lang/String;)Zintermediary method_833Lnet/minecraft/class_322;method_833(Ljava/lang/String;)Znamed getBooleanLnet/minecraft/nbt/NbtCompound;getBoolean(Ljava/lang/String;)Z
-
remove
- Mappings:
Namespace Name Mixin selector official rLgy;r(Ljava/lang/String;)Vintermediary method_4387Lnet/minecraft/class_322;method_4387(Ljava/lang/String;)Vnamed removeLnet/minecraft/nbt/NbtCompound;remove(Ljava/lang/String;)V
-
toString
- Specified by:
toStringin interfaceclass_4373- Overrides:
toStringin classObject- Mappings:
Namespace Name Mixin selector official toStringLho;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_4373;toString()Ljava/lang/String;named toStringLnet/minecraft/class_4373;toString()Ljava/lang/String;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official isEmptyLgy;isEmpty()Zintermediary isEmptyLnet/minecraft/class_322;isEmpty()Znamed isEmptyLnet/minecraft/nbt/NbtCompound;isEmpty()Z
-
addDetailsToCrashReport
- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;ILjava/lang/ClassCastException;)Lb;intermediary method_4385Lnet/minecraft/class_322;method_4385(Ljava/lang/String;ILjava/lang/ClassCastException;)Lnet/minecraft/class_1;named addDetailsToCrashReportLnet/minecraft/nbt/NbtCompound;addDetailsToCrashReport(Ljava/lang/String;ILjava/lang/ClassCastException;)Lnet/minecraft/util/crash/CrashReport;
-
method_1651
- Specified by:
method_1651in interfaceclass_4373- Mappings:
Namespace Name Mixin selector official fLgy;f()Lgy;intermediary method_13470Lnet/minecraft/class_322;method_13470()Lnet/minecraft/class_322;named method_1651Lnet/minecraft/nbt/NbtCompound;method_1651()Lnet/minecraft/nbt/NbtCompound;
-
equals
-
hashCode
public int hashCode() -
method_7343
private static void method_7343(String string, class_4373 class_4373, DataOutput dataOutput) throws IOException - Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/lang/String;Lho;Ljava/io/DataOutput;)Vintermediary method_7343Lnet/minecraft/class_322;method_7343(Ljava/lang/String;Lnet/minecraft/class_4373;Ljava/io/DataOutput;)Vnamed method_7343Lnet/minecraft/nbt/NbtCompound;method_7343(Ljava/lang/String;Lnet/minecraft/class_4373;Ljava/io/DataOutput;)V
-
readByte
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLgy;a(Ljava/io/DataInput;Lhh;)Bintermediary method_7342Lnet/minecraft/class_322;method_7342(Ljava/io/DataInput;Lnet/minecraft/class_1944;)Bnamed readByteLnet/minecraft/nbt/NbtCompound;readByte(Ljava/io/DataInput;Lnet/minecraft/nbt/PositionTracker;)B
-
readString
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLgy;b(Ljava/io/DataInput;Lhh;)Ljava/lang/String;intermediary method_7344Lnet/minecraft/class_322;method_7344(Ljava/io/DataInput;Lnet/minecraft/class_1944;)Ljava/lang/String;named readStringLnet/minecraft/nbt/NbtCompound;readString(Ljava/io/DataInput;Lnet/minecraft/nbt/PositionTracker;)Ljava/lang/String;
-
method_7341
static class_4373 method_7341(byte byte2, String string, DataInput dataInput, int int2, PositionTracker positionTracker) throws IOException - Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLgy;a(BLjava/lang/String;Ljava/io/DataInput;ILhh;)Lho;intermediary method_7341Lnet/minecraft/class_322;method_7341(BLjava/lang/String;Ljava/io/DataInput;ILnet/minecraft/class_1944;)Lnet/minecraft/class_4373;named method_7341Lnet/minecraft/nbt/NbtCompound;method_7341(BLjava/lang/String;Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)Lnet/minecraft/class_4373;
-
method_10575
- Mappings:
Namespace Name Mixin selector official aLgy;a(Lgy;)Lgy;intermediary method_10575Lnet/minecraft/class_322;method_10575(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;named method_10575Lnet/minecraft/nbt/NbtCompound;method_10575(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
escapeKey
- Mappings:
Namespace Name Mixin selector official sLgy;s(Ljava/lang/String;)Ljava/lang/String;intermediary method_14749Lnet/minecraft/class_322;method_14749(Ljava/lang/String;)Ljava/lang/String;named escapeKeyLnet/minecraft/nbt/NbtCompound;escapeKey(Ljava/lang/String;)Ljava/lang/String;
-
method_20096
- Mappings:
Namespace Name Mixin selector official tLgy;t(Ljava/lang/String;)Lij;intermediary method_20096Lnet/minecraft/class_322;method_20096(Ljava/lang/String;)Lnet/minecraft/class_1982;named method_20096Lnet/minecraft/nbt/NbtCompound;method_20096(Ljava/lang/String;)Lnet/minecraft/text/Text;
-
method_20146
- Specified by:
method_20146in interfaceclass_4373- Mappings:
Namespace Name Mixin selector official aLho;a(Ljava/lang/String;I)Lij;intermediary method_20146Lnet/minecraft/class_4373;method_20146(Ljava/lang/String;I)Lnet/minecraft/class_1982;named method_20146Lnet/minecraft/class_4373;method_20146(Ljava/lang/String;I)Lnet/minecraft/text/Text;
-