nicer cable colors

This commit is contained in:
りき萌 2022-11-28 22:02:10 +01:00
parent 2939b76e83
commit 1bd84780b7
9 changed files with 0 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -172,7 +172,6 @@ class DeviceBlockEntityRenderer(context: BlockEntityRendererFactory.Context) : B
) {
val facing = HorizontalDirection.fromDirection(blockState[Properties.HORIZONTAL_FACING])!!
// println(PatchCableItem.ongoingConnections)
for ((player, connection) in PatchCableItem.ongoingConnectionsClient) {
if (connection.blockPosition == blockEntity.pos) {
val port = blockEntity.descriptor.portLayout[connection.portName]
@ -196,7 +195,6 @@ class DeviceBlockEntityRenderer(context: BlockEntityRendererFactory.Context) : B
}
}
for ((inputPortName, connection) in blockEntity.inputConnections) {
val startAbsolute = blockEntity.pos.toVec3d()
val endAbsolute = connection.blockPosition.toVec3d()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 B

After

Width:  |  Height:  |  Size: 161 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

After

Width:  |  Height:  |  Size: 246 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 246 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 B

After

Width:  |  Height:  |  Size: 273 B

Before After
Before After