Class Unstitcher.RegionInstance
java.lang.Object
net.minecraft.client.renderer.texture.atlas.sources.Unstitcher.RegionInstance
- All Implemented Interfaces:
Supplier<SpriteContents>
,SpriteSource.SpriteSupplier
- Enclosing class:
- Unstitcher
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Unstitcher.LazyLoadedImage
private final Unstitcher.Region
private final double
private final double
-
Constructor Summary
ConstructorDescriptionRegionInstance
(Unstitcher.LazyLoadedImage p_262173_, Unstitcher.Region p_261838_, double p_261652_, double p_261472_) -
Method Summary
-
Field Details
-
image
-
region
-
xDivisor
private final double xDivisor -
yDivisor
private final double yDivisor
-
-
Constructor Details
-
RegionInstance
RegionInstance(Unstitcher.LazyLoadedImage p_262173_, Unstitcher.Region p_261838_, double p_261652_, double p_261472_)
-
-
Method Details
-
get
- Specified by:
get
in interfaceSupplier<SpriteContents>
-
discard
public void discard()- Specified by:
discard
in interfaceSpriteSource.SpriteSupplier
-