Class LeafTypeLoader

java.lang.Object
de.cheaterpaul.fallingleaves.data.LeafTypeLoader
All Implemented Interfaces:
net.minecraft.server.packs.resources.PreparableReloadListener

public class LeafTypeLoader extends Object implements net.minecraft.server.packs.resources.PreparableReloadListener
  • Field Details

    • LEAVES_ATLAS

      public static final net.minecraft.resources.ResourceLocation LEAVES_ATLAS
  • Constructor Details

    • LeafTypeLoader

      public LeafTypeLoader(net.minecraft.client.renderer.texture.TextureManager manager)
  • Method Details

    • getSpriteSet

      @Nullable public @Nullable LeafTypeLoader.LeafTypeSettings getSpriteSet(net.minecraft.resources.ResourceLocation leafType)
    • reload

      @NotNull public @NotNull CompletableFuture<Void> reload(@NotNull @NotNull net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier stage, @NotNull @NotNull net.minecraft.server.packs.resources.ResourceManager resourceManager, @NotNull @NotNull Executor pBackgroundExecutor, @NotNull @NotNull Executor p_10643_)
      Specified by:
      reload in interface net.minecraft.server.packs.resources.PreparableReloadListener
    • close

      public void close()
    • getName

      @NotNull public @NotNull String getName()
      Specified by:
      getName in interface net.minecraft.server.packs.resources.PreparableReloadListener