Main Tick Script - northwesttrees-gaming/CCTVCraft-Forge GitHub Wiki

General

This function is linked to the "minecraft:tick" function tag.
The main use is to run a script that would have required to be used on "player tick update" or "world tick update" triggers.
This will hopefully decrease the demand on TPS for the mod.

Function

# This script will run every tick using the "minecraft:tick" tag.
# | This sets the camera max distance every tick.
execute in minecraft:overworld run cctvcraft script setCameraMaxDistance

Related Pages

Changes

  • 4.8.0
    • Added Main Tick Function Script