Open mjcrafter100 opened 8 years ago
maxheightaboveground isn't for hovercrafts or cars, (it's for keeping ship on static height above grount, and it's calculating only with middle of the ship) you need hoverLimit ... it's counting each bottom block on the ship (for cars is best use hoverLimit =0 ... that means car is fixed to the land and you can drive over one block height obstacles, If you want to hover one block above ground use hoverLimit=1) I recommend to use max. hoverLimit=3 ... for bigger crafts is better use small hoverLimit, for smaller you can use bigger number ... but you must know that each point up means counting longer and logner counting ... do not use big numbers) Also it's goot to setup harvestBlocks and some self destruction. Here is example of one of our tanks, which has stamina about 3 hits:
name: tank
maxSize: 666
minSize: 32
canFly: false
speed: 4.0
tryNudge: false
canCruise: false
cruiseSkipBlocks: 0
canTeleport: false
canStaticMove: false
sinkPercent: 95.0
overallSinkPercent: 70.0
sinkSpeed: 2
explodeOnCrash: 2.0
maxHeightLimit: 200
minHeightLimit: 2
fuelBurnRate: 4.0
useGravity: true
canHover: true
hoverLimit: 0
harvesterCanDropItems: false
harvesterCanStoreItems: false
flyblocks:
35:
- 40.0
- 100.0
159:
- 20.0
- 100.0
harvestBlocks:
- CROPS
- LONG_GRASS
- YELLOW_FLOWER
- RED_ROSE
- SAPLING
- PUMPKIN
- PUMPKIN_STEM
- MELON_BLOCK
- MELON_STEM
- CARROT
- POTATO
- DOUBLE_PLANT
- RED_MUSHROOM
- BROWN_MUSHROOM
- NETHER_WARTS
- DEAD_BUSH
- CACTUS
- SUGAR_CANE_BLOCK
- LOG
- LOG_2
- LEAVES
forbiddenBlocks:
- 7 #bedrock
- 52 #spawner
allowedBlocks:
....
I have set in the type file Hover = true and maxheightaboveground = 2 but the tanks and cars wont hover, they say "path obstructed by grass at X Y Z" (X Y Z being the cords it gives you...)