public static enum DirectionalComponent.Placement extends java.lang.Enum<DirectionalComponent.Placement> implements DirectionalComponent.IPlacement
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.EnumFacing |
getPlacement(net.minecraft.block.state.IBlockState state,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.EntityLivingBase placer) |
static DirectionalComponent.Placement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DirectionalComponent.Placement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectionalComponent.Placement BLOCKSIDE
public static final DirectionalComponent.Placement PLACER
public static DirectionalComponent.Placement[] values()
for (DirectionalComponent.Placement c : DirectionalComponent.Placement.values()) System.out.println(c);
public static DirectionalComponent.Placement 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 net.minecraft.util.EnumFacing getPlacement(net.minecraft.block.state.IBlockState state,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.EntityLivingBase placer)
getPlacement in interface DirectionalComponent.IPlacement