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, boolean faceDimming, boolean ambientOcclusion)
  • Method Details

    • texture

      public @NonNull 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
    • faceDimming

      public @org.checkerframework.checker.nullness.qual.Nullable boolean faceDimming()
      Specified by:
      faceDimming in interface org.geysermc.geyser.api.block.custom.component.MaterialInstance
    • ambientOcclusion

      public @org.checkerframework.checker.nullness.qual.Nullable boolean ambientOcclusion()
      Specified by:
      ambientOcclusion in interface org.geysermc.geyser.api.block.custom.component.MaterialInstance