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
Enclosing interface:
State<S extends State<S>>

public static interface State.Builder<S extends State<S>,B extends State.Builder<S,B>> extends SerializableDataHolderBuilder.Immutable<S,B>
  • Method Details

    • fromString

      B fromString(String id)
      Populates this builder with the representation of a state serialized in the String.
      Parameters:
      id - The serialized string
      Returns:
      This builder, for chaining