类 KeyboardHandler
java.lang.Object
net.minecraft.client.KeyboardHandler
-
字段概要
字段修饰符和类型字段说明private final ClipboardManager
static final int
private long
private long
private long
private boolean
private final Minecraft
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private 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()
-
字段详细资料
-
DEBUG_CRASH_TIME
public static final int DEBUG_CRASH_TIME- 另请参阅:
-
minecraft
-
clipboardManager
-
debugCrashKeyTime
private long debugCrashKeyTime -
debugCrashKeyReportedTime
private long debugCrashKeyReportedTime -
debugCrashKeyReportedCount
private long debugCrashKeyReportedCount -
handledDebugKey
private boolean handledDebugKey
-
-
构造器详细资料
-
KeyboardHandler
-
-
方法详细资料
-
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()
-