Elixir WaterPearls | Free Edition v1.20

Use Ender Pearls Under Water
Rebranded The Thread Design
Features & Enhancements:
  1. Added support for 1.8, while still supporting 1.20. (Experimental)
  2. Added a new configuration option enableParticleTrail to control whether Ender Pearls should leave a particle trail when thrown.
  3. The particle type for the Ender Pearl trail can be customized using the particleType configuration option.
  4. Added a new configuration option waterSpeedMultiplier to control the speed multiplier of Ender Pearls when they hit water.
  5. The getColorizedString method in the EnderPearlListener class retrieves the appropriate language-specific message and applies color codes using the ChatColor.translateAlternateColorCodes method.
Bug Fixes & Improvements:
  1. Optimized and improved the entire EnderPearlListener class to enhance robustness and compatibility across different server versions.
  2. Added null checks for event parameters and their properties to prevent potential null pointer exceptions.
  3. Simplified version checks by using Bukkit.getBukkitVersion() and checking for specific version numbers.
  4. Optimized the isWater method to handle both old and new versions efficiently.
  5. Updated the getColorizedString method to provide a default message if the translation is missing.
  6. Optimized the onProjectileLaunch and onProjectileHit methods by adding early return statements for invalid or unsupported scenarios.
  7. Simplified the teleportation logic in the onProjectileHit method by directly teleporting the player to the landing location.
  8. Optimized the onEndermiteSpawn method to handle different server versions and improve performance.
  9. Fixed a potential issue where the plugin would fail to load the language file correctly if an error occurred during the loading process.
  10. Improved error handling in the createLangFile method of the ElixirWaterPearls class, logging a severe message if an error occurs while loading the language file.
  11. Removed redundant version checks in the EnderPearlListener class by introducing the isVersion1_9OrLater and isVersion1_13OrLater methods.
  12. Improved the getParticleTypeFromConfig method in the EnderPearlListener class to handle invalid particle types gracefully, falling back to a default value and logging a warning message.
  13. Enhanced the onProjectileLaunch method in the EnderPearlListener class to start a new BukkitRunnable for each Ender Pearl launched, allowing for more granular control over the particle trail and water speed modification.
  14. Improved the spawnParticle method in the EnderPearlListener class to handle version differences between Minecraft versions, using either the Particle or Effect class based on the server version.
  15. Removed unnecessary imports and variables.
Features & Enhancements:
  1. Added a new configuration option spawnEndermite to control the spawning of Endermites when Ender Pearls are thrown.
  2. By default, Endermites will spawn (spawnEndermite: true). Set to false to prevent Endermite spawning.
  3. Added a predictive algorithm to determine the likely landing spot of the Ender Pearl, ensuring safer teleportation for players. (Experimental)
  4. The predictLandingLocation method calculates the expected landing location based on the pearl's current position and velocity. (Experimental)
  5. Added a safety mechanism to find a secure location around the predicted landing spot of the Ender Pearl. (Experimental)
  6. The findSafeLocation method checks surrounding blocks to ensure the player is teleported to a safe spot, either in water or on land. (Experimental)
Bug Fixes & Improvements:
  1. Added an event handler onEndermiteSpawn to monitor and control Endermite spawning based on the spawnEndermite configuration.
  2. Endermites will not spawn if the configuration is set to false.

Features & Enhancements:​

  1. Modified the handling of the enabledWorld configuration value to fall back to "world" if it's either missing or set to an empty string.
  2. Added a validation for the language configuration value against a list of supported languages. If the specified language is not in this list or if it's missing, the default value of "en" is used.

Bug Fixes & Improvements:​

  1. Added a safety check for the enableParticleTrail boolean value. If it's missing or not a boolean, the default value of true is used.
  2. Adjusted the handling of the particleType configuration value. If the specified value is not a valid Particle enum or if it's missing, the default value of FIREWORKS_SPARK is used.
  3. Modified the handling of the waterSpeedMultiplier configuration value. If it's missing or not a double, the default value of 1.5 is used.
EULA: Free EULA
2,447 Views
99 Downloads
Sep 11, 2023 Published
Apr 15, 2024 Updated
5.00 star(s)
Average rating (3)
11.8 KB File size
Type
  1. Gameplay
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.8
  1. 1.13
  1. 1.14
  1. 1.15
  1. 1.16
  1. 1.17
  1. 1.18
  1. 1.19
  1. 1.20
Creator
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 140 ratings
4,236 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 54 ratings
3,235 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 45 ratings
3,135 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 72 ratings
2,824 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 72 ratings
2,587 purchases
2,447 Views
99 Downloads
Sep 11, 2023 Published
Apr 15, 2024 Updated
5.00 star(s)
Average rating (3)
11.8 KB File size
Type
  1. Gameplay
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.8
  1. 1.13
  1. 1.14
  1. 1.15
  1. 1.16
  1. 1.17
  1. 1.18
  1. 1.19
  1. 1.20
Creator
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 140 ratings
4,236 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 54 ratings
3,235 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 45 ratings
3,135 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 72 ratings
2,824 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 72 ratings
2,587 purchases
Top