Package org.geysermc.geyser.level.block
Class GeyserMaterialInstance.Builder
java.lang.Object
org.geysermc.geyser.level.block.GeyserMaterialInstance.Builder
- All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
- Enclosing class:
GeyserMaterialInstance
public static class GeyserMaterialInstance.Builder
extends Object
implements org.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalphaMaskedTint(boolean alphaMaskedTint) ambientOcclusion(boolean ambientOcclusion) ambientOcclusionExponent(float ambientOcclusionExponent) org.geysermc.geyser.api.block.custom.component.MaterialInstancebuild()faceDimming(boolean faceDimming) isotropic(boolean isotropic) renderMethod(@Nullable String renderMethod) textureVariation(boolean textureVariation) tintMethod(@Nullable String tintMethod)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
texture
- Specified by:
texturein interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
renderMethod
- Specified by:
renderMethodin interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
tintMethod
- Specified by:
tintMethodin interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
faceDimming
- Specified by:
faceDimmingin interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
ambientOcclusion
- Specified by:
ambientOcclusionin interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
ambientOcclusionExponent
- Specified by:
ambientOcclusionExponentin interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
isotropic
- Specified by:
isotropicin interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
textureVariation
- Specified by:
textureVariationin interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
alphaMaskedTint
- Specified by:
alphaMaskedTintin interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-
build
public org.geysermc.geyser.api.block.custom.component.MaterialInstance build()- Specified by:
buildin interfaceorg.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
-