Class StandaloneGeometryBakingContext.Builder
java.lang.Object
net.neoforged.neoforge.client.model.geometry.StandaloneGeometryBakingContext.Builder
- Enclosing class:
 - StandaloneGeometryBakingContext
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final Materialprivate @Nullable ResourceLocationprivate Transformationprivate ItemTransformsprivate booleanprivate booleanprivate BiPredicate<String,Boolean>  - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
 - 
isGui3d
private boolean isGui3d - 
useBlockLight
private boolean useBlockLight - 
useAmbientOcclusion
private boolean useAmbientOcclusion - 
transforms
 - 
rootTransform
 - 
renderTypeHint
 - 
visibilityTest
 
 - 
 - 
Constructor Details
- 
Builder
private Builder() - 
Builder
 
 - 
 - 
Method Details
- 
withTextures
public StandaloneGeometryBakingContext.Builder withTextures(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture)  - 
withTextures
public StandaloneGeometryBakingContext.Builder withTextures(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture)  - 
withMaterials
public StandaloneGeometryBakingContext.Builder withMaterials(Map<String, Material> materials, Material defaultMaterial)  - 
withGui3d
 - 
withUseBlockLight
 - 
withUseAmbientOcclusion
 - 
withTransforms
 - 
withRootTransform
 - 
withRenderTypeHint
 - 
withVisibleComponents
public StandaloneGeometryBakingContext.Builder withVisibleComponents(it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> parts)  - 
build
 
 -