Interface MaterialInstance.Builder
- Enclosing interface:
MaterialInstance
public static interface MaterialInstance.Builder
-
Method Summary
Modifier and TypeMethodDescriptionambientOcclusion(boolean ambientOcclusion) Deprecated, for removal: This API element is subject to removal in a future version.ambientOcclusionExponent(float ambientOcclusionExponent) Sets the exponent applied to the ambient occlusion value after lighting, between0.0and10.0inclusive.build()faceDimming(boolean faceDimming) isotropic(boolean isotropic) renderMethod(@Nullable String renderMethod) tintMethod(@Nullable String tintMethod)
-
Method Details
-
texture
-
renderMethod
-
tintMethod
-
faceDimming
-
ambientOcclusion
@Deprecated(since="2.11.3", forRemoval=true) MaterialInstance.Builder ambientOcclusion(boolean ambientOcclusion) Deprecated, for removal: This API element is subject to removal in a future version.since 2.11.3: UseambientOcclusionExponent(float)insteadThis method is deprecated for removal and will be removed in Geyser 2.13.0. -
ambientOcclusionExponent
Sets the exponent applied to the ambient occlusion value after lighting, between0.0and10.0inclusive.- Since:
- 2.11.3
-
isotropic
-
build
MaterialInstance build()
-
ambientOcclusionExponent(float)instead