Package com.mojang.serialization
Class RecordBuilder.AbstractBuilder<T,R>
java.lang.Object
com.mojang.serialization.RecordBuilder.AbstractBuilder<T,R>
- All Implemented Interfaces:
RecordBuilder<T>
- Direct Known Subclasses:
RecordBuilder.AbstractStringBuilder
,RecordBuilder.AbstractUniversalBuilder
- Enclosing interface:
- RecordBuilder<T>
public abstract static class RecordBuilder.AbstractBuilder<T,R>
extends Object
implements RecordBuilder<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mojang.serialization.RecordBuilder
RecordBuilder.AbstractBuilder<T,
R>, RecordBuilder.AbstractStringBuilder<T, R>, RecordBuilder.AbstractUniversalBuilder<T, R>, RecordBuilder.MapBuilder<T> -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract DataResult<T>
protected abstract R
mapError
(UnaryOperator<String> onError) ops()
setLifecycle
(Lifecycle lifecycle) withErrorsFrom
(DataResult<?> result)
-
Field Details
-
builder
-
-
Constructor Details
-
AbstractBuilder
-
-
Method Details
-
ops
- Specified by:
ops
in interfaceRecordBuilder<T>
-
initBuilder
-
build
-
build
- Specified by:
build
in interfaceRecordBuilder<T>
-
withErrorsFrom
- Specified by:
withErrorsFrom
in interfaceRecordBuilder<T>
-
setLifecycle
- Specified by:
setLifecycle
in interfaceRecordBuilder<T>
-
mapError
- Specified by:
mapError
in interfaceRecordBuilder<T>
-