public static class CopyNbtLootFunction.Builder extends ConditionalLootFunction.Builder<CopyNbtLootFunction.Builder>
Modifier and Type | Field and Description |
---|---|
private List<CopyNbtLootFunction.Operation> |
operations |
private CopyNbtLootFunction.Source |
source |
Modifier | Constructor and Description |
---|---|
private |
Builder(CopyNbtLootFunction.Source source) |
Modifier and Type | Method and Description |
---|---|
LootFunction |
build() |
protected CopyNbtLootFunction.Builder |
getThisBuilder() |
CopyNbtLootFunction.Builder |
withOperation(String source,
String target) |
CopyNbtLootFunction.Builder |
withOperation(String source,
String target,
CopyNbtLootFunction.Operator operator) |
conditionally, getConditions, getThis
private final CopyNbtLootFunction.Source source
private final List<CopyNbtLootFunction.Operation> operations
private Builder(CopyNbtLootFunction.Source source)
public CopyNbtLootFunction.Builder withOperation(String source, String target, CopyNbtLootFunction.Operator operator)
public CopyNbtLootFunction.Builder withOperation(String source, String target)
protected CopyNbtLootFunction.Builder getThisBuilder()
getThisBuilder
in class ConditionalLootFunction.Builder<CopyNbtLootFunction.Builder>
public LootFunction build()