net.minecraft.client.renderer.block.model

public class BlockModel

implements UnbakedModel

doe
net.minecraft.client.renderer.block.model.BlockModel
net.minecraft.class_793
net.minecraft.client.render.model.json.JsonUnbakedModel
net.minecraft.client.renderer.model.BlockModel

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
f
LOGGER
field_4248
LOGGER
field_178313_f
private static final FaceBakery
g
FACE_BAKERY
field_4249
QUAD_FACTORY
field_217647_g
static final com.google.gson.Gson
a
GSON
field_4254
GSON
field_178319_a
private final List<BlockElement>
h
elements
field_4245
elements
field_178314_g
private final boolean
i
isGui3d
field_4246
depthInGui
field_178321_h
private final boolean
j
hasAmbientOcclusion
field_4244
ambientOcclusion
field_178322_i
private final ItemTransforms
k
transforms
field_4250
transformations
field_178320_j
private final List<ItemOverride>
l
overrides
field_4255
overrides
field_187968_k
public String
b
name
field_4252
id
field_178317_b
protected final Map<String, String>
c
textureMap
field_4251
textureMap
field_178318_c
protected BlockModel
d
parent
field_4253
parent
field_178315_d
protected ResourceLocation
e
parentLocation
field_4247
parentId
field_178316_e

Constructor summary

ModifierConstructor
public (ResourceLocation parentId, List<BlockElement> elements, Map<String, String> textureMap, boolean ambientOcclusion, boolean depthInGui, ItemTransforms transformations, List<ItemOverride> overrides)

Method summary

Modifier and TypeMethod
public static BlockModel
a(Reader arg0)
fromStream(Reader arg0)
method_3437(Reader arg0)
deserialize(Reader input)
func_178307_a(Reader arg0)
public static BlockModel
a(String arg0)
fromString(String arg0)
method_3430(String arg0)
deserialize(String json)
func_178294_a(String arg0)
public List<BlockElement>
a()
getElements()
method_3433()
getElements()
func_178298_a()
public boolean
b()
hasAmbientOcclusion()
method_3444()
useAmbientOcclusion()
func_178309_b()
public boolean
c()
isGui3d()
method_3445()
hasDepthInGui()
func_178311_c()
public List<ItemOverride>
e()
getOverrides()
method_3434()
getOverrides()
func_187966_f()
private ItemOverrides
a(dys arg0, doe arg1)
getItemOverrides(ModelBakery arg0, BlockModel arg1)
method_3440(class_1088 arg0, class_793 arg1)
compileOverrides(ModelLoader modelLoader, JsonUnbakedModel parent)
func_217646_a(ModelBakery arg0, BlockModel arg1)
public Collection<ResourceLocation>
f()
getDependencies()
method_4755()
getModelDependencies()
func_187965_e()
public Collection<ResourceLocation>
a(Function<qv, dyy> arg0, Set<String> arg1)
getTextures(Function<ResourceLocation, UnbakedModel> arg0, Set<String> arg1)
method_4754(Function<class_2960, class_1100> arg0, Set<String> arg1)
getTextureDependencies(Function<Identifier, UnbakedModel> arg0, Set<String> arg1)
func_209559_a(Function<ResourceLocation, IUnbakedModel> arg0, Set<String> arg1)
public BakedModel
a(dys arg0, Function<qv, dxb> arg1, dyv arg2)
bake(ModelBakery arg0, Function<ResourceLocation, TextureAtlasSprite> arg1, ModelState arg2)
method_4753(class_1088 arg0, Function<class_2960, class_1058> arg1, class_3665 arg2)
bake(ModelLoader arg0, Function<Identifier, Sprite> arg1, ModelBakeSettings arg2)
func_217641_a(ModelBakery arg0, Function<ResourceLocation, TextureAtlasSprite> arg1, ISprite arg2)
public BakedModel
a(dys arg0, doe arg1, Function<qv, dxb> arg2, dyv arg3)
bake(ModelBakery arg0, BlockModel arg1, Function<ResourceLocation, TextureAtlasSprite> arg2, ModelState arg3)
method_3446(class_1088 arg0, class_793 arg1, Function<class_2960, class_1058> arg2, class_3665 arg3)
bake(ModelLoader loader, JsonUnbakedModel parent, Function<Identifier, Sprite> textureGetter, ModelBakeSettings settings)
func_217644_a(ModelBakery arg0, BlockModel arg1, Function<ResourceLocation, TextureAtlasSprite> arg2, ISprite arg3)
private static BakedQuad
a(doa arg0, dob arg1, dxb arg2, fb arg3, dyv arg4)
bakeFace(BlockElement arg0, BlockElementFace arg1, TextureAtlasSprite arg2, Direction arg3, ModelState arg4)
method_3447(class_785 arg0, class_783 arg1, class_1058 arg2, class_2350 arg3, class_3665 arg4)
createQuad(ModelElement element, ModelElementFace elementFace, Sprite sprite, Direction side, ModelBakeSettings settings)
func_217645_a(BlockPart arg0, BlockPartFace arg1, TextureAtlasSprite arg2, Direction arg3, ISprite arg4)
public boolean
b(String arg0)
hasTexture(String arg0)
method_3432(String arg0)
textureExists(String name)
func_178300_b(String arg0)
public String
c(String arg0)
getTexture(String arg0)
method_3436(String arg0)
resolveTexture(String name)
func_178308_c(String arg0)
private String
a(String arg0, doe$a arg1)
getTexture(String arg0, BlockModel$Bookkeep arg1)
method_3442(String arg0, class_793$class_794 arg1)
resolveTexture(String name, JsonUnbakedModel$TextureResolutionContext context)
func_178302_a(String arg0, BlockModel$Bookkeep arg1)
private boolean
d(String arg0)
isTextureReference(String arg0)
method_3439(String arg0)
isTextureReference(String name)
func_178304_d(String arg0)
public BlockModel
g()
getRootModel()
method_3431()
getRootModel()
func_178310_f()
public ItemTransforms
h()
getTransforms()
method_3443()
getTransformations()
func_181682_g()
private ItemTransform
a(dom$b arg0)
getTransform(ItemTransforms$TransformType arg0)
method_3438(class_809$class_811 arg0)
getTransformation(ModelTransformation$Type renderMode)
func_181681_a(ItemCameraTransforms$TransformType arg0)