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!
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Filters
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
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
- Functional Storage
- as well as their prerequisites
一个 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, 1x2和2x2的抽屉
添加存储升级
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
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
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources