Class VeilPackResources

java.lang.Object
foundry.veil.impl.resource.VeilPackResources
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource

public final class VeilPackResources extends Object implements org.lwjgl.system.NativeResource
  • Constructor Details

    • VeilPackResources

      public VeilPackResources(String name)
  • Method Details

    • add

      public void add(@Nullable @Nullable net.minecraft.server.packs.PackType packType, net.minecraft.resources.ResourceLocation loc, VeilResource<?> resource)
    • getVeilResource

      @Nullable public @Nullable VeilResource<?> getVeilResource(String namespace, String path)
    • loadIcon

      public void loadIcon(com.mojang.blaze3d.platform.NativeImage image)
    • getName

      public String getName()
    • getRoot

      public VeilResourceFolder getRoot()
    • getTexture

      public int getTexture()
    • free

      public void free()
      Specified by:
      free in interface org.lwjgl.system.NativeResource