Sign in to follow this  

Disable Slope Checks for Crops?

Recommended Posts

As the title says, I've been looking around and haven't come a crossed anything. I'm not sure if this would require a small tweak or a full blown mod. Small rolling hills for farmlands would be awesome. :)

Edited by Addie

Share this post

Link to post
Share on other sites

Server.jar, behaviours package, TileDirtBehaviour.class and TileFieldBehaviour.class.


In an action() method is something that looks like this:

try {
  if (!Terraforming.isFlat(tilex, tiley, onSurface, 4)) {
    performer.getCommunicator().sendNormalServerMessage("The ground is not flat enough for crops to grow. You need to flatten it first.");
    return true;

I would attempt to use bytecode to replace that "4" with mod configurable value.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this