Add Elytra Parkour Mode (basic implementation)

- Created ElytraMode class with leaderboard support
- Auto-gives elytra and fireworks on mode start
- Added elytra mode config options
- Added Russian and English localization
- Integrated into mode selection menu
- TODO: Ring generation, boost system, collision detection
This commit is contained in:
loki 2026-02-25 13:10:10 +01:00
parent 56bf11822e
commit 1b1d363f3b
6 changed files with 103 additions and 0 deletions

View file

@ -343,6 +343,22 @@ modes:
# Reset all rewards on fall
reset-rewards: true
# -= Elytra mode =-
elytra:
# Enable elytra mode
enabled: true
# Distance between rings
ring-distance-min: 20
ring-distance-max: 40
# Ring size (radius)
ring-size: 5
# Firework boost power
boost-power: 1.5
# Firework cooldown in seconds
firework-cooldown: 3
# Starting fireworks amount
starting-fireworks: 64
# -= Scoring options =-

View file

@ -258,3 +258,8 @@ other:
material: "elytra"
name: "&#00D4FF<bold>Flying"
lore: "&#A0A0A0Parkour with elytra!"
modes:
elytra:
name: "&#00D4FF<bold>Elytra"
description: "&#A0A0A0Fly through rings!||&#A0A0A0Use fireworks to boost"

View file

@ -257,3 +257,8 @@ other:
material: "elytra"
name: "&#00D4FF<bold>Полёт"
lore: "&#A0A0A0Паркур с элитрами!"
modes:
elytra:
name: "&#00D4FF<bold>Элитры"
description: "&#A0A0A0Летайте через кольца!||&#A0A0A0Используйте фейерверки для ускорения"