Mine Trading Cards (MTC) is a mod that adds trading cards to Minecraft.
Defeating a mob will drop one or more packs of cards, which can be opened to get the cards themselves.
These packs contain cards.
The mod comes with two editions of cards made by the mod's original creator, Tradeworld: 294 cards from the edition Minecraft, and 497 cards from the edition "Kantai Collection", for a total of 791 unique cards.
Links
The mod is open source, and the source can be found in the GitHub repository.
You can download various versions the mod on the Releases page of the mod's compiled repository.
Custom Packs
{
"id": "test_pack",
"name": "Test Pack",
"categories": [
"Minecraft Mob:2:common",
"World Item:3:common"
]
}
This pack would contain two common cards with the "Minecraft Mob"
category and three common cards with the "World Item" category.
All .json files in .minecraft/mtc/packs will be loaded as custom packs.
Full Description
Cards and packs have rarity levels. Those levels are
- Common
- Uncommon
- Rare
- Ancient
- Legendary
The mod has its own tab in creative mode for ease of use
= The cards and the Binder =
This is what the mod is all about
Cards are basic items that can be interacted with via right-clicking. Upon interaction, this will open a GUI and display the card illustration.
Cards may take a lot of space in your inventory or chests. To solve this problem I introduce to you the Binder (v3).
*slaps the binder* This baby can hold up 64 cards per slots, with 8 slots per page within 64 pages (32.768 cards)
The binder is a tool that allows you to store a great amount of cards while displaying the images to permit the user to search for a specific card easily.
You can move forward/backward 1(+), 5(++) or 10(+++) pages in one go and has two filling modes for rapid storage (shift+click);
- Standard: Will fill current page only
- Filling: Will fill current page, and if current page is full, will then fill the page(s) after
Cards cannot be found in the wild. The only way to get some is via ...
= The Packs =
Packs are consumable items that are dropped from monsters. These items on use will give up to 10 cards depending of the category and diverse parameters.
From top left;
- Edition pack: Will contain 10 cards from only one edition
- Standard pack: Will contain 10 cards. One card is guaranteed to be rare or better
- Common pack: Will contain 10 cards
- Uncommon pack: "
- Rare pack: "
- Ancient pack: "
- Legendary pack: Will contain 1 card
psa: for common, uncommon, rare and ancient packs, 10 cards, but the rarity levels within varies
Packs should not be hard to obtain, and the user is guaranteed no dupes within a given pack!
= The displayer =
Sometime you just want to rub your wealthiness in your "friends" face. Just use the displayers !
Displayers are blocks that will display the card illustration on it's face. Just remember to protect them from thieves, as anyone can access their contents.They come in two variations;
Mono, will display one card on only one face
Multi, can display up to 4 cards on the 4 cardinals directions
= Mister Cards Master =
You don't feel like going on a hunt to find your cards?
Fine, our friend the Cards Master is here.
For some ore he's willing to part with some unopened packs from his collection, how kind of him.
Getting Technical - Creating cards
= Reading and understanding a card =
Minecraft, a card is just a text file
with a specific extension. But before creating your card, let's
understand how MTC reads and use the cards.
I am assuming you know the basics of files extensions, editing and json files format
1) It will look for the 'mtc' folder with your Minecraft directory
2) It will then look for the 'mtc/editions' and 'mtc/cards' folders. If any of them is missing, aborting (aka 0 cards loaded)
3) Will then read all files within the 'editions' folder that have the extension '.json'.
{
"id":"minecraft",
"name":"Minecraft"
}
How to read an edition file;
id: The internal name for the edition. Must be composed of only alpha-numeric characters, and accepts underscore.
Any duplicate id will void the latest added.
name: What will be displayed in-game. Has no particular restrictions
-----
4) Once any editions are loaded, it will load the cards (recursive)
It will find two extensions; .cdf (card data format, old mtc format) and .json
----- cdf ----- (non case sensitve)
EditionID=minecraft
CardID=card_zombie_pigman
RarityLevel=common
Name=Zombie Pigman
Category=Minecraft Mob
DropWeight=11
IllustrationPath=Minecraft/018
EditionID: Edition associated to the card
CardID: Card unique string. Follows the same rules than 'ID' from the edition
RarityLevel: Self-explanatory. Accepts;
common, com, uncommon, unc, rare, rar, ancient, anc, legendary and leg.
Also accepts "artifact" or "art" from
old .cdf files. Will proceed to output an error message into the logs
and register the card rarity as "ancient".
Those three parameters are mandatory. Missing one ? Card is rejected. An error ? An error is written down to the game logs and the card is rejected !
Following parameters are optionals.
Name: Self-explanatory
Category: Flavor text
DropWeight: How rare this card is. Higher number means more chances
Understanding the DW; Each cards are
given a drop weight of 0 by default, lowest value which means no drop.
Of course, you can change this and set a custom one.
Imagine having two cards, card1 with a DW of 4, and card2 with a DW of 5.
card1 has 4 chances out of 9 (4 + 5) to be pulled, meanwhile card2 has a better chance (5 out of 9)
IllustrationPath: If you have an image. What is the name. (Power's notes: Now supports multiple illustrations, separate them with ":" (a colon))
The mod will look into the 'mtc/assets' folder. If the illustration is in a sub-folder, you need to specify. For the previous example, it will look into 'assets/Minecraft/018.png'. I hope I have been clear enough, if not, it's just probabilities.
An asset must be a '.png' file !
-----/cdf-----
-----json-----
{
"id":"tank_light_anc_02",
"edition":"wot_france",
"rarity":"ancient",
"name":"AMX 13 57 GF",
"category":"Light tank",
"asset":"WoT - France/lights/tank_light_anc_02",
"weight":1
}
Short; Values are the same as the '.cdf' file. Only keys change to be shorter and easier to remember. (Power's notes: asset works just like IllustrationPath with multiple illustations)
-----/json-----
5) Cards and editions by this point should all have been loaded. Minecraft will start
6) During the game, when the user finds a card, the mod will (on object pick-up) choose a random card between all weighted one, and assign it to the freshly created card.
7) If the user interacts with it (right-click), the mod will then search for the illustration and finally display it
8) Voilà
Based on the information you just read, you should be able to create your own cards in a jiffy.
Getting Technical - Data between Client and Server
Here are some questions I anticipate about how the mod will handle the differences between client and server, or missing data [SSP & SMP]
1) If the card has an asset specified but the asset is missing
> Mod will just display an error message in the chat an life will go on
2) I have installed an edition, got some pack/cards associated to this editon, then removed the edition. Is this safe to continue ?
> Yes, items will still exist in your inventory, but no interactions are possible (open, view image). You can still put them in binders or displayer
3) I have X editions on my server, but I'm not sure if my players have them
> See 2, the mod will handle it the same way
x) Will add more if deemed necessary
If you find a game breaking bug, push an issue on the GitHub.
Please check if the bug comes only from this mod before posting.
4
1
I hope you plan to add a way to sit in the boats.
1
Craft it
1
What is this? Could it be the reason it crashed? Could you put the crashlog in a spoiler too?
1
RIP M4. Let's hope M5 will be simpler and with more content.
1
Please, stop spamming and double posting. It's annoying. Everytime I click I hope for some sort of achievement, only to see someone annoying I kinda knew on another forum.
1
I want 1.9.4, but I'd prefer 1.10 if forge 1.10 is ready when you start.
1
Suggestion: Flying witch
Description: Just a normal witch, with normal (witch) health and normal (witch) attacks. Riding an immortal bat.
Arena: Glass dome leading to the void.
There is a command block to summon a salled pig riding a bat.
Landing a single hit should be hard enough.
1
This thread is just for my ideas. If you want to use one tell me. All of these mods are supposed to be cross-mod compatible.
1. More blocks {created} {http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2236322-goldensilver853s-mod-hub-cars-blocks-items-and}
2. More nuggets {created} {http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2236322-goldensilver853s-mod-hub-cars-blocks-items-and}
3.More chains armors {Link: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2460271-the-more-chain-armor-mod} {firediamond}
Nugget armors give ~33% of protection and durability of the fullmetal armor.
4. More metals.
5. Mazes
6. Fire!
7. Better AI:
8.Vanilla machines:
Casings:
Machines:
More mod ideas to come! Maybe...
1
I am working on connected textures.
Done so far:
To-do: