Functional-Storage-JS

Quick rating

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

Functional-Storage-JS

No reviews yet

Allows you to add new Functional Storage Drawers and Upgrades using KubeJS!

Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
FunctionalStorageJS-1.3.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

A KubeJS Addon for Functional Storage

A KubeJS addon that allows you to directly register Functional Storage Drawers and Storage Upgrades through KubeJS scripts.

Adding Drawers

FunctionalStorageJSEvents.register((event) => {
    event.addDrawer("rubberwood", (builder) => {
        builder.log("minecraft:stone")
            .planks("minecraft:stone_bricks")
            .frontTexture("kubejs:block/aaaa/rubberwood_front")
            .sideTexture("kubejs:block/aaaa/rubberwood_side")
    })
})

`

Registering a drawer will automatically register the 1x1, 1x2, and 2x2 variants.

Adding Storage Upgrades

FunctionalStorageJSEvents.register((event) => {
    event.addUpgrade("rose_gold", (builder) => {
        builder.multiplier(8)
            .fluidMultiplier(4)
            .rangeMultiplier(2)
            .texture("kubejs:item/upgrade/rose_gold")
            .foil(true)
            .addToTab(true)
    })
})

Requirements:


一个 KubeJS 附属模组, 让你可以直接通过 KubeJS 脚本注册 功能性存储 的 储物抽屉 和 存储升级

添加抽屉

FunctionalStorageJSEvents.register((event) => {
    event.addDrawer("cmi:rubberwood", (builder) => {
        builder.log("minecraft:stone")
            .planks("minecraft:stone_bricks")
            .frontTexture("kubejs:block/aaaa/rubberwood_front")
            .sideTexture("kubejs:block/aaaa/rubberwood_side")
    })
})

注册时会同时注册1x1, 1x22x2的抽屉

添加存储升级

FunctionalStorageJSEvents.register((event) => {
    event.addUpgrade("rose_gold", (builder) => {
        builder.multiplier(8)
            .fluidMultiplier(4)
            .rangeMultiplier(2)
            .texture("kubejs:item/upgrade/rose_gold")
            .foil(true)
            .addToTab(true)
    })
})

需要:

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works