Enum Class EyeblossomBushBlock.DoubleTallType
java.lang.Object
java.lang.Enum<EyeblossomBushBlock.DoubleTallType>
me.ultrusmods.geneticaflora.block.EyeblossomBushBlock.DoubleTallType
- All Implemented Interfaces:
Serializable,Comparable<EyeblossomBushBlock.DoubleTallType>,Constable
- Enclosing class:
EyeblossomBushBlock
public static enum EyeblossomBushBlock.DoubleTallType
extends Enum<EyeblossomBushBlock.DoubleTallType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.Blockblock()booleanfromBoolean(boolean bl) net.minecraft.sounds.SoundEventvoidspawnTransformParticle(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.core.BlockPos blockPos, net.minecraft.util.RandomSource randomSource) net.minecraft.world.level.block.state.BlockStatestate(net.minecraft.world.level.block.state.properties.DoubleBlockHalf half) Returns the enum constant of this class with the specified name.static EyeblossomBushBlock.DoubleTallType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPEN
-
CLOSED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
block
public net.minecraft.world.level.block.Block block() -
state
public net.minecraft.world.level.block.state.BlockState state(net.minecraft.world.level.block.state.properties.DoubleBlockHalf half) -
transform
-
emitSounds
public boolean emitSounds() -
fromBoolean
-
spawnTransformParticle
public void spawnTransformParticle(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.core.BlockPos blockPos, net.minecraft.util.RandomSource randomSource) -
longSwitchSound
public net.minecraft.sounds.SoundEvent longSwitchSound()
-