Modding Snippets
Please help us build the modding community by sharing some of your examples. Feel free to update this page via the wiki editor!
Utilities
Post your Utilities examples here.
Getting All Textures - Author: Kamikaze
for (Map.Entry<String, GameTexture> tex : GameTexture.getLoadedTextures()) { tex.getValue().saveTextureImage("resources/"+tex.getKey()); }
Equipment
Post your Equipment examples here.
NPCs
Post your NPC examples here.
Mobs
Post your Mob examples here.