IMPORTANT:The port is done! ...although lacking villagers. Villagers are functional!
Overview
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.
For now, this mod is identical to the one given by Tradeworld, but I am in the process of updating it. 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.
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.
The following is copied from the original post. Full Description
= General =
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
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.
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.
Tradeworld created the original mod, I'm just continuing it. Once I've ported it to the 1.12.2 version, I might add buffs like Secrets of Grindea does (I love that game), but for now, all my effort will be towards porting it.
Rollback Post to RevisionRollBack
My Mods:
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):
The mod's GUI is really messed up (Still?). This is 1.7.10, with no mods other than Forge itself and MTC. The cards, binder, and both displayers have this issue.
Tytan_Havok, thanks for the bug report, I'll see what I can do to fix it.
TahlavosTahkura17, there will be a way, however until I finish porting the mod it will remain the same as it has been previously; that is, manually adding files.
ChuckyEpic, the 1.7.10 version is for the latest Forge 1.7.10, and the 1.12.2 version will likely be for Forge 1.12.2 14.23.5.2768, once I can get it working.
Rollback Post to RevisionRollBack
My Mods:
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):
syndicate25, the point of this mod is just to collect cards for fun. They don't do anything special if you collect the whole set, although that would be something I would consider after I finish porting it to 1.12.2.
AdamEternal, yes I am still working on this, but as I've been busy, it's been very slow (to the point that progress is practically nonexistent).
Rollback Post to RevisionRollBack
My Mods:
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):
The mod's GUI is really messed up (Still?). This is 1.7.10, with no mods other than Forge itself and MTC. The cards, binder, and both displayers have this issue.
Just rebuilt the mod, seems to be working now.
Rollback Post to RevisionRollBack
My Mods:
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):
Powerthegreat I have two things I would like to say (1) due to the fact that minecraftforums will at some point soon be archived I would recommend that when you have the chance you establish an updated curse forge page for this mod so people don't miss out on updates and (2) given that at least for the moment you are willing to at least do bug fixes for the 1.7.10 version of the mod, would it be possible for you to make a small addition to the minecraft 1.7.10 edition of the mod? the addition in question being the ability to have multiple card art for the same card and have them show up in the game. the way I imagine this would be possible is through two additions,
one of them the addition of an if then statement to the mod's code that deals with when the game follows a card's illustration path in the assets folder and would be triggered if there are multiple cards with the same string of numbers then it would check the card's cdf file for an illustration weight that matches the letter or string of letters that follows the number string.
illustration weight is the second addition and is a conditional parameter that would only be in a card's cdf file if a card has more than one possible illustration and works like how card weight does but for the card's illustration instead. you could probably use nbt data to differentiate between versions of the same card with differing illustrations and I imagine that the different illustrations might have in their card a line that says it how which illustration out of all of the ones for that card it is much like the line for which card in the edition it is i.e. illustration 14/32.
if it is possible for you to do this I would be very greatful as I am in the process of making a complete yugioh edition for this mod and the fact that each card either has to have multiples or only a single illustration can be in the game is frustrating for me
Rollback Post to RevisionRollBack
until all are one, as well as i will never stop thinking of ideas because i am not normal and i just think in ways no one else does
Whenever I look at a card in my hand, I get disconnected from my SMP server. Server doesn't crash, neither does the client.
What version are you playing on?
Is the MTC folder present on both your server and your client?
Is it a specific card, or all cards?
Edit: 1.7.10 with the MTC folder on both the server and client seems to be working for me
Edit 2: If the folder isn't present on the server, new cards don't generate, and if it isn't present on the client, an error message pops up. I can't seem to replicated this behaviour in either 1.7.10 or 1.12.2 (although the latter still has other major issues that I'm working on, such as GUIs crashing the game and cards not displaying their illustrations)
(1) due to the fact that minecraftforums will at some point soon be archived I would recommend that when you have the chance you establish an updated curse forge page for this mod so people don't miss out on updates
I'll see what I can do in getting a curse forge page up. Hopefully there won't be issues with the existing page for the previous version of the mod.
(2) given that at least for the moment you are willing to at least do bug fixes for the 1.7.10 version of the mod, would it be possible for you to make a small addition to the minecraft 1.7.10 edition of the mod? the addition in question being the ability to have multiple card art for the same card and have them show up in the game. the way I imagine this would be possible is through two additions,
one of them the addition of an if then statement to the mod's code that deals with when the game follows a card's illustration path in the assets folder and would be triggered if there are multiple cards with the same string of numbers then it would check the card's cdf file for an illustration weight that matches the letter or string of letters that follows the number string.
illustration weight is the second addition and is a conditional parameter that would only be in a card's cdf file if a card has more than one possible illustration and works like how card weight does but for the card's illustration instead. you could probably use nbt data to differentiate between versions of the same card with differing illustrations and I imagine that the different illustrations might have in their card a line that says it how which illustration out of all of the ones for that card it is much like the line for which card in the edition it is i.e. illustration 14/32.
if it is possible for you to do this I would be very greatful as I am in the process of making a complete yugioh edition for this mod and the fact that each card either has to have multiples or only a single illustration can be in the game is frustrating for me
I can see how this feature would be useful - I'll see what I can do, hopefully it's not too hard to implement.
I plan on maintaining both versions at an equivalent level for as long as I can (I'm very familiar with preferring modding 1.7.10 over 1.12.2), but for the moment, getting the port fully functional is my priority.
Rollback Post to RevisionRollBack
My Mods:
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):
Edit: 1.7.10 with the MTC folder on both the server and client seems to be working for me
Edit 2: If the folder isn't present on the server, new cards don't generate, and if it isn't present on the client, an error message pops up. I can't seem to replicated this behaviour in either 1.7.10 or 1.12.2 (although the latter still has other major issues that I'm working on, such as GUIs crashing the game and cards not displaying their illustrations)
It's got to be a mod conflict unfortunately. I was excited to use this and just make rewards using a questing mod or maybe minetweaker for optional crafting recipes or something, but it doesn't look like it's going to work for me.
It's got to be a mod conflict unfortunately. I was excited to use this and just make rewards using a questing mod or maybe minetweaker for optional crafting recipes or something, but it doesn't look like it's going to work for me.
That's unfortunate, hopefully I'll be able to find the problem at some point.
I have finished the port! It'll be here (once it gets approved).
Rollback Post to RevisionRollBack
My Mods:
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):
A continuation of Mine Trading Cards 2.1 by Tradeworld
...although lacking villagers.Villagers are functional!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
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'.
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: 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-----
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.
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):


