I have now employed quite a few "days" with Java. Now I am working on Minecraft mods. My first mods are now finished and work fine with no errors. (many new items, blocks, crafting recipes ....)
My next idea is the melons blocks on "Hopper" grow.
Since I still have difficulties in implementing how to begin there.
Can I use "Forge" simply override the melons class, or change it? If so, how?
BlockStem.java:
[....]
/**
* is the block grass, dirt or farmland
*/
protected boolean canPlaceBlockOn(Block ground)
{
return ground == Blocks.farmland;
}
[....]
The search API was not really helped (and also in the forum or google).
Maybe I've also just looking for the wrong, who knows.
Thanks for the help.
Greetings from Germany
PS: Sorry for the bad english ... Google's fault: D