Class PlayerHeadTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
meteordevelopment.meteorclient.renderer.Texture
meteordevelopment.meteorclient.utils.render.PlayerHeadTexture
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields inherited from class net.minecraft.client.texture.AbstractTexture
glTexture, glTextureView, sampler -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class meteordevelopment.meteorclient.renderer.Texture
getHeight, getWidth, readResource, upload, uploadMethods inherited from class net.minecraft.client.texture.AbstractTexture
close, getGlTexture, getGlTextureView, getSampler
-
Constructor Details
-
PlayerHeadTexture
public PlayerHeadTexture(byte[] head, boolean needsRotate) -
PlayerHeadTexture
public PlayerHeadTexture()
-
-
Method Details
-
needsRotate
public boolean needsRotate() -
downloadHead
- Throws:
IOException
-