Package net.minecraft.nbt
Class NbtList
java.lang.Object
net.minecraft.nbt.NbtElement
net.minecraft.nbt.NbtList
- Mappings:
Namespace Name official dpintermediary net/minecraft/class_474named net/minecraft/nbt/NbtList
-
Field Summary
FieldsFields inherited from class net.minecraft.nbt.NbtElement
TYPES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(NbtElement nbt) copy()booleangetCompound(int index) doublegetDouble(int index) intfloatgetFloat(int index) int[]getIntArray(int index) getString(int index) bytegetType()inthashCode()(package private) voidremove(int id) voidset(int id, NbtElement nbt) intsize()toString()(package private) voidwrite(DataOutput output) Methods inherited from class net.minecraft.nbt.NbtElement
asString, createFromType
-
Field Details
-
value
- Mappings:
Namespace Name Mixin selector official bLdp;b:Ljava/util/List;intermediary field_1636Lnet/minecraft/class_474;field_1636:Ljava/util/List;named valueLnet/minecraft/nbt/NbtList;value:Ljava/util/List;
-
type
private byte type- Mappings:
Namespace Name Mixin selector official cLdp;c:Bintermediary field_1637Lnet/minecraft/class_474;field_1637:Bnamed typeLnet/minecraft/nbt/NbtList;type:B
-
-
Constructor Details
-
NbtList
public NbtList()
-
-
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
-
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
-
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;
-
add
- Mappings:
Namespace Name Mixin selector official aLdp;a(Ldu;)Vintermediary method_7351Lnet/minecraft/class_474;method_7351(Lnet/minecraft/class_605;)Vnamed addLnet/minecraft/nbt/NbtList;add(Lnet/minecraft/nbt/NbtElement;)V
-
set
- Mappings:
Namespace Name Mixin selector official aLdp;a(ILdu;)Vintermediary method_7350Lnet/minecraft/class_474;method_7350(ILnet/minecraft/class_605;)Vnamed setLnet/minecraft/nbt/NbtList;set(ILnet/minecraft/nbt/NbtElement;)V
-
remove
- Mappings:
Namespace Name Mixin selector official aLdp;a(I)Ldu;intermediary method_1216Lnet/minecraft/class_474;method_1216(I)Lnet/minecraft/class_605;named removeLnet/minecraft/nbt/NbtList;remove(I)Lnet/minecraft/nbt/NbtElement;
-
getCompound
- Mappings:
Namespace Name Mixin selector official bLdp;b(I)Ldg;intermediary method_7352Lnet/minecraft/class_474;method_7352(I)Lnet/minecraft/class_322;named getCompoundLnet/minecraft/nbt/NbtList;getCompound(I)Lnet/minecraft/nbt/NbtCompound;
-
getIntArray
public int[] getIntArray(int index) - Mappings:
Namespace Name Mixin selector official cLdp;c(I)[Iintermediary method_7353Lnet/minecraft/class_474;method_7353(I)[Inamed getIntArrayLnet/minecraft/nbt/NbtList;getIntArray(I)[I
-
getDouble
public double getDouble(int index) - Mappings:
Namespace Name Mixin selector official dLdp;d(I)Dintermediary method_7355Lnet/minecraft/class_474;method_7355(I)Dnamed getDoubleLnet/minecraft/nbt/NbtList;getDouble(I)D
-
getFloat
public float getFloat(int index) - Mappings:
Namespace Name Mixin selector official eLdp;e(I)Fintermediary method_7356Lnet/minecraft/class_474;method_7356(I)Fnamed getFloatLnet/minecraft/nbt/NbtList;getFloat(I)F
-
getString
- Mappings:
Namespace Name Mixin selector official fLdp;f(I)Ljava/lang/String;intermediary method_7357Lnet/minecraft/class_474;method_7357(I)Ljava/lang/String;named getStringLnet/minecraft/nbt/NbtList;getString(I)Ljava/lang/String;
-
size
public int size()- Mappings:
Namespace Name Mixin selector official cLdp;c()Iintermediary method_1219Lnet/minecraft/class_474;method_1219()Inamed sizeLnet/minecraft/nbt/NbtList;size()I
-
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
-
getElementType
public int getElementType()- Mappings:
Namespace Name Mixin selector official dLdp;d()Iintermediary method_7354Lnet/minecraft/class_474;method_7354()Inamed getElementTypeLnet/minecraft/nbt/NbtList;getElementType()I
-