Class Unstitcher
java.lang.Object
net.minecraft.client.renderer.texture.atlas.sources.Unstitcher
- All Implemented Interfaces:
SpriteSource
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
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.MapCodec
<Unstitcher> (package private) static final org.slf4j.Logger
private final List
<Unstitcher.Region> private final ResourceLocation
private final double
private final double
Fields inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource
TEXTURE_ID_CONVERTER
-
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 -
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
-