Uses of Class
net.minecraft.client.texture.SpriteContents
Packages that use SpriteContents
Package
Description
-
Uses of SpriteContents in net.minecraft.client.render.model.json
Methods in net.minecraft.client.render.model.json with parameters of type SpriteContentsModifier and TypeMethodDescriptionprivate List
<ModelElement> ItemModelGenerator.addLayerElements
(int layer, String key, SpriteContents sprite) private List
<ModelElement> ItemModelGenerator.addSubComponents
(SpriteContents sprite, String key, int layer) private void
ItemModelGenerator.buildCube
(ItemModelGenerator.Side side, List<ItemModelGenerator.Frame> cubes, SpriteContents sprite, int frame, int x, int y, int width, int height, boolean bool) private List
<ItemModelGenerator.Frame> ItemModelGenerator.getFrames
(SpriteContents sprite) private boolean
ItemModelGenerator.isPixelTransparent
(SpriteContents sprite, int frame, int x, int y, int width, int height) -
Uses of SpriteContents in net.minecraft.client.texture
Fields in net.minecraft.client.texture declared as SpriteContentsFields in net.minecraft.client.texture with type parameters of type SpriteContentsMethods in net.minecraft.client.texture that return SpriteContentsModifier and TypeMethodDescriptionstatic SpriteContents
MissingSprite.createSpriteContents()
Sprite.getContents()
@Nullable SpriteContents
SpriteOpener.loadSprite
(Identifier id, Resource resource) Methods in net.minecraft.client.texture that return types with arguments of type SpriteContentsModifier and TypeMethodDescriptionstatic CompletableFuture
<List<SpriteContents>> SpriteLoader.loadAll
(SpriteOpener opener, List<Function<SpriteOpener, SpriteContents>> sources, Executor executor) Method parameters in net.minecraft.client.texture with type arguments of type SpriteContentsModifier and TypeMethodDescriptionprivate Map
<Identifier, Sprite> SpriteLoader.collectStitchedSprites
(TextureStitcher<SpriteContents> stitcher, int atlasWidth, int atlasHeight) static CompletableFuture
<List<SpriteContents>> SpriteLoader.loadAll
(SpriteOpener opener, List<Function<SpriteOpener, SpriteContents>> sources, Executor executor) SpriteLoader.stitch
(List<SpriteContents> sprites, int mipLevel, Executor executor) Constructors in net.minecraft.client.texture with parameters of type SpriteContentsModifierConstructorDescriptionprotected
Sprite
(Identifier atlasId, SpriteContents contents, int atlasWidth, int atlasHeight, int x, int y) -
Uses of SpriteContents in net.minecraft.client.texture.atlas
Methods in net.minecraft.client.texture.atlas that return SpriteContentsModifier and TypeMethodDescription@Nullable SpriteContents
PalettedPermutationsAtlasSource.PalettedSpriteRegion.apply
(SpriteOpener spriteOpener) UnstitchAtlasSource.SpriteRegion.apply
(SpriteOpener spriteOpener) Methods in net.minecraft.client.texture.atlas that return types with arguments of type SpriteContents