Class EnchantWithLevelsFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<EnchantWithLevelsFunction.Builder>
net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<EnchantWithLevelsFunction.Builder>
- Enclosing class:
EnchantWithLevelsFunction
public static class EnchantWithLevelsFunction.Builder
extends LootItemConditionalFunction.Builder<EnchantWithLevelsFunction.Builder>
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
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
-
Field Details
-
levels
-
treasure
private boolean treasure
-
-
Constructor Details
-
Builder
-
-
Method Details
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<EnchantWithLevelsFunction.Builder>
-
allowTreasure
-
build
-