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.
12 lines
138 B
Kotlin
12 lines
138 B
Kotlin
package club.mcscrims.speedhg.kit
|
|
|
|
enum class KitMetaData {
|
|
IN_GLADIATOR,
|
|
GLADIATOR_BLOCK;
|
|
|
|
fun getKey(): String
|
|
{
|
|
return name
|
|
}
|
|
|
|
} |