A simple way of modifying screens. It would be a wrapper to the Screen API.
Example (might be slightly wrong):
import pl.olafcio.avoid.mods.annotation_processor.ModifyScreen;
import pl.olafcio.avoid.net.screen.ScreenMarker;
import pl.olafcio.avoid.net.screen_modifier.ModifyScreen;
import pl.olafcio.avoid.net.screen_modifier.ScreenModifier;
@ModifyScreen(ScreenMarker.TITLESCREEN)
public class TitleScreenModifier extends ScreenModifier {
public void init() {
super.init();
this.removeChild(this.child(0)); // should remove the 'Singleplayer' button, or the minecraft logo, i'm not sure
}
}
A simple way of modifying screens. It would be a wrapper to the Screen API.
Example (might be slightly wrong):