promotional bannermobile promotional banner

Pickup Limits

Pickup Limits is a utility mod that allows modpack makes to control the number of items a player can carry or the strength of items they can equip. It also features an Item Lifetime Module, granting control over how long items exist before despawning.
Back to Files

pickuplimits-1.12.2-1.1.0.jar

File namepickuplimits-1.12.2-1.1.0.jar
Uploader
invadermonkyinvadermonky
Uploaded
Mar 17, 2025
Downloads
71
Size
89.6 KB
Mod Loaders
Forge
File ID
6317223
Type
R
Release
Supported game versions
  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:pickup-limits-1219831:6317223")

Learn more about Curse Maven

What's new

Changelog



[1.12.2-1.1.0]

Added

  • added getInvCount() method to ILimitGroup, exposing it for use in limit functions
  • added setInvCount(int) method to ILimitGroup, exposing it for use in limit functions
  • added setMessage(String) method to ILimitGroup, exposing it for use in limit functions
  • added new builder method setAllowOverLimit()
    • this method disables the limit group item dropping/unequipping, useful for complex ILimitFunctions
  • added new builder method addEnchantmentLimitAdjustment(Enchant,int,int)
    • this method allows adjusting group limits based on currently equipped enchants
  • added new builder method addPotionLimitAdjustment(Potion,int,int)
    • this method allows adjusting group limits based on active potion effects
  • added new builder method addEncumberedEffect(Potion,int)
    • this method is a simple way to allow players to exceed group limits, but will inflict them with potion effects (such as slowness or weakness)
  • added setItemLimitValueFunction(ILimitFunction) to CrT and GS Pickup Limit builders
  • added partial GroovyScript wiki support

Changed

  • pickup builder and equipment builder for CrT and GS can use either build() or register() to register limit groups
  • merged identical scripting builder methods into abstract parent class

Fixed

  • fixed a circular logic error when using ILimitGroup#getStackLimitValue(ItemStack)
    • ILimitGroup#getStackLimitValue(ItemStack) has been renamed to ILimitGroup#getDefaultLimitValue(ItemStack)
  • fixed an Item Lifetime parsing error when setting values to -32768

[1.12.2-1.0.0]

  • Initial Release

This mod has no additional files