Added creative tab and Lang Files
This commit is contained in:
parent
25272228e2
commit
ce031af8e7
4 changed files with 34 additions and 1 deletions
|
@ -6,6 +6,8 @@ import net.minecraft.block.BlockContainer;
|
|||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
|
@ -13,6 +15,8 @@ import techreborn.Core;
|
|||
import techreborn.client.GuiHandler;
|
||||
import techreborn.tiles.TileThermalGenerator;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
|
||||
public class BlockThermalGenerator extends BlockContainer {
|
||||
|
||||
|
@ -53,4 +57,10 @@ public class BlockThermalGenerator extends BlockContainer {
|
|||
player.openGui(Core.INSTANCE, GuiHandler.thermalGeneratorID, world, x, y, z);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) {
|
||||
//TODO change when added crafting
|
||||
return Item.getItemFromBlock(Blocks.furnace);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue