nicer cable colors
|
|
@ -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()
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
|
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 246 B |
|
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 246 B |
|
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 273 B |