Releases: TheWii/integrity
Releases · TheWii/integrity
v0.9.0
Feature
- Add function hooks. A hook is a special location in a function that allows for external commands to be inserted for customization purposes. It differs from the usual
append
andprepend
operations as it's possible to create a hook anywhere, including between nested commands. Use theHook
API to create and use function hooks. (060c78c
)
from integrity import Hook
function ./load:
say Loading data pack.
Hook.create("load")
as @a[tag=!first_load]:
Hook.create("player:first_load")
tag @s add first_load
say Loaded!
with Hook.at("load"):
scoreboard players reset @a obj.test
with Hook.at("player:first_load"):
tag @s abc.testing
say I am nice.
v0.8.0
v0.7.1
v0.7.0
Feature
- Bind bolt functions to components with
setmethod
(e3857f8
) - Components now behave like dicts for setting/getting the
data
field (f34e942
)
Documentation
- Fix
components
header (fe2edd8
) - Tweak codeblocks (
a62ae74
) - Update
components
(6b0ccf9
) - Fix headers (
4277a04
) - Use rx's fork of pygments (
4ca1c13
) - Add components to index.md (
1ab49e7
) - Move component docs to separate file (
d1cbeae
) - Add workflow (
bfbf0b8
) - Add mudkip build command (
1e4a67d
) - Index.md (
5bdf4cb
)