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