public class SpriteFluidFrozen
extends net.minecraft.client.renderer.texture.TextureAtlasSprite
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.ResourceLocation |
srcLocation
The source sprite of this fluid.
|
| Constructor and Description |
|---|
SpriteFluidFrozen(net.minecraft.util.ResourceLocation srcLocation) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFrameCount() |
int[][] |
getFrameTextureData(int index) |
float |
getInterpolatedU(double u) |
float |
getInterpolatedV(double v) |
boolean |
hasCustomLoader(net.minecraft.client.resources.IResourceManager manager,
net.minecraft.util.ResourceLocation location) |
boolean |
load(net.minecraft.client.resources.IResourceManager manager,
net.minecraft.util.ResourceLocation location,
java.util.function.Function<net.minecraft.util.ResourceLocation,net.minecraft.client.renderer.texture.TextureAtlasSprite> textureGetter) |
clearFramesTextureData, copyFrom, generateMipmaps, getDependencies, getIconHeight, getIconName, getIconWidth, getMaxU, getMaxV, getMinU, getMinV, getOriginX, getOriginY, getUnInterpolatedU, getUnInterpolatedV, hasAnimationMetadata, initSprite, loadSprite, loadSpriteFrames, makeAtlasSprite, setFramesTextureData, setIconHeight, setIconWidth, toString, updateAnimationpublic final net.minecraft.util.ResourceLocation srcLocation
public SpriteFluidFrozen(net.minecraft.util.ResourceLocation srcLocation)
public boolean hasCustomLoader(net.minecraft.client.resources.IResourceManager manager,
net.minecraft.util.ResourceLocation location)
hasCustomLoader in class net.minecraft.client.renderer.texture.TextureAtlasSpritepublic boolean load(net.minecraft.client.resources.IResourceManager manager,
net.minecraft.util.ResourceLocation location,
java.util.function.Function<net.minecraft.util.ResourceLocation,net.minecraft.client.renderer.texture.TextureAtlasSprite> textureGetter)
load in class net.minecraft.client.renderer.texture.TextureAtlasSpritepublic int getFrameCount()
getFrameCount in class net.minecraft.client.renderer.texture.TextureAtlasSpritepublic int[][] getFrameTextureData(int index)
getFrameTextureData in class net.minecraft.client.renderer.texture.TextureAtlasSpritepublic float getInterpolatedU(double u)
getInterpolatedU in class net.minecraft.client.renderer.texture.TextureAtlasSpritepublic float getInterpolatedV(double v)
getInterpolatedV in class net.minecraft.client.renderer.texture.TextureAtlasSprite