Package com.sk89q.worldedit.world.block
Class FuzzyBlockState.Builder
java.lang.Object
com.sk89q.worldedit.world.block.FuzzyBlockState.Builder
- Enclosing class:
- FuzzyBlockState
Builder for FuzzyBlockState.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a FuzzyBlockState from this builder.reset()
Resets the builder.type
(BlockState state) The type of the Fuzzy BlockState.The type of the Fuzzy BlockState.withProperty
(Property<V> property, V value) Adds a property to the fuzzy BlockState.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
The type of the Fuzzy BlockState.- Parameters:
type
- The type- Returns:
- The builder, for chaining
-
type
The type of the Fuzzy BlockState.- Parameters:
state
- The state- Returns:
- The builder, for chaining
-
withProperty
Adds a property to the fuzzy BlockState.- Type Parameters:
V
- The property type- Parameters:
property
- The propertyvalue
- The value- Returns:
- The builder, for chaining
-
build
Builds a FuzzyBlockState from this builder.- Returns:
- The fuzzy BlockState
-
reset
Resets the builder.- Returns:
- The builder, for chaining
-