public interface ImmutableGenerationData extends ImmutableDataManipulator<ImmutableGenerationData,GenerationData>
ImmutableDataManipulator handling the "generation" state of an
ItemStack of the type ItemTypes.WRITTEN_BOOK such that the
book can be copied until a certain generation limit has been reached.| Modifier and Type | Method and Description |
|---|---|
ImmutableBoundedValue<Integer> |
generation()
Gets the
ImmutableBoundedValue that represents the "generation"
state of a book. |
asMutable, copy, with, withgetContentVersion, toContainerImmutableBoundedValue<Integer> generation()
ImmutableBoundedValue that represents the "generation"
state of a book.