Package com.mojang.serialization
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 com.mojang.serialization.ListBuilder
ListBuilder.Builder<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(DataResult<T> value) mapError
(UnaryOperator<String> onError) ops()
withErrorsFrom
(DataResult<?> result) 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.ListBuilder
add, addAll, build
-
Constructor Details
-
Builder
-
-
Method Details
-
ops
- Specified by:
ops
in interfaceListBuilder<T>
-
add
- Specified by:
add
in interfaceListBuilder<T>
-
add
- Specified by:
add
in interfaceListBuilder<T>
-
withErrorsFrom
- Specified by:
withErrorsFrom
in interfaceListBuilder<T>
-
mapError
- Specified by:
mapError
in interfaceListBuilder<T>
-
build
- Specified by:
build
in interfaceListBuilder<T>
-