Package net.minecraft.loot.functions
Class SetContents.Builder
- java.lang.Object
-
- net.minecraft.loot.LootFunction.Builder<SetContents.Builder>
-
- net.minecraft.loot.functions.SetContents.Builder
-
- All Implemented Interfaces:
ILootFunction.IBuilder
,ILootConditionConsumer<SetContents.Builder>
- Enclosing class:
- SetContents
public static class SetContents.Builder extends LootFunction.Builder<SetContents.Builder>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootFunction
build()
protected SetContents.Builder
getThis()
SetContents.Builder
withEntry(LootEntry.Builder<?> p_216075_1_)
-
Methods inherited from class net.minecraft.loot.LootFunction.Builder
getConditions, unwrap, when
-
-
-
-
Field Detail
-
entries
private final java.util.List<LootEntry> entries
-
-
Method Detail
-
getThis
protected SetContents.Builder getThis()
- Specified by:
getThis
in classLootFunction.Builder<SetContents.Builder>
-
withEntry
public SetContents.Builder withEntry(LootEntry.Builder<?> p_216075_1_)
-
build
public ILootFunction build()
-
-