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 LazyLoadedImage
private final Unstitcher.Region
private final double
private final double
-
Constructor Summary
ConstructorDescriptionRegionInstance
(LazyLoadedImage p_266678_, Unstitcher.Region p_267197_, double p_266911_, double p_266789_) -
Method Summary
-
Field Details
-
image
-
region
-
xDivisor
private final double xDivisor -
yDivisor
private final double yDivisor
-
-
Constructor Details
-
RegionInstance
RegionInstance(LazyLoadedImage p_266678_, Unstitcher.Region p_267197_, double p_266911_, double p_266789_)
-
-
Method Details
-
get
- Specified by:
get
in interfaceSupplier<SpriteContents>
-
discard
public void discard()- Specified by:
discard
in interfaceSpriteSource.SpriteSupplier
-