Class RecordBuilder.MapBuilder<T>
java.lang.Object
com.mojang.serialization.RecordBuilder.AbstractBuilder<T, com.google.common.collect.ImmutableMap.Builder<T,T>>
com.mojang.serialization.RecordBuilder.AbstractUniversalBuilder<T, com.google.common.collect.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, com.google.common.collect.ImmutableMap.Builder<T,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 inherited from class RecordBuilder.AbstractBuilder
builder -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RecordBuilder.AbstractUniversalBuilder
add, add, addMethods inherited from class RecordBuilder.AbstractBuilder
build, mapError, ops, setLifecycle, withErrorsFromMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RecordBuilder
add, add, add, build
-
Constructor Details
-
MapBuilder
-
-
Method Details
-
initBuilder
- Specified by:
initBuilderin classRecordBuilder.AbstractBuilder<T, com.google.common.collect.ImmutableMap.Builder<T,T>>
-
append
-
build
protected DataResult<T> build(com.google.common.collect.ImmutableMap.Builder<T, T> builder, T prefix) - Specified by:
buildin classRecordBuilder.AbstractBuilder<T, com.google.common.collect.ImmutableMap.Builder<T,T>>
-