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, updateAnimation
public 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.TextureAtlasSprite
public 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.TextureAtlasSprite
public int getFrameCount()
getFrameCount
in class net.minecraft.client.renderer.texture.TextureAtlasSprite
public int[][] getFrameTextureData(int index)
getFrameTextureData
in class net.minecraft.client.renderer.texture.TextureAtlasSprite
public float getInterpolatedU(double u)
getInterpolatedU
in class net.minecraft.client.renderer.texture.TextureAtlasSprite
public float getInterpolatedV(double v)
getInterpolatedV
in class net.minecraft.client.renderer.texture.TextureAtlasSprite