Class Infiniburn.Builder

java.lang.Object
dev.wyck.level.dimension.Infiniburn.Builder
Enclosing interface:
Infiniburn

@AsOf("3.0.0") public static final class Infiniburn.Builder extends Object
Builder for Infiniburn.
Since:
3.0.0
  • Constructor Details

  • Method Details

    • blocks

      @AsOf("3.0.0") public Infiniburn.Builder blocks(Set<Material> blocks)
      Sets the blocks that can burn infinitely in this dimension.
      Parameters:
      blocks - the blocks that can burn infinitely in this dimension
      Returns:
      this builder
      Since:
      3.0.0
    • blocks

      @AsOf("3.1.0") public Infiniburn.Builder blocks(TagKey tagKey)
      Sets the tagKey of blocks that can burn infinitely in this dimension.
      Parameters:
      tagKey - the tagKey key of blocks that can burn infinitely in this dimension
      Returns:
      this builder
      Since:
      3.1.0
    • blocks

      @AsOf("3.1.0") public Infiniburn.Builder blocks(Material... block)
      Adds a block to the list of blocks that can burn infinitely in this dimension.
      Parameters:
      block - the block to add
      Returns:
      this builder
      Since:
      3.1.0
    • block

      @AsOf("3.0.0") public Infiniburn.Builder block(Material block)
      Adds a block to the list of blocks that can burn infinitely in this dimension.
      Parameters:
      block - the block to add
      Returns:
      this builder
      Since:
      3.0.0
    • blocks

      @AsOf("3.0.0") public Infiniburn.Builder blocks(Tag<Material> tag)
      Sets the tag of blocks that can burn infinitely in this dimension.
      Parameters:
      tag - the tag of blocks that can burn infinitely in this dimension
      Returns:
      this builder
      Since:
      3.0.0
    • blocks

      @AsOf("3.0.0") public Infiniburn.Builder blocks(ResourceKey tag)
      Sets the tag of blocks that can burn infinitely in this dimension.
      Parameters:
      tag - the tag of blocks that can burn infinitely in this dimension
      Returns:
      this builder
      Since:
      3.0.0
    • blocks

      @AsOf("3.1.0") public Infiniburn.Builder blocks(TagSet<Material> tagSet)
      Sets the tag of blocks that can burn infinitely in this dimension.
      Parameters:
      tagSet - the tag of blocks that can burn infinitely in this dimension
      Returns:
      this builder
      Since:
      3.1.0
    • build

      @AsOf("3.0.0") public Infiniburn build()
      Builds the infiniburn.
      Returns:
      the infiniburn
      Since:
      3.0.0