Ender IO Custom Capacitors
ModMIT

Ender IO Custom Capacitors

Add Custom Capacitor Tiers to EnderIO via KubeJS or Config.

50
Downloads
3
Followers
4 months ago
Updated
📦
1
Versions

📖About Ender IO Custom Capacitors

Custom Capacitors

Add custom capacitors to EnderIO via KubeJS or Config.

This mod comes with Tier 4/5/6 capacitors by default, including their recipes.
You can also use the mod without editing anything (although that's not the intended purpose).

Features

  1. Config-based capacitors - Simply edit the TOML config file to add new tiers
  2. KubeJS integration - Create capacitors with custom textures for modpacks.
  3. In-game guide - Press G on any capacitor to open the documentation (GuideME)
  4. Capacitor Levels - Level can be any number like 3.5, 4.2, or 6.39, not just whole numbers.

Config Method
Your config file already contains an example as shown below.

[[capacitor]]
id = "tier4_capacitor"
name = "Tier 4 Capacitor"
level = 4
glow = false
color = "4488FF"

You can change the values and add as many capacitors as you want. Adding capacitors from the config file only supports color tinting in terms of textures. The hex code you enter will be applied to a base texture, and the texture's color will change.

Kubejs offers full custom texture capabilities.

Kubejs Method

It goes to startup_scripts.

StartupEvents.registry('item', event => {
    event.create('your_capacitor', 'custom_capacitors:capacitor')
    .displayName('Your Capacitor')
    .level(6)
    .glowing(true/false)
    .maxStackSize(64)
    .rarity('epic')
    .fireResistant()
    .texture('minecraft:item/iron_ingot')
})

Level defines the capacitor's power. For comparison, Octatic is level 3.
Kubejs also includes full custom texture support, unlike config.