Package net.minecraft.loot
Class LootFunction.SimpleBuilder
- java.lang.Object
-
- net.minecraft.loot.LootFunction.Builder<LootFunction.SimpleBuilder>
-
- net.minecraft.loot.LootFunction.SimpleBuilder
-
- All Implemented Interfaces:
ILootFunction.IBuilder
,ILootConditionConsumer<LootFunction.SimpleBuilder>
- Enclosing class:
- LootFunction
static final class LootFunction.SimpleBuilder extends LootFunction.Builder<LootFunction.SimpleBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Function<ILootCondition[],ILootFunction>
constructor
-
Constructor Summary
Constructors Constructor Description SimpleBuilder(java.util.function.Function<ILootCondition[],ILootFunction> p_i50229_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootFunction
build()
protected LootFunction.SimpleBuilder
getThis()
-
Methods inherited from class net.minecraft.loot.LootFunction.Builder
getConditions, unwrap, when
-
-
-
-
Field Detail
-
constructor
private final java.util.function.Function<ILootCondition[],ILootFunction> constructor
-
-
Constructor Detail
-
SimpleBuilder
public SimpleBuilder(java.util.function.Function<ILootCondition[],ILootFunction> p_i50229_1_)
-
-
Method Detail
-
getThis
protected LootFunction.SimpleBuilder getThis()
- Specified by:
getThis
in classLootFunction.Builder<LootFunction.SimpleBuilder>
-
build
public ILootFunction build()
-
-