Itemstack size

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Riknesh

Active Member
Jun 9, 2017
76
2
8
Malaysia
It is possible to change the maximum item stack size for an item. For example...i want to set the maximum stack size for a spawner to 1 while in player's inventory

Is there any way to do this? like using custom nbt or smtg else
 
There's no easy way as far as I know, but items actually can't stack if they have even slightly different NBT, so if you just gave every spawner a unique internal ID tag they wouldn't be able to stack with each other.
 
You could just write a script that doesn't allow more then 1 MOB_SPAWNER into the players inventory,
Yeah you could indeed but that's totally not what the OP wants, as far as their thread tells you...
 
You could just write a script that doesn't allow more then 1 MOB_SPAWNER into the players inventory,
well that would be dreadful if you have to pick up alot of spawners from the floor or smtg like that

for now im using lore with custom id for each spawners..it makes them unstackable
 
Status
Not open for further replies.