Class NbtOps.NbtRecordBuilder
java.lang.Object
com.mojang.serialization.RecordBuilder.AbstractBuilder<Tag, CompoundTag>
com.mojang.serialization.RecordBuilder.AbstractStringBuilder<Tag, CompoundTag>
net.minecraft.nbt.NbtOps.NbtRecordBuilder
- All Implemented Interfaces:
RecordBuilder<Tag>
- Enclosing class:
NbtOps
-
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
Modifier and TypeMethodDescriptionprotected CompoundTagappend(String key, Tag value, CompoundTag builder) protected DataResult<Tag> build(CompoundTag builder, Tag prefix) protected CompoundTagMethods 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, build
-
Constructor Details
-
NbtRecordBuilder
protected NbtRecordBuilder()
-
-
Method Details
-
initBuilder
- Specified by:
initBuilderin classRecordBuilder.AbstractBuilder<Tag, CompoundTag>
-
append
- Specified by:
appendin classRecordBuilder.AbstractStringBuilder<Tag, CompoundTag>
-
build
- Specified by:
buildin classRecordBuilder.AbstractBuilder<Tag, CompoundTag>
-