Jump to content

Recommended Posts

Posted

A stack of "blocks" is really a ItemStack of ItemBlock.  Because ItemBlock extends Item you can use the setMaxStackSize() method.

 

So if you make your own custom ItemBlock you can change the stack size.  However, the maximum in the game seems to be 64. If you try to make it larger, then weird things will happen.  There are other threads on making stack larger than 64 and while it is probably possible it is a huge amount of work because you have to change all the inventories, the way inventories display, etc. to custom.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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