Hey.
I just want to become sure that the in-world blocks don't have their own Block objects (they just store id, metadata and tileentitys) and block object are only for each type of block.
The in-world blocks = these you are walking on. Make a step and your on other block.
As I say - this is just getting 100% sure.
You have to replace PreInit(FMLInitializationEvent event){ with PreInit(FMLPreInitializationEvent event){. If you don't see the diffrence - I just added "Pre" to argument name ;-)
Regards. Jantomedes
PS. If I helped don't forget about giving a "thank you" point ;-)
You mean the in-world coordinates of a block? I don't know how to do that if already game-existing block which is everywhere like grass or stone but you can easily to that with a block which is not self-generating in world. You can override onBlockAdded() method and add them some code which saving the coord of placed block to a static list (and remove it with breakBlock()). You could also to that with self-generating block but it would have to use just onNeighborBlockChange() or... I don't know. Maybe edit structure-generating files?
Regards. Jantomedes
Hey there!
I know that in 1.5 game has started using different files for each item and block but is it possible to use the sprite sheets (I haven't installed Forge 1.5 yet)? And if no, are you going to write some code to use texture sheets? Using them was much more comfortable for me.
Regards. Jantomedes
PS. Will I have to enter captcha and the captcha question all the time?