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.loadAll
(List<Supplier<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
(List<Supplier<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 TypeMethodDescriptionPalettedPermutationsAtlasSource.PalettedSpriteRegion.get()
UnstitchAtlasSource.SpriteRegion.get()