Hi All
I'd like to ask for some help from you experienced modders out there.
I'm putting together a sample code project to give simple working examples of the important concepts in Minecraft and Forge, to show new modders how the key parts are put together and give them a base to start experimenting from.
I have made a modest start (https://github.com/TheGreyGhost/MinecraftByExample) and I'd like to make it much more comprehensive, so I am hoping some of you will help out.
What I'm looking for:
- ideas for topics / samples
- pointers to good examples which already exist in other projects
- snippets of self-contained code to illustrate a key concept.
- feedback
The key features of the samples are that
* they must be self-contained, a handful of short classes at most
* must be well documented in the source code itself
* they must be simple and readable; clarity is much more than important than flexibility, extensibility, or "efficiency"
FYI currently I'm planning on adding the following topics over time. It's a long list and half of it I've got no idea about, so it's going to take forever without help...
Blocks -
simple block modelling
more-complicated block modelling
blocks with properties / metadata
block with display tick
block with scheduled update
animated texture
Items -
simple item
item with sub-types
item with NBT
how to control rendering in the different views (1st person, 3rd person, inventory, etc)
Recipes
variety of recipe types
TileEntity
simple tile entity with NBT, no renderer
simple TileEntitySpecialRenderer
Containers
furnace-like
chest-like
Entities
basic entity that can be spawned and disappears after a certain time
missile entity
entity rendering / techne -based / animation
entity with basic AI
EntityFX
simple effect generator
Events
show some events on different busses
GUI
customise the standard HUD render elements (crosshairs, etc)
create a custom GUI
Terrain generation
Generate a new dimension
Miscellaneous
best practice error logging (I could sure use some help on that one!)
Thoughts, feedback, suggestions very welcome...
-TGG