Files
horizon/tools/test_armor_stand_honey_parity.py
Florian ERNSTandCodex 8770de9392 Apply honey side-slide movement to armor stands
Route the separately modeled stand through HoneyBlock movement after travel. Own current Game/fresh Java gate113/126->126/126, raw exact with unchanged scripts. Canonical travel regression old-fail/fixed-pass; honey suite11pass/1ignored. Broad readiness Rust/doc builds blocked by disk; formatting and Clippy pass.

Co-Authored-By: Codex <[email protected]>
2026-11-05 08:46:20 +01:00

29 lines
1011 B
Python

#!/usr/bin/env python3
"""Exact armor-stand honey/stone movement through actual world ticks."""
import argparse
from pathlib import Path
import subprocess
import sys
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('--binary', type=Path)
parser.add_argument('--reference-only', action='store_true')
parser.add_argument('--prepare', action='store_true')
args = parser.parse_args()
root = Path(__file__).resolve().parents[1]
command = [sys.executable, str(root / 'tools/test_command_exec_parity.py'),
'--armor-stand-honey-fixture', '--work-dir',
str(root / '.local/armor-stand-honey-parity')]
if args.binary:
command += ['--binary', str(args.binary.resolve())]
for name in ['reference_only', 'prepare']:
if getattr(args, name):
command.append('--' + name.replace('_', '-'))
return subprocess.run(command, cwd=root).returncode
if __name__ == '__main__':
sys.exit(main())