Each item that lies on the ground like the Infinity Stones goes into a separate file in the 'data/[your mod or pack ID]/infinity/ground_items' folder of an addon pack (in the 'addonpacks' folder) or mod, so it can't replace another mod's file of the same name (the old 'data/infinity/ground_items' folder still works). When the item is dropped or thrown it becomes a ground item: it keeps the throw's motion, is drawn as the dropped item (its model's 'ground' display transform), keeps all of the stack's NBT, can't be destroyed or despawn, isn't picked up by walking over it, and is picked up by right-clicking it. An invalid file or item is skipped and invalid values fall back to their defaults (logged as 'Ground item [id]: ...'). Restart the game after changes.
| Setting | Type | Description | Required | Fallback Value |
|---|---|---|---|---|
| item | ResourceLocation | The item. Must be registered; each item can be only one ground item | true | / |
| spin | Boolean | Whether it spins like a dropped item; otherwise it lies still on the ground, facing a random way | false | false |
| bob | Boolean | Whether it floats and bobs up and down like a dropped item; otherwise its lowest point rests on the ground | false | false |
| scale | Float | Size of the drawn item on the ground, on top of its ground display transform; held, worn and inventory rendering are unaffected. E.g. 0.5 for the Orb, whose item model is twice the size of the orb it holds in its hand. Either a number, or {"base": 1, "width": 1, "height": 1} to stretch it (width is x and z, each multiplied by base); 0 counts as 1 | false | 1 |
| width | Float | Width of the box that is right-clicked and hit, in blocks | false | 0.4 |
| height | Float | Height of the box that is right-clicked and hit, in blocks | false | 0.4 |
| unique | Boolean | If a player is carrying this item, ground items of it disappear, so a one-of-a-kind item can't be duplicated | false | false |
| release | JsonObject | Hitting it breaks it open into 'items' (item IDs, each dropped as its own ground item) with a burst of particles in 'color' (#RRGGBB, default white). If a held or worn one breaks from durability, only the unique items among them drop there. With an 'opening', it first plays that for its 'duration' in ticks (default 100, at most 1200) and can't be picked up meanwhile. Its 'effect' is "rays" (HeroesExpansion's Tesseract: rises in a growing burst of rays in the color, ending in a sphere of particles) or "plume" (the 1.12.2 Aether: squares burst out and pour upward, each a random shade between its 'colors' if given, ending in an explosion). 'model' is drawn instead of the item meanwhile, and each of its 'parts' {"model", "pivot": [x, y, z] in model pixels, "axis": x/y/z, "angle": degrees, "ticks": 20} turns open over its ticks, like the Aether's lid. Opening models are loaded only when a ground item names them, so give them the item's model as their parent to share its textures and ground transform. Ground items with a power always break open at once | false | none |
| combine | JsonArray | Right-clicking it on the ground while holding 'item' uses one up and turns it into 'result' where it lies, e.g. putting a stone into its empty container. Give the stone the reverse entry too, so it works whichever of the two is on the ground | false | [] |
| power | ResourceLocation | Instead of drawing the item, place it as an invisible small armor stand wearing the stack on its head, drawn by this Palladium power's render layers (like the Infinity Gauntlet's skin and stones). Right-click and release work the same; spin, bob, scale, width, height and unique don't apply | false | none |
| slot | String | With a power: the armor stand slot (head, chest, legs, feet, mainhand, offhand) that wears the stack, for render layers or conditions that read it. Leave it out to keep the stack hidden, so the armor stand doesn't draw it itself | false | none |
{"item":"infinity:tesseract","scale":1.5,"release":{"items":["infinity:space_stone"],"color":"#66BFFF","opening":{"effect":"rays","duration":100}},"combine":[{"item":"infinity:reality_stone","result":"infinity:aether"}],"power":"infinity:gauntlet_ground","slot":"head"}