Links
Tags
Creators
Details
Licensed GPL-3.0-only
Published 2 months ago
Updated 3 months ago
All versions
1.0.0
Release
Spear Config 1.0.03 months ago 231
Compatibility
Minecraft: Java Edition
26.2
26.1.x
Platforms
Paper
Purpur
Changes
[1.0.0]
Breaking changes
- Replaced scalar
limits.<tier>values with independentenabledandamountfields. An enabled amount of0now blocks every craft; disabling the tier's master switch makes it unlimited. - Replaced scalar
cooldown.jabandcooldown.lungevalues with independentenabledandsecondsfields. Zero is now a valid zero-second value instead of changing whether the cooldown is enabled. - Replaced the global
announcementsboolean with independentannouncements.chatandannouncements.titleswitches, both enabled by default. - Added automatic migration from the 0.1 schema: positive legacy limits and cooldowns become enabled, zero values become disabled, and the legacy announcement value is copied to both channels.
Added
- Added
/spearconfig toggle limit <tier>,/spearconfig toggle cooldown <jab|lunge>, and/spearconfig toggle announcements <chat|title>with full tab completion. - Added exact integer entry through chat for every numeric GUI control, including
cancel, validation, timeout handling, and return to the originating page. - Added title announcements for successful crafts and newly reached tier limits.
- Added automated tests for 0.1-to-1.0 configuration migration.
Changed
- Redesigned every category page around both horizontal and vertical symmetry, with values above the true center and matching switches below.
- Rebuilt the enchantment browser as paginated three-row book controls with readable names, five visual level indicators, per-enchantment allow switches, and the global enchanting switch on the final page.
- Removed click-spam numeric adjustments in favor of direct integer entry.
- Made every custom crafting-barrier name and lore line explicitly non-italic.
Compatibility notes
CraftLimitListenerstill changesPrepareItemCraftEventresults and cancelsCraftItemEventwhen an enabled limit would be exceeded; recipe or crafting plugins acting at the same priority may compete with it.AttackCooldownListenerstill cancels Paper'sPrePlayerAttackEntityEventandEntityLungeEvent; combat plugins or ProtocolLib listeners can be sensitive to event/listener ordering.ChatInputManagerconsumes an administrator's nextAsyncChatEventwhile exact numeric input is pending; chat-formatting or moderation plugins at other priorities may observe or compete with that cancelled message.
[0.1.0]
Added
- Seven tier-aware spear crafting limits with tracked counts, explanatory blocked-recipe barriers, successful-craft tracking, announcements, and online inventory/ender-chest/nested-shulker refreshes.
- Natural spear-drop suppression for zombies, husks, zombie villagers, zombie horse and camel husk encounters, piglins, and zombified piglins.
- Independent Paper-native jab and lunge cooldowns using
PrePlayerAttackEntityEventandEntityLungeEvent. - Runtime discovery of spear-compatible enchantments through
Enchantment#canEnchantItem, with allow-list and maximum-level enforcement at enchanting tables and anvils. - Inventory-owner glow, tab-list color, dropped-item names, and interval-based position broadcasts using one shared color.
- Complete
/spearconfigcommand tree,/spearcfgand/scconfigaliases,spearconfig.admin, and full argument tab completion. - Symmetric 45-slot GUI with eight categories, consistent borders, centered controls, and uniform left/right/shift numeric adjustments.
- Java 25 Gradle build, Paper 26.1–26.2 metadata, default configuration, automated logic tests, and GPL-3.0-only project files.
Compatibility notes
CraftLimitListenerchangesPrepareItemCraftEventresults and cancelsCraftItemEventwhen limits would be exceeded; recipe or crafting plugins acting at the same priority may compete with it.MobDropListenerfiltersEntityDeathEvent#getDrops; mob-loot plugins that rewrite drops later can reintroduce or override spear drops.AttackCooldownListenercancels Paper'sPrePlayerAttackEntityEventandEntityLungeEvent; combat plugins or ProtocolLib listeners can be sensitive to event/listener ordering.- Colored glow uses the main scoreboard team
sc_wielders; scoreboard, nameplate, or permissions plugins that manage player teams can override it or be temporarily displaced while a player owns a spear.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:wK0KsjhL:IghvkJ6X"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:wK0KsjhL:IghvkJ6X"
}

