File Details
fishtraps-1.21.1-Fabic-1.1.1.jar
- R
- Jun 16, 2026
- 63.29 KB
- 39
- 1.21.1
- Fabric
File Name
fishtraps-1.21.1-1.1.1.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
refactor(fishtraps): Refactor fish trap implementation - Remove redundant `takeStack` methods from `BaitSlot` and `OutputSlot` - Update exception messages in `BaseFishTrapBlock` to standard `UnsupportedOperationException` - Optimize code logic and performance in `BaseFishTrapBlockEntity` - Pre-calculate the `AVAILABLE_SLOTS` array to improve performance - Simplify fluid validation logic and fix potential NullPointerExceptions - Optimize "mark dirty" logic when adding items to the inventory - Remove unused `Objects` imports and simplify object comparisons - Optimize resource management for configuration file I/O