Ponder Overrides

Quick rating

Community listing page, reviews here may not be monitored by the author.

Ponder Overrides

By ErdraghOwner

No reviews yet

Allows overriding Create's Ponders via KubeJS

Mod Loaders
Minecraft

About

Description

Ponder Overrides

This is a KubeJS and Create Addon that allows overriding which ponder gets loaded based on an Event.

This is useful for adding ponders to machines from custom machinery for example, where the blocks only differ in NBT data and not in block ID, which is usually what defines the Ponder shown.

This mod was developed for the Create: Astral modpack.

Example usage:

client_scripts/ponder.js

onEvent("ponder.override", event => {
    // Access the item and determine the ponder you want to show
    const item = event.getItem();
    // Access the tag of the ponder (This is optional and only present when opened via the Ponder UI)
    const tag = event.getTag();
    // Override the ponder id to show a different ponder. Not calling this results in the default ponder
    event.override("create:super_glue");
})

Ponder Overrides

KubeJS extension that allows overriding which ponder gets loaded based on an Event.

Example usage:

client_scripts/ponder.js

onEvent("ponder.override", event => {
    // Access the item and determine the ponder you want to show
    const item = event.getItem();
    // Access the tag of the ponder (This is optional and only present when opened via the Ponder UI)
    const tag = event.getTag();
    // Override the ponder id to show a different ponder. Not calling this results in the default ponder
    event.override("create:super_glue");
})