Package foundry.veil.impl.resource
Class VeilPackResources
java.lang.Object
foundry.veil.impl.resource.VeilPackResources
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(@Nullable net.minecraft.server.packs.PackType packType, net.minecraft.resources.ResourceLocation loc, VeilResource<?> resource) voidfree()getName()getRoot()int@Nullable VeilResource<?> getVeilResource(String namespace, String path) voidloadIcon(com.mojang.blaze3d.platform.NativeImage image, boolean blur) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Constructor Details
-
VeilPackResources
-
-
Method Details
-
add
public void add(@Nullable @Nullable net.minecraft.server.packs.PackType packType, net.minecraft.resources.ResourceLocation loc, VeilResource<?> resource) -
getVeilResource
-
loadIcon
public void loadIcon(com.mojang.blaze3d.platform.NativeImage image, boolean blur) -
getName
-
getRoot
-
getTexture
public int getTexture() -
free
public void free()- Specified by:
freein interfaceorg.lwjgl.system.NativeResource
-