Class StandaloneGeometryBakingContext.Builder
java.lang.Object
net.neoforged.neoforge.client.model.geometry.StandaloneGeometryBakingContext.Builder
- Enclosing class:
StandaloneGeometryBakingContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private static final Material
private @Nullable ResourceLocation
private Transformation
private ItemTransforms
private boolean
private boolean
private BiPredicate
<String, Boolean> -
Constructor Summary
-
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
-