27 lines
784 B
Java
27 lines
784 B
Java
/**
|
|
*
|
|
*/
|
|
package resonantinduction.core.prefab.block;
|
|
|
|
import net.minecraftforge.common.Configuration;
|
|
import resonantinduction.core.Reference;
|
|
import resonantinduction.core.ResonantInductionTabs;
|
|
import resonantinduction.core.Settings;
|
|
import universalelectricity.api.UniversalElectricity;
|
|
import calclavia.lib.prefab.block.BlockRotatable;
|
|
|
|
/**
|
|
* @author Calclavia
|
|
*
|
|
*/
|
|
public class BlockRotatableBase extends BlockRotatable
|
|
{
|
|
public BlockRotatableBase(String name, int id)
|
|
{
|
|
super(Settings.CONFIGURATION.get(Configuration.CATEGORY_BLOCK, name, id).getInt(id), UniversalElectricity.machine);
|
|
this.setCreativeTab(ResonantInductionTabs.CORE);
|
|
this.setUnlocalizedName(Reference.PREFIX + name);
|
|
this.setTextureName(Reference.PREFIX + name);
|
|
this.setHardness(1f);
|
|
}
|
|
}
|