public class SurvivesExplosionLootCondition extends Object implements LootCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
SurvivesExplosionLootCondition.Serializer |
LootCondition.Builder| Modifier and Type | Field and Description |
|---|---|
private static SurvivesExplosionLootCondition |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
private |
SurvivesExplosionLootCondition() |
| Modifier and Type | Method and Description |
|---|---|
static LootCondition.Builder |
builder() |
Set<LootContextParameter<?>> |
getRequiredParameters() |
LootConditionType |
getType() |
boolean |
test(LootContext lootContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateprivate static final SurvivesExplosionLootCondition INSTANCE
public LootConditionType getType()
getType in interface LootConditionpublic Set<LootContextParameter<?>> getRequiredParameters()
getRequiredParameters in interface LootContextAwarepublic boolean test(LootContext lootContext)
test in interface Predicate<LootContext>public static LootCondition.Builder builder()