mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 23:59:11 +00:00
Removed painted blocks from NEI and creative menu.
This commit is contained in:
1 parent
089a12c23d
commit
9e6e09be9b
8 files changed
+23
-24
No files matched your search
@@ -25,7 +25,6 @@ import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import crazypants.enderio.EnderIO;
|
||||
import crazypants.enderio.EnderIOTab;
|
||||
import crazypants.enderio.ModObject;
|
||||
import crazypants.enderio.machine.MachineRecipeInput;
|
||||
import crazypants.enderio.machine.MachineRecipeRegistry;
|
||||
@@ -45,7 +44,7 @@ public class BlockPaintedFenceGate extends BlockFenceGate implements ITileEntity
|
||||
private Random rand = new Random();
|
||||
|
||||
public BlockPaintedFenceGate() {
|
||||
setCreativeTab(EnderIOTab.tabEnderIO);
|
||||
setCreativeTab(null);
|
||||
setBlockName(ModObject.blockPaintedFenceGate.unlocalisedName);
|
||||
setHardness(2.0F);
|
||||
setResistance(5.0F);
|
||||
@@ -97,7 +96,7 @@ public class BlockPaintedFenceGate extends BlockFenceGate implements ITileEntity
|
||||
double d0 = x + (j1 + 0.5D) / b0;
|
||||
double d1 = y + (k1 + 0.5D) / b0;
|
||||
double d2 = z + (l1 + 0.5D) / b0;
|
||||
int i2 = this.rand.nextInt(6);
|
||||
int i2 = rand.nextInt(6);
|
||||
EntityDiggingFX fx = new EntityDiggingFX(world, d0, d1, d2, d0 - x - 0.5D,
|
||||
d1 - y - 0.5D, d2 - z - 0.5D, this, i2, 0).applyColourMultiplier(x, y, z);
|
||||
fx.setParticleIcon(tex);
|
||||
|
||||
Reference in new issue
Block a user