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 Details

    • Builder

      public Builder()
  • Method Details

    • texture

      public GeyserMaterialInstance.Builder texture(@Nullable String texture)
      Specified by:
      texture in interface org.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
    • renderMethod

      public GeyserMaterialInstance.Builder renderMethod(@Nullable String renderMethod)
      Specified by:
      renderMethod in interface org.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
    • faceDimming

      public GeyserMaterialInstance.Builder faceDimming(boolean faceDimming)
      Specified by:
      faceDimming in interface org.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
    • ambientOcclusion

      public GeyserMaterialInstance.Builder ambientOcclusion(boolean ambientOcclusion)
      Specified by:
      ambientOcclusion in interface org.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder
    • build

      public org.geysermc.geyser.api.block.custom.component.MaterialInstance build()
      Specified by:
      build in interface org.geysermc.geyser.api.block.custom.component.MaterialInstance.Builder