public enum EnumSpring extends java.lang.Enum<EnumSpring> implements net.minecraft.util.IStringSerializable
Modifier and Type | Field and Description |
---|---|
boolean |
canGen |
int |
chance |
net.minecraft.block.state.IBlockState |
liquidBlock |
int |
tickRate |
java.util.function.Supplier<net.minecraft.tileentity.TileEntity> |
tileConstructor |
static EnumSpring[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
static EnumSpring |
fromState(net.minecraft.block.state.IBlockState state) |
java.lang.String |
getName() |
static EnumSpring |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumSpring[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumSpring WATER
public static final EnumSpring OIL
public static final EnumSpring[] VALUES
public final int tickRate
public final int chance
public net.minecraft.block.state.IBlockState liquidBlock
public boolean canGen
public java.util.function.Supplier<net.minecraft.tileentity.TileEntity> tileConstructor
public static EnumSpring[] values()
for (EnumSpring c : EnumSpring.values()) System.out.println(c);
public static EnumSpring 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 EnumSpring fromState(net.minecraft.block.state.IBlockState state)
public java.lang.String getName()
getName
in interface net.minecraft.util.IStringSerializable