hassansyyid

a

Jun 24th, 2015
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.98 KB | None | 0 0
  1. package com.arisux.avp.block;
  2.  
  3. import java.util.Random;
  4.  
  5. import net.minecraft.block.material.Material;
  6. import net.minecraft.client.renderer.texture.IIconRegister;
  7. import net.minecraft.tileentity.TileEntity;
  8. import net.minecraft.world.World;
  9.  
  10. import com.arisux.airi.lib.BlockTypes.HookedBlockContainer;
  11. import com.arisux.avp.entities.tile.TileEntityPowerline;
  12.  
  13. public class BlockPowerline extends HookedBlockContainer
  14. {
  15.     public BlockPowerline(Material material)
  16.     {
  17.         super(material);
  18.         this.setBlockBounds(0F, 0F, 0F, 1F, 1F, 1F);
  19.         this.setTickRandomly(true);
  20.     }
  21.  
  22.     @Override
  23.     public void updateTick(World world, int posX, int posY, int posZ, Random rand)
  24.     {
  25.         super.updateTick(world, posX, posY, posZ, rand);
  26.     }
  27.    
  28.     @Override
  29.     public void registerBlockIcons(IIconRegister reg)
  30.     {
  31.         ;
  32.     }
  33.  
  34.     @Override
  35.     public TileEntity createNewTileEntity(World var1, int var2)
  36.     {
  37.         return new TileEntityPowerline();
  38.     }
  39.    
  40.     @Override
  41.     public int getRenderType()
  42.     {
  43.         return -1;
  44.     }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment