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 final com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<IBakedModel,
RenderType>> private final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,
TransformationMatrix> private RenderType
private final ItemOverrideList
private final IModelConfiguration
private TextureAtlasSprite
-
Constructor Summary
ModifierConstructorDescriptionprivate
Builder
(IModelConfiguration owner, TextureAtlasSprite particle, ItemOverrideList overrides, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> cameraTransforms) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addLayer
(com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<IBakedModel, 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<IBakedModel,RenderType>> builder -
quads
-
overrides
-
cameraTransforms
private final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms -
owner
-
particle
-
lastRt
-
-
Constructor Details
-
Builder
private Builder(IModelConfiguration owner, TextureAtlasSprite particle, ItemOverrideList overrides, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> cameraTransforms)
-
-
Method Details
-
addLayer
private void addLayer(com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<IBakedModel, RenderType>> builder, List<BakedQuad> quads, RenderType rt) -
flushQuads
-
setParticle
-
addQuads
-
addQuads
-
build
-