Class StandaloneGeometryBakingContext.Builder
java.lang.Object
net.minecraftforge.client.model.geometry.StandaloneGeometryBakingContext.Builder
- Enclosing class:
- StandaloneGeometryBakingContext
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate booleanprivate static final Materialprivate @Nullable ResourceLocationprivate Transformationprivate ItemTransformsprivate booleanprivate booleanprivate BiPredicate<String,Boolean> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild(ResourceLocation modelName) withGui3d(boolean isGui3d) withMaterials(Map<String, Material> materials, Material defaultMaterial) withRenderTypeHint(ResourceLocation renderTypeHint) withRootTransform(Transformation rootTransform) withTextures(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) withTextures(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) withTransforms(ItemTransforms transforms) withUseAmbientOcclusion(boolean useAmbientOcclusion) withUseBlockLight(boolean useBlockLight) withVisibleComponents(it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> parts) 
- 
Field Details- 
NO_MATERIAL
- 
materialCheck
- 
materialLookup
- 
isGui3dprivate boolean isGui3d
- 
useBlockLightprivate boolean useBlockLight
- 
useAmbientOcclusionprivate boolean useAmbientOcclusion
- 
transforms
- 
rootTransform
- 
renderTypeHint
- 
visibilityTest
 
- 
- 
Constructor Details- 
Builderprivate Builder()
- 
Builder
 
- 
- 
Method Details- 
withTexturespublic StandaloneGeometryBakingContext.Builder withTextures(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) 
- 
withTexturespublic StandaloneGeometryBakingContext.Builder withTextures(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) 
- 
withMaterialspublic StandaloneGeometryBakingContext.Builder withMaterials(Map<String, Material> materials, Material defaultMaterial) 
- 
withGui3d
- 
withUseBlockLight
- 
withUseAmbientOcclusion
- 
withTransforms
- 
withRootTransform
- 
withRenderTypeHint
- 
withVisibleComponentspublic StandaloneGeometryBakingContext.Builder withVisibleComponents(it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> parts) 
- 
build
 
-