Uses of Interface
net.minecraft.loot.IRandomRange
-
Uses of IRandomRange in net.minecraft.data.loot
Modifier and TypeMethodDescriptionprotected static LootTable.Builder
BlockLootTables.createSingleItemTable
(IItemProvider p_218463_0_, IRandomRange p_218463_1_) protected static LootTable.Builder
BlockLootTables.createSingleItemTableWithSilkTouch
(Block p_218530_0_, IItemProvider p_218530_1_, IRandomRange p_218530_2_) -
Uses of IRandomRange in net.minecraft.loot
Modifier and TypeClassDescriptionfinal class
final class
class
Modifier and TypeFieldDescriptionprivate IRandomRange
LootPool.Builder.rolls
private IRandomRange
LootPool.rolls
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
Class<? extends IRandomRange>> RandomRanges.GENERATORS
Modifier and TypeMethodDescriptionstatic IRandomRange
RandomRanges.deserialize
(com.google.gson.JsonElement p_216130_0_, com.google.gson.JsonDeserializationContext p_216130_1_) LootPool.getBonusRolls()
LootPool.getRolls()
Modifier and TypeMethodDescriptionstatic com.google.gson.JsonElement
RandomRanges.serialize
(IRandomRange p_216131_0_, com.google.gson.JsonSerializationContext p_216131_1_) LootPool.Builder.setRolls
(IRandomRange p_216046_1_) ModifierConstructorDescriptionprivate
LootPool
(LootEntry[] p_i51268_1_, ILootCondition[] p_i51268_2_, ILootFunction[] p_i51268_3_, IRandomRange p_i51268_4_, RandomValueRange p_i51268_5_, String name) -
Uses of IRandomRange in net.minecraft.loot.functions
Modifier and TypeFieldDescriptionprivate final IRandomRange
EnchantWithLevels.Builder.levels
private final IRandomRange
EnchantWithLevels.levels
private final IRandomRange
SetCount.value
Modifier and TypeMethodDescriptionstatic EnchantWithLevels.Builder
EnchantWithLevels.enchantWithLevels
(IRandomRange p_215895_0_) static LootFunction.Builder<?>
SetCount.setCount
(IRandomRange p_215932_0_) ModifierConstructorDescriptionBuilder
(IRandomRange p_i51494_1_) private
EnchantWithLevels
(ILootCondition[] p_i51236_1_, IRandomRange p_i51236_2_, boolean p_i51236_3_) private
SetCount
(ILootCondition[] p_i51222_1_, IRandomRange p_i51222_2_)