Class Keyboard

java.lang.Object
net.minecraft.client.Keyboard

@Environment(CLIENT)
public class Keyboard
extends Object
  • Field Details

    • client

      private final MinecraftClient client
    • repeatEvents

      private boolean repeatEvents
    • clipboard

      private final Clipboard clipboard
    • debugCrashStartTime

      private long debugCrashStartTime
    • debugCrashLastLogTime

      private long debugCrashLastLogTime
    • debugCrashElapsedTime

      private long debugCrashElapsedTime
    • switchF3State

      private boolean switchF3State
  • Constructor Details

  • Method Details

    • debugWarn

      private void debugWarn​(String string, Object[] object)
    • debugError

      private void debugError​(String string, Object[] object)
    • processF3

      private boolean processF3​(int key)
    • copyLookAt

      private void copyLookAt​(boolean bool, boolean bool2)
    • copyBlock

      private void copyBlock​(BlockState state, BlockPos pos, @Nullable CompoundTag tag)
    • copyEntity

      private void copyEntity​(Identifier id, Vec3d pos, @Nullable CompoundTag tag)
    • onKey

      public void onKey​(long window, int key, int scancode, int int2, int int3)
    • onChar

      private void onChar​(long window, int int2, int int3)
    • setRepeatEvents

      public void setRepeatEvents​(boolean repeatEvents)
    • setup

      public void setup​(long long2)
    • getClipboard

      public String getClipboard()
    • setClipboard

      public void setClipboard​(String string)
    • pollDebugCrash

      public void pollDebugCrash()