Class Unstitcher.RegionInstance
java.lang.Object
net.minecraft.client.renderer.texture.atlas.sources.Unstitcher.RegionInstance
- All Implemented Interfaces:
Function<SpriteResourceLoader,
,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
-
apply
- Specified by:
apply
in interfaceFunction<SpriteResourceLoader,
SpriteContents>
-
discard
public void discard()- Specified by:
discard
in interfaceSpriteSource.SpriteSupplier
-