How to get houses on flat on the ground

Issue #343 invalid
Trevor Reimer created an issue

How do I get houses to be flat on the ground instead of floating when 1 corner has a 1 block raise.

 {
      "name": "small_house2",
      "density": 0.1,
      "size": "NORMAL",
      "provider": "MINECRAFT",
      "type": "DECO",
      "blocksRequiredUnderneath": [
        "GRASS"
      ],
      "blacklistedDecoBlocks": [],
      "spawnUnderWater": false,
      "spawnOnGround": true,
      "overrideExsistingBlocks": true,
      "allowRotation": false,
      "applyPhysics": true,
      "applyAir": false,
      "fixFlyingRoots": false,
      "replaceAir": true,
      "minY": 45,
      "maxY": 90,
      "maxSlope": 1.0,
      "minSlope": 0.0,
      "transitionClearance": -1.0,
      "snapToXGrid": 173,
      "snapToYGrid": 141,
      "gridXOffset": 0,
      "gridYOffset": 0,
      "anchorYOffset": -1.0
    }

Comments (4)

  1. minelazz

    This is not a support page *For further questions, send PMs at Spigot, or use the discussion page. *

    Anyway, to resolve your problem. You need to set a better anchor point when you create the structure. That is where the center point of the structure is and also how the plugin now where the bottom is. You could also modify the following to avoid recreating the structure file. "anchorYOffset": -5.0

  2. Log in to comment