Minecraft Texture Packs / Other Packs

Poker Playing Cards - Custom Model Data Resource Pack

  • check_circle Art
  • check_circle Items
  • 1,878 views, 1 today
  • 186 downloads, 0 today
  • 3
  • 3
CZghost's Avatar CZghost
Level 12 : Journeyman Modder
3
I've decided to create a Poker playing cards resource pack. This pack is designed to be used by map makers, datapack creators and server owners. Due to limitations of the game's resource pack handling in worlds and servers, you need to merge the pack contents with whatever resource pack you have already installed in your world or server.


How to install the RP


As stated, this resource pack is designed to be used as a part of your custom map or in your server. You can of course install it in your personal resource packs, inside the ".minecraft/resourcepacks" directory. True purpose however is to serve as a part of your world's resource pack or your server's resource pack. Since worlds and servers can have only one resource pack, any multiple resource packs must be merged into a single one. I assume map makers and server owners have some knowledge on how to install and merge resource packs. Don't forget to check for collisions! If multiple resource packs modify the same items, you need to merge contents of the JSON files. Check for CustomModelData numbers collisions as well! This resource pack is registered in MC Datapacks registry (resource pack has it's assigned ID number 22, check here), however I cannot guarantee there's not going to be any collision. It's for sure there won't be a collision with a resource pack or data pack registered in the same registry. But not everyone uses the same registry, not everyone uses any registry at all. You'll have to do necessary changes in case of collisions before you can start using the pack. In that case the following section no longer applies.


How to use the RP


In case you didn't do any changes into the custo model data numbers, it should have the following format:


22igtt

"i" is a single digit item ID, "g" is a single digit group ID, and "tt" is a double digit texture ID. This format has been chosen to give the textures a unique identificator.

This table shows all the textures available:


Table of textures and their model ID numbers
i# i-name g# g-name tt# tt-name Full model number
-----------------------------------------------------------------------------
1 Paper 1 Clubs 01 2 of Clubs 221101
02 3 of Clubs 221102
03 4 of Clubs 221103
04 5 of Clubs 221104
05 6 of Clubs 221105
06 7 of Clubs 221106
07 8 of Clubs 221107
08 9 of Clubs 221108
09 10 of Clubs 221109
10 Jack of Clubs 221110
11 Queen of Clubs 221111
12 King of Clubs 221112
13 Ace of Clubs 221113
2 Spades 01 2 of Spades 221201
02 3 of Spades 221202
03 4 of Spades 221203
04 5 of Spades 221204
05 6 of Spades 221205
06 7 of Spades 221206
07 8 of Spades 221207
08 9 of Spades 221208
09 10 of Spades 221209
10 Jack of Spades 221210
11 Queen of Spades 221211
12 King of Spades 221212
13 Ace of Spades 221213
3 Diamonds 01 2 of Diamonds 221301
02 3 of Diamonds 221302
03 4 of Diamonds 221303
04 5 of Diamonds 221304
05 6 of Diamonds 221305
06 7 of Diamonds 221306
07 8 of Diamonds 221307
08 9 of Diamonds 221308
09 10 of Diamonds 221309
10 Jack of Diamonds 221310
11 Queen of Diamonds 221311
12 King of Diamonds 221312
13 Ace of Diamonds 221313
4 Hearts 01 2 of Hearts 221401
02 3 of Hearts 221402
03 4 of Hearts 221403
04 5 of Hearts 221404
05 6 of Hearts 221405
06 7 of Hearts 221406
07 8 of Hearts 221407
08 9 of Hearts 221408
09 10 of Hearts 221409
10 Jack of Hearts 221410
11 Queen of Hearts 221411
12 King of Hearts 221412
13 Ace of Hearts 221413
5 Back side 01 Back side 221501
2 Sunflower 1 Poker chip 01 Poker chip 222101


Item name defines which item the texture is available for. If you want to obtain an item without any additional datapack, you need to have cheats enabled or be opped on server to give yourself an item with NBT data.



For example: To give yourself a queen of hearts card, you run following command:

/give @s minecraft:paper{CustomModelData:221411}
To give yourself a poker chip, run following commnad:

/give @s minecraft:sunflower{CustomModelData:222101}

This resource pack is best usable on semi-vanilla Survival server with "Custom Roleplay Data" datapack for best immersion and survival-style gameplay. Then you don't need to have cheats enabled or be opped on the server, and you can simply use this command on your item of choice (paper for cards, sunflower for chips):

/trigger CustomModelData set #modelnumwhere "#modelnum" refers to the model number you want to use (refer to the table above).


Credit


Please give me credit in your custom map's readme file. If you want to use the pack in your server, it's suitable to put credit in your server's website (if you have one). As long as the pack is not claimed for own, I don't mind not mentioning its usage in server's resource pack. But please give me a credit in map's readme.
Progress100% complete
Game VersionMinecraft 1.19.3
Resolution16x
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome