类 NbtTypes


  • public class NbtTypes
    extends Object
    Mappings:
    Namespace Name
    official nq
    intermediary net/minecraft/class_4615
    named net/minecraft/nbt/NbtTypes
    • 字段详细资料

      • VALUES

        private static final NbtType<?>[] VALUES
        Mappings:
        Namespace Name Mixin selector
        official a Lnq;a:[Lnp;
        intermediary field_21048 Lnet/minecraft/class_4615;field_21048:[Lnet/minecraft/class_4614;
        named VALUES Lnet/minecraft/nbt/NbtTypes;VALUES:[Lnet/minecraft/nbt/NbtType;
    • 构造器详细资料

      • NbtTypes

        public NbtTypes()
    • 方法详细资料

      • byId

        public static NbtType<?> byId​(int id)
        Gets the associated NBT type for a given id.

        This method does not support id aliases.

        返回:
        the NBT type, or an invalid type if there is no type with the given id
        Mappings:
        Namespace Name Mixin selector
        official a Lnq;a(I)Lnp;
        intermediary method_23265 Lnet/minecraft/class_4615;method_23265(I)Lnet/minecraft/class_4614;
        named byId Lnet/minecraft/nbt/NbtTypes;byId(I)Lnet/minecraft/nbt/NbtType;