public interface Archetype<S extends LocatableSnapshot<S>,E> extends DataHolder
DataHolder which has no attachment to any particular world allowing
it to be used as a blueprint to create multiple copies of its containing
data.| Modifier and Type | Method and Description |
|---|---|
Optional<E> |
apply(Location<World> location)
Creates a new instance based on this archetype at the given location.
|
S |
toSnapshot(Location<World> location)
Creates a new immutable snapshot based on this archetype.
|
setRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getProperty