Package net.minecraft.loot
Class LootEntry.Builder<T extends LootEntry.Builder<T>>
java.lang.Object
net.minecraft.loot.LootEntry.Builder<T>
- All Implemented Interfaces:
ILootConditionConsumer<T>
- Direct Known Subclasses:
AlternativesLootEntry.Builder
,StandaloneLootEntry.Builder
- Enclosing class:
- LootEntry
public abstract static class LootEntry.Builder<T extends LootEntry.Builder<T>>
extends Object
implements ILootConditionConsumer<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract LootEntry
build()
protected ILootCondition[]
protected abstract T
getThis()
otherwise
(LootEntry.Builder<?> p_216080_1_) final T
unwrap()
when
(ILootCondition.IBuilder p_212840_1_)
-
Field Details
-
conditions
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getThis
-
when
- Specified by:
when
in interfaceILootConditionConsumer<T extends LootEntry.Builder<T>>
-
unwrap
- Specified by:
unwrap
in interfaceILootConditionConsumer<T extends LootEntry.Builder<T>>
-
getConditions
-
otherwise
-
build
-