A Minecraft Datapack adding a small collection of utilities for handeling some block interactions. Currently handles:
These are scoreboard objectives used to represent a value of some kind.
block_utils.data
Used for math and passing variables between functions.
Function calls are called by you to trigger certian events or features.
function block_utils:v1/api/is_active
Call on a block to check if it is powered by redstone.
Output:
#out block_utils.data: 0 for not powered, 1 for powered
BlockUtils/data/block_utils
folder into your data packBlockUtils/data/load/tags/functions/*
into the files at <your_datapack>/data/load/tags/functions/*
For easier mangament of dependencies, check out my project Datapack Build Manager.
Copyright © 2024 Smithed
Not an official Minecraft product. Not approved by or associated with Mojang Studios