mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-26 15:13:09 +00:00
Start of voidstone
This commit is contained in:
1 parent
ac7e1f05b9
commit
b78c04eab5
6 files changed
+104
-2
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package info.jbcs.minecraft.chisel.block.tileentity;
|
||||
|
||||
import info.jbcs.minecraft.chisel.client.GeneralChiselClient;
|
||||
import info.jbcs.minecraft.chisel.utils.General;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockVoidstone extends Block {
|
||||
|
||||
public static IIcon iconParticle;
|
||||
|
||||
protected BlockVoidstone() {
|
||||
super(Material.rock);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void randomDisplayTick(World world, int x, int y, int z, Random random)
|
||||
{
|
||||
if(General.rand.nextInt(4) == 0 && world.isRemote)
|
||||
GeneralChiselClient.spawnVoidstoneFX(world, this, x, y, z);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user