Passing API version of Spigot to 1.20.1. The plugin is not compatible anymore in version 1.19.x and lower of Minecraft.
Add new properties of Minecraft 1.20.1 :
Brushable : Apply on Suspicious Block, represents how far the block is uncovered. The value goes from 0 to 3. 0 is the value when a suspicious block is found naturally. In vanilla, the Brush is used to edit this property. Default durability : 3
Occupied Slot : Apply on Chiseled Bookshelf, represents if a slot of the block contains or not a book. The value is a list of five booleans, each elements of the list represents a book. If set to true, the slot contains a book. In survival, the player cannot take a book that has been placed with the debug stick. Default durability : 3
Petals : Apply on Pink Petals, represents the number of petals on the block. The value goes from 1 to 4. Default durability : 20 Be careful with this property, if using with the infinite debug stick ! A player can have an infinite quantity of petals by setting to 4, breaking it and repeat by placing a new petal.
Changing the way to store data in the debug stick. To prevent issue in the future modifications/deletions of properties. All the debug stick given is now unusables. A message (custimizable) has been added to alert the players when their debug stick is unusable.
Minor changes :
Correction of an issue that prevented files from being generated.
Add protection to cancel the use of a debug stick if another plugin cancels the interaction event. (@MCCasper)