Package net.minecraft.loot.functions
Class LootingEnchantBonus.Builder
- java.lang.Object
-
- net.minecraft.loot.LootFunction.Builder<LootingEnchantBonus.Builder>
-
- net.minecraft.loot.functions.LootingEnchantBonus.Builder
-
- All Implemented Interfaces:
ILootFunction.IBuilder
,ILootConditionConsumer<LootingEnchantBonus.Builder>
- Enclosing class:
- LootingEnchantBonus
public static class LootingEnchantBonus.Builder extends LootFunction.Builder<LootingEnchantBonus.Builder>
-
-
Field Summary
Fields Modifier and Type Field Description private RandomValueRange
count
private int
limit
-
Constructor Summary
Constructors Constructor Description Builder(RandomValueRange p_i50932_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootFunction
build()
protected LootingEnchantBonus.Builder
getThis()
LootingEnchantBonus.Builder
setLimit(int p_216072_1_)
-
Methods inherited from class net.minecraft.loot.LootFunction.Builder
getConditions, unwrap, when
-
-
-
-
Field Detail
-
count
private final RandomValueRange count
-
limit
private int limit
-
-
Constructor Detail
-
Builder
public Builder(RandomValueRange p_i50932_1_)
-
-
Method Detail
-
getThis
protected LootingEnchantBonus.Builder getThis()
- Specified by:
getThis
in classLootFunction.Builder<LootingEnchantBonus.Builder>
-
setLimit
public LootingEnchantBonus.Builder setLimit(int p_216072_1_)
-
build
public ILootFunction build()
-
-