mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 06:24:29 +01:00
Top ten hotswap engineering oversights
- Fixed reversed frequency display of Redstone Links
This commit is contained in:
parent
2821fd7135
commit
4a57b916ff
@ -28,12 +28,12 @@ public class RedstoneLinkFrequencySlot extends ValueBoxTransform.Dual {
|
||||
if (facing.getAxis()
|
||||
.isHorizontal()) {
|
||||
location = horizontal;
|
||||
if (!isFirst())
|
||||
if (isFirst())
|
||||
location = location.add(0, 5 / 16f, 0);
|
||||
return rotateHorizontally(state, location);
|
||||
}
|
||||
|
||||
if (!isFirst())
|
||||
if (isFirst())
|
||||
location = location.add(0, 0, 5 / 16f);
|
||||
location = VecHelper.rotateCentered(location, facing == Direction.DOWN ? 180 : 0, Axis.X);
|
||||
return location;
|
||||
|
@ -44,7 +44,7 @@ public class LinkRenderer {
|
||||
|
||||
for (boolean first : Iterate.trueAndFalse) {
|
||||
AxisAlignedBB bb = new AxisAlignedBB(Vector3d.ZERO, Vector3d.ZERO).grow(.25f);
|
||||
ITextComponent label = first ? freq2 : freq1;
|
||||
ITextComponent label = first ? freq1 : freq2;
|
||||
boolean hit = behaviour.testHit(first, target.getHitVec());
|
||||
ValueBoxTransform transform = first ? behaviour.firstSlot : behaviour.secondSlot;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user