Class CompositeModel.Baked.Builder
java.lang.Object
net.neoforged.neoforge.client.model.CompositeModel.Baked.Builder
- Enclosing class:
CompositeModel.Baked
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<BakedModel> private final boolean
private final boolean
private final boolean
private RenderTypeGroup
private final ItemOverrides
private TextureAtlasSprite
private final ItemTransforms
-
Constructor Summary
ModifierConstructorDescriptionprivate
Builder
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, ItemTransforms transforms) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayer
(BakedModel model) private void
addLayer
(RenderTypeGroup renderTypes, List<BakedQuad> quads) addQuads
(RenderTypeGroup renderTypes, Collection<BakedQuad> quadsToAdd) addQuads
(RenderTypeGroup renderTypes, BakedQuad... quadsToAdd) build()
private void
flushQuads
(RenderTypeGroup renderTypes) setParticle
(TextureAtlasSprite particleSprite)
-
Field Details
-
isAmbientOcclusion
private final boolean isAmbientOcclusion -
isGui3d
private final boolean isGui3d -
isSideLit
private final boolean isSideLit -
children
-
quads
-
overrides
-
transforms
-
particle
-
lastRenderTypes
-
-
Constructor Details
-
Builder
private Builder(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, ItemTransforms transforms)
-
-
Method Details
-
addLayer
-
addLayer
-
flushQuads
-
setParticle
-
addQuads
-
addQuads
public CompositeModel.Baked.Builder addQuads(RenderTypeGroup renderTypes, Collection<BakedQuad> quadsToAdd) -
build
-