Uses of Class
net.minecraft.client.renderer.texture.SpriteContents
Package
Description
-
Uses of SpriteContents in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionprivate void
ItemModelGenerator.checkTransition
(ItemModelGenerator.SpanFacing p_251572_, List<ItemModelGenerator.Span> p_248882_, SpriteContents p_249847_, int p_250616_, int p_251416_, int p_249664_, int p_250174_, int p_250897_, boolean p_248773_) private List<BlockElement>
ItemModelGenerator.createSideElements
(SpriteContents p_248810_, String p_111663_, int p_111664_) private List<ItemModelGenerator.Span>
ItemModelGenerator.getSpans
(SpriteContents p_250338_) private boolean
ItemModelGenerator.isTransparent
(SpriteContents p_249650_, int p_250692_, int p_251914_, int p_252343_, int p_250258_, int p_248997_) ItemModelGenerator.processFrames
(int p_111639_, String p_111640_, SpriteContents p_251768_) -
Uses of SpriteContents in net.minecraft.client.renderer.texture
Modifier and TypeMethodDescriptionTextureAtlasSprite.contents()
static SpriteContents
MissingTextureAtlasSprite.create()
static SpriteContents
SpriteLoader.loadSprite
(ResourceLocation p_251630_, Resource p_250558_) Modifier and TypeMethodDescriptionstatic CompletableFuture<List<SpriteContents>>
SpriteLoader.runSpriteSuppliers
(List<Supplier<SpriteContents>> p_261516_, Executor p_261791_) Modifier and TypeMethodDescriptionprivate Map<ResourceLocation,
TextureAtlasSprite> SpriteLoader.getStitchedSprites
(Stitcher<SpriteContents> p_276117_, int p_276111_, int p_276112_) static CompletableFuture<List<SpriteContents>>
SpriteLoader.runSpriteSuppliers
(List<Supplier<SpriteContents>> p_261516_, Executor p_261791_) SpriteLoader.stitch
(List<SpriteContents> p_262029_, int p_261919_, Executor p_261665_) ModifierConstructorDescriptionprotected
TextureAtlasSprite
(ResourceLocation p_250211_, SpriteContents p_248526_, int p_248950_, int p_249741_, int p_248672_, int p_248637_) -
Uses of SpriteContents in net.minecraft.client.renderer.texture.atlas
-
Uses of SpriteContents in net.minecraft.client.renderer.texture.atlas.sources
-
Uses of SpriteContents in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic @Nullable SpriteContents
ForgeHooksClient.loadSpriteContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta) Modifier and TypeMethodDescriptionstatic @Nullable TextureAtlasSprite
ForgeHooksClient.loadTextureAtlasSprite
(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) -
Uses of SpriteContents in net.minecraftforge.client.model.geometry
Modifier and TypeMethodDescriptionstatic List<BlockElement>
UnbakedGeometryHelper.createUnbakedItemElements
(int layerIndex, SpriteContents spriteContents) static List<BlockElement>
UnbakedGeometryHelper.createUnbakedItemElements
(int layerIndex, SpriteContents spriteContents, @Nullable ForgeFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents.static List<BlockElement>
UnbakedGeometryHelper.createUnbakedItemMaskElements
(int layerIndex, SpriteContents spriteContents) static List<BlockElement>
UnbakedGeometryHelper.createUnbakedItemMaskElements
(int layerIndex, SpriteContents spriteContents, @Nullable ForgeFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents. -
Uses of SpriteContents in net.minecraftforge.client.textures
Modifier and TypeMethodDescriptionITextureAtlasSpriteLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) Modifier and TypeMethodDescription@NotNull TextureAtlasSprite
ITextureAtlasSpriteLoader.makeSprite
(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) Creates aTextureAtlasSprite
from the givenSpriteContents
. -
Uses of SpriteContents in net.minecraftforge.debug.client
Modifier and TypeMethodDescriptionCustomTASTest.TasLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) Modifier and TypeMethodDescription@NotNull TextureAtlasSprite
CustomTASTest.TasLoader.makeSprite
(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel)