接口 NbtType<T extends Tag>
-
public interface NbtType<T extends Tag>Represents an NBT type.- Mappings:
Namespace Name official npintermediary net/minecraft/class_4614named net/minecraft/nbt/NbtType
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 static NbtType<EndTag>createInvalid(int type)StringgetCommandFeedbackName()StringgetCrashReportName()default booleanisImmutable()Determines the immutability of this type.Tread(DataInput input, int depth, NbtTagSizeTracker tracker)
-
-
-
方法详细资料
-
read
T read(DataInput input, int depth, NbtTagSizeTracker tracker) throws IOException
- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official bLnp;b(Ljava/io/DataInput;ILne;)Lnn;intermediary method_23262Lnet/minecraft/class_4614;method_23262(Ljava/io/DataInput;ILnet/minecraft/class_2505;)Lnet/minecraft/class_2520;named readLnet/minecraft/nbt/NbtType;read(Ljava/io/DataInput;ILnet/minecraft/nbt/NbtTagSizeTracker;)Lnet/minecraft/nbt/Tag;
-
isImmutable
default boolean isImmutable()
Determines the immutability of this type.The mutability of an NBT type means the held value can be modified after the NBT element is instantiated.
- 返回:
trueif this NBT type is immutable, elsefalse- Mappings:
Namespace Name Mixin selector official cLnp;c()Zintermediary method_23263Lnet/minecraft/class_4614;method_23263()Znamed isImmutableLnet/minecraft/nbt/NbtType;isImmutable()Z
-
getCrashReportName
String getCrashReportName()
- Mappings:
Namespace Name Mixin selector official aLnp;a()Ljava/lang/String;intermediary method_23259Lnet/minecraft/class_4614;method_23259()Ljava/lang/String;named getCrashReportNameLnet/minecraft/nbt/NbtType;getCrashReportName()Ljava/lang/String;
-
getCommandFeedbackName
String getCommandFeedbackName()
- Mappings:
Namespace Name Mixin selector official bLnp;b()Ljava/lang/String;intermediary method_23261Lnet/minecraft/class_4614;method_23261()Ljava/lang/String;named getCommandFeedbackNameLnet/minecraft/nbt/NbtType;getCommandFeedbackName()Ljava/lang/String;
-
createInvalid
static NbtType<EndTag> createInvalid(int type)
- Mappings:
Namespace Name Mixin selector official aLnp;a(I)Lnp;intermediary method_23260Lnet/minecraft/class_4614;method_23260(I)Lnet/minecraft/class_4614;named createInvalidLnet/minecraft/nbt/NbtType;createInvalid(I)Lnet/minecraft/nbt/NbtType;
-
-