Package net.minecraft.loot.function
Class ConditionalLootFunction.Builder<T extends ConditionalLootFunction.Builder<T>>
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<T>
- All Implemented Interfaces:
LootConditionConsumingBuilder<T>
,LootFunction.Builder
- Direct Known Subclasses:
ConditionalLootFunction.Joiner
,CopyNbtLootFunction.Builder
,CopyStateFunction.Builder
,EnchantRandomlyLootFunction.Builder
,EnchantWithLevelsLootFunction.Builder
,ExplorationMapLootFunction.Builder
,LootingEnchantLootFunction.Builder
,SetContentsLootFunction.Builer
,SetStewEffectLootFunction.Builder
- Enclosing class:
- ConditionalLootFunction
public abstract static class ConditionalLootFunction.Builder<T extends ConditionalLootFunction.Builder<T>> extends Object implements LootFunction.Builder, LootConditionConsumingBuilder<T>
- Mappings:
Namespace Name official dfs$a
intermediary net/minecraft/class_120$class_121
named net/minecraft/loot/function/ConditionalLootFunction$Builder
-
Field Summary
Fields Modifier and Type Field Description private List<LootCondition>
conditionList
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description T
conditionally(LootCondition.Builder builder)
protected LootCondition[]
getConditions()
T
getThis()
protected abstract T
getThisBuilder()
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.function.LootFunction.Builder
build
-
Field Details
-
conditionList
- Mappings:
Namespace Name Mixin selector official a
Ldfs$a;a:Ljava/util/List;
intermediary field_1049
Lnet/minecraft/class_120$class_121;field_1049:Ljava/util/List;
named conditionList
Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;conditionList:Ljava/util/List;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditionally
- Specified by:
conditionally
in interfaceLootConditionConsumingBuilder<T extends ConditionalLootFunction.Builder<T>>
- Mappings:
Namespace Name Mixin selector official a
Ldfs$a;a(Ldha$a;)Ldfs$a;
intermediary method_524
Lnet/minecraft/class_120$class_121;method_524(Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_120$class_121;
named conditionally
Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;conditionally(Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
-
getThis
- Specified by:
getThis
in interfaceLootConditionConsumingBuilder<T extends ConditionalLootFunction.Builder<T>>
- Mappings:
Namespace Name Mixin selector official f
Ldfs$a;f()Ldfs$a;
intermediary method_525
Lnet/minecraft/class_120$class_121;method_525()Lnet/minecraft/class_120$class_121;
named getThis
Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;getThis()Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
-
getThisBuilder
- Mappings:
Namespace Name Mixin selector official d
Ldfs$a;d()Ldfs$a;
intermediary method_523
Lnet/minecraft/class_120$class_121;method_523()Lnet/minecraft/class_120$class_121;
named getThisBuilder
Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
-
getConditions
- Mappings:
Namespace Name Mixin selector official g
Ldfs$a;g()[Ldha;
intermediary method_526
Lnet/minecraft/class_120$class_121;method_526()[Lnet/minecraft/class_5341;
named getConditions
Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;getConditions()[Lnet/minecraft/loot/condition/LootCondition;
-