T
- The type of cycleable for type referencepublic interface Cycleable<T extends Cycleable<T>>
Enum
or pseudo enum, such as a
CatalogType
, that can be "cycled" for the "next" value. The uses are
varying, but usually related to cycling BlockState
s. Note that
Cycleable
is NOT intended to cycle between "types" that have
no particular ordering, such as DyeColor
, BrickType
, etc.
due to their non-ordered nature. Applying an ordering on such types is not
recommended as there is no logic to a particular ordering, except that of
which they are registered.Modifier and Type | Method and Description |
---|---|
T |
cycleNext()
Gets the "next"
Cycleable instance to be considered
for cycling. |