Orestack | Custom Ores, Trees, and Resource Nodes [1.16.5 - 1.21.10] icon

Orestack | Custom Ores, Trees, and Resource Nodes [1.16.5 - 1.21.10] -----

Create custom resources and harvesting mechanics for your server!



Function System Reworked and more
- Added 'goto' action
Code (YAML):
testGotoLine:
  - do
: goto 2

  - do
: chatMessage <This function will be skipped! >

  - do
: chatMessage <You skipped function 1 and are now on function 2>
- Reworked return and stop actions, stop ends all execution everywhere, return if used inside a function it will only end execution in the current function
Code (YAML):
on-break :
  - giveIronIfPerm
  - giveGoldIfPerm
  - chatMessage <This will not be sent because stop was used >

giveIronIfPerm
:
  - if-not
: hasPermission orestack.iron
    do
: return
  - do
: giveItemToPlayer IRON_INGOT

giveGoldIfPerm
:
  - if-not
: hasPermission orestack.gold
    do
: stop
  - do
: giveItemToPlayer GOLD_INGOT
 
- Yaml library now uses case sensitive keys

- functions.yml was removed and replaced with a folder

- Added misc.yml, tools.yml and trees.yml inside /functions/ folder

- Modified trees/vanilla/ generators, now if leaves are broken the generator remains unaltered

- Added resetGenerator action, it can be used in on-break

- Fixed 3 compability issues with 1.16.5
----------, Apr 30, 2025
Resource Information
Author:
----------
Total Downloads: 8,756
First Release: Apr 23, 2021
Last Update: Today at 3:39 PM
Category: ---------------
All-Time Rating:
8 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings