Compatibility
Minecraft: Java Edition
1.19.2–1.19.4
Platforms
Supported environments
Links
Creators
Details
Licensed MIT
Published last year
Updated last year
Changelog
This update fixes an oversight in the cost system for custom patterns which allowed players to infinitely cast if they were not able to pay for the spell.
Changes:
- Removed
getCost
method fromregisteredPatternCastEvent
. - Removed
setCost
method fromregisteredPatternCastEvent
. - Removed
setCostInDust
method fromregisteredPatternCastEvent
. - Added
tryConsumeMedia
method fromregisteredPatternCastEvent
which takes in an integer for how much media to consume, and returns an integer representing the amount it was not able to consume of the requested amount, 0 if it consumed enough, or a negative number if it over-consumed due to lack of appropriately sized media containers
Files
Metadata
Release channel
ReleaseVersion number
1.1.1Loaders
Game versions
1.19.2–1.19.4Downloads
308Publication date
July 29, 2024 at 6:24 PMPublisher

Nanorasmus
Member