Jump to content

MC 1.11.2 void chest (deleting items)


winnetrie

Recommended Posts

i have added this to the tileentity's update method:

for (int slot = 0; slot < this.getSizeInventory(); slot++) {
            ItemStack stack = getStackInSlot(slot);
            if (stack != null) {
                decrStackSize(slot, 1);
                
            }

It deletes really fast. Not that i bother personally, but does this has any negative effects ont he gameplay? maybe lagg or something? Should i make it slower?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.