mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-18 19:49:12 +00:00
Implement more road lines - Double White, Yellow and Double Yellow
This commit is contained in:
1 parent
75f14fc543
commit
8cce402420
5 files changed
+26
-9
No files matched your search
@@ -16,9 +16,11 @@ public class BlockRoadLine extends Block {
|
||||
public IIcon aloneIcon;
|
||||
public IIcon halfLineIcon;
|
||||
public IIcon fullLineIcon;
|
||||
private String type;
|
||||
|
||||
public BlockRoadLine() {
|
||||
public BlockRoadLine(String type) {
|
||||
super(Material.circuits);
|
||||
this.type = type;
|
||||
|
||||
if (Configurations.useRoadLineTool) {
|
||||
this.setHarvestLevel(Configurations.getRoadLineTool,Configurations.roadLineToolLevel);
|
||||
@@ -67,9 +69,9 @@ public class BlockRoadLine extends Block {
|
||||
|
||||
@Override
|
||||
public void registerBlockIcons(IIconRegister reg) {
|
||||
blockIcon = aloneIcon = reg.registerIcon("Chisel:line-marking/white-center");
|
||||
halfLineIcon = reg.registerIcon("Chisel:line-marking/white-side");
|
||||
fullLineIcon = reg.registerIcon("Chisel:line-marking/white-long");
|
||||
blockIcon = aloneIcon = reg.registerIcon("Chisel:line-marking/" + type + "-center");
|
||||
halfLineIcon = reg.registerIcon("Chisel:line-marking/" + type + "-side");
|
||||
fullLineIcon = reg.registerIcon("Chisel:line-marking/" + type + "-long");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user