Class GeyserCustomBlockData.Builder

java.lang.Object
org.geysermc.geyser.level.block.GeyserCustomBlockData.Builder
All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
Direct Known Subclasses:
GeyserNonVanillaCustomBlockData.Builder
Enclosing class:
GeyserCustomBlockData

public static class GeyserCustomBlockData.Builder extends Object implements org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • name

      public GeyserCustomBlockData.Builder name(@NonNull String name)
      Specified by:
      name in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • includedInCreativeInventory

      public GeyserCustomBlockData.Builder includedInCreativeInventory(boolean includedInCreativeInventory)
      Specified by:
      includedInCreativeInventory in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • creativeCategory

      public GeyserCustomBlockData.Builder creativeCategory(@Nullable org.geysermc.geyser.api.util.CreativeCategory creativeCategory)
      Specified by:
      creativeCategory in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • creativeGroup

      public GeyserCustomBlockData.Builder creativeGroup(@Nullable String creativeGroup)
      Specified by:
      creativeGroup in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • components

      public GeyserCustomBlockData.Builder components(@NonNull org.geysermc.geyser.api.block.custom.component.CustomBlockComponents components)
      Specified by:
      components in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • booleanProperty

      public GeyserCustomBlockData.Builder booleanProperty(@NonNull String propertyName)
      Specified by:
      booleanProperty in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • intProperty

      public GeyserCustomBlockData.Builder intProperty(@NonNull String propertyName, List<Integer> values)
      Specified by:
      intProperty in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • stringProperty

      public GeyserCustomBlockData.Builder stringProperty(@NonNull String propertyName, List<String> values)
      Specified by:
      stringProperty in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • permutations

      public GeyserCustomBlockData.Builder permutations(@NonNull List<org.geysermc.geyser.api.block.custom.CustomBlockPermutation> permutations)
      Specified by:
      permutations in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • build

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