Class FuzzyBlockState.Builder

java.lang.Object
com.sk89q.worldedit.world.block.FuzzyBlockState.Builder
Enclosing class:
FuzzyBlockState

public static class FuzzyBlockState.Builder extends Object
Builder for FuzzyBlockState.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • type

      public FuzzyBlockState.Builder type(BlockType type)
      The type of the Fuzzy BlockState.
      Parameters:
      type - The type
      Returns:
      The builder, for chaining
    • type

      public FuzzyBlockState.Builder type(BlockState state)
      The type of the Fuzzy BlockState.
      Parameters:
      state - The state
      Returns:
      The builder, for chaining
    • withProperty

      public <V> FuzzyBlockState.Builder withProperty(Property<V> property, V value)
      Adds a property to the fuzzy BlockState.
      Type Parameters:
      V - The property type
      Parameters:
      property - The property
      value - The value
      Returns:
      The builder, for chaining
    • build

      public FuzzyBlockState build()
      Builds a FuzzyBlockState from this builder.
      Returns:
      The fuzzy BlockState
    • reset

      public FuzzyBlockState.Builder reset()
      Resets the builder.
      Returns:
      The builder, for chaining