Hi, I am trying to make an Non-Solid Block, that looks like StoneBrick, but can pass through...
BlockExample.java
package net.minecraft.src;
import java.util.Random;
public class BlockExample extends Block
{
public BlockExample(int i, int j)
{
super(i, j, Material.air);
}
public int idDropped(int i, Random random)
{
return 0;
}
}
And add these lines to Blocks.java:
...
public static final Block example;
...
...
example = (new BlockExample(200, 1)).setHardness(1.5F).setResistance(10F);
...
But in game, the block is like rock, and is same break-time for any tool I use.... How to make it to bi Non-Solid..?
BlockExample.java
And add these lines to Blocks.java:
But in game, the block is like rock, and is same break-time for any tool I use.... How to make it to bi Non-Solid..?