net.minecraft.client.renderer.block.model

public class BlockModel

implements UnbakedModel

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

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
h
LOGGER
field_4248
LOGGER
private static final FaceBakery
i
FACE_BAKERY
field_4249
QUAD_FACTORY
static final com.google.gson.Gson
a
GSON
field_4254
GSON
private static final char
j
REFERENCE_CHAR
field_32793
TEXTURE_REFERENCE_INITIAL
public static final String
b
PARTICLE_TEXTURE_REFERENCE
field_32792
PARTICLE_KEY
private static final boolean
k
DEFAULT_AMBIENT_OCCLUSION
field_42912
field_42912
public static final Material
c
MISSING_MATERIAL
field_54858
MISSING_SPRITE
private final List<BlockElement>
l
elements
field_4245
elements
private final BlockModel$GuiLight
m
guiLight
field_21857
guiLight
private final Boolean
n
hasAmbientOcclusion
field_4244
ambientOcclusion
private final ItemTransforms
o
transforms
field_4250
transformations
private final List<ItemOverride>
p
overrides
field_4255
overrides
public String
d
name
field_4252
id
protected final Map<String, com.mojang.datafixers.util.Either<Material, String>>
e
textureMap
field_4251
textureMap
protected BlockModel
f
parent
field_4253
parent
protected ResourceLocation
g
parentLocation
field_4247
parentId

Constructor summary

ModifierConstructor
public (ResourceLocation parentId, List<BlockElement> elements, Map<String, com.mojang.datafixers.util.Either<Material, String>> textureMap, Boolean ambientOcclusion, BlockModel$GuiLight guiLight, 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)
public List<BlockElement>
a()
getElements()
method_3433()
getElements()
public boolean
b()
hasAmbientOcclusion()
method_3444()
useAmbientOcclusion()
public BlockModel$GuiLight
c()
getGuiLight()
method_24298()
getGuiLight()
public boolean
d()
isResolved()
method_35789()
needsResolution()
public List<ItemOverride>
e()
getOverrides()
method_3434()
getOverrides()
public void
a(heg$a arg0)
resolveDependencies(UnbakedModel$Resolver arg0)
method_62326(class_1100$class_10103 arg0)
resolve(UnbakedModel$Resolver arg0)
public BakedModel
a(hdw arg0, Function<hdu, hbl> arg1, hec arg2)
bake(ModelBaker arg0, Function<Material, TextureAtlasSprite> arg1, ModelState arg2)
method_4753(class_7775 arg0, Function<class_4730, class_1058> arg1, class_3665 arg2)
bake(Baker arg0, Function<SpriteIdentifier, Sprite> arg1, ModelBakeSettings arg2)
public BakedModel
a(Function<hdu, hbl> arg0, hec arg1, boolean arg2)
bake(Function<Material, TextureAtlasSprite> arg0, ModelState arg1, boolean arg2)
method_3446(Function<class_4730, class_1058> arg0, class_3665 arg1, boolean arg2)
bake(Function<SpriteIdentifier, Sprite> arg0, ModelBakeSettings arg1, boolean arg2)
private static BakedQuad
a(gmt arg0, gmu arg1, hbl arg2, jm arg3, hec 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)
public boolean
a(String arg0)
hasTexture(String arg0)
method_3432(String arg0)
textureExists(String name)
public Material
b(String arg0)
getMaterial(String arg0)
method_24077(String arg0)
resolveSprite(String spriteName)
private com.mojang.datafixers.util.Either<Material, String>
c(String arg0)
findTextureEntry(String arg0)
method_3442(String arg0)
resolveTexture(String name)
static boolean
d(String arg0)
isTextureReference(String arg0)
method_3439(String arg0)
isTextureReference(String reference)
public BlockModel
f()
getRootModel()
method_3431()
getRootModel()
public ItemTransforms
g()
getTransforms()
method_3443()
getTransformations()
private ItemTransform
a(cxn arg0)
getTransform(ItemDisplayContext arg0)
method_3438(class_811 arg0)
getTransformation(ModelTransformationMode renderMode)