public static final class Color.Builder extends AbstractDataBuilder<Color>
| Constructor and Description |
|---|
Builder()
|
| Modifier and Type | Method and Description |
|---|---|
protected Optional<Color> |
buildContent(DataView container)
Builds the currently
AbstractDataBuilder.supportedVersion variant of the intended
DataSerializable, such that all content upgrades have already
been handled by AbstractDataBuilder.build(DataView). |
buildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfrom, resetprotected Optional<Color> buildContent(DataView container) throws InvalidDataException
AbstractDataBuilderAbstractDataBuilder.supportedVersion variant of the intended
DataSerializable, such that all content upgrades have already
been handled by AbstractDataBuilder.build(DataView). This otherwise follows the
same contract as DataBuilder.build(DataView).buildContent in class AbstractDataBuilder<Color>container - The container with data to build fromInvalidDataException - If there's issues of invalid data formats
or invalid data