mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-16 01:54:46 +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
@@ -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