Package net.minecraftforge.client.model
Class ItemMultiLayerBakedModel.Builder
java.lang.Object
net.minecraftforge.client.model.ItemMultiLayerBakedModel.Builder
- Enclosing class:
- ItemMultiLayerBakedModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<BakedModel,RenderType>>
private com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
private RenderType
private ItemOverrides
private IModelConfiguration
private TextureAtlasSprite
-
Constructor Summary
ModifierConstructorDescriptionprivate
Builder(IModelConfiguration owner, TextureAtlasSprite particle, ItemOverrides overrides, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> cameraTransforms)
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addLayer(com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<BakedModel,RenderType>> builder, List<BakedQuad> quads, RenderType rt)
addQuads(RenderType rt, Collection<BakedQuad> quadsToAdd)
addQuads(RenderType rt, BakedQuad... quadsToAdd)
build()
private void
flushQuads(RenderType rt)
setParticle(TextureAtlasSprite particleSprite)
-
Field Details
-
builder
private final com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<BakedModel,RenderType>> builder -
quads
-
overrides
-
cameraTransforms
private final com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> cameraTransforms -
owner
-
particle
-
lastRt
-
-
Constructor Details
-
Builder
private Builder(IModelConfiguration owner, TextureAtlasSprite particle, ItemOverrides overrides, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> cameraTransforms)
-
-
Method Details
-
addLayer
private void addLayer(com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<BakedModel,RenderType>> builder, List<BakedQuad> quads, RenderType rt) -
flushQuads
-
setParticle
-
addQuads
-
addQuads
-
build
-