2014-05-17 13:31:18 +02:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
|
|
|
* http://www.mod-buildcraft.com
|
|
|
|
*
|
|
|
|
* BuildCraft is distributed under the terms of the Minecraft Mod Public
|
|
|
|
* License 1.0, or MMPL. Please check the contents of the license located in
|
|
|
|
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
|
|
|
*/
|
|
|
|
package buildcraft.tests;
|
|
|
|
|
|
|
|
import net.minecraft.block.BlockContainer;
|
|
|
|
import net.minecraft.block.material.Material;
|
2014-05-25 01:42:50 +02:00
|
|
|
import net.minecraft.client.renderer.texture.IIconRegister;
|
2014-05-17 13:31:18 +02:00
|
|
|
import net.minecraft.tileentity.TileEntity;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
|
2014-05-25 01:42:50 +02:00
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
|
2014-05-17 13:31:18 +02:00
|
|
|
import buildcraft.core.CreativeTabBuildCraft;
|
|
|
|
|
|
|
|
public class BlockTestPathfinding extends BlockContainer {
|
|
|
|
|
|
|
|
protected BlockTestPathfinding() {
|
|
|
|
super(Material.ground);
|
|
|
|
|
|
|
|
setCreativeTab(CreativeTabBuildCraft.BLOCKS.get());
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public TileEntity createNewTileEntity(World var1, int var2) {
|
|
|
|
return new TileTestPathfinding();
|
|
|
|
}
|
|
|
|
|
2014-05-25 01:42:50 +02:00
|
|
|
@Override
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
|
|
public void registerBlockIcons(IIconRegister par1IconRegister) {
|
|
|
|
this.blockIcon = par1IconRegister.registerIcon("buildcraft:testcase");
|
|
|
|
}
|
2014-05-17 13:31:18 +02:00
|
|
|
}
|