net.minecraft.client.renderer.block.model

public class BlockModelDefinition

fkx
net.minecraft.client.renderer.block.model.BlockModelDefinition
net.minecraft.class_790
net.minecraft.client.render.model.json.ModelVariantMap
net.minecraft.src.C_4208_

Field summary

Modifier and TypeField
private final Map<String, MultiVariant>
a
variants
field_4241
variantMap
f_111532_
private MultiPart
b
multiPart
field_4240
multipartModel
f_111533_

Constructor summary

ModifierConstructor
public (Map<String, MultiVariant> variantMap, MultiPart multipartModel)
public (List<BlockModelDefinition> variantMapList)

Method summary

Modifier and TypeMethod
public static BlockModelDefinition
a(fkx$a arg0, Reader arg1)
fromStream(BlockModelDefinition$Context arg0, Reader arg1)
method_3424(class_790$class_791 arg0, Reader arg1)
fromJson(ModelVariantMap$DeserializationContext context, Reader reader)
m_111540_(C_4208_$C_4209_ p_111541_, Reader p_111542_)
public static BlockModelDefinition
a(fkx$a arg0, com.google.gson.JsonElement arg1)
fromJsonElement(BlockModelDefinition$Context arg0, com.google.gson.JsonElement arg1)
method_45787(class_790$class_791 arg0, com.google.gson.JsonElement arg1)
fromJson(ModelVariantMap$DeserializationContext context, com.google.gson.JsonElement json)
m_247114_(C_4208_$C_4209_ p_249700_, com.google.gson.JsonElement p_250730_)
public boolean
a(String arg0)
hasVariant(String arg0)
method_35790(String arg0)
containsVariant(String key)
m_173425_(String arg0)
public MultiVariant
b(String arg0)
getVariant(String arg0)
method_35792(String arg0)
getVariant(String key)
m_173428_(String arg0)
public Map<String, MultiVariant>
a()
getVariants()
method_3423()
getVariantMap()
m_111539_()
public Set<MultiVariant>
b()
getMultiVariants()
method_35791()
getAllModels()
m_173427_()
public boolean
c()
isMultiPart()
method_3422()
hasMultipartModel()
m_111543_()
public MultiPart
d()
getMultiPart()
method_3421()
getMultipartModel()
m_111544_()