February 15, 201510 yr Why don't you use Reflection? I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
February 15, 201510 yr Private fields can be used using Reflection, not ASM ;p Thare are good oracle tuts on Reflection. Have look at forge ReflectionHelper. 1.7.10 is no longer supported by forge, you are on your own.
February 15, 201510 yr Author I need to get every tick field + override a private method of the super class.
February 15, 201510 yr @Ernio Thanks (yes i'm random reader)! Can it be used for private methods too? Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 15, 201510 yr I need to get every tick field + override a private method of the super class. What do you actually want? It seems that it is really bad idea.. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
February 15, 201510 yr Author Okay. I need to replace the standard chat (GuiNewChat) on your own. How can I make it better?
February 15, 201510 yr 1. Cancel normal char rendering. 2. Copy GuiChat class and edit it on your own. 3. Render your own chat. Everything using RenderGameOverlayEvent. Learn using events. Diesieben alredy noted this. Otherway would be: GuiNewChat actually has a singleton (inside Minecraft class), you can instead of canceling whole rendering simply do chatSingleton = yourChat. That is kinda old school (before overlay events), I don't recommend it 1.7.10 is no longer supported by forge, you are on your own.
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.