Starlight Charger - SilentChaos512/Silent-Gear GitHub Wiki
Introduction
Much like the supercharger from Silent's Gems, the starlight charger can enhance materials substantially by applying the Star Charged enchantment to them. It also requires a pseudo multi-block structure with four pillars, just like the supercharger, but only cares about the caps of the pillars.
Charge
The starlight charger gains energy during the nighttime, but only when exposed to the sky. The stored charge is used when charging a material. The amount of charge used depends on the charge tier (determined by the catalyst and pillar caps) and the tier of the material.
Chargeability Stat
Chargeability ("charge-ability", like enchantability) is a stat that determines how well a material responds to supercharging. How exactly this affects different stats varies, but most multiply the enchantment level by chargeability and do something with that. Some stats will ignore chargeability. Some stats (like durability and armor durability) have exponential increases.
The old chargeability stat from Silent's Gems is still respected by the starlight charger in 1.16.x. A new chargeability stat has been added to Silent Gear and will replace the Gems one completely in 1.17.
Catalysts
Charging requires a catalyst item in addition to a properly set up starlight charger. The available catalysts can be controlled with item tags. The defaults are listed in addition to the tags.
The tags are found in data/silentgear/tags/items/starlight_charger_catalysts/
. Simply override the tag JSON's with a data pack if you want to change/add catalysts.
tier1.json
- blaze gold dusttier2.json
- azure silver dusttier3.json
- starmetal dust
Refer to the Minecraft wiki if you are not familiar with tags: https://minecraft.gamepedia.com/Tag
Implementation Details
Charging is done through an enchantment (mostly for the glow effect), which you can only get through the charger block/structure. The enchantment has no effect on anything but materials for main parts. It is not transferred to crafted gear and has no effect on them, but the enchantment levels and other data on each part is saved in NBT (for stat recalculations, which Silent Gear does occasionally).
Enchanted Books
Enchanted books with Star Changed are meant to be unobtainable. You will sometimes find these in some mod packs. The reason for that is unknown, but is likely the fault of some mod. Star Charged enchanted books cannot be used for anything!
Setup
Pillars
Four (4) pillars must be built around the starlight charger, with the pillars being at the corners of a 7x7 square area and the charger in the center. The blocks used for the floor do not matter, nor does line of sight.
The pillars must be three (3) blocks high. Only the topmost block matters, the other two can be any block you wish.
NOTE: After you finish the pillars, give the starlight charger up to 15 seconds to detect them.
Pillar Caps
The pillar caps determine the maximum charge level that can be applied. You can still charge to lower levels by using a catalyst of that level.
- Tier 1: crimson steel block
- Tier 2: azure electrum block
- Tier 3: tyrian steel block