implements LootItemCondition
| fqk | |
| net.minecraft.world.level.storage.loot.predicates.LootItemRandomChanceWithEnchantedBonusCondition | |
| net.minecraft.class_225 | |
| net.minecraft.loot.condition.RandomChanceWithEnchantedBonusLootCondition |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private final float |
| ||||||||
| private final LevelBasedValue |
| ||||||||
| private final Holder<Enchantment> |
| ||||||||
| public static final com.mojang.serialization.MapCodec<LootItemRandomChanceWithEnchantedBonusCondition> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (float unenchantedChance, LevelBasedValue enchantedChance, Holder<Enchantment> enchantment) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public LootItemConditionType |
| ||||||||
| public Set<ContextKey<?>> |
| ||||||||
| public boolean |
| ||||||||
| public static LootItemCondition$Builder |
| ||||||||
| public float |
| ||||||||
| public LevelBasedValue |
| ||||||||
| public Holder<Enchantment> |
|