promotional bannermobile promotional banner
premium banner
Allow your modular items to be charged with FE.

Description

Allows you to charge your modular items. The stored charge can offset durability consumption at a rate of 320 FE = 1 durability, and this ratio can be adjusted in the configuration file.

As a developer, you can grant items the ability to store energy by adding the "fot:fe_store" item effect in a datapack.

example material datapack

{
    "key": "example",
    "primary": 1,
    "secondary": 1,
    "tertiary": 1,
    "durability": 1,
    "integrityCost": 1,
    "integrityGain": 1,
    "magicCapacity": 1,
    "toolLevel": 1,
    "toolEfficiency": 1,
    "effects": {
        "fot:fe_store": 24000
    },
    "tints": {
        "glyph": "ff6600",
        "texture": "ff6600"
    },
    "textures": [
        "metal",
        "default"
    ],
    "material": {
        "items": [ "minecraft:glow_ink_sac" ]
    },
    "requiredTools": {
        "hammer_dig": "minecraft:wood"
    }
}