Add Gladiator kit and WorldEdit support

Introduce the Gladiator kit feature and supporting infrastructure: add KitMetaData enum and new GladiatorKit implementation (items, abilities, fight lifecycle and region logic), register the kit in SpeedHG, and add language entries for the kit and some bolded kit names. Add WorldEditUtils.createCylinder helper to build/tear down arenas. Extend KitEventDispatcher with listeners to handle gladiator arena block interactions and explosion handling (with a helper to step glass color -> air). Also add ingame guards in several projectile handlers and remove a small TODO/comment in GameStateListener.
This commit is contained in:
TDSTOS
2026-03-26 04:13:26 +01:00
parent 0043a3e82c
commit b2edcff447
7 changed files with 432 additions and 9 deletions

View File

@@ -81,7 +81,7 @@ scoreboard:
kits:
backup:
name: '<gradient:gold:#ff841f>Backup</gradient>'
name: '<gradient:gold:#ff841f><bold>Backup</bold></gradient>'
lore:
- ' '
- 'Select a kit mid-round at any time.'
@@ -91,6 +91,23 @@ kits:
- ' '
- 'Left-click to select'
- 'Right-click to change playstyle'
gladiator:
name: '<gradient:dark_gray:gray><bold>Gladiator</bold></gradient>'
lore:
- ' '
- 'Use your ability to fight enemies'
- 'in a 1v1 above the skies.'
- ' '
- 'PlayStyle: §e%playstyle%'
- ' '
- 'Left-click to select'
- 'Right-click to change playstyle'
items:
ironBars:
name: '<gray>Cage</gray>'
description: 'Fight an enemy in a 1v1 above the skies'
messages:
ability_charged: '<yellow>Your ability has been recharged!</yellow>'
goblin:
name: '<gradient:dark_green:gray><bold>Goblin</bold></gradient>'
lore:
@@ -117,7 +134,7 @@ kits:
spawn_bunker: '<green>You have created a bunker around yourself!'
ability_charged: '<yellow>Your ability has been recharged!</yellow>'
icemage:
name: '<gradient:dark_aqua:aqua>IceMage</gradient>'
name: '<gradient:dark_aqua:aqua><bold>IceMage</bold></gradient>'
lore:
- ' '
- 'AGGRESSIVE:'
@@ -141,7 +158,7 @@ kits:
shoot_snowballs: '<aqua>You have shot frozen snowballs in all directions!</aqua>'
ability_charged: '<yellow>Your ability has been recharged!</yellow>'
venom:
name: '<gradient:dark_red:red>Venom</gradient>'
name: '<gradient:dark_red:red><bold>Venom</bold></gradient>'
lore:
- ' '
- 'AGGRESSIVE:'