Public dFunctions
ModLicenseRef-All-Rights-Reserved

Public dFunctions

A datapack API Mod for fabric which allows non-op users to use specific functions

16
Downloads
1
Followers
3 months ago
Updated
📦
1
Versions

📖About Public dFunctions

d-Functions

/dfunc namespace:function nbt
(I may or may not have done this with AI xd)
allows users without op to use any functions in that specific namespace, with nbt arguments.

How to use:

  • install the mod with Fabric API
  • how to create a dfunctions:
mypack/
 └─ data/
    └─ namespace/
       └─ functions/
          └─ func/
             └─ anypublicfunctions.mcfunction

This is very usefull for dialogs :)
also you don't have to write the /func/ part into /dfunc as it redirects automatically

Known issues:

  • functions don't give any error responses, I recommend first testing with /function and then just replacing the "function" command with "dfunc"
  • while selectors like @s work, using ~ ~ ~ doesn't work yet, altho ill fix that
  • if you have any really bad issues dm me on discord: @painterflow11

Future plans:

  • support for future versions
  • perhaps make /function public, but only allow functions to be used by any1 if those functions are inside the subdirectory of the function directory