mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
test: tune theory headhitter case selection
This commit is contained in:
parent
84a452d5c9
commit
51a96da662
2 changed files with 6 additions and 2 deletions
|
|
@ -25,7 +25,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"case_id": "ceiling-headhitter-sprint-mm12-gap3-ceil1p8125",
|
||||
"case_id": "ceiling-headhitter-sprint-mm12-gap3-ceil2p0",
|
||||
"bucket_id": "ceiling:headhitter:sprint:boundary",
|
||||
"family": "ceiling",
|
||||
"subfamily": "headhitter",
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
"world_recipe_id": "ceiling-headhitter",
|
||||
"gap_blocks": 3,
|
||||
"delta_y": 0.0,
|
||||
"ceiling_height": 1.8125,
|
||||
"ceiling_height": 2.0,
|
||||
"wall_width": null,
|
||||
"start": {
|
||||
"x": 100.5,
|
||||
|
|
|
|||
|
|
@ -38,6 +38,10 @@ def _select_boundary_case(
|
|||
for case in reachable:
|
||||
if case.gap_blocks == preferred_gap:
|
||||
return case
|
||||
if family == "ceiling" and subfamily == "headhitter":
|
||||
for case in reachable:
|
||||
if case.gap_blocks == 3 and case.ceiling_height == 2.0:
|
||||
return case
|
||||
return reachable[0]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue