mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-18 19:49:12 +00:00
New Blocks
Added 7 new sets of chisel blocks
This commit is contained in:
1 parent
e97ca89b15
commit
305cc21c46
179 files changed
+647
-13
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package team.chisel.block;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
import com.cricketcraft.chisel.api.ICarvable;
|
||||
|
||||
public class BlockCarvableGlotek extends BlockCarvable implements ICarvable {
|
||||
|
||||
public BlockCarvableGlotek() {
|
||||
super(Material.rock);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canCreatureSpawn(EnumCreatureType type, IBlockAccess world, int x, int y, int z) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package team.chisel.block;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
import com.cricketcraft.chisel.api.ICarvable;
|
||||
|
||||
public class BlockCarvableNeonite extends BlockCarvable implements ICarvable {
|
||||
|
||||
public BlockCarvableNeonite() {
|
||||
super(Material.rock);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canCreatureSpawn(EnumCreatureType type, IBlockAccess world, int x, int y, int z) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package team.chisel.block;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
import com.cricketcraft.chisel.api.ChiselTabs;
|
||||
|
||||
public class BlockHempcreteSand extends BlockCarvableSand {
|
||||
|
||||
public BlockHempcreteSand() {
|
||||
super();
|
||||
setCreativeTab(ChiselTabs.tabStoneChiselBlocks);
|
||||
setHardness(0.5F);
|
||||
setResistance(0.5F);
|
||||
setStepSound(Block.soundTypeSand);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -16,9 +16,9 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class BlockRoadLine extends BlockCarvable {
|
||||
|
||||
public IIcon aloneIcon[] = new IIcon[4];
|
||||
public IIcon halfLineIcon[] = new IIcon[4];
|
||||
public IIcon fullLineIcon[] = new IIcon[4];
|
||||
public IIcon aloneIcon[] = new IIcon[5];
|
||||
public IIcon halfLineIcon[] = new IIcon[5];
|
||||
public IIcon fullLineIcon[] = new IIcon[5];
|
||||
|
||||
public BlockRoadLine() {
|
||||
super(Material.circuits);
|
||||
@@ -71,8 +71,8 @@ public class BlockRoadLine extends BlockCarvable {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerBlockIcons(IIconRegister reg) {
|
||||
for (int i = 0; i < 4; i++) {
|
||||
String[] texNames = { "white", "yellow", "double-white", "double-yellow" };
|
||||
for (int i = 0; i < 5; i++) {
|
||||
String[] texNames = { "white", "yellow", "double-white", "double-yellow", "warning" };
|
||||
aloneIcon[i] = reg.registerIcon("Chisel:line-marking/" + texNames[i] + "-center");
|
||||
halfLineIcon[i] = reg.registerIcon("Chisel:line-marking/" + texNames[i] + "-side");
|
||||
fullLineIcon[i] = reg.registerIcon("Chisel:line-marking/" + texNames[i] + "-long");
|
||||
|
||||
Reference in new issue
Block a user