Added edit logging and whole world rollback
This commit is contained in:
@@ -25,6 +25,7 @@ public class DefaultKeybinds {
|
||||
"rotate", new Axis(Input.SCROLL),
|
||||
"toggle_menus", Input.C,
|
||||
"block_info", Input.CONTROL_LEFT,
|
||||
"block_logs", Input.I,
|
||||
"player_list", Input.TAB,
|
||||
"chat", Input.ENTER,
|
||||
"chat_history_prev", Input.UP,
|
||||
|
||||
@@ -107,6 +107,16 @@ public class DesktopInput extends InputHandler{
|
||||
Cursors.restoreCursor();
|
||||
}
|
||||
}
|
||||
|
||||
if(recipe == null && !ui.hasMouse() && Inputs.keyDown("block_logs")) {
|
||||
showCursor = true;
|
||||
if(Inputs.keyTap("select")){
|
||||
Timers.runTask(20f, () -> {
|
||||
ui.hudfrag.blockfrag.showBlockLogs(getBlockX(), getBlockY());
|
||||
Cursors.restoreCursor();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if(target != null && target.block().isConfigurable(target)){
|
||||
showCursor = true;
|
||||
|
||||
Reference in New Issue
Block a user