Skip to content

jens1433/ModItemPickup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

ModItemPickup

Mod that adds a list of picked up itemstacks with the stack size. Uses Eric's draggable hud base and event manager.

Important!

In EntityItem.java in onCollideWithPlayer add new ItemPickupEvent(itemstack, i).call(); after entityIn.onItemPickup(this, i);

Usage:

Add both classes to your workspace, add the thing above and register in ModInstances. (I have excluded the package and imports)

Optional: Tweak max displayed items and display time to preference.(see comments in code)

This isnt the most elegant solution and may throw the occasional error but nothing breaks it as far as I know. Feel free to optimize or make a pull request/issue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages