Class AbstractListBuilder<T,B>
java.lang.Object
net.minecraft.util.AbstractListBuilder<T,B>
- All Implemented Interfaces:
ListBuilder<T>
- Direct Known Subclasses:
HashOps.ListHashBuilder, NullOps.NullListBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface ListBuilder
ListBuilder.Builder<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(DataResult<T> value) protected abstract Bprotected abstract DataResult<T> protected abstract BmapError(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
-
AbstractListBuilder
-
-
Method Details
-
ops
- Specified by:
opsin interfaceListBuilder<T>
-
initBuilder
-
append
-
build
-
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>
-