feat(generator): validate every jump on the block grid and keep 2-4 block gaps
This commit is contained in:
parent
eed73b5c44
commit
bfae9f9bc5
10 changed files with 496 additions and 146 deletions
|
|
@ -12,12 +12,13 @@ generation:
|
|||
# -= Normal jump chances =-
|
||||
normal:
|
||||
# -= Distance chances =-
|
||||
# The chances of the different distances in %. Can be above 100%.
|
||||
# Horizontal gap in blocks between two parkour blocks, in %.
|
||||
# A gap of 1 is not a jump and is therefore not offered; the code also
|
||||
# clamps every gap to course-spacing.min-gap in config.yml.
|
||||
distance:
|
||||
1: 5
|
||||
2: 35
|
||||
3: 45
|
||||
4: 15
|
||||
4: 20
|
||||
|
||||
# -= Height chances =-
|
||||
# The chances of the different heights a jump can have in %. Can be above 100%.
|
||||
|
|
@ -82,24 +83,27 @@ advanced:
|
|||
heading: east
|
||||
|
||||
# -= Jump distance weights (advanced.distance.min .. max) =-
|
||||
# Gap size in blocks between consecutive parkour blocks. 1 is intentionally
|
||||
# not offered: a 1-block step is not a jump (course-spacing.min-gap clamps
|
||||
# it anyway). 2 = easy, 4 = near the vanilla sprint-jump limit.
|
||||
distance:
|
||||
min: 1
|
||||
min: 2
|
||||
max: 4
|
||||
chances:
|
||||
1: 25
|
||||
2: 25
|
||||
3: 25
|
||||
4: 25
|
||||
2: 40
|
||||
3: 40
|
||||
4: 20
|
||||
|
||||
# -= Vertical step weights (advanced.height.min .. max) =-
|
||||
# A vanilla jump reaches at most ~1.25 blocks up, so positive steps are
|
||||
# capped at 1; downward steps may be deeper (falling is always possible).
|
||||
height:
|
||||
min: -1
|
||||
max: 2
|
||||
max: 1
|
||||
chances:
|
||||
"-1": 20
|
||||
"0": 30
|
||||
1: 30
|
||||
2: 20
|
||||
"-1": 25
|
||||
"0": 35
|
||||
1: 40
|
||||
|
||||
# -= Block type mix (default vs special vs schematic) =-
|
||||
type:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue