ItemsAdder
The plugin does not handle any texture. ItemsAdder provides the items, the plugin handles all the logic. The full guide and the list of the 102 expected IDs are in docs/ITEMSADDER.md.
Four ready-to-install packs are provided: itemsadder-pack/ (English textures: card name plates and pack labels in English), itemsadder-pack-fr/ (French), itemsadder-pack-es/ (Spanish) and itemsadder-pack-de/ (German). Item IDs are identical: install only one of them into plugins/ItemsAdder/contents/, then run /iazip. Each pack contains the textures of the 90 cards (item and large versions) and their holo versions, the 5 packs, the 7 boosters, the full-screen opening animation images, and textured menu backgrounds (binder cover and pages).
In short:
- Expected IDs:
tcg:<collection>_packfor packs,tcg:<card id>for cards (e.g.tcg:nature_panda) andtcg:<booster id>for boosters. Optional:tcg:<card id>_holofor holo versions. - A ready-to-use template is copied to
plugins/TCG/itemsadder/tcg_items.yml. - When ItemsAdder items are loaded (and after each
/iareload), TCG lists in the console the expected IDs that cannot be found. Those use the fallback item. - Without ItemsAdder, the plugin works fully with vanilla items (paper for cards, enchanted book for packs).
itemsadder.recognize_raw_items: true: an ItemsAdder item given outside the plugin (/iagive tcg:nature_pack, loot table...) is also recognized as a valid pack or card.
The ItemsAdder API is called through reflection, only from fr.tcg.itemsadder.ItemsAdderHook. No compile-time dependency, and no ItemsAdder call anywhere else in the code.
Version française
Every pack, booster and card can be an ItemsAdder item. The plugin fetches it by its ID, adds its PDC mark (tcg:card_id / tcg:pack_id / tcg:booster_id, plus tcg:holo for a holo card) and, by default, its lore (rarity, collection, number). Four complete ready-to-install packs are provided: itemsadder-pack/ (English textures: card name plates and pack labels in English), itemsadder-pack-fr/ (French), itemsadder-pack-es/ (Spanish) and itemsadder-pack-de/ (German). The IDs are identical: install only one of them into plugins/ItemsAdder/contents/, then run /iazip.
Setup
With one of the provided packs, steps 1 and 2 are already done. To create your own items:
- Copy the template
plugins/TCG/itemsadder/tcg_items.yml(created on first startup, also insrc/main/resources/itemsadder/) to:plugins/ItemsAdder/contents/tcg/configs/tcg_items.yml - Put the PNG textures at the paths given in the file, under
plugins/ItemsAdder/contents/tcg/textures/:item/packs/<collection>_pack.png(5 packs)item/boosters/<booster>.png(7 boosters)item/cards/<collection>/<mob>.png(90 cards)item/cards_holo/<collection>/<mob>.png(90 holo versions, optional)item/cards/unknown.png(optional placeholder)
/iazipthen/iareload(or restart).- When the items are loaded, TCG prints in the console:
- a message confirming that all 102 expected items are present (101 on 1.21.11 / 26.1, where the Sulfur Cube card is hidden), or
- the exact list of IDs that cannot be found. Those use the vanilla fallback item in the meantime.
Example ItemsAdder entry:
info:
namespace: tcg
items:
nature_panda:
display_name: "Panda"
resource:
material: PAPER
generate: true
textures:
- item/cards/nature/panda.png
Rules
- IDs come from
groups.yml(pack_itemsadder) andcards.yml(itemsadder_item, default<itemsadder.default_namespace>:<card id>). Changing an ItemsAdder ID does not break cards already handed out: they are identified by their TCG card ID, not by the ItemsAdder ID. items.override_itemsadder_name: false(default) keeps the name defined in ItemsAdder;trueforces the name fromcards.yml.items.apply_lore: trueadds the TCG lore after any ItemsAdder lore.- Placeholder for undiscovered cards:
items.unknown_card_itemsadder: "tcg:unknown_card"(optional). - Collection icon in the menu:
icon_itemsadderingroups.yml(optional). itemsadder.recognize_raw_items: true: atcg:...item obtained outside the plugin (/iagive, loot table, store) is accepted as a pack, booster or card (not as a holo card: use/tcg give <card> 1 holo).- Boosters:
boosters.yml > itemsadder(defaulttcg:<booster id>). - Holo cards: item
<card item><holo.itemsadder_suffix>(defaulttcg:nature_cow_holo). Optional and not part of the expected items list: without it, the holo card keeps the normal texture with the enchantment glint and an iridescent name. - ItemsAdder loads its items after the plugins have started. Until it is done, TCG uses the fallback items, then switches automatically (
ItemsAdderLoadDataEventevent).
Full list of expected IDs
Optional placeholder: tcg:unknown_card
Packs
| Collection | ItemsAdder ID |
|---|---|
| Nature | tcg:nature_pack |
| Monsters | tcg:monsters_pack |
| Nether | tcg:nether_pack |
| End | tcg:end_pack |
| Special | tcg:special_pack |
Boosters
| Booster | ID |
|---|---|
| Booster x3 | tcg:booster_3 |
| Premium Booster x5 | tcg:booster_5 |
| Nature Booster | tcg:booster_nature |
| Monsters Booster | tcg:booster_monsters |
| Nether Booster | tcg:booster_nether |
| End Booster | tcg:booster_end |
| Special Booster | tcg:booster_special |
Full-screen opening animation (font images, 1.4)
Shown one at a time in the subtitle, 64x64 px (scale_ratio: 64, y_position: 44). If one of them is missing, TCG uses the text animation instead (enable debug to see which one).
| Font image | When |
|---|---|
tcg:<pack>_open_idle, _open_shake_l, _open_shake_r, _open_glow, _open_tear_1, _open_tear_2, _open_burst | for every pack and booster (<pack> = its ItemsAdder id without namespace, e.g. booster_nature, nature_pack) |
tcg:card_back_open, tcg:card_back_open_flip, tcg:card_back_<rarity>_open | each card: back, back glowing in its rarity color, flip |
tcg:<card>_open, tcg:<card>_holo_open, tcg:<card>_holo_open_2 | card face, holo face (two frames that alternate) |
A custom booster or card needs its own frames to use the full-screen animation.
Cards
Nature (nature, 35 cards)
Pack: tcg:nature_pack
| # | ItemsAdder ID | Card | Mob | Rarity |
|---|---|---|---|---|
| 1 | tcg:nature_cow | Cow | COW | COMMON |
| 2 | tcg:nature_pig | Pig | PIG | COMMON |
| 3 | tcg:nature_sheep | Sheep | SHEEP | COMMON |
| 4 | tcg:nature_chicken | Chicken | CHICKEN | COMMON |
| 5 | tcg:nature_rabbit | Rabbit | RABBIT | COMMON |
| 6 | tcg:nature_horse | Horse | HORSE | COMMON |
| 7 | tcg:nature_donkey | Donkey | DONKEY | COMMON |
| 8 | tcg:nature_cod | Cod | COD | COMMON |
| 9 | tcg:nature_salmon | Salmon | SALMON | COMMON |
| 10 | tcg:nature_squid | Squid | SQUID | COMMON |
| 11 | tcg:nature_bat | Bat | BAT | COMMON |
| 12 | tcg:nature_tropical_fish | Tropical Fish | TROPICAL_FISH | COMMON |
| 13 | tcg:nature_mule | Mule | MULE | RARE |
| 14 | tcg:nature_llama | Llama | LLAMA | RARE |
| 15 | tcg:nature_goat | Goat | GOAT | RARE |
| 16 | tcg:nature_wolf | Wolf | WOLF | RARE |
| 17 | tcg:nature_fox | Fox | FOX | RARE |
| 18 | tcg:nature_cat | Cat | CAT | RARE |
| 19 | tcg:nature_ocelot | Ocelot | OCELOT | RARE |
| 20 | tcg:nature_bee | Bee | BEE | RARE |
| 21 | tcg:nature_turtle | Turtle | TURTLE | RARE |
| 22 | tcg:nature_glow_squid | Glow Squid | GLOW_SQUID | RARE |
| 23 | tcg:nature_pufferfish | Pufferfish | PUFFERFISH | RARE |
| 24 | tcg:nature_frog | Frog | FROG | RARE |
| 25 | tcg:nature_tadpole | Tadpole | TADPOLE | RARE |
| 26 | tcg:nature_camel | Camel | CAMEL | RARE |
| 27 | tcg:nature_parrot | Parrot | PARROT | EPIC |
| 28 | tcg:nature_panda | Panda | PANDA | EPIC |
| 29 | tcg:nature_polar_bear | Polar Bear | POLAR_BEAR | EPIC |
| 30 | tcg:nature_dolphin | Dolphin | DOLPHIN | EPIC |
| 31 | tcg:nature_axolotl | Axolotl | AXOLOTL | EPIC |
| 32 | tcg:nature_armadillo | Armadillo | ARMADILLO | EPIC |
| 33 | tcg:nature_mooshroom | Mooshroom | MOOSHROOM | EPIC |
| 34 | tcg:nature_nautilus | Nautilus | NAUTILUS | EPIC |
| 35 | tcg:nature_sniffer | Sniffer | SNIFFER | LEGENDARY |
Monsters (monsters, 29 cards)
Pack: tcg:monsters_pack
| # | ItemsAdder ID | Card | Mob | Rarity |
|---|---|---|---|---|
| 1 | tcg:monsters_zombie | Zombie | ZOMBIE | COMMON |
| 2 | tcg:monsters_skeleton | Skeleton | SKELETON | COMMON |
| 3 | tcg:monsters_creeper | Creeper | CREEPER | COMMON |
| 4 | tcg:monsters_spider | Spider | SPIDER | COMMON |
| 5 | tcg:monsters_husk | Husk | HUSK | COMMON |
| 6 | tcg:monsters_drowned | Drowned | DROWNED | COMMON |
| 7 | tcg:monsters_stray | Stray | STRAY | COMMON |
| 8 | tcg:monsters_slime | Slime | SLIME | COMMON |
| 9 | tcg:monsters_cave_spider | Cave Spider | CAVE_SPIDER | RARE |
| 10 | tcg:monsters_enderman | Enderman | ENDERMAN | RARE |
| 11 | tcg:monsters_witch | Witch | WITCH | RARE |
| 12 | tcg:monsters_phantom | Phantom | PHANTOM | RARE |
| 13 | tcg:monsters_pillager | Pillager | PILLAGER | RARE |
| 14 | tcg:monsters_silverfish | Silverfish | SILVERFISH | RARE |
| 15 | tcg:monsters_endermite | Endermite | ENDERMITE | RARE |
| 16 | tcg:monsters_guardian | Guardian | GUARDIAN | RARE |
| 17 | tcg:monsters_bogged | Bogged | BOGGED | RARE |
| 18 | tcg:monsters_parched | Parched | PARCHED | RARE |
| 19 | tcg:monsters_vindicator | Vindicator | VINDICATOR | EPIC |
| 20 | tcg:monsters_evoker | Evoker | EVOKER | EPIC |
| 21 | tcg:monsters_vex | Vex | VEX | EPIC |
| 22 | tcg:monsters_ravager | Ravager | RAVAGER | EPIC |
| 23 | tcg:monsters_breeze | Breeze | BREEZE | EPIC |
| 24 | tcg:monsters_creaking | Creaking | CREAKING | EPIC |
| 25 | tcg:monsters_zombie_nautilus | Zombie Nautilus | ZOMBIE_NAUTILUS | EPIC |
| 26 | tcg:monsters_camel_husk | Camel Husk | CAMEL_HUSK | EPIC |
| 27 | tcg:monsters_sulfur_cube | Sulfur Cube | SULFUR_CUBE | EPIC |
| 28 | tcg:monsters_elder_guardian | Elder Guardian | ELDER_GUARDIAN | LEGENDARY |
| 29 | tcg:monsters_warden | Warden | WARDEN | LEGENDARY |
Nether (nether, 11 cards)
Pack: tcg:nether_pack
| # | ItemsAdder ID | Card | Mob | Rarity |
|---|---|---|---|---|
| 1 | tcg:nether_zombified_piglin | Zombified Piglin | ZOMBIFIED_PIGLIN | COMMON |
| 2 | tcg:nether_magma_cube | Magma Cube | MAGMA_CUBE | COMMON |
| 3 | tcg:nether_piglin | Piglin | PIGLIN | COMMON |
| 4 | tcg:nether_strider | Strider | STRIDER | COMMON |
| 5 | tcg:nether_blaze | Blaze | BLAZE | RARE |
| 6 | tcg:nether_ghast | Ghast | GHAST | RARE |
| 7 | tcg:nether_hoglin | Hoglin | HOGLIN | RARE |
| 8 | tcg:nether_wither_skeleton | Wither Skeleton | WITHER_SKELETON | EPIC |
| 9 | tcg:nether_piglin_brute | Piglin Brute | PIGLIN_BRUTE | EPIC |
| 10 | tcg:nether_zoglin | Zoglin | ZOGLIN | EPIC |
| 11 | tcg:nether_wither | Wither | WITHER | LEGENDARY |
End (end, 4 cards)
Pack: tcg:end_pack
| # | ItemsAdder ID | Card | Mob | Rarity |
|---|---|---|---|---|
| 1 | tcg:end_enderman | End Enderman | ENDERMAN | COMMON |
| 2 | tcg:end_endermite | End Endermite | ENDERMITE | RARE |
| 3 | tcg:end_shulker | Shulker | SHULKER | EPIC |
| 4 | tcg:end_ender_dragon | Ender Dragon | ENDER_DRAGON | LEGENDARY |
Special (special, 11 cards)
Pack: tcg:special_pack
| # | ItemsAdder ID | Card | Mob | Rarity |
|---|---|---|---|---|
| 1 | tcg:special_villager | Villager | VILLAGER | COMMON |
| 2 | tcg:special_snow_golem | Snow Golem | SNOW_GOLEM | COMMON |
| 3 | tcg:special_zombie_villager | Zombie Villager | ZOMBIE_VILLAGER | COMMON |
| 4 | tcg:special_wandering_trader | Wandering Trader | WANDERING_TRADER | RARE |
| 5 | tcg:special_trader_llama | Trader Llama | TRADER_LLAMA | RARE |
| 6 | tcg:special_iron_golem | Iron Golem | IRON_GOLEM | RARE |
| 7 | tcg:special_copper_golem | Copper Golem | COPPER_GOLEM | RARE |
| 8 | tcg:special_allay | Allay | ALLAY | EPIC |
| 9 | tcg:special_skeleton_horse | Skeleton Horse | SKELETON_HORSE | EPIC |
| 10 | tcg:special_zombie_horse | Zombie Horse | ZOMBIE_HORSE | EPIC |
| 11 | tcg:special_happy_ghast | Happy Ghast | HAPPY_GHAST | LEGENDARY |
tcg:monsters_sulfur_cube (mob added in Minecraft 26.2) is only used on 26.2 and newer servers.