Package com.mojang.serialization
Interface ListBuilder<T>
- All Known Implementing Classes:
ListBuilder.Builder
public interface ListBuilder<T>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(DataResult<T> value) default <E> ListBuilder<T>
default <E> ListBuilder<T>
default DataResult<T>
build
(DataResult<T> prefix) mapError
(UnaryOperator<String> onError) ops()
withErrorsFrom
(DataResult<?> result)
-
Method Details
-
ops
DynamicOps<T> ops() -
build
-
add
-
add
-
withErrorsFrom
-
mapError
-
build
-
add
-
addAll
-