public enum DefaultPipeConnection extends java.lang.Enum<DefaultPipeConnection> implements ICustomPipeConnection
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
float |
getExtension(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face,
net.minecraft.block.state.IBlockState state) |
static DefaultPipeConnection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultPipeConnection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultPipeConnection INSTANCE
public static DefaultPipeConnection[] values()
for (DefaultPipeConnection c : DefaultPipeConnection.values()) System.out.println(c);
public static DefaultPipeConnection 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 float getExtension(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face,
net.minecraft.block.state.IBlockState state)
getExtension in interface ICustomPipeConnection-4 / 16.0f indicate that the pipe will not connect at all, and will render
as it it was not connected.