1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Itemstack size

Discussion in 'Skript' started by Riknesh, Jul 30, 2018.

Tags:
Thread Status:
Not open for further replies.
  1. Riknesh

    Riknesh Active Member

    Joined:
    Jun 9, 2017
    Messages:
    76
    Likes Received:
    2
    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
     
  2. Mr_Simba

    Mr_Simba King of the Pridelands
    Moderator Supporter

    Joined:
    Dec 9, 2016
    Messages:
    257
    Likes Received:
    55
    Medals:
    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.
     
  3. OrangeCanadian

    OrangeCanadian Active Member

    Joined:
    Aug 2, 2017
    Messages:
    72
    Likes Received:
    0
    You could just write a script that doesn't allow more then 1 MOB_SPAWNER into the players inventory,
     
  4. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,500
    Likes Received:
    107
    Medals:
    Yeah you could indeed but that's totally not what the OP wants, as far as their thread tells you...
     
    • Agree Agree x 1
  5. Riknesh

    Riknesh Active Member

    Joined:
    Jun 9, 2017
    Messages:
    76
    Likes Received:
    2
    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
     
Thread Status:
Not open for further replies.

Share This Page

Loading...