public enum ExplosionInteraction extends Enum<ExplosionInteraction>
| Enum Constant and Description |
|---|
DESTROY |
DESTROY_WITH_DECAY |
KEEP |
TRIGGER_BLOCK |
| Modifier and Type | Method and Description |
|---|---|
static ExplosionInteraction |
from(int id) |
static ExplosionInteraction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExplosionInteraction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExplosionInteraction KEEP
public static final ExplosionInteraction DESTROY
public static final ExplosionInteraction DESTROY_WITH_DECAY
public static final ExplosionInteraction TRIGGER_BLOCK
public static ExplosionInteraction[] values()
for (ExplosionInteraction c : ExplosionInteraction.values()) System.out.println(c);
public static ExplosionInteraction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ExplosionInteraction from(int id)
Copyright © 2023. All rights reserved.