类 RegionBasedStorage

  • 所有已实现的接口:
    AutoCloseable

    public final class RegionBasedStorage
    extends Object
    implements AutoCloseable
    Mappings:
    Namespace Name
    official cmo
    intermediary net/minecraft/class_2867
    named net/minecraft/world/storage/RegionBasedStorage
    • 字段详细资料

      • field_31425

        public static final String field_31425
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lcmo;a:Ljava/lang/String;
        intermediary field_31425 Lnet/minecraft/class_2867;field_31425:Ljava/lang/String;
        named field_31425 Lnet/minecraft/world/storage/RegionBasedStorage;field_31425:Ljava/lang/String;
      • field_31426

        private static final int field_31426
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lcmo;b:I
        intermediary field_31426 Lnet/minecraft/class_2867;field_31426:I
        named field_31426 Lnet/minecraft/world/storage/RegionBasedStorage;field_31426:I
      • cachedRegionFiles

        private final Long2ObjectLinkedOpenHashMap<RegionFile> cachedRegionFiles
        Mappings:
        Namespace Name Mixin selector
        official c Lcmo;c:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
        intermediary field_17657 Lnet/minecraft/class_2867;field_17657:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
        named cachedRegionFiles Lnet/minecraft/world/storage/RegionBasedStorage;cachedRegionFiles:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
      • directory

        private final File directory
        Mappings:
        Namespace Name Mixin selector
        official d Lcmo;d:Ljava/io/File;
        intermediary field_18690 Lnet/minecraft/class_2867;field_18690:Ljava/io/File;
        named directory Lnet/minecraft/world/storage/RegionBasedStorage;directory:Ljava/io/File;
      • dsync

        private final boolean dsync
        Mappings:
        Namespace Name Mixin selector
        official e Lcmo;e:Z
        intermediary field_23748 Lnet/minecraft/class_2867;field_23748:Z
        named dsync Lnet/minecraft/world/storage/RegionBasedStorage;dsync:Z
    • 构造器详细资料

      • RegionBasedStorage

        RegionBasedStorage​(File directory,
                           boolean dsync)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcmo;<init>(Ljava/io/File;Z)V
        intermediary <init> Lnet/minecraft/class_2867;<init>(Ljava/io/File;Z)V
        named <init> Lnet/minecraft/world/storage/RegionBasedStorage;<init>(Ljava/io/File;Z)V
    • 方法详细资料

      • getRegionFile

        private RegionFile getRegionFile​(ChunkPos pos)
                                  throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official b Lcmo;b(Lbuw;)Lcmn;
        intermediary method_12440 Lnet/minecraft/class_2867;method_12440(Lnet/minecraft/class_1923;)Lnet/minecraft/class_2861;
        named getRegionFile Lnet/minecraft/world/storage/RegionBasedStorage;getRegionFile(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/storage/RegionFile;
      • getTagAt

        @Nullable
        public @Nullable CompoundTag getTagAt​(ChunkPos pos)
                                       throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lcmo;a(Lbuw;)Lmv;
        intermediary method_17911 Lnet/minecraft/class_2867;method_17911(Lnet/minecraft/class_1923;)Lnet/minecraft/class_2487;
        named getTagAt Lnet/minecraft/world/storage/RegionBasedStorage;getTagAt(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/nbt/CompoundTag;
      • write

        protected void write​(ChunkPos pos,
                             @Nullable
                             @Nullable CompoundTag nbt)
                      throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lcmo;a(Lbuw;Lmv;)V
        intermediary method_23726 Lnet/minecraft/class_2867;method_23726(Lnet/minecraft/class_1923;Lnet/minecraft/class_2487;)V
        named write Lnet/minecraft/world/storage/RegionBasedStorage;write(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/CompoundTag;)V
      • close

        public void close()
                   throws IOException
        指定者:
        close 在接口中 AutoCloseable
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official close Lcmo;close()V
        intermediary close Lnet/minecraft/class_2867;close()V
        named close Lnet/minecraft/world/storage/RegionBasedStorage;close()V
      • sync

        public void sync()
                  throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lcmo;a()V
        intermediary method_26982 Lnet/minecraft/class_2867;method_26982()V
        named sync Lnet/minecraft/world/storage/RegionBasedStorage;sync()V