Class GeyserCustomBlockData.CustomBlockDataBuilder

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    booleanProperty(@NonNull String propertyName)
     
    org.geysermc.geyser.api.block.custom.CustomBlockData
     
    org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    components(@NonNull org.geysermc.geyser.api.block.custom.component.CustomBlockComponents components)
     
    org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    creativeCategory(@Nullable org.geysermc.geyser.api.util.CreativeCategory creativeCategory)
     
    org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    creativeGroup(@Nullable String creativeGroup)
     
    org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    includedInCreativeInventory(boolean includedInCreativeInventory)
     
    org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    intProperty(@NonNull String propertyName, List<Integer> values)
     
    org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    name(@NonNull String name)
     
    org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    permutations(@NonNull List<org.geysermc.geyser.api.block.custom.CustomBlockPermutation> permutations)
     
    org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    stringProperty(@NonNull String propertyName, List<String> values)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomBlockDataBuilder

      public CustomBlockDataBuilder()
  • Method Details

    • name

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

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

      public org.geysermc.geyser.api.block.custom.CustomBlockData.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 org.geysermc.geyser.api.block.custom.CustomBlockData.Builder creativeGroup(@Nullable String creativeGroup)
      Specified by:
      creativeGroup in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • components

      public org.geysermc.geyser.api.block.custom.CustomBlockData.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 org.geysermc.geyser.api.block.custom.CustomBlockData.Builder booleanProperty(@NonNull String propertyName)
      Specified by:
      booleanProperty in interface org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
    • intProperty

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

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

      public org.geysermc.geyser.api.block.custom.CustomBlockData.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