Package net.minecraft.data
Class TexturedModel
java.lang.Object
net.minecraft.data.TexturedModel
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
private final ModelTextures
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
static final TexturedModel.ISupplier
private final ModelsUtil
static final TexturedModel.ISupplier
-
Constructor Summary
ModifierConstructorDescriptionprivate
TexturedModel
(ModelTextures p_i232548_1_, ModelsUtil p_i232548_2_) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Block p_240459_1_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_240459_2_) static TexturedModel
createAllSame
(ResourceLocation p_240463_0_) private static TexturedModel.ISupplier
createDefault
(Function<Block, ModelTextures> p_240461_0_, ModelsUtil p_240461_1_) createWithSuffix
(Block p_240458_1_, String p_240458_2_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_240458_3_) updateTextures
(Consumer<ModelTextures> p_240460_1_)
-
Field Details
-
CUBE
-
CUBE_MIRRORED
-
COLUMN
-
COLUMN_HORIZONTAL
-
CUBE_TOP_BOTTOM
-
CUBE_TOP
-
ORIENTABLE_ONLY_TOP
-
ORIENTABLE
-
CARPET
-
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_240459_1_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_240459_2_) -
createWithSuffix
public ResourceLocation createWithSuffix(Block p_240458_1_, String p_240458_2_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_240458_3_) -
createDefault
private static TexturedModel.ISupplier createDefault(Function<Block, ModelTextures> p_240461_0_, ModelsUtil p_240461_1_) -
createAllSame
-