Class ClientMapManager

java.lang.Object
dev.dhyces.trimmed.impl.client.maps.manager.ClientMapManager
All Implemented Interfaces:
net.minecraft.server.packs.resources.PreparableReloadListener

public class ClientMapManager extends Object implements net.minecraft.server.packs.resources.PreparableReloadListener
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static CompletableFuture<net.minecraft.util.Unit>
     
    static <K, V> MapHolder<K,V>
    getHolder(MapKey<K,V> key)
     
    static <K, V> void
     
    reload(net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier pPreparationBarrier, net.minecraft.server.packs.resources.ResourceManager pResourceManager, net.minecraft.util.profiling.ProfilerFiller pPreparationsProfiler, net.minecraft.util.profiling.ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor)
     
    static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    getName
  • Field Details

  • Constructor Details

    • ClientMapManager

      public ClientMapManager()
  • Method Details

    • registerBaseKey

      public static <K, V> void registerBaseKey(MapKey<K,V> key)
    • getHolder

      public static <K, V> MapHolder<K,V> getHolder(MapKey<K,V> key)
    • future

      public static CompletableFuture<net.minecraft.util.Unit> future()
    • updateDatapacksSynced

      public static void updateDatapacksSynced(GameRegistryHolder registryHolder)
    • reload

      public CompletableFuture<Void> reload(net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier pPreparationBarrier, net.minecraft.server.packs.resources.ResourceManager pResourceManager, net.minecraft.util.profiling.ProfilerFiller pPreparationsProfiler, net.minecraft.util.profiling.ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor)
      Specified by:
      reload in interface net.minecraft.server.packs.resources.PreparableReloadListener