Package net.minecraft.data
Class TexturedModel
java.lang.Object
net.minecraft.data.TexturedModel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierprivate final ModelTexturesstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierstatic final TexturedModel.ISupplierprivate final ModelsUtilstatic final TexturedModel.ISupplier -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTexturedModel(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 TexturedModelcreateAllSame(ResourceLocation p_240463_0_) private static TexturedModel.ISuppliercreateDefault(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
-