SHOW:
|
|
- or go back to the newest paste.
1 | public class BlockRadar extends Block { | |
2 | public World radar; | |
3 | public AxisAlignedBB boundingBox; | |
4 | private int range; | |
5 | TileEntityRadar TERadar = new TileEntityRadar(range); | |
6 | public BlockRadar(int range) { | |
7 | super(Material.iron); | |
8 | this.range = range; | |
9 | this.setCreativeTab(Main.tabPowerTools); | |
10 | this.setBlockName("radar"); | |
11 | // TODO Auto-generated constructor stub | |
12 | } | |
13 | ||
14 | public TileEntity createNewTileEntity(World world, int par2) | |
15 | { | |
16 | - | TERadar = new TileEntityRadar(range); |
16 | + | ayer, int p_149727_6_, float p_149727_7_, float p_149727_8_, float p_149727_9_) { |
17 | - | return TERadar; |
17 | + | |
18 | TERadar.printInfo(); | |
19 | return false; | |
20 | - | public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) |
20 | + | |
21 | ||
22 | - | return Item.getItemFromBlock(this); |
22 | + |