Package net.minecraft.nbt
Class NbtCompound
java.lang.Object
net.minecraft.nbt.NbtElement
net.minecraft.nbt.NbtCompound
- Mappings:
Namespace Name official dgintermediary net/minecraft/class_322named net/minecraft/nbt/NbtCompound
-
Field Summary
FieldsFields inherited from class net.minecraft.nbt.NbtElement
TYPES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate CrashReportaddDetailsToCrashReport(String key, int id, ClassCastException ex) booleanbooleancopy()booleanbooleangetBoolean(String key) bytebyte[]getByteArray(String key) getCompound(String key) doublefloatintint[]getIntArray(String key) getKeys()longshortbytegetType()byteinthashCode()booleanisEmpty()(package private) static NbtElementmethod_7341(byte byte2, String string, DataInput dataInput, int int2) private static bytemethod_7342(DataInput dataInput) private static Stringmethod_7344(DataInput dataInput) voidput(String key, NbtElement nbt) voidputBoolean(String key, boolean bool) voidvoidputByteArray(String key, byte[] value) voidvoidvoidvoidputIntArray(String key, int[] value) voidvoidvoid(package private) voidvoidtoString()(package private) voidwrite(DataOutput output) private static voidwrite(String key, NbtElement nbt, DataOutput output) Methods inherited from class net.minecraft.nbt.NbtElement
asString, createFromType
-
Field Details
-
data
- Mappings:
Namespace Name Mixin selector official bLdg;b: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
-
write
- Specified by:
writein classNbtElement- Mappings:
Namespace Name Mixin selector official aLdu;a(Ljava/io/DataOutput;)Vintermediary method_1650Lnet/minecraft/class_605;method_1650(Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/NbtElement;write(Ljava/io/DataOutput;)V
-
read
- Specified by:
readin classNbtElement- Mappings:
Namespace Name Mixin selector official aLdu;a(Ljava/io/DataInput;I)Vintermediary method_1649Lnet/minecraft/class_605;method_1649(Ljava/io/DataInput;I)Vnamed readLnet/minecraft/nbt/NbtElement;read(Ljava/io/DataInput;I)V
-
getKeys
- Mappings:
Namespace Name Mixin selector official cLdg;c()Ljava/util/Set;intermediary method_7347Lnet/minecraft/class_322;method_7347()Ljava/util/Set;named getKeysLnet/minecraft/nbt/NbtCompound;getKeys()Ljava/util/Set;
-
getType
public byte getType()- Specified by:
getTypein classNbtElement- Mappings:
Namespace Name Mixin selector official aLdu;a()Bintermediary method_1645Lnet/minecraft/class_605;method_1645()Bnamed getTypeLnet/minecraft/nbt/NbtElement;getType()B
-
put
- Mappings:
Namespace Name Mixin selector official aLdg;a(Ljava/lang/String;Ldu;)Vintermediary method_814Lnet/minecraft/class_322;method_814(Ljava/lang/String;Lnet/minecraft/class_605;)Vnamed putLnet/minecraft/nbt/NbtCompound;put(Ljava/lang/String;Lnet/minecraft/nbt/NbtElement;)V
-
putByte
- Mappings:
Namespace Name Mixin selector official aLdg;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 aLdg;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 aLdg;a(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 aLdg;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
-
putFloat
- Mappings:
Namespace Name Mixin selector official aLdg;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 aLdg;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 aLdg;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 aLdg;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 aLdg;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
-
putBoolean
- Mappings:
Namespace Name Mixin selector official aLdg;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
-
get
- Mappings:
Namespace Name Mixin selector official aLdg;a(Ljava/lang/String;)Ldu;intermediary method_807Lnet/minecraft/class_322;method_807(Ljava/lang/String;)Lnet/minecraft/class_605;named getLnet/minecraft/nbt/NbtCompound;get(Ljava/lang/String;)Lnet/minecraft/nbt/NbtElement;
-
getType
- Mappings:
Namespace Name Mixin selector official bLdg;b(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 cLdg;c(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 bLdg;b(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 dLdg;d(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 eLdg;e(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 fLdg;f(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 gLdg;g(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 hLdg;h(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 iLdg;i(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 jLdg;j(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 kLdg;k(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 lLdg;l(Ljava/lang/String;)[Iintermediary method_830Lnet/minecraft/class_322;method_830(Ljava/lang/String;)[Inamed getIntArrayLnet/minecraft/nbt/NbtCompound;getIntArray(Ljava/lang/String;)[I
-
getCompound
- Mappings:
Namespace Name Mixin selector official mLdg;m(Ljava/lang/String;)Ldg;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 cLdg;c(Ljava/lang/String;I)Ldp;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 nLdg;n(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 oLdg;o(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 classNbtElement- Mappings:
Namespace Name Mixin selector official toStringLdu;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_605;toString()Ljava/lang/String;named toStringLnet/minecraft/nbt/NbtElement;toString()Ljava/lang/String;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official dLdg;d()Zintermediary method_4386Lnet/minecraft/class_322;method_4386()Znamed isEmptyLnet/minecraft/nbt/NbtCompound;isEmpty()Z
-
addDetailsToCrashReport
- Mappings:
Namespace Name Mixin selector official aLdg;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;
-
copy
- Specified by:
copyin classNbtElement- Mappings:
Namespace Name Mixin selector official bLdu;b()Ldu;intermediary method_1651Lnet/minecraft/class_605;method_1651()Lnet/minecraft/class_605;named copyLnet/minecraft/nbt/NbtElement;copy()Lnet/minecraft/nbt/NbtElement;
-
equals
- Overrides:
equalsin classNbtElement- Mappings:
Namespace Name Mixin selector official equalsLdu;equals(Ljava/lang/Object;)Zintermediary equalsLnet/minecraft/class_605;equals(Ljava/lang/Object;)Znamed equalsLnet/minecraft/nbt/NbtElement;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Overrides:
hashCodein classNbtElement- Mappings:
Namespace Name Mixin selector official hashCodeLdu;hashCode()Iintermediary hashCodeLnet/minecraft/class_605;hashCode()Inamed hashCodeLnet/minecraft/nbt/NbtElement;hashCode()I
-
write
- Mappings:
Namespace Name Mixin selector official aLdg;a(Ljava/lang/String;Ldu;Ljava/io/DataOutput;)Vintermediary method_7343Lnet/minecraft/class_322;method_7343(Ljava/lang/String;Lnet/minecraft/class_605;Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/NbtCompound;write(Ljava/lang/String;Lnet/minecraft/nbt/NbtElement;Ljava/io/DataOutput;)V
-
method_7342
- Mappings:
Namespace Name Mixin selector official aLdg;a(Ljava/io/DataInput;)Bintermediary method_7342Lnet/minecraft/class_322;method_7342(Ljava/io/DataInput;)Bnamed method_7342Lnet/minecraft/nbt/NbtCompound;method_7342(Ljava/io/DataInput;)B
-
method_7344
- Mappings:
Namespace Name Mixin selector official bLdg;b(Ljava/io/DataInput;)Ljava/lang/String;intermediary method_7344Lnet/minecraft/class_322;method_7344(Ljava/io/DataInput;)Ljava/lang/String;named method_7344Lnet/minecraft/nbt/NbtCompound;method_7344(Ljava/io/DataInput;)Ljava/lang/String;
-
method_7341
- Mappings:
Namespace Name Mixin selector official aLdg;a(BLjava/lang/String;Ljava/io/DataInput;I)Ldu;intermediary method_7341Lnet/minecraft/class_322;method_7341(BLjava/lang/String;Ljava/io/DataInput;I)Lnet/minecraft/class_605;named method_7341Lnet/minecraft/nbt/NbtCompound;method_7341(BLjava/lang/String;Ljava/io/DataInput;I)Lnet/minecraft/nbt/NbtElement;
-