Keep it up, I can't wait to put my touhou card set into this. :3
Tradeworld created the original mod, I'm just continuing it. Once I've ported it to the 1.12.2 version, I might add buffs like Secrets of Grindea does (I love that game), but for now, all my effort will be towards porting it.
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):


The mod's GUI is really messed up (Still?). This is 1.7.10, with no mods other than Forge itself and MTC. The cards, binder, and both displayers have this issue.
I can't wait for this mod to be fully updated to 1.12.2. Will there still be way to make your own cards/ sets??
By thy Power of Ultimate Fire you are History.
I'm thy hot headed D.E.M.O.N.S. Prince of Tahlavainia.
Never Surrender, Never Give In, Never Back Down, Fight until you are fully dead.
As I can't find it here, or on the original post, what version or forge is this mod for? I can't get it to run...
Tytan_Havok, thanks for the bug report, I'll see what I can do to fix it.
TahlavosTahkura17, there will be a way, however until I finish porting the mod it will remain the same as it has been previously; that is, manually adding files.
ChuckyEpic, the 1.7.10 version is for the latest Forge 1.7.10, and the 1.12.2 version will likely be for Forge 1.12.2 14.23.5.2768, once I can get it working.
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):


Is this still being worked on? I'd love to have MTC in 1.12.
I don't understand what the point of this mod is. Just for fun? Do the cards do anything if you collect a set or something?
syndicate25, the point of this mod is just to collect cards for fun. They don't do anything special if you collect the whole set, although that would be something I would consider after I finish porting it to 1.12.2.
AdamEternal, yes I am still working on this, but as I've been busy, it's been very slow (to the point that progress is practically nonexistent).
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):


Just rebuilt the mod, seems to be working now.
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):


Alright! I remember this from the older version. I am so glad it's being worked on again! Hope all goes well and looking forward to the newer one!
Powerthegreat I have two things I would like to say (1) due to the fact that minecraftforums will at some point soon be archived I would recommend that when you have the chance you establish an updated curse forge page for this mod so people don't miss out on updates and (2) given that at least for the moment you are willing to at least do bug fixes for the 1.7.10 version of the mod, would it be possible for you to make a small addition to the minecraft 1.7.10 edition of the mod? the addition in question being the ability to have multiple card art for the same card and have them show up in the game. the way I imagine this would be possible is through two additions,
if it is possible for you to do this I would be very greatful as I am in the process of making a complete yugioh edition for this mod and the fact that each card either has to have multiples or only a single illustration can be in the game is frustrating for me
until all are one, as well as i will never stop thinking of ideas because i am not normal and i just think in ways no one else does
Whenever I look at a card in my hand, I get disconnected from my SMP server. Server doesn't crash, neither does the client.
What version are you playing on?
Is the MTC folder present on both your server and your client?
Is it a specific card, or all cards?
Edit: 1.7.10 with the MTC folder on both the server and client seems to be working for me
Edit 2: If the folder isn't present on the server, new cards don't generate, and if it isn't present on the client, an error message pops up. I can't seem to replicated this behaviour in either 1.7.10 or 1.12.2 (although the latter still has other major issues that I'm working on, such as GUIs crashing the game and cards not displaying their illustrations)
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):


I'll see what I can do in getting a curse forge page up. Hopefully there won't be issues with the existing page for the previous version of the mod.
I can see how this feature would be useful - I'll see what I can do, hopefully it's not too hard to implement.
I plan on maintaining both versions at an equivalent level for as long as I can (I'm very familiar with preferring modding 1.7.10 over 1.12.2), but for the moment, getting the port fully functional is my priority.
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):


I cant wait for the 1.12 port
It's got to be a mod conflict unfortunately. I was excited to use this and just make rewards using a questing mod or maybe minetweaker for optional crafting recipes or something, but it doesn't look like it's going to work for me.
That's unfortunate, hopefully I'll be able to find the problem at some point.
I have finished the port! It'll be here (once it gets approved).
Originally created by Tradeworld, I'm continuing it.
Mods that I think are cool (that also happen to all be dead):


powerthegreat are there going to be villagers in the 1.7.10 version or are they already part of it?
until all are one, as well as i will never stop thinking of ideas because i am not normal and i just think in ways no one else does