Package com.mojang.serialization
Class RecordBuilder.MapBuilder<T>
java.lang.Object
com.mojang.serialization.RecordBuilder.AbstractBuilder<T,R>
com.mojang.serialization.RecordBuilder.AbstractUniversalBuilder<T,ImmutableMap.Builder<T,T>>
com.mojang.serialization.RecordBuilder.MapBuilder<T>
- All Implemented Interfaces:
RecordBuilder<T>
- Enclosing interface:
- RecordBuilder<T>
public static final class RecordBuilder.MapBuilder<T>
extends RecordBuilder.AbstractUniversalBuilder<T,ImmutableMap.Builder<T,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
Fields inherited from class com.mojang.serialization.RecordBuilder.AbstractBuilder
builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ImmutableMap.Builder<T,
T> protected DataResult<T>
build
(ImmutableMap.Builder<T, T> builder, T prefix) protected ImmutableMap.Builder<T,
T> Methods inherited from class com.mojang.serialization.RecordBuilder.AbstractUniversalBuilder
add, add, add
Methods inherited from class com.mojang.serialization.RecordBuilder.AbstractBuilder
build, mapError, ops, setLifecycle, withErrorsFrom
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.serialization.RecordBuilder
add, add, add, build
-
Constructor Details
-
MapBuilder
-
-
Method Details
-
initBuilder
- Specified by:
initBuilder
in classRecordBuilder.AbstractBuilder<T,
ImmutableMap.Builder<T, T>>
-
append
- Specified by:
append
in classRecordBuilder.AbstractUniversalBuilder<T,
ImmutableMap.Builder<T, T>>
-
build
- Specified by:
build
in classRecordBuilder.AbstractBuilder<T,
ImmutableMap.Builder<T, T>>
-