Class LootItemConditionalFunction.Builder<T extends LootItemConditionalFunction.Builder<T>>
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<T>
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<T>
- Direct Known Subclasses:
CopyBlockState.Builder
,CopyNbtFunction.Builder
,EnchantRandomlyFunction.Builder
,EnchantWithLevelsFunction.Builder
,ExplorationMapFunction.Builder
,LootingEnchantFunction.Builder
,LootItemConditionalFunction.DummyBuilder
,SetAttributesFunction.Builder
,SetBannerPatternFunction.Builder
,SetContainerContents.Builder
,SetEnchantmentsFunction.Builder
,SetLoreFunction.Builder
,SetStewEffectFunction.Builder
- Enclosing class:
- LootItemConditionalFunction
public abstract static class LootItemConditionalFunction.Builder<T extends LootItemConditionalFunction.Builder<T>>
extends Object
implements LootItemFunction.Builder, ConditionUserBuilder<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemCondition>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<LootItemCondition>
protected abstract T
getThis()
final T
unwrap()
when
(LootItemCondition.Builder p_80694_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
when
Methods inherited from interface net.minecraft.world.level.storage.loot.functions.LootItemFunction.Builder
build
-
Field Details
-
conditions
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
when
- Specified by:
when
in interfaceConditionUserBuilder<T extends LootItemConditionalFunction.Builder<T>>
-
unwrap
- Specified by:
unwrap
in interfaceConditionUserBuilder<T extends LootItemConditionalFunction.Builder<T>>
-
getThis
-
getConditions
-