Initial Inventory

Initial Inventory allows you to set what items a player who is joining the world for the first time, will start with.


You use ZenScript to actually set the inventory items, like this


mods.initialinventory.InvHandler.addStartingItem(<minecraft:dirt>, 5);


The first line will set the item in stack 5 to be dirt, if there is already a stack in slot 5, then it will set it to the next available slot.

The second line will set the item in the next available slot to a stick.


The script files go in "/scripts/" and can be named anything, aslong as they end in .zs


If you would like to support me in my modding endeavors, you can become a patron via  Patreon.


This project is sponsored by Nodecraft. Use code JARED for 30% off your first month of service!


  • To post a comment, please or register a new account.
Posts Quoted:
Clear All Quotes

About This Project

  • Project ID
  • Created
    Nov 4, 2016
  • Last Released File
    Aug 16, 2017
  • Total Downloads
  • License