Merge remote-tracking branch 'origin/master' into MC1.11

This commit is contained in:
malte0811 2017-05-10 17:56:23 +02:00
commit 06d8ddfff9
17 changed files with 28 additions and 6 deletions

View file

@ -1,5 +1,5 @@
def mainVersion = "1.3"
def buildNumber = "8"
def mainVersion = "1.4"
def buildNumber = "9"
/*
* This file is part of Industrial Wires.

View file

@ -1,3 +1,6 @@
#####Version 1.4-9
- added Control Panels
- They can be used to control and monitor a lot of redstone signals from a few blocks
#####Version 1.3-8
- the converters and the motor don't have missing textures any more when using Chisel
#####Version 1.3-7

View file

@ -323,7 +323,7 @@ public class TileEntityRSPanelConn extends TileEntityImmersiveConnectable implem
aabb = new AxisAlignedBB(0, 0, 0, h, 1, 1);
break;
case EAST:
aabb = new AxisAlignedBB(1-h, 0, 0, 0, 1, 1);
aabb = new AxisAlignedBB(1-h, 0, 0, 1, 1, 1);
break;
}
}

View file

@ -160,7 +160,7 @@ public class PanelModel implements IBakedModel {
@Nonnull
@Override
public ItemCameraTransforms getItemCameraTransforms() {//TODO very much cache this!
public ItemCameraTransforms getItemCameraTransforms() {
return transform;
}

View file

@ -146,6 +146,11 @@ public class CoveredToggleSwitch extends ToggleSwitch {
return super.fomatConfigDescription(type, id);
}
@Override
public int getColor() {
return color;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;

View file

@ -33,6 +33,8 @@ item.industrialwires.panel_component.label.name=Label
item.industrialwires.panel_component.indicator_light.name=Indicator Light
item.industrialwires.panel_component.slider.name=Slider
item.industrialwires.panel_component.variac.name=Variac®
item.industrialwires.panel_component.toggle_switch.name=Toggle Switch
item.industrialwires.panel_component.toggle_switch_covered.name=Covered Toggle Switch
industrialwires.desc.wireLength=Wire length: %1s block(s)

View file

@ -0,0 +1,6 @@
{
"parent":"item/generated",
"textures": {
"layer0":"industrialwires:items/switch"
}
}

View file

@ -0,0 +1,7 @@
{
"parent":"item/generated",
"textures": {
"layer0":"industrialwires:items/switch",
"layer1":"industrialwires:items/switch_cover"
}
}

View file

@ -1,7 +1,6 @@
{
"parent":"item/generated",
"textures": {
"layer0":"industrialwires:items/background",
"layer1":"industrialwires:items/button"//TODO change when there is a proper texture for it
"layer0":"industrialwires:items/variac"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 456 B

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 467 B

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 464 B

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 480 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 B