|
|
|
@ -46,11 +46,10 @@ public class CpuBlock extends NetworkCarrier {
|
|
|
|
|
if (!world.isClient) {
|
|
|
|
|
CpuEntity peripheral = (CpuEntity) world.getBlockEntity(pos);
|
|
|
|
|
player.sendMessage(Text.literal("Cpu Debug: "), false);
|
|
|
|
|
player.sendMessage(Text.literal(String.valueOf(peripheral.getBus().hashCode())), false);
|
|
|
|
|
player.sendMessage(Text.literal(String.valueOf(peripheral.core.cpu.getBus().getRedBus().hashCode())), false);
|
|
|
|
|
player.sendMessage(Text.literal(String.valueOf(peripheral.i)), false);
|
|
|
|
|
player.sendMessage(Text.literal(String.valueOf(peripheral.core.isWaitingOnInterrupt())), false);
|
|
|
|
|
player.sendMessage(Text.literal(String.valueOf(peripheral.core.isWaitingOnInterrupt())), false);
|
|
|
|
|
player.sendMessage(Text.literal(" " + Integer.toHexString(peripheral.getBus().hashCode())), false);
|
|
|
|
|
player.sendMessage(Text.literal(" " + Integer.toHexString(peripheral.core.cpu.getBus().getRedBus().hashCode())), false);
|
|
|
|
|
player.sendMessage(Text.literal(" " + Integer.toHexString(peripheral.i)), false);
|
|
|
|
|
player.sendMessage(Text.literal(" " + peripheral.core.isWaitingOnInterrupt()), false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return ActionResult.SUCCESS;
|
|
|
|
|