DAI 3.0 · STEP-BY-STEP
Vehicles
Build server-authoritative vehicles with actual player input, acceleration, steering, seats and safe exit behavior.
What you are building
Primary path:
Build server-authoritative vehicles with actual player input, acceleration, steering, seats and safe exit behavior.
data/<namespace>/dai_vehicles/Build server-authoritative vehicles with actual player input, acceleration, steering, seats and safe exit behavior.
Step-by-step
- Create the vehicle identityDefine physical dimensions/controller settings.
- Spawn one parked vehicleProve mounting/dismounting before movement.
- Read real player inputMap forward/strafe/jump/sneak or custom keys into the server controller.
- Add acceleration/steeringTune on flat ground with no weapons first.
- Add collision and seatsDefine passenger placement and exit safety.
- Add fuel/weapons laterDo not debug propulsion and combat simultaneously.
- Test network edge casesMount/dismount rapidly, disconnect while riding and cross chunk boundaries.
Definition of done
- The feature still works after save/reload.
- Server state is authoritative; presentation mirrors it.
- Invalid input cannot duplicate rewards or bypass costs.
- Two players can use the system without sharing unintended temporary state.
- Any optional resource pack can be disabled without breaking datapack logic.
Next integration
Once this feature works alone, connect it to a complete loop instead of adding more isolated content. Use the complete-game tracks to see where it belongs in ACMS, Space Between Blocks, MineTrigger or Hollow Spiral.