Mineuniverse
Log in Register
Mods

Quests Tweaker

A mod to integrate FTBQuests with CraftTweaker.
by blue_beaker
Download Claim this project
7,232 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Addons CraftTweaker

QuestsTweaker

A mod to integrate FTBQuests with CraftTweaker.

Features

  • Add/set progress for an existing quest from crafttweaker.
  • New 'Function' task type that runs a crafttweaker function to check progress.
  • New 'Function' reward type that runs a crafttweaker funtion on completion.

CraftTweaker API

See wiki for more documentation.

mods.questtweaker.QuestManager

Add/set progress for any existing and available task from crafttweaker:
When the task is unavailable (for example has dependencies uncompleted), this function does nothing.

QuestManager.addTaskProgress(IPlayer player, string/int id, long progress);
QuestManager.setTaskProgress(IPlayer player, string/int id, long progress);
import mods.questtweaker.QuestManager;
// Add progress
// IPlayer player, string/int id, long progress
QuestManager.addTaskProgress(event.player,"4c4bd563",1 as long);
// Or use hex int
QuestManager.addTaskProgress(event.player,0x4c4bd563,1 as long);
// Set progress
// IPlayer player, string/int id, long progress
QuestManager.setTaskProgress(event.player,"4c4bd563",1 as long);

Example when player pickups an item, set the task progress to stack size:

import mods.questtweaker.QuestManager;
events.onPlayerPickupItem(function(event as crafttweaker.event.PlayerPickupItemEvent){
    QuestManager.setTaskProgress(event.player,"52725826",event.item.item.amount as long);
});

mods.questtweaker.FunctionManager

Add a new function to use with this mod's 'Function' tasks and rewards:

FunctionManager.addFunction(string functionID, function(IPlayer) -> long);

The function must return an long.
Example 1: Player's current altitude

import mods.queststweaker.FunctionManager;
import crafttweaker.player.IPlayer;
// string functionID, function(IPlayer) -> long
FunctionManager.addFunction("height",function(player as IPlayer){
    return player.y as long;
});

Example 2: On a Rail on_a_rail.zs

FTBQuests Integration

Function Task

Executes a function peridocally, and uses its return value as the progress.
Parameters:

  • Function ID: the function ID registered in scripts.
  • Value: The value needed to complete the task.
  • Interval: The interval to run the function. Set to 0 for manual submission.

Function Reward

Executes a function when collected.
Parameters:

  • Function ID: the function ID registered in scripts.

Dummy Task

Does nothing on its own. Intended to use with the QuestManager above.
Parameters:

  • Value: The value needed to complete the task.
Quest Tweaker 1.3.1
MC Client, Forge, Server, 1.12.2
Release 2026-06-23 Get

More from blue_beaker

Difficulty Patch
958
MTE Patches
90,291
Yet Another Sleep Voting
893
Backpack Display
84,846
SilkTouch Patcher
688
KeybindsTweaker
5,030

You Might Also Like

SI: Scriptified [DISCONTINUED]
DISCONTINUED
99,868
FTB Quests Entity Visualization
Adds entity visualization to FTB Quests
99,525
JEI / REI WorldGen
JEI/REI Addon for World Gen Information with universal compatibility for all mods ores by utilizing biome generation data
99,419
Pixel Blocks
Pokemon Lucky Block! When mining the pixel block a random pokemon spawns.
9,988
TFC Bonsai
Add TFC Trees to bonsai pots
9,988
Laser Eyes
A "laser eyes" addon for the Viltrumite mod.
9,968