From e02a1017483b58ffe0fec562446f000cf6837da2 Mon Sep 17 00:00:00 2001 From: HuskyDreaming Date: Thu, 31 Oct 2024 16:49:58 +1300 Subject: [PATCH] Version 7.0 - Added Configurable Blocks that bouncy balls can bounce on - Added New Improved Husky Core - Updated the Edit BouncyBall Menu - Improved the commands - Improved the particle system - Improved the projectile System - Did a bug recode of the plugin --- .idea/compiler.xml | 2 +- .idea/jarRepositories.xml | 10 ++ .idea/misc.xml | 2 +- .idea/modules.xml | 8 ++ Bouncyballs.iml | 13 ++ dependency-reduced-pom.xml | 7 +- pom.xml | 24 ++-- .../bouncyball/BouncyBallPlugin.java | 59 ++++---- .../bouncyball/commands/BaseCommand.java | 43 +++--- .../commands/subcommands/CreateCommand.java | 54 +++---- .../commands/subcommands/GiveCommand.java | 45 +++--- .../commands/subcommands/ReloadCommand.java | 54 +++---- .../data/particles/ParticleData.java | 4 + .../{pareseables => enumerations}/Locale.java | 22 +-- .../{pareseables => enumerations}/Menu.java | 54 +++---- .../InventoryHandlerImpl.java} | 64 ++++++--- .../LocalizationHandlerImpl.java} | 15 +- .../implementations/ParticleHandlerImpl.java | 43 ++++++ .../ProjectileHandlerImpl.java} | 134 ++++++------------ .../interfaces/InventoryHandler.java} | 9 +- .../interfaces/LocalizationHandler.java | 11 ++ .../handlers/interfaces/ParticleHandler.java | 7 + .../interfaces/ProjectileHandler.java} | 34 ++--- .../inventories/ColorInventory.java | 21 ++- .../bouncyball/inventories/EditInventory.java | 65 +++++---- .../bouncyball/inventories/MainInventory.java | 32 +++-- .../inventories/MaterialInventory.java | 65 ++++++--- .../inventories/ParticleInventory.java | 35 ++--- .../listeners/ProjectileListener.java | 32 ++--- .../ParticleRepositoryImpl.java | 93 ++++++++++++ .../ProjectileRepositoryImpl.java | 127 +++++++++++++++++ .../interfaces/ParticleRepository.java | 11 ++ .../interfaces/ProjectileRepository.java | 19 +++ .../implementations/ParticleServiceImpl.java | 79 ----------- .../services/interfaces/LocaleService.java | 11 -- .../services/interfaces/ParticleService.java | 14 -- src/main/resources/plugin.yml | 2 +- 37 files changed, 789 insertions(+), 535 deletions(-) create mode 100644 .idea/modules.xml create mode 100644 Bouncyballs.iml rename src/main/java/com/huskydreaming/bouncyball/{pareseables => enumerations}/Locale.java (74%) rename src/main/java/com/huskydreaming/bouncyball/{pareseables => enumerations}/Menu.java (55%) rename src/main/java/com/huskydreaming/bouncyball/{services/implementations/InventoryServiceImpl.java => handlers/implementations/InventoryHandlerImpl.java} (62%) rename src/main/java/com/huskydreaming/bouncyball/{services/implementations/LocaleServiceImpl.java => handlers/implementations/LocalizationHandlerImpl.java} (74%) create mode 100644 src/main/java/com/huskydreaming/bouncyball/handlers/implementations/ParticleHandlerImpl.java rename src/main/java/com/huskydreaming/bouncyball/{services/implementations/ProjectileServiceImpl.java => handlers/implementations/ProjectileHandlerImpl.java} (79%) rename src/main/java/com/huskydreaming/bouncyball/{services/interfaces/InventoryService.java => handlers/interfaces/InventoryHandler.java} (65%) create mode 100644 src/main/java/com/huskydreaming/bouncyball/handlers/interfaces/LocalizationHandler.java create mode 100644 src/main/java/com/huskydreaming/bouncyball/handlers/interfaces/ParticleHandler.java rename src/main/java/com/huskydreaming/bouncyball/{services/interfaces/ProjectileService.java => handlers/interfaces/ProjectileHandler.java} (72%) create mode 100644 src/main/java/com/huskydreaming/bouncyball/repositories/implementations/ParticleRepositoryImpl.java create mode 100644 src/main/java/com/huskydreaming/bouncyball/repositories/implementations/ProjectileRepositoryImpl.java create mode 100644 src/main/java/com/huskydreaming/bouncyball/repositories/interfaces/ParticleRepository.java create mode 100644 src/main/java/com/huskydreaming/bouncyball/repositories/interfaces/ProjectileRepository.java delete mode 100644 src/main/java/com/huskydreaming/bouncyball/services/implementations/ParticleServiceImpl.java delete mode 100644 src/main/java/com/huskydreaming/bouncyball/services/interfaces/LocaleService.java delete mode 100644 src/main/java/com/huskydreaming/bouncyball/services/interfaces/ParticleService.java diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 1e5427c..5fa805e 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -6,7 +6,7 @@ - + diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index 0469cab..9920ebf 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -11,6 +11,11 @@