public static class CopyNbt.Builder extends LootFunction.Builder<CopyNbt.Builder>
Modifier and Type | Field and Description |
---|---|
private java.util.List<CopyNbt.Operation> |
operations |
private CopyNbt.Source |
source |
Modifier | Constructor and Description |
---|---|
private |
Builder(CopyNbt.Source p_i50675_1_) |
Modifier and Type | Method and Description |
---|---|
CopyNbt.Builder |
addOperation(java.lang.String sourcePath,
java.lang.String targetPath,
CopyNbt.Action copyAction) |
ILootFunction |
build() |
protected CopyNbt.Builder |
doCast() |
CopyNbt.Builder |
replaceOperation(java.lang.String sourcePath,
java.lang.String targetPath) |
acceptCondition, cast, getConditions
private final CopyNbt.Source source
private final java.util.List<CopyNbt.Operation> operations
private Builder(CopyNbt.Source p_i50675_1_)
public CopyNbt.Builder addOperation(java.lang.String sourcePath, java.lang.String targetPath, CopyNbt.Action copyAction)
public CopyNbt.Builder replaceOperation(java.lang.String sourcePath, java.lang.String targetPath)
protected CopyNbt.Builder doCast()
doCast
in class LootFunction.Builder<CopyNbt.Builder>
public ILootFunction build()