@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
Package org.spongepowered.api.state
A fallback API for handling properties of
BlockStates such that the values that
are not directly supported by the API can still be represented with a
StateProperty. Common cases where
support only through a StateProperty is when mods are introduced
to the game, providing custom content and custom states.-
Interface Summary Interface Description BooleanStateProperty Represents a type ofStatePropertythat allows onlyBooleanof which two possible values may exist:trueandfalse.EnumStateProperty<E extends Enum<E>> Represents a type ofStatePropertythat accepts an unknownEnumset of values.IntegerStateProperty Represents a type ofStatePropertythat acceptsIntegerbased values, usually with a predefined range.State<S extends State<S>> State.Builder<S extends State<S>,B extends State.Builder<S,B>> StateContainer<S extends State<S>> StateMatcher<S extends State<S>> AStateMatcherthat will match variousStates according to a pre-built list ofStatePropertys and their values, such that not allStatePropertys contained in aStatemust be matched.StateMatcher.Builder<S extends State<S>,T extends StateContainer<S>> A builder forStateMatchers.StateMatcher.Factory Factories for generating builders.StateProperty<T extends Comparable<T>> Represents a possible state property in aStateContainersState. -
Class Summary Class Description BooleanStateProperties EnumStateProperties IntegerStateProperties