Is there a way to detect which blocks were placed by a player and which were naturally generated? I am trying to make a autobuilder, and I don't want it to overwrite anyone's blocks.
I understand how minecraft does it, but how can I do it without modifying minecraft source code (to increase compatibility with mods like optifine and such). Is there an API somewhere?
I was testing my mod, and I saw (in the esc GUI: the one that allows you to save your world and stuff) a button named 'Mod Options'. What is it for, and how can I use it?
Thanks in advance.
I also agree. I wonder if there's something out there that already exists? It would be awesome if writing mods was easy as writing a bukkit plugin: a centeralized(ish) API, no obfuscated code, and readable error messages!
I hope that Mojang fixes it with their modder api.
Is there a way to get a list of all mods installed?
I'm currently scanning through the .minecraft/mods folder, but it only gets the file names. I'd prefer a way to get the names of the mods instead, hopefully without scanning the .minecraft folder.
Thanks in advance.
How do I add sliders and buttons?
I want to add 3 sliders to the 'graphics options' menu, but I can't find any tutorials or other documentation for this (besides net.minecraft.client.gui.GuiSlider.java)
Is there a way to intercept standard minecraft packets (i.e., those that are sent from a server to the client with chat text)? I need to intercept the packets *before* they are displayed.