Package net.minecraft.data.models.model
Class TexturedModel
java.lang.Object
net.minecraft.data.models.model.TexturedModel
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
private final TextureMapping
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
static final TexturedModel.Provider
private final ModelTemplate
static final TexturedModel.Provider
-
Constructor Summary
ModifierConstructorDescriptionprivate
TexturedModel
(TextureMapping p_125930_, ModelTemplate p_125931_) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Block p_125938_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125939_) static TexturedModel
createAllSame
(ResourceLocation p_125950_) private static TexturedModel.Provider
createDefault
(Function<Block, TextureMapping> p_125943_, ModelTemplate p_125944_) createWithSuffix
(Block p_125934_, String p_125935_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125936_) updateTextures
(Consumer<TextureMapping> p_125941_)
-
Field Details
-
CUBE
-
CUBE_INNER_FACES
-
CUBE_MIRRORED
-
COLUMN
-
COLUMN_HORIZONTAL
-
CUBE_TOP_BOTTOM
-
CUBE_TOP
-
ORIENTABLE_ONLY_TOP
-
ORIENTABLE
-
CARPET
-
FLOWERBED_1
-
FLOWERBED_2
-
FLOWERBED_3
-
FLOWERBED_4
-
GLAZED_TERRACOTTA
-
CORAL_FAN
-
PARTICLE_ONLY
-
ANVIL
-
LEAVES
-
LANTERN
-
HANGING_LANTERN
-
SEAGRASS
-
COLUMN_ALT
-
COLUMN_HORIZONTAL_ALT
-
TOP_BOTTOM_WITH_WALL
-
COLUMN_WITH_WALL
-
mapping
-
template
-
-
Constructor Details
-
TexturedModel
-
-
Method Details
-
getTemplate
-
getMapping
-
updateTextures
-
create
public ResourceLocation create(Block p_125938_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125939_) -
createWithSuffix
public ResourceLocation createWithSuffix(Block p_125934_, String p_125935_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125936_) -
createDefault
private static TexturedModel.Provider createDefault(Function<Block, TextureMapping> p_125943_, ModelTemplate p_125944_) -
createAllSame
-