Object extending and code injection

Status
Fixed
Issue description

It'd be realy nice to add support of changing extends and inject custom code in generated classes.

For example: 

public static class BlockCustom extends Block

//or

public static class BlockCustom extends BlockFence

//etc

And write some custom code in mod elemet without locking mod element. I mean custom code, that will not be deleted while editing mod element.

 

ps

I hope you understood what I mean;)

Issue comments

This used to be called TX blocks. But since textures are now managed with JSON and block states, each block has own definitions of texture placement so there is no easy way to add support for this with working textures.

So for now, users who want to do this need to resort to locking the code.

We plan to add better support for blocks like fences or stairs in the future too.