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) . |
build
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
from, reset
protected Optional<Color> buildContent(DataView container) throws InvalidDataException
AbstractDataBuilder
AbstractDataBuilder.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