Class GeyserMaterialInstance

java.lang.Object
org.geysermc.geyser.level.block.GeyserMaterialInstance
All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.component.MaterialInstance

public class GeyserMaterialInstance extends Object implements org.geysermc.geyser.api.block.custom.component.MaterialInstance
  • Constructor Details

    • GeyserMaterialInstance

      public GeyserMaterialInstance(String texture, String renderMethod, String tintMethod, boolean faceDimming, boolean ambientOcclusion, boolean isotropic)
  • Method Details

    • texture

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

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

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

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

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

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