Package net.minecraft.data.models.model
Class ModelTemplate
java.lang.Object
net.minecraft.data.models.model.ModelTemplate
-
Field Summary
-
Constructor Summary
ConstructorDescriptionModelTemplate(Optional<ResourceLocation> p_125589_, Optional<String> p_125590_, TextureSlot... p_125591_)
-
Method Summary
Modifier and TypeMethodDescriptioncreate(ResourceLocation p_125613_, TextureMapping p_125614_, BiConsumer<ResourceLocation,Supplier<com.google.gson.JsonElement>> p_125615_)
create(Block p_125593_, TextureMapping p_125594_, BiConsumer<ResourceLocation,Supplier<com.google.gson.JsonElement>> p_125595_)
private Map<TextureSlot,ResourceLocation>
createMap(TextureMapping p_125609_)
createWithOverride(Block p_125617_, String p_125618_, TextureMapping p_125619_, BiConsumer<ResourceLocation,Supplier<com.google.gson.JsonElement>> p_125620_)
createWithSuffix(Block p_125597_, String p_125598_, TextureMapping p_125599_, BiConsumer<ResourceLocation,Supplier<com.google.gson.JsonElement>> p_125600_)
-
Field Details
-
model
-
requiredSlots
-
suffix
-
-
Constructor Details
-
ModelTemplate
public ModelTemplate(Optional<ResourceLocation> p_125589_, Optional<String> p_125590_, TextureSlot... p_125591_)
-
-
Method Details
-
create
public ResourceLocation create(Block p_125593_, TextureMapping p_125594_, BiConsumer<ResourceLocation,Supplier<com.google.gson.JsonElement>> p_125595_) -
createWithSuffix
public ResourceLocation createWithSuffix(Block p_125597_, String p_125598_, TextureMapping p_125599_, BiConsumer<ResourceLocation,Supplier<com.google.gson.JsonElement>> p_125600_) -
createWithOverride
public ResourceLocation createWithOverride(Block p_125617_, String p_125618_, TextureMapping p_125619_, BiConsumer<ResourceLocation,Supplier<com.google.gson.JsonElement>> p_125620_) -
create
public ResourceLocation create(ResourceLocation p_125613_, TextureMapping p_125614_, BiConsumer<ResourceLocation,Supplier<com.google.gson.JsonElement>> p_125615_) -
createMap
-