Custom Items

// Listen to block registry event
events.listen('item.registry', function (event) {
  // The texture for this item has to be placed in kubejs/assets/kubejs/textures/item/test_item.png
  // If you want a custom item model, you can create one in Blockbench and put it in kubejs/assets/kubejs/models/item/test_item.json
  event.create('test_item').displayName('Test Item')

Revision #1
Created Sun, Jun 28, 2020 5:19 PM by LatvianModder
Updated Sun, Jun 28, 2020 5:21 PM by LatvianModder