Start work on the alarm

This commit is contained in:
modmuss50 2017-12-18 19:58:52 +00:00
parent 5be3163eeb
commit 7594b55fb5
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
7 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,25 @@
package techreborn.blocks;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import techreborn.client.TechRebornCreativeTab;
import techreborn.tiles.TileAlarm;
import javax.annotation.Nullable;
public class BlockAlarm extends BlockContainer {
public BlockAlarm() {
super(Material.ROCK);
setUnlocalizedName("techreborn.alarm");
setCreativeTab(TechRebornCreativeTab.instance);
}
@Nullable
@Override
public TileEntity createNewTileEntity(World worldIn, int meta) {
return new TileAlarm();
}
}