Contents
Class RecordCodec.RawBuilder<T>
java.lang.Object
com.hypixel.hytale.codec.record.RecordCodec.AbstractBuilder<T>
com.hypixel.hytale.codec.record.RecordCodec.RawBuilder<T>
- Enclosing class:
RecordCodec<T>
The untyped tail of the builder chain, used once a record has more components than the typed
Builder0 through Builder8 steps cover. Keep appending fields in constructor
parameter order and finish with RecordCodec.AbstractBuilder.buildRaw(Function).-
Method Summary
Modifier and TypeMethodDescription<F> RecordCodec.RawBuilder<T> append(KeyedCodec<F> codec, Function<T, F> accessor) <F> RecordCodec.RawBuilder<T> append(KeyedCodec<F> codec, Function<T, F> accessor, Validator<? super F> validator) <F> RecordCodec.RawBuilder<T> append(KeyedCodec<F> codec, Function<T, F> accessor, Consumer<RecordField.Options<F>> options) documentation(String documentation) Methods inherited from class RecordCodec.AbstractBuilder
buildRaw
-
Method Details
-
append
@Nonnull public <F> RecordCodec.RawBuilder<T> append(@Nonnull KeyedCodec<F> codec, @Nonnull Function<T, F> accessor) -
append
@Nonnull public <F> RecordCodec.RawBuilder<T> append(@Nonnull KeyedCodec<F> codec, @Nonnull Function<T, F> accessor, @Nonnull Validator<? super F> validator) -
append
@Nonnull public <F> RecordCodec.RawBuilder<T> append(@Nonnull KeyedCodec<F> codec, @Nonnull Function<T, F> accessor, @Nonnull Consumer<RecordField.Options<F>> options) -
documentation
-