Package thaumic.tinkerer.common.block

Source Code of thaumic.tinkerer.common.block.BlockForcefield

package thaumic.tinkerer.common.block;

import net.minecraft.block.material.Material;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import thaumic.tinkerer.common.lib.LibBlockNames;
import thaumic.tinkerer.common.block.tile.TileForcefield;
import thaumic.tinkerer.common.registry.ThaumicTinkererRecipe;
import thaumic.tinkerer.common.research.IRegisterableResearch;

import java.util.ArrayList;

/**
* Created by pixlepix on 4/19/14.
*/
public class BlockForcefield extends BlockMod {
  public BlockForcefield() {
    super(Material.air);
  }

  @Override
  public int getRenderType() {
    return -1;
  }

    @Override
    public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune) {
        return new ArrayList<ItemStack>();
    }

    @Override
    public boolean isOpaqueCube() {
    return false;
  }

  @Override
  public TileEntity createTileEntity(World world, int metadata) {
    return new TileForcefield();
  }

  @Override
  public boolean hasTileEntity(int metadata) {
    return true;
  }

  @Override
  public String getBlockName() {
    return LibBlockNames.FORCEFIELD;
  }

  @Override
  public IRegisterableResearch getResearchItem() {
    return null;
  }

  @Override
  public ThaumicTinkererRecipe getRecipeItem() {
    return null;
  }

  @Override
  public boolean shouldDisplayInTab() {
    return false;
  }
}
TOP

Related Classes of thaumic.tinkerer.common.block.BlockForcefield

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.