public enum ModulePosition extends java.lang.Enum<ModulePosition>
| Enum Constant and Description |
|---|
FRONT |
LEFT_SIDE |
RIGHT_SIDE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isClicked(net.minecraft.util.math.Vec3d v)
Checks if the module is been clicked.
|
static ModulePosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModulePosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModulePosition FRONT
public static final ModulePosition LEFT_SIDE
public static final ModulePosition RIGHT_SIDE
public static ModulePosition[] values()
for (ModulePosition c : ModulePosition.values()) System.out.println(c);
public static ModulePosition valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isClicked(net.minecraft.util.math.Vec3d v)
v - The helicopter-relative raytrace produced by the player trying to interact