类 SpriteSourceProvider
java.lang.Object
net.minecraftforge.common.data.JsonCodecProvider<List<SpriteSource>>
net.minecraftforge.common.data.SpriteSourceProvider
- 所有已实现的接口:
DataProvider
- 直接已知子类:
ForgeSpriteSourceProvider
Data provider for atlas configuration files.
An atlas configuration is bound to a specific texture atlas such as the minecraft:blocks
atlas and
allows adding additional textures to the atlas by adding SpriteSource
s to the configuration.
See SpriteSources
for the available sources and the constants in this class for the
atlases used in vanilla Minecraft
-
嵌套类概要
嵌套类从接口继承的嵌套类/接口 net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
字段概要
字段修饰符和类型字段说明private final Map
<ResourceLocation, SpriteSourceProvider.SourceList> protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
从类继承的字段 net.minecraftforge.common.data.JsonCodecProvider
codec, conditions, directory, dynamicOps, entries, existingFileHelper, modid, output, packType
从接口继承的字段 net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract void
protected final SpriteSourceProvider.SourceList
atlas
(ResourceLocation atlas) Get or create aSpriteSourceProvider.SourceList
for the given atlasprotected final void
gather
(BiConsumer<ResourceLocation, List<SpriteSource>> consumer) 从类继承的方法 net.minecraftforge.common.data.JsonCodecProvider
getName, run, setConditions
-
字段详细资料
-
BLOCKS_ATLAS
-
BANNER_PATTERNS_ATLAS
-
BEDS_ATLAS
-
CHESTS_ATLAS
-
SHIELD_PATTERNS_ATLAS
-
SHULKER_BOXES_ATLAS
-
SIGNS_ATLAS
-
MOB_EFFECTS_ATLAS
-
PAINTINGS_ATLAS
-
PARTICLES_ATLAS
-
atlases
-
-
构造器详细资料
-
SpriteSourceProvider
-
-
方法详细资料
-
gather
- 覆盖:
gather
在类中JsonCodecProvider<List<SpriteSource>>
-
addSources
protected abstract void addSources() -
atlas
Get or create aSpriteSourceProvider.SourceList
for the given atlas- 参数:
atlas
- The texture atlas the sources should be added to, see constants at the top for the format and the vanilla atlases- 返回:
- an existing
SourceList
for the given atlas or a new one if not present yet
-