Modscraper Modscraper Minecraft
KubeJS ComputerCraft logo

KubeJS ComputerCraft

Mod

by Amygdaloideae

Adding ComputerCraft peripherals from KubeJS

Type

Mod

CurseForge Downloads

77,644

CurseForge ID

639126

Last Updated

Sep 12, 2026

Description

Adds support for KubeJS to add peripherals to any block.

 

Both Forge and Fabric are supported (Please check in Files tab since Recent Files will only show the latest entry)

 

Examples:

 

In startup_scripts:

 

onEvent("computercraft.peripheral", event => {     event.registerPeripheral("furnace", "furnace")         //This limits the method to 1 tick/call,         //as the method is scheduled on main thread.         .mainThreadMethod("burnTime", (container, direction, arguments) => {             return container.entityData.getInt("BurnTime")         })         //This has no limit on calling,         //however, the method can't access most of the in-world data.         //For example, accessing the NBT of a tile entity         .method("say_hi", (container, direction, arguments) => {             container.up.set("diamond_block")             return "hi, here's your diamond block"         }) })  

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (3)

External Resources