package ru.nord_deco.common.blocks; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.properties.PropertyEnum; import ru.nord_core.common.blocks.BlockMetadata; import ru.nord_deco.common.utils.Version; import ru.nord_deco.common.utils.enums.EnumAbomination; public class BlockAbomination extends BlockMetadata { public static final PropertyEnum TYPE = PropertyEnum.create("type", EnumAbomination.class); public BlockAbomination(String[] names){ super(Material.cloth,names, Version.MODID); this.setHardness(3F); setStepSound(SoundType.SLIME); } @Override public PropertyEnum getVariant() { return TYPE; } @Override public Comparable getEnumByMetadata(int meta) { return EnumAbomination.byMetadata(meta); } }