diff --git a/src/main/kotlin/gg/flyte/event/game/GameType.kt b/src/main/kotlin/gg/flyte/event/game/GameType.kt index fae9219..1848bf6 100644 --- a/src/main/kotlin/gg/flyte/event/game/GameType.kt +++ b/src/main/kotlin/gg/flyte/event/game/GameType.kt @@ -1,10 +1,7 @@ package gg.flyte.event.game import gg.flyte.event.game.lobby.type.PresentHuntGame -import gg.flyte.event.game.main.type.KingOfTheHillGame -import gg.flyte.event.game.main.type.MusicalMinecartsGame -import gg.flyte.event.game.main.type.PresentSnatchGame -import gg.flyte.event.game.main.type.SledRacingGame +import gg.flyte.event.game.main.type.* import gg.flyte.event.util.MapLocation import net.kyori.adventure.text.Component import org.bukkit.GameMode @@ -28,6 +25,24 @@ enum class GameType( // MAIN GAMES + BLOCK_PARTY( + GameCategory.MAIN, + Component.text("Block Party"), + Component.text("test game"), + GameMode.ADVENTURE, + BlockPartyGame::class.java, + BoundingBox.of( + MapLocation(633, 126, 783), + MapLocation(599, 126, 817) + ), + listOf( + listOf( + MapLocation(616, 111, 800) + ) + ), + MapLocation(635, 112, 828, 145, 0) + ), + MUSICAL_MINECARTS( GameCategory.MAIN, Component.text("Musical Minecarts"), diff --git a/src/main/kotlin/gg/flyte/event/game/main/type/BlockPartyGame.kt b/src/main/kotlin/gg/flyte/event/game/main/type/BlockPartyGame.kt index 25cac7c..26ff0ec 100644 --- a/src/main/kotlin/gg/flyte/event/game/main/type/BlockPartyGame.kt +++ b/src/main/kotlin/gg/flyte/event/game/main/type/BlockPartyGame.kt @@ -18,7 +18,7 @@ import org.bukkit.event.inventory.InventoryClickEvent import org.bukkit.event.player.PlayerDropItemEvent import org.bukkit.event.player.PlayerInteractEvent -class BlockPartyGame : MainGame(GameType.MUSICAL_MINECARTS) {// CHnage to block party +class BlockPartyGame : MainGame(GameType.BLOCK_PARTY) { private val squares = listOf()