public class AtlasSpriteFluid extends AtlasSpriteSwappable
| Constructor and Description |
|---|
AtlasSpriteFluid(java.lang.String baseName,
net.minecraft.util.ResourceLocation fromName,
BCFluid fluid) |
| Modifier and Type | Method and Description |
|---|---|
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)
Actually loads the given location.
|
copyFrom, generateMipmaps, getFrameCount, getFrameTextureData, hasAnimationMetadata, hasCustomLoader, loadSprite, loadSprite, setFramesTextureData, swapWith, toString, updateAnimationclearFramesTextureData, getDependencies, getIconHeight, getIconName, getIconWidth, getInterpolatedU, getInterpolatedV, getMaxU, getMaxV, getMinU, getMinV, getOriginX, getOriginY, getUnInterpolatedU, getUnInterpolatedV, initSprite, loadSprite, loadSpriteFrames, makeAtlasSprite, setIconHeight, setIconWidthpublic AtlasSpriteFluid(java.lang.String baseName,
net.minecraft.util.ResourceLocation fromName,
BCFluid fluid)
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)
AtlasSpriteSwappableAtlasSpriteSwappable.loadSprite(IResourceManager, String, ResourceLocation, boolean) to load all of the possible variants.load in class AtlasSpriteSwappable