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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(@Nullable net.minecraft.server.packs.PackType packType, net.minecraft.resources.ResourceLocation loc, VeilResource<?> resource) void
free()
getName()
getRoot()
int
@Nullable VeilResource
<?> getVeilResource
(String namespace, String path) void
loadIcon
(com.mojang.blaze3d.platform.NativeImage image) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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) -
getName
-
getRoot
-
getTexture
public int getTexture() -
free
public void free()- Specified by:
free
in interfaceorg.lwjgl.system.NativeResource
-