mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-18 19:39:12 +00:00
most of item/block will now compile
This commit is contained in:
1 parent
ad96fbfa61
commit
3bf37fa6a7
66 files changed
+282
-249
No files matched your search
@@ -5,11 +5,11 @@ import tconstruct.blocks.logic.GolemCoreLogic;
|
||||
import tconstruct.common.TContent;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
@@ -19,19 +19,19 @@ public class GolemHeadBlock extends MantleBlock
|
||||
public static int headTopTex = ModLoader.addOverride("/terrain.png", "/GGE/golemheadtop&bottom.png");
|
||||
public static int face;*/
|
||||
|
||||
public GolemHeadBlock(int id)
|
||||
public GolemHeadBlock()
|
||||
{
|
||||
super(id, Material.ground);
|
||||
super(Material.ground);
|
||||
//setTickRandomly(true);
|
||||
}
|
||||
|
||||
public Icon[] icons;
|
||||
public IIcon[] icons;
|
||||
public String[] textureNames = new String[] { "golemhead_face", "golemhead_side", "golemhead_top" };
|
||||
|
||||
@Override
|
||||
public void registerIcons (IconRegister iconRegister)
|
||||
public void registerIcons (IIconRegister iconRegister)
|
||||
{
|
||||
this.icons = new Icon[textureNames.length];
|
||||
this.icons = new IIcon[textureNames.length];
|
||||
|
||||
for (int i = 0; i < this.icons.length; ++i)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user