Package net.minecraft.client
Class KeyboardHandler
java.lang.Object
net.minecraft.client.KeyboardHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClipboardManager
static final int
private long
private long
private long
private boolean
private final Minecraft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
charTyped
(long pWindowPointer, int pCodePoint, int pModifiers) private void
copyCreateBlockCommand
(BlockState pState, BlockPos pPos, CompoundTag pCompound) private void
copyCreateEntityCommand
(ResourceLocation pEntityId, Vec3 pPos, CompoundTag pCompound) private void
copyRecreateCommand
(boolean pPrivileged, boolean pAskServer) private void
debugComponent
(ChatFormatting pFormatting, Component pMessage) private void
debugFeedback
(String pMessage, Object... pArgs) private void
debugFeedbackComponent
(Component p_167823_) private void
debugFeedbackTranslated
(String pMessage, Object... pArgs) private void
debugWarningTranslated
(String pMessage, Object... pArgs) private boolean
handleChunkDebugKeys
(int pKeyCode) private boolean
handleDebugKeys
(int pKey) void
keyPress
(long pWindowPointer, int pKey, int pScanCode, int pAction, int pModifiers) void
setClipboard
(String pString) void
setup
(long pWindow) void
tick()
-
Field Details
-
DEBUG_CRASH_TIME
public static final int DEBUG_CRASH_TIME- See Also:
-
minecraft
-
clipboardManager
-
debugCrashKeyTime
private long debugCrashKeyTime -
debugCrashKeyReportedTime
private long debugCrashKeyReportedTime -
debugCrashKeyReportedCount
private long debugCrashKeyReportedCount -
handledDebugKey
private boolean handledDebugKey
-
-
Constructor Details
-
KeyboardHandler
-
-
Method Details
-
handleChunkDebugKeys
private boolean handleChunkDebugKeys(int pKeyCode) -
debugComponent
-
debugFeedbackComponent
-
debugFeedbackTranslated
-
debugWarningTranslated
-
debugFeedback
-
handleDebugKeys
private boolean handleDebugKeys(int pKey) -
copyRecreateCommand
private void copyRecreateCommand(boolean pPrivileged, boolean pAskServer) -
copyCreateBlockCommand
private void copyCreateBlockCommand(BlockState pState, BlockPos pPos, @Nullable CompoundTag pCompound) -
copyCreateEntityCommand
private void copyCreateEntityCommand(ResourceLocation pEntityId, Vec3 pPos, @Nullable CompoundTag pCompound) -
keyPress
public void keyPress(long pWindowPointer, int pKey, int pScanCode, int pAction, int pModifiers) -
charTyped
private void charTyped(long pWindowPointer, int pCodePoint, int pModifiers) -
setup
public void setup(long pWindow) -
getClipboard
-
setClipboard
-
tick
public void tick()
-