Uses of Class
net.minecraft.client.texture.SpriteContents
Package
Description
-
Uses of SpriteContents in net.minecraft.client.render.model.json
Modifier 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
Modifier and TypeMethodDescriptionstatic SpriteContents
MissingSprite.createSpriteContents()
Sprite.getContents()
@Nullable SpriteContents
SpriteOpener.loadSprite
(Identifier id, Resource resource) Modifier and TypeMethodDescriptionstatic CompletableFuture<List<SpriteContents>>
SpriteLoader.loadAll
(SpriteOpener opener, List<Function<SpriteOpener, SpriteContents>> sources, Executor executor) Modifier 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) ModifierConstructorDescriptionprotected
Sprite
(Identifier atlasId, SpriteContents contents, int atlasWidth, int atlasHeight, int x, int y) -
Uses of SpriteContents in net.minecraft.client.texture.atlas
Modifier and TypeMethodDescription@Nullable SpriteContents
PalettedPermutationsAtlasSource.PalettedSpriteRegion.apply
(SpriteOpener spriteOpener) UnstitchAtlasSource.SpriteRegion.apply
(SpriteOpener spriteOpener)