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
-
Field Details
-
count
-
limit
private int limit
-
-
Constructor Details
-
Builder
-
-
Method Details
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<LootingEnchantFunction.Builder>
-
setLimit
-
build
-