Posted February 25, 20196 yr Hello. I want to replace vanilla method. Also, I found Access Transformers ,but don't know how to do. I'm a noob. Here's what I want to do. Proposal: Replace charTyped method in GuiTextField.class (located in net.minecraft.client.gui) into another custom charTyped method that I created. [removed copyrighted code] This is the full code of GuiTextField.class And that method is [removed copyrighted code] What I tried is just replace whole class (Block displayguiscreen event and poped custom one) Anyone..know how to replace or overwrite it? I have custom chartyped method(not above). Edited February 25, 20196 yr by diesieben07 [removed copyrighted code
February 25, 20196 yr Author 12 minutes ago, diesieben07 said: Why are you posting copyrighted code here that we can all see ourselves? There is no point in doing so. What are you trying to achieve (not how do you want to achieve it, which is what you posted above)? I'm trying to develop foreign language typing system. So, I want to intercept typewriting event to insert this additional typing function.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.