public enum PipeBlockColours extends java.lang.Enum<PipeBlockColours> implements net.minecraft.client.renderer.color.IBlockColor
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
colorMultiplier(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
int tintIndex) |
static PipeBlockColours |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PipeBlockColours[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PipeBlockColours INSTANCE
public static PipeBlockColours[] values()
for (PipeBlockColours c : PipeBlockColours.values()) System.out.println(c);
public static PipeBlockColours 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 int colorMultiplier(net.minecraft.block.state.IBlockState state, @Nullable net.minecraft.world.IBlockAccess world, @Nullable net.minecraft.util.math.BlockPos pos, int tintIndex)
colorMultiplier
in interface net.minecraft.client.renderer.color.IBlockColor