package com.crazycrafter642.accelerometerrender.blocks; import net.minecraft.block.ITileEntityProvider; import net.minecraft.block.material.Material; import net.minecraft.tileentity.TileEntity; import net.minecraft.world.World; public class BlockAccelerometerVisualiser extends BlockBase implements ITileEntityProvider { public BlockAccelerometerVisualiser(String name, Material materialIn) { // Call the constructor super(name, materialIn); // Create some properties this.setLightOpacity(0); } @Override public TileEntity createNewTileEntity(World worldIn, int meta) { // Return a new accelerometer tileentity return new TileEntityAccelerometerVisualiser(); } }