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 RecordBuilder
RecordBuilder.AbstractBuilder<T,R>, RecordBuilder.AbstractStringBuilder<T, R>, RecordBuilder.AbstractUniversalBuilder<T, R>, RecordBuilder.MapBuilder<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract DataResult<T> protected abstract RmapError(UnaryOperator<String> onError) ops()setLifecycle(Lifecycle lifecycle) withErrorsFrom(DataResult<?> result)
-
Field Details
-
ops
-
builder
-
-
Constructor Details
-
AbstractBuilder
-
-
Method Details
-
ops
- Specified by:
opsin interfaceRecordBuilder<T>
-
initBuilder
-
build
-
build
- Specified by:
buildin interfaceRecordBuilder<T>
-
withErrorsFrom
- Specified by:
withErrorsFromin interfaceRecordBuilder<T>
-
setLifecycle
- Specified by:
setLifecyclein interfaceRecordBuilder<T>
-
mapError
- Specified by:
mapErrorin interfaceRecordBuilder<T>
-