SpoutDev/SpoutAPI — pull request #134 by bergerkiller (2012-03-18 00:42:57+00:00)
Title: Block data separated from Material and several new interfaces

Signed-off-by: berger killer

This pull completely separates the 'data' from Materials, but the data constants can still be defined in the Materials themselves. This is done by letting them implement 'SubMaterial'. Sub-materials are not automatically registered and need manual registering. This is to make sure that the 'main' material is indeed mapped to a certain index. Mind that 'Material.get(name)' might give you a sub material as opposed to the actual material.

This 'get by name' part still needs to be added in the Command handling part.

I will edit this post once the PRs for Spout and Vanilla are rebased and PR'ed.