Package org.spongepowered.api.state
Interface State.Builder<S extends State<S>,B extends State.Builder<S,B>>
- All Superinterfaces:
AbstractBuilder<S>
,Builder<S,
,B> CopyableBuilder<S,
,B> DataBuilder<S>
,DataHolderBuilder<S,
,B> DataHolderBuilder.Immutable<S,
,B> ResettableBuilder<S,
,B> SerializableDataHolderBuilder<S,
,B> SerializableDataHolderBuilder.Immutable<S,
B>
- All Known Subinterfaces:
BlockState.Builder
,FluidState.Builder
public static interface State.Builder<S extends State<S>,B extends State.Builder<S,B>>
extends SerializableDataHolderBuilder.Immutable<S,B>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.data.DataHolderBuilder
DataHolderBuilder.Immutable<H extends DataHolder.Immutable<H>,
B extends DataHolderBuilder.Immutable<H, B>>, DataHolderBuilder.Mutable<H extends DataHolder.Mutable, B extends DataHolderBuilder.Mutable<H, B>> Nested classes/interfaces inherited from interface org.spongepowered.api.data.SerializableDataHolderBuilder
SerializableDataHolderBuilder.Immutable<H extends SerializableDataHolder.Immutable<H>,
B extends SerializableDataHolderBuilder.Immutable<H, B>>, SerializableDataHolderBuilder.Mutable<H extends SerializableDataHolder.Mutable, B extends SerializableDataHolderBuilder.Mutable<H, B>> -
Method Summary
Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.data.persistence.DataBuilder
build
-
Method Details
-
fromString
- Parameters:
id
- The serialized string- Returns:
- This builder, for chaining
-