From 2cf748b5ad0a70ca309994d4db34616befc0f32f Mon Sep 17 00:00:00 2001 From: Zak <34372536+ZakShearman@users.noreply.github.com> Date: Fri, 27 Sep 2024 14:36:31 +0100 Subject: [PATCH] feat: update to 1.21 --- .run/TowerDefenceServer.run.xml | 2 +- build.gradle.kts | 11 +++--- .../towerdefence/enums/TowerSize.java | 16 --------- .../towerdefence/game/GameHandler.java | 4 +-- .../towerdefence/lobby/SpawnItemHandler.java | 9 +++-- .../model/mob/config/EnemyMob.java | 22 +++++++----- .../model/mob/config/EnemyMobLevel.java | 34 ++++++++----------- .../model/mob/living/SingleEnemyTDMob.java | 29 ++++++++-------- .../model/mob/living/SingleTDMob.java | 12 +++++-- .../model/tower/config/Tower.java | 18 +++++----- .../model/tower/config/TowerLevel.java | 18 +++++----- .../model/tower/placed/Projectile.java | 3 +- .../model/tower/placed/types/BomberTower.java | 24 ++++++------- .../tower/placed/types/EarthquakeTower.java | 9 ++--- .../tower/placed/types/NecromancerTower.java | 23 +++---------- .../towerdefence/model/user/TDPlayer.java | 1 - .../minestom/towerdefence/queue/MobQueue.java | 19 ++++++----- .../towerdefence/ui/ConfirmationUI.java | 8 +++-- .../towerdefence/ui/UserSettingsUI.java | 22 ++++++------ .../ui/spawner/TroopSpawnerUI.java | 17 +++++----- .../ui/spawner/TroopUpgradeUI.java | 6 ++-- .../ui/tower/TowerManagementUI.java | 27 ++++++++------- .../towerdefence/ui/tower/TowerOutliner.java | 3 +- .../towerdefence/ui/tower/TowerPlaceUI.java | 9 ++--- .../towerdefence/utils/ItemUtils.java | 34 ++++++------------- .../world/TowerDefenceInstance.java | 2 +- .../towerdefence/world/WorldLoader.java | 17 ++++++---- 27 files changed, 191 insertions(+), 208 deletions(-) diff --git a/.run/TowerDefenceServer.run.xml b/.run/TowerDefenceServer.run.xml index 784ac79f..67a75862 100644 --- a/.run/TowerDefenceServer.run.xml +++ b/.run/TowerDefenceServer.run.xml @@ -7,7 +7,7 @@