What you can add#
Custom StonesThe gauntlet_stones format. Make any item fit in the Infinity Gauntlet and Cosmi-Rod, with its own color, glint, tooltip, head slot support and power.
Gauntlet Skin FilesThe gauntlet_skins format: add an Infinity Gauntlet skin with one JSON file and its textures, including custom models, glow layers and replacement rules.
Custom GauntletsThe gauntlets format: make an item or power from another mod work as an Infinity Gauntlet, with stones drawn on the player model.
Ground ItemsThe ground_items format: make any item lie on the ground like the Infinity Stones, break open into other items, combine, or be drawn by a Palladium power.
Ability OverlaysTheme any power or ability in Palladium's skill tree with a JSON file in a resource pack, mod or addon pack. Colors, frames, icons, backgrounds and window art.| System | Folder | One file per |
|---|---|---|
| Gauntlet stones | data/ | item that fits in the gauntlet |
| Gauntlet skins | data/ | skin |
| Custom gauntlets | data/ | item or power that acts as a gauntlet |
| Ground items | data/ | item that lies on the ground like a stone |
| Ability overlays | assets/ | power or ability themed in the skill tree (a resource, so it can go in a resource pack) |
Palladium powers | data/ | power, using the mod's ability types and conditions if you want |
How these files are read#
- They always go in the
infinitynamespace folder (data/infinity/…) of your pack or mod. The file name is the ID. - The mod reads them from every mod and every pack in the
addonpacksfolder. If two packs have a file with the same name, the higher priority pack wins, so an addon can replace one of the mod's own files. - File names starting with
_are skipped, which is handy for templates and switched off files. - They're only read when the game starts, so restart after changing them.
/reloadwon't pick them up. - A bad value falls back to its default and a broken file is skipped. Either way it gets logged once
(
Gauntlet stone <id>: …,Gauntlet skin …,Custom gauntlet …,Ground item …), so checklogs/latest.logif something doesn't show up.
Making an addon pack#
Infinity Stone Core is a
Palladium addon itself, and its content uses
Palladium's addon pack format. The easiest way to add to it is your
own addon pack: a folder (or zip) in .minecraft/ with data, assets and
Palladium's addon/ folder for new
items and blocks. The pack format itself is covered in Palladium's documentation,
and the Palladium addon pack template generator makes an empty
pack to start from.
The examples on these pages come from infinity_test_stone, a working test pack that adds a pink Test Stone:
infinity_test_stone/
├── pack.mcmeta
├── addon/infinity_test_stone/items/test_stone.json the item (a Palladium addon item)
├── assets/infinity_test_stone/models/item/test_stone.json {"parent": "infinity:item/infinity_stone"}
├── assets/infinity_test_stone/lang/en_us.json the item's name
├── assets/infinity_test_stone/ability_overlays/illusions.json optional, themes one ability in the skill tree
├── data/infinity_test_stone/palladium/powers/test_stone.json the stone's power and abilities
├── data/infinity/gauntlet_stones/test_stone.json makes it fit in the gauntlet
└── data/infinity/ground_items/test_stone.json optional, makes it lie on the ground like a stonepack.mcmeta
{
"pack": {
"id": "infinity_test_stone",
"version": "1.0.0",
"description": "Test Gauntlet Stone addon for Pugmeowla's Infinity Stone Core",
"pack_format": 15
},
"dependencies": {
"common": {
"infinity": ">=7.4"
}
}
}Item
{
"max_stack_size": 1,
"rarity": "epic",
"is_fire_resistant": true,
"creative_mode_tab": {
"tab": "infinity:infinity",
"after": "infinity:mind_stone"
}
}Name
{
"item.infinity_test_stone.test_stone": "Test Stone"
}The same files work in a normal mod's src/.
Using the mod's powers#
- The stone powers are
infinity:,power_stone infinity:,space_stone infinity:,reality_stone infinity:,soul_stone infinity:andtime_stone infinity:. The gauntlet's ismind_stone infinity:. Check for them withinfinity_gauntlet palladium:.has_power - To check what's in a gauntlet use
infinity:. To check whether a stone is available at all usegauntlet_slot infinity:. Every condition and ability type is on the reference page.stone_equipped - To give your own power the generated skin abilities, add an entry
{"infinity:to its abilities, like the gauntlet power does. When it loads, that entry is swapped for every skin's apply ability and tree entry.generate": "gauntlet_skins"} - Scoreboard objectives you can read in conditions and energy bars:
DamageCycle(power level),SoulStorage(souls), andtickrateCycleandtimestonesidebar(Time Stone step). The oldpower_stonetomind_stoneobjectives for stones in the gauntlet are gone in 8.0: useinfinity:instead.gauntlet_slot - To let players switch part of your power off, add an
infinity:toggleability and check its setting with theinfinity:condition, like the stones' passive toggles.setting
In-game reference#
When
Palladium generates its documentation (into mods/), the mod adds its own pages under
infinity/: gauntlet_stones.html, gauntlet_skins.html, custom_gauntlets.html,
ground_items.html and ability_overlays.html. Its ability and condition types go into
Palladium's own pages. They're generated from the code, so they
always match the version you have.
Real examples#
Pugmeowla's Infintrix turns four Omnitrixes into power gauntlets: the Prototype, Recalibrated and Ultimatrix with
gloves, and the Omniverse Omnitrix with its stones around the watch face. Its own power uses infinity:: with the Power Stone in, the Omnitrix times you back in straight away, and with all six it unlocks every alien and Master Control, which a Snap burn takes away again.gauntlet_slot
Pugmeowla's Infinity Protocol makes the Iron Man MK85 suit from
Satsu's Iron Man Addon a power gauntlet, worn only
while the suit's nano gauntlet is out. With all six stones in, it also keeps refilling the suit's energy, nanites and Pym particles.- The mod's own
data/,infinity/ gauntlet_skins gauntlet_stonesandground_itemsfolders are good to copy from.
