public enum PlacementPatterns extends java.lang.Enum<PlacementPatterns>
| Enum Constant and Description |
|---|
Chance25 |
Chance50 |
Chance75 |
Checkered |
InverseCheckered |
Solid |
| Modifier and Type | Field and Description |
|---|---|
AllIcons |
icon |
java.lang.String |
translationKey |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyPattern(java.util.List<net.minecraft.util.math.BlockPos> blocksIn,
net.minecraft.item.ItemStack stack) |
static PlacementPatterns |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlacementPatterns[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacementPatterns Solid
public static final PlacementPatterns Checkered
public static final PlacementPatterns InverseCheckered
public static final PlacementPatterns Chance25
public static final PlacementPatterns Chance50
public static final PlacementPatterns Chance75
public final java.lang.String translationKey
public final AllIcons icon
public static PlacementPatterns[] values()
for (PlacementPatterns c : PlacementPatterns.values()) System.out.println(c);
public static PlacementPatterns 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 static void applyPattern(java.util.List<net.minecraft.util.math.BlockPos> blocksIn,
net.minecraft.item.ItemStack stack)