* Add option to play a sound when a leash snaps
* Add option to configure the snap sound
* Replace for loop
* WARNING: Code has been updated
* Support custom sounds
A new Build.run.xml file has been introduced to configure the Gradle Run for the project. It includes the setup for tasks like "clean" and "shadowJar", as well as configuration options for the external system and run environment.
Descriptions were added for two modules - SnowGolemShearDropsPumpkinModule and RandomColorJebSheepShearModule. These comments in JavaDoc format will help in better understanding the functionality of these modules by giving an insight into their purpose and behavior.
The "Material" and "ItemStack" imports in SnowGolemShearDropsPumpkinModule.java file were removed as they were unutilized. This change streamlines the code by removing unnecessary imports that were adding clutter.
Revised the return condition in SnowGolemShearDropsPumpkinModule. The prior condition was inverting the expected behavior, resulting in undesired outcomes. Additionally, the drop method upon shearing has been reset to generate an empty list rather than CARVED_PUMPKIN. This applies to both PlayerShearEntityEvent and BlockShearEntityEvent.
Corrected the return condition in the JebSheepShearModule. Previously, the function would mistakenly exit for Jeb Sheep entities due to an incorrect use of return condition. Now it appropriately handles Jeb Sheep entities for both PlayerShearEntityEvent and BlockShearEntityEvent.
Created a new module, SnowGolemShearDropsPumpkinModule, which triggers a pumpkin drop when a snow golem is sheared. This is based on a configurable setting, providing flexibility to the server admins to customize the game behavior.
Implemented a new module, RandomColorJebSheepShearModule, that changes the wool color when shearing a jeb_ sheep. Different wool colors are selected randomly from a list of all possible wool colors, creating a unique and playful user experience.
Updated the purpur-api dependency from 1.20-R0.1-SNAPSHOT to 1.20.4-R0.1-SNAPSHOT. Furthermore, the plugin version was upgraded in the build.gradle.kts from 1.28.2 to 1.29.0.
Added two new permissions "purpurextras.openirondoors" and "purpurextras.openirontrapdoors" to OpenIronDoorsWithHandModule. These permissions allow players to open iron doors and trapdoors with their hands, and are checked before the action occurs to ensure proper access control.