Package org.spongepowered.api.state
Interface StateMatcher.Factory
- Enclosing interface:
StateMatcher<S extends State<S>>
public static interface StateMatcher.Factory
Factories for generating builders.
-
Method Summary
Modifier and TypeMethodDescriptionGets aStateMatcher.Builder
forBlockState
matching.Gets aStateMatcher.Builder
forFluidState
matching.
-
Method Details
-
blockStateMatcherBuilder
StateMatcher.Builder<BlockState,BlockType> blockStateMatcherBuilder()Gets aStateMatcher.Builder
forBlockState
matching.- Returns:
- The builder
-
fluidStateMatcherBuilder
StateMatcher.Builder<FluidState,FluidType> fluidStateMatcherBuilder()Gets aStateMatcher.Builder
forFluidState
matching.- Returns:
- The builder
-