Class Unstitcher
java.lang.Object
net.minecraft.client.renderer.texture.atlas.sources.Unstitcher
- All Implemented Interfaces:
SpriteSource
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static final record
(package private) static class
Nested classes/interfaces inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource
SpriteSource.Output, SpriteSource.SpriteSupplier
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Unstitcher>
(package private) static final org.slf4j.Logger
private final List<Unstitcher.Region>
private final ResourceLocation
private final FileToIdConverter
private final double
private final double
-
Constructor Summary
ConstructorDescriptionUnstitcher
(ResourceLocation p_261679_, List<Unstitcher.Region> p_261974_, double p_262181_, double p_261631_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(ResourceManager p_261498_, SpriteSource.Output p_261828_) type()
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
TEXTURE_ID_CONVERTER
-
CODEC
-
resource
-
regions
-
xDivisor
private final double xDivisor -
yDivisor
private final double yDivisor
-
-
Constructor Details
-
Unstitcher
public Unstitcher(ResourceLocation p_261679_, List<Unstitcher.Region> p_261974_, double p_262181_, double p_261631_)
-
-
Method Details
-
run
- Specified by:
run
in interfaceSpriteSource
-
type
- Specified by:
type
in interfaceSpriteSource
-