public class RandomChanceLootCondition extends Object implements class_5341
| Modifier and Type | Class and Description |
|---|---|
static class |
RandomChanceLootCondition.Factory |
class_5341.Builder| Modifier and Type | Field and Description |
|---|---|
private float |
chance |
| Modifier | Constructor and Description |
|---|---|
private |
RandomChanceLootCondition(float chance) |
| Modifier and Type | Method and Description |
|---|---|
static class_5341.Builder |
builder(float chance) |
class_5342 |
method_29325() |
boolean |
test(LootContext lootContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredParameters, validatepublic class_5342 method_29325()
method_29325 in interface class_5341public boolean test(LootContext lootContext)
test in interface Predicate<LootContext>public static class_5341.Builder builder(float chance)