Package net.minecraft.loot
Class LootFunction.Builder<T extends LootFunction.Builder<T>>
java.lang.Object
net.minecraft.loot.LootFunction.Builder<T>
- All Implemented Interfaces:
ILootFunction.IBuilder
,ILootConditionConsumer<T>
- Direct Known Subclasses:
CopyBlockState.Builder
,CopyNbt.Builder
,EnchantRandomly.Builder
,EnchantWithLevels.Builder
,ExplorationMap.Builder
,LootFunction.SimpleBuilder
,LootingEnchantBonus.Builder
,SetContents.Builder
,SetStewEffect.Builder
- Enclosing class:
- LootFunction
public abstract static class LootFunction.Builder<T extends LootFunction.Builder<T>>
extends Object
implements ILootFunction.IBuilder, ILootConditionConsumer<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ILootCondition[]
protected abstract T
getThis()
final T
unwrap()
when
(ILootCondition.IBuilder p_212840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.functions.ILootFunction.IBuilder
build
-
Field Details
-
conditions
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
when
- Specified by:
when
in interfaceILootConditionConsumer<T extends LootFunction.Builder<T>>
-
unwrap
- Specified by:
unwrap
in interfaceILootConditionConsumer<T extends LootFunction.Builder<T>>
-
getThis
-
getConditions
-