Class LootingEnchantFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<LootingEnchantFunction.Builder>
net.minecraft.world.level.storage.loot.functions.LootingEnchantFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<LootingEnchantFunction.Builder>
- Enclosing class:
- LootingEnchantFunction
public static class LootingEnchantFunction.Builder
extends LootItemConditionalFunction.Builder<LootingEnchantFunction.Builder>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected LootingEnchantFunction.Builder
getThis()
setLimit
(int p_80807_) 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
-
count
-
limit
private int limit
-
-
Constructor Details
-
Builder
-
-
Method Details
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<LootingEnchantFunction.Builder>
-
setLimit
-
build
-