Package net.minecraft.client.data
Class AtlasProvider
java.lang.Object
net.minecraft.client.data.AtlasProvider
- All Implemented Interfaces:
DataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final List
<EquipmentClientInfo.LayerType> private final PackOutput.PathProvider
private static final ResourceLocation
private static final Map
<String, ResourceLocation> private static final List
<ResourceKey<TrimPattern>> Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, INDENT_WIDTH, KEY_COMPARATOR, LOGGER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static List
<SpriteSource> private static List
<SpriteSource> private static List
<SpriteSource> private static Stream
<MaterialAssetGroup.AssetInfo> private static SpriteSource
forMapper
(MaterialMapper pMapper) private static SpriteSource
forMaterial
(Material pMaterial) getName()
private static List
<SpriteSource> private static List
<SpriteSource> noPrefixMapper
(String pPath) private static List
<ResourceLocation> run
(CachedOutput pOutput) private static List
<SpriteSource> private static List
<SpriteSource> simpleMapper
(MaterialMapper pMapper) private CompletableFuture
<?> storeAtlas
(CachedOutput pOutput, ResourceLocation pAtlasId, List<SpriteSource> pSources)
-
Field Details
-
TRIM_PALETTE_KEY
-
TRIM_PALETTE_VALUES
-
VANILLA_PATTERNS
-
HUMANOID_LAYERS
-
pathProvider
-
-
Constructor Details
-
AtlasProvider
-
-
Method Details
-
patternTextures
-
forMaterial
-
forMapper
-
simpleMapper
-
noPrefixMapper
-
extractAllMaterialAssets
-
armorTrims
-
blocksList
-
bannerPatterns
-
shieldPatterns
-
guiSprites
-
run
- Specified by:
run
in interfaceDataProvider
-
storeAtlas
private CompletableFuture<?> storeAtlas(CachedOutput pOutput, ResourceLocation pAtlasId, List<SpriteSource> pSources) -
getName
- Specified by:
getName
in interfaceDataProvider
-