Package net.minecraft.client
Class KeyboardHandler
java.lang.Object
net.minecraft.client.KeyboardHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClipboardManagerstatic final intprivate longprivate longprivate longprivate booleanprivate final Minecraft -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcharTyped(long pWindowPointer, int pCodePoint, int pModifiers) private voidcopyCreateBlockCommand(BlockState pState, BlockPos pPos, CompoundTag pCompound) private voidcopyCreateEntityCommand(ResourceLocation pEntityId, Vec3 pPos, CompoundTag pCompound) private voidcopyRecreateCommand(boolean pPrivileged, boolean pAskServer) private voiddebugComponent(ChatFormatting pFormatting, Component pMessage) private voiddebugFeedback(String pMessage, Object... pArgs) private voiddebugFeedbackComponent(Component pMessage) private voiddebugFeedbackTranslated(String pMessage, Object... pArgs) private voiddebugWarningTranslated(String pMessage, Object... pArgs) private booleanhandleChunkDebugKeys(int pKeyCode) private booleanhandleDebugKeys(int pKey) voidkeyPress(long pWindowPointer, int pKey, int pScanCode, int pAction, int pModifiers) voidsetClipboard(String pString) voidsetup(long pWindow) voidtick()
-
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()
-