Package guideme.render
Class GuidePageTexture
java.lang.Object
guideme.render.GuidePageTexture
A texture that is used in the context of a single guide page and is automatically cleared from texture memory when
the guide page it was last used on is closed.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocation
getId()
getSize()
static GuidePageTexture
load
(net.minecraft.resources.ResourceLocation id, byte[] imageContent) static GuidePageTexture
missing()
static void
net.minecraft.client.renderer.texture.AbstractTexture
use()
-
Method Details
-
missing
-
getId
public net.minecraft.resources.ResourceLocation getId() -
getSize
-
load
public static GuidePageTexture load(net.minecraft.resources.ResourceLocation id, byte[] imageContent) -
use
public net.minecraft.client.renderer.texture.AbstractTexture use() -
releaseUsedTextures
public static void releaseUsedTextures()
-