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()
static @Nullable SpriteContents
SpriteLoader.load
(Identifier id, Resource resource) Modifier and TypeMethodDescriptionstatic CompletableFuture<List<SpriteContents>>
SpriteLoader.method_47664
(List<Supplier<SpriteContents>> list, Executor executor) Modifier and TypeMethodDescriptionprivate Map<Identifier,
Sprite> SpriteLoader.collectStitchedSprites
(TextureStitcher<SpriteContents> stitcher) SpriteLoader.method_47663
(List<SpriteContents> list, int int2, Executor executor) static CompletableFuture<List<SpriteContents>>
SpriteLoader.method_47664
(List<Supplier<SpriteContents>> list, Executor executor) ModifierConstructorDescriptionprotected
Sprite
(Identifier atlasId, SpriteContents contents, int maxLevel, int atlasWidth, int atlasHeight, int x) -
Uses of SpriteContents in net.minecraft.client.texture.atlas