These conventions are likely to change a fair bit during mapping, so be sure to check back to make sure nothing has changed.
-
Use British English.
-
Use concise names where it is sensible. (e.g:
net.minecraft.entity.Creeper
instead ofEntityCreeper
)2a. If a class extends a built-in java class (e.g:
SessionValidator
becomesThreadSessionValidator
)2b. If a class is generally only used for other classes to extend, append
Base
to the end. (e.g:Item
becomesItemBase
)2c. If a class is for rendering, it should have
Renderer
appended. (e.g:Wolf
becomesWolfRenderer
)2d. If a class is an interface, append
I
to the start. (e.g:Block
becomesIBlock
)2e.
World
(in MCP) should be calledLevel
instead. (e.g:WorldRenderer
becomesLevelRenderer
) -
Use sensible, MCP-esque names.
-
Everything should be in a suitibly named package. (e.g:
Creeper
belongs innet.minecraft.entity.mob
,ItemBed
belongs innet.minecraft.item
)4a. If a class inherits a minecraft class and has
Base
appended, it belongs in the package of the class it inherits from. Exception if a class is different enough to warrant a new package for it.