Removed Iron Fence gate, it was bugged and is not in GT.
This commit is contained in:
parent
b907e62a45
commit
2fbccc696f
7 changed files with 0 additions and 83 deletions
|
@ -1,35 +0,0 @@
|
|||
package techreborn.blocks;
|
||||
|
||||
import net.minecraft.block.BlockFenceGate;
|
||||
import net.minecraft.block.BlockPlanks;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.BlockPos;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.world.World;
|
||||
import techreborn.client.TechRebornCreativeTabMisc;
|
||||
|
||||
public class BlockIronFenceGate extends BlockFenceGate {
|
||||
|
||||
public BlockIronFenceGate() {
|
||||
super(BlockPlanks.EnumType.OAK);
|
||||
setUnlocalizedName("techreborn.ironfencegate");
|
||||
setCreativeTab(TechRebornCreativeTabMisc.instance);
|
||||
setStepSound(soundTypeMetal);
|
||||
setHardness(2.0F);
|
||||
setHarvestLevel("pickaxe", 2);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Material getMaterial(){
|
||||
return Material.iron;
|
||||
}
|
||||
|
||||
}
|
|
@ -95,7 +95,6 @@ public class ModBlocks {
|
|||
public static Block rubberPlanks;
|
||||
|
||||
public static Block ironFence;
|
||||
public static Block ironFenceGate;
|
||||
|
||||
public static void init() {
|
||||
thermalGenerator = new BlockThermalGenerator();
|
||||
|
@ -315,9 +314,6 @@ public class ModBlocks {
|
|||
|
||||
ironFence = new BlockIronFence();
|
||||
GameRegistry.registerBlock(ironFence, "ironFence");
|
||||
|
||||
ironFenceGate = new BlockIronFenceGate();
|
||||
GameRegistry.registerBlock(ironFenceGate, "ironFenceGate");
|
||||
|
||||
registerOreDict();
|
||||
Core.logHelper.info("TechReborns Blocks Loaded");
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=south,in_wall=false,open=false": { "model": "oak_fence_gate_closed" },
|
||||
"facing=west,in_wall=false,open=false": { "model": "oak_fence_gate_closed", "y": 90, "uvlock": true },
|
||||
"facing=north,in_wall=false,open=false": { "model": "oak_fence_gate_closed", "y": 180, "uvlock": true },
|
||||
"facing=east,in_wall=false,open=false": { "model": "oak_fence_gate_closed", "y": 270, "uvlock": true },
|
||||
"facing=south,in_wall=false,open=true": { "model": "oak_fence_gate_open" },
|
||||
"facing=west,in_wall=false,open=true": { "model": "oak_fence_gate_open", "y": 90, "uvlock": true },
|
||||
"facing=north,in_wall=false,open=true": { "model": "oak_fence_gate_open", "y": 180, "uvlock": true },
|
||||
"facing=east,in_wall=false,open=true": { "model": "oak_fence_gate_open", "y": 270, "uvlock": true },
|
||||
"facing=south,in_wall=true,open=false": { "model": "oak_wall_gate_closed" },
|
||||
"facing=west,in_wall=true,open=false": { "model": "oak_wall_gate_closed", "y": 90, "uvlock": true },
|
||||
"facing=north,in_wall=true,open=false": { "model": "oak_wall_gate_closed", "y": 180, "uvlock": true },
|
||||
"facing=east,in_wall=true,open=false": { "model": "oak_wall_gate_closed", "y": 270, "uvlock": true },
|
||||
"facing=south,in_wall=true,open=true": { "model": "oak_wall_gate_open" },
|
||||
"facing=west,in_wall=true,open=true": { "model": "oak_wall_gate_open", "y": 90, "uvlock": true },
|
||||
"facing=north,in_wall=true,open=true": { "model": "oak_wall_gate_open", "y": 180, "uvlock": true },
|
||||
"facing=east,in_wall=true,open=true": { "model": "oak_wall_gate_open", "y": 270, "uvlock": true }
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "block/fence_gate_closed",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "block/fence_gate_open",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "block/wall_gate_closed",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "block/wall_gate_open",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue