Package net.minecraft.nbt
Class ListTag
java.lang.Object
net.minecraft.nbt.Tag
net.minecraft.nbt.ListTag
public class ListTag extends Tag
- Mappings:
Namespace Name official duintermediary net/minecraft/class_1411named net/minecraft/nbt/ListTag
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.nbt.Tag
Tag.NumberTag -
Field Summary
-
Constructor Summary
Constructors Constructor Description ListTag() -
Method Summary
Modifier and Type Method Description voidadd(Tag tag)Tagcopy()booleanequals(Object other)Tagget(int index)CompoundTaggetCompound(int index)doublegetDouble(int index)intgetElementType()floatgetFloat(int index)int[]getIntArray(int index)StringgetString(int index)bytegetType()inthashCode()booleanisEmpty()(package private) voidread(DataInput input, int depth, PositionTracker tracker)Tagremove(int id)voidset(int id, Tag tag)intsize()StringtoString()(package private) voidwrite(DataOutput output)Methods inherited from class net.minecraft.nbt.Tag
asString, createByTypeId
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLdu;b:Lorg/apache/logging/log4j/Logger;intermediary field_5917Lnet/minecraft/class_1411;field_5917:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/nbt/ListTag;LOGGER:Lorg/apache/logging/log4j/Logger;
-
value
- Mappings:
Namespace Name Mixin selector official cLdu;c:Ljava/util/List;intermediary field_5918Lnet/minecraft/class_1411;field_5918:Ljava/util/List;named valueLnet/minecraft/nbt/ListTag;value:Ljava/util/List;
-
type
private byte type- Mappings:
Namespace Name Mixin selector official dLdu;d:Bintermediary field_5919Lnet/minecraft/class_1411;field_5919:Bnamed typeLnet/minecraft/nbt/ListTag;type:B
-
-
Constructor Details
-
ListTag
public ListTag()
-
-
Method Details
-
write
- Specified by:
writein classTag- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLeb;a(Ljava/io/DataOutput;)Vintermediary method_5062Lnet/minecraft/class_1419;method_5062(Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
-
read
- Specified by:
readin classTag- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLeb;a(Ljava/io/DataInput;ILdw;)Vintermediary method_5061Lnet/minecraft/class_1419;method_5061(Ljava/io/DataInput;ILnet/minecraft/class_1413;)Vnamed readLnet/minecraft/nbt/Tag;read(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
-
getType
public byte getType() -
toString
-
add
- Mappings:
Namespace Name Mixin selector official aLdu;a(Leb;)Vintermediary method_5035Lnet/minecraft/class_1411;method_5035(Lnet/minecraft/class_1419;)Vnamed addLnet/minecraft/nbt/ListTag;add(Lnet/minecraft/nbt/Tag;)V
-
set
- Mappings:
Namespace Name Mixin selector official aLdu;a(ILeb;)Vintermediary method_5034Lnet/minecraft/class_1411;method_5034(ILnet/minecraft/class_1419;)Vnamed setLnet/minecraft/nbt/ListTag;set(ILnet/minecraft/nbt/Tag;)V
-
remove
- Mappings:
Namespace Name Mixin selector official aLdu;a(I)Leb;intermediary method_5033Lnet/minecraft/class_1411;method_5033(I)Lnet/minecraft/class_1419;named removeLnet/minecraft/nbt/ListTag;remove(I)Lnet/minecraft/nbt/Tag;
-
isEmpty
public boolean isEmpty() -
getCompound
- Mappings:
Namespace Name Mixin selector official bLdu;b(I)Ldn;intermediary method_5036Lnet/minecraft/class_1411;method_5036(I)Lnet/minecraft/class_1405;named getCompoundLnet/minecraft/nbt/ListTag;getCompound(I)Lnet/minecraft/nbt/CompoundTag;
-
getIntArray
public int[] getIntArray(int index)- Mappings:
Namespace Name Mixin selector official cLdu;c(I)[Iintermediary method_5038Lnet/minecraft/class_1411;method_5038(I)[Inamed getIntArrayLnet/minecraft/nbt/ListTag;getIntArray(I)[I
-
getDouble
public double getDouble(int index)- Mappings:
Namespace Name Mixin selector official dLdu;d(I)Dintermediary method_5039Lnet/minecraft/class_1411;method_5039(I)Dnamed getDoubleLnet/minecraft/nbt/ListTag;getDouble(I)D
-
getFloat
public float getFloat(int index)- Mappings:
Namespace Name Mixin selector official eLdu;e(I)Fintermediary method_5040Lnet/minecraft/class_1411;method_5040(I)Fnamed getFloatLnet/minecraft/nbt/ListTag;getFloat(I)F
-
getString
- Mappings:
Namespace Name Mixin selector official fLdu;f(I)Ljava/lang/String;intermediary method_5042Lnet/minecraft/class_1411;method_5042(I)Ljava/lang/String;named getStringLnet/minecraft/nbt/ListTag;getString(I)Ljava/lang/String;
-
get
- Mappings:
Namespace Name Mixin selector official gLdu;g(I)Leb;intermediary method_5043Lnet/minecraft/class_1411;method_5043(I)Lnet/minecraft/class_1419;named getLnet/minecraft/nbt/ListTag;get(I)Lnet/minecraft/nbt/Tag;
-
size
public int size()- Mappings:
Namespace Name Mixin selector official cLdu;c()Iintermediary method_5037Lnet/minecraft/class_1411;method_5037()Inamed sizeLnet/minecraft/nbt/ListTag;size()I
-
copy
-
equals
-
hashCode
public int hashCode() -
getElementType
public int getElementType()- Mappings:
Namespace Name Mixin selector official fLdu;f()Iintermediary method_5041Lnet/minecraft/class_1411;method_5041()Inamed getElementTypeLnet/minecraft/nbt/ListTag;getElementType()I
-