Uses of Class
net.minecraft.loot.RandomValueRange
-
Uses of RandomValueRange in net.minecraft.loot
Modifier and TypeFieldDescriptionprivate RandomValueRange
LootPool.bonusRolls
private RandomValueRange
LootPool.Builder.bonusRolls
Modifier and TypeMethodDescriptionstatic RandomValueRange
RandomValueRange.between
(float p_215837_0_, float p_215837_1_) RandomValueRange.Serializer.deserialize
(com.google.gson.JsonElement p_deserialize_1_, Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
RandomValueRange.Serializer.serialize
(RandomValueRange p_serialize_1_, Type p_serialize_2_, com.google.gson.JsonSerializationContext p_serialize_3_) void
LootPool.setBonusRolls
(RandomValueRange v) void
LootPool.setRolls
(RandomValueRange v) 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 RandomValueRange in net.minecraft.loot.conditions
Modifier and TypeFieldDescriptionprivate final Map<String,
RandomValueRange> EntityHasScore.scores
Modifier and TypeMethodDescriptionprotected boolean
EntityHasScore.hasScore
(Entity p_186631_1_, Scoreboard p_186631_2_, String p_186631_3_, RandomValueRange p_186631_4_) ModifierConstructorDescriptionprivate
TimeCheck
(Long p_i225898_1_, RandomValueRange p_i225898_2_) ModifierConstructorDescriptionprivate
EntityHasScore
(Map<String, RandomValueRange> p_i46618_1_, LootContext.EntityTarget p_i46618_2_) -
Uses of RandomValueRange in net.minecraft.loot.functions
Modifier and TypeFieldDescriptionprivate final RandomValueRange
SetAttributes.Modifier.amount
private final RandomValueRange
LootingEnchantBonus.Builder.count
private final RandomValueRange
SetDamage.damage
private final RandomValueRange
LootingEnchantBonus.value
Modifier and TypeFieldDescriptionprivate final Map<Effect,
RandomValueRange> SetStewEffect.Builder.effectDurationMap
private final Map<Effect,
RandomValueRange> SetStewEffect.effectDurationMap
Modifier and TypeMethodDescriptionstatic LootingEnchantBonus.Builder
LootingEnchantBonus.lootingMultiplier
(RandomValueRange p_215915_0_) static LootFunction.Builder<?>
SetDamage.setDamage
(RandomValueRange p_215931_0_) SetStewEffect.Builder.withEffect
(Effect p_216077_1_, RandomValueRange p_216077_2_) ModifierConstructorDescriptionBuilder
(RandomValueRange p_i50932_1_) private
LootingEnchantBonus
(ILootCondition[] p_i47145_1_, RandomValueRange p_i47145_2_, int p_i47145_3_) private
Modifier
(String p_i232172_1_, Attribute p_i232172_2_, AttributeModifier.Operation p_i232172_3_, RandomValueRange p_i232172_4_, EquipmentSlotType[] p_i232172_5_, UUID p_i232172_6_) private
SetDamage
(ILootCondition[] p_i46622_1_, RandomValueRange p_i46622_2_) ModifierConstructorDescriptionprivate
SetStewEffect
(ILootCondition[] p_i51215_1_, Map<Effect, RandomValueRange> p_i51215_2_)