ldtteam / ldtteam/BlockOut

Improve usability of the new TextField

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug ground work needed networking
Dominant language
Java
Stars
17
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The new TextField
  • #19
When #19 is finished:

The textfield will support basic MineCraft 1.12 Written Book style edition (no cursor movement no selection). This is of course a dearly needed feature. To support this we need to make some change to the Client interception of UI input.

Required changes:
  • Intercept special KeyInputs (like CTRL + V, and CTRL + C) on the client side and process them.
  • Add support for cursor positioning (move the cursor by clicking) on the client side due to the requirement of the FontRenderer.
  • Intercept special KeyInputs (like Left-Arrow, Right-Arrow) on the server side and process it accordingly.
  • Add support for selection. Just as with cursor movement selection requires MouseInput to be tracked on the Client side.
  • Add support for SpecialKey input syncing. Track SHIFT, CTRL and other special keys when messages are send to the server.
  • Add support for special special KeyInput selection (like SHIFT+Left Arrow). This can be processed on the server side.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing issue #19 and the new TextField work described here. Trace client UI input, FontRenderer-related cursor positioning, MouseInput tracking, and the corresponding server-side key handling. Done means supporting clipboard shortcuts, cursor movement, selection, modifier-key syncing, and special-key selection for Minecraft 1.12-style written-book editing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.