Class KeyboardHandler
java.lang.Object
net.minecraft.client.KeyboardHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClipboardManagerstatic final intprivate longprivate longprivate longprivate static final org.slf4j.Loggerprivate final Minecraftprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcharTyped(long handle, CharacterEvent event) private voidcopyCreateBlockCommand(BlockState state, BlockPos blockPos, @Nullable CompoundTag entityTag) private voidcopyCreateEntityCommand(Identifier id, Vec3 pos, @Nullable CompoundTag entityTag) private voidcopyRecreateCommand(boolean addNbt, boolean pullFromServer) private voiddebugFeedback(String message) private voiddebugFeedbackComponent(Component component) private voiddebugFeedbackEnabledStatus(String prefix, boolean isEnabled) private voiddebugFeedbackTranslated(String pattern, Object... args) private voiddebugWarningComponent(Component component) private static ComponentdecorateDebugComponent(ChatFormatting formatting, Component component) private booleanhandleChunkDebugKeys(KeyEvent event) private booleanhandleDebugKeys(KeyEvent event) private voidvoidsetClipboard(String clipboard) voidprivate voidshowDebugChat(Component message) voidtick()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
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 -
usedDebugKeyAsModifier
private boolean usedDebugKeyAsModifier
-
-
Constructor Details
-
KeyboardHandler
-
-
Method Details
-
handleChunkDebugKeys
-
debugFeedbackEnabledStatus
-
showDebugChat
-
decorateDebugComponent
-
debugWarningComponent
-
debugFeedbackComponent
-
debugFeedbackTranslated
-
debugFeedback
-
handleDebugKeys
-
copyRecreateCommand
private void copyRecreateCommand(boolean addNbt, boolean pullFromServer) -
copyCreateBlockCommand
private void copyCreateBlockCommand(BlockState state, BlockPos blockPos, @Nullable CompoundTag entityTag) -
copyCreateEntityCommand
-
keyPress
-
charTyped
-
setup
-
getClipboard
-
setClipboard
-
tick
public void tick()
-