public class TableBonusLootCondition extends Object implements class_5341
| Modifier and Type | Class and Description |
|---|---|
static class |
TableBonusLootCondition.Factory |
class_5341.Builder| Modifier and Type | Field and Description |
|---|---|
private float[] |
chances |
private Enchantment |
enchantment |
| Modifier | Constructor and Description |
|---|---|
private |
TableBonusLootCondition(Enchantment enchantment,
float[] chances) |
| Modifier and Type | Method and Description |
|---|---|
static class_5341.Builder |
builder(Enchantment enchantment,
float[] chances) |
Set<LootContextParameter<?>> |
getRequiredParameters() |
class_5342 |
method_29325() |
boolean |
test(LootContext lootContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateprivate final Enchantment enchantment
private final float[] chances
private TableBonusLootCondition(Enchantment enchantment, float[] chances)
public class_5342 method_29325()
method_29325 in interface class_5341public Set<LootContextParameter<?>> getRequiredParameters()
getRequiredParameters in interface LootContextAwarepublic boolean test(LootContext lootContext)
test in interface Predicate<LootContext>public static class_5341.Builder builder(Enchantment enchantment, float[] chances)