Class ListBuilder.Builder<T>
java.lang.Object
com.mojang.serialization.ListBuilder.Builder<T>
- All Implemented Interfaces:
ListBuilder<T>
- Enclosing interface:
ListBuilder<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface ListBuilder
ListBuilder.Builder<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DataResult<com.google.common.collect.ImmutableList.Builder<T>> private final DynamicOps<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(DataResult<T> value) mapError(UnaryOperator<String> onError) ops()withErrorsFrom(DataResult<?> result) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ListBuilder
add, addAll, build
-
Field Details
-
ops
-
builder
-
-
Constructor Details
-
Builder
-
-
Method Details
-
ops
- Specified by:
opsin interfaceListBuilder<T>
-
add
- Specified by:
addin interfaceListBuilder<T>
-
add
- Specified by:
addin interfaceListBuilder<T>
-
withErrorsFrom
- Specified by:
withErrorsFromin interfaceListBuilder<T>
-
mapError
- Specified by:
mapErrorin interfaceListBuilder<T>
-
build
- Specified by:
buildin interfaceListBuilder<T>
-