Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added models for ethereal variants of other cards #32

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Noxitu
Copy link
Contributor

@Noxitu Noxitu commented Jan 5, 2025

Adds item models for existing cards for their ethereal variants. They could be an alternative for crown shop.

All cards have model data exactly 50 higher than their original versions.

I didn't include common cards and legendary cards - but since this doesn't require any new textures it would be easy to add.

This definetly would require substantial changes on backends in order to support having same "card" with two different NBTs.

Something I experimented with was to modify existing card filters to accept both card variants, but use command blocks to properly filter 2nd slot of the hopper if ethereal card is used. I am not sure if you modified those filters and this is compatible - for sure card NBT is not correct:

Function for one time placing all the command blocks and other stuff:

schedule function do2:ethereal_cards/modify_card_processors 16s replace
execute unless loaded -544 40 1913 run return 0
execute unless loaded -617 36 1917 run return 0
schedule clear do2:ethereal_cards/modify_card_processors
data modify block -544 40 1913 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 125,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"≡ Speed Runner ≡"}',OriginalName: '{"color":"#3C44AA","text":"≡ Speed Runner ≡"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"≡ Speed Runner ≡"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 322, display: { Name: '{"text": "✲≡ Speed Runner ≡✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -544 38 1916 minecraft:quartz_block
setblock -544 37 1916 minecraft:glass
setblock -544 37 1916 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -548 40 1913 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 133,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"≡ Fuzzy Bunny Slippers ≡"}',OriginalName: '{"color":"#3C44AA","text":"≡ Fuzzy Bunny Slippers ≡"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"≡ Fuzzy Bunny Slippers ≡"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 313, display: { Name: '{"text": "✲≡ Fuzzy Bunny Slippers ≡✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -548 38 1916 minecraft:quartz_block
setblock -548 37 1916 minecraft:glass
setblock -548 37 1916 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -552 40 1913 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 132,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"≡ Silent Runner ≡"}',OriginalName: '{"color":"#3C44AA","text":"≡ Silent Runner ≡"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"≡ Silent Runner ≡"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 320, display: { Name: '{"text": "✲≡ Silent Runner ≡✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -552 38 1916 minecraft:quartz_block
setblock -552 37 1916 minecraft:glass
setblock -552 37 1916 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -555 40 1913 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 122,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"≡ Suit Up ≡"}',OriginalName: '{"color":"#80C71F","text":"≡ Suit Up ≡"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"≡ Suit Up ≡"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 324, display: { Name: '{"text": "✲≡ Suit Up ≡✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -555 38 1916 minecraft:quartz_block
setblock -555 37 1916 minecraft:glass
setblock -555 37 1916 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -573 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 126,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"✧ Eerie Silence ✧"}',OriginalName: '{"color":"#3C44AA","text":"✧ Eerie Silence ✧"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"✧ Eerie Silence ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 309, display: { Name: '{"text": "✲ Eerie Silence ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -573 34 1920 minecraft:quartz_block
setblock -573 33 1920 minecraft:glass
setblock -573 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -575 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 127,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"✧ Chill Step ✧"}',OriginalName: '{"color":"#3C44AA","text":"✧ Chill Step ✧"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"✧ Chill Step ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 305, display: { Name: '{"text": "✲ Chill Step ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -575 34 1920 minecraft:quartz_block
setblock -575 33 1920 minecraft:glass
setblock -575 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -577 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 130,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"✧ Pirate\'s Booty ✧"}',OriginalName: '{"text":"✧ Pirate\'s Booty ✧"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"✧ Pirate\'s Booty ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 316, display: { Name: '{"text": "✲ Pirate\'s Booty ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -577 34 1920 minecraft:quartz_block
setblock -577 33 1920 minecraft:glass
setblock -577 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -578 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 113,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Tread Lightly ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Tread Lightly ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Tread Lightly ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 326, display: { Name: '{"text": "✲ Tread Lightly ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -578 34 1920 minecraft:quartz_block
setblock -578 33 1920 minecraft:glass
setblock -578 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -580 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 112,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Frost Focus ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Frost Focus ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Frost Focus ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 312, display: { Name: '{"text": "✲ Frost Focus ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -580 34 1920 minecraft:quartz_block
setblock -580 33 1920 minecraft:glass
setblock -580 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -581 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 124,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"✧ Swagger ✧"}',OriginalName: '{"color":"#3C44AA","text":"✧ Swagger ✧"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"✧ Swagger ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 325, display: { Name: '{"text": "✲ Swagger ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -581 34 1920 minecraft:quartz_block
setblock -581 33 1920 minecraft:glass
setblock -581 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -582 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 119,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Reckless Charge ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Reckless Charge ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Reckless Charge ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 318, display: { Name: '{"text": "✲ Reckless Charge ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -582 34 1920 minecraft:quartz_block
setblock -582 33 1920 minecraft:glass
setblock -582 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -583 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 118,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Smash and Grab ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Smash and Grab ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Smash and Grab ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 321, display: { Name: '{"text": "✲ Smash and Grab ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -583 34 1920 minecraft:quartz_block
setblock -583 33 1920 minecraft:glass
setblock -583 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -585 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 123,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Adrenaline Rush ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Adrenaline Rush ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Adrenaline Rush ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 301, display: { Name: '{"text": "✲ Adrenaline Rush ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -585 34 1920 minecraft:quartz_block
setblock -585 33 1920 minecraft:glass
setblock -585 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -586 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 110,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Evasion ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Evasion ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Evasion ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 310, display: { Name: '{"text": "✲ Evasion ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -586 34 1920 minecraft:quartz_block
setblock -586 33 1920 minecraft:glass
setblock -586 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -588 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 120,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Nimble Looting ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Nimble Looting ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Nimble Looting ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 315, display: { Name: '{"text": "✲ Nimble Looting ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -588 34 1920 minecraft:quartz_block
setblock -588 33 1920 minecraft:glass
setblock -588 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -589 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 129,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"✧ Eyes on the Prize ✧"}',OriginalName: '{"color":"#3C44AA","text":"✧ Eyes on the Prize ✧"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"✧ Eyes on the Prize ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 311, display: { Name: '{"text": "✲ Eyes on the Prize ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -589 34 1920 minecraft:quartz_block
setblock -589 33 1920 minecraft:glass
setblock -589 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -591 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 128,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"✧ Dungeon Repairs ✧"}',OriginalName: '{"color":"#3C44AA","text":"✧ Dungeon Repairs ✧"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"✧ Dungeon Repairs ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 308, display: { Name: '{"text": "✲ Dungeon Repairs ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -591 34 1920 minecraft:quartz_block
setblock -591 33 1920 minecraft:glass
setblock -591 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -594 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 134,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"✧ Deepfrost ✧"}',OriginalName: '{"color":"#3C44AA","text":"✧ Deepfrost ✧"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"✧ Deepfrost ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 307, display: { Name: '{"text": "✲ Deepfrost ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -594 34 1920 minecraft:quartz_block
setblock -594 33 1920 minecraft:glass
setblock -594 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -595 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 121,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Quickstep ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Quickstep ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Quickstep ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 317, display: { Name: '{"text": "✲ Quickstep ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -595 34 1920 minecraft:quartz_block
setblock -595 33 1920 minecraft:glass
setblock -595 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -596 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 135,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"✧ Brilliance ✧"}',OriginalName: '{"color":"#3C44AA","text":"✧ Brilliance ✧"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"✧ Brilliance ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 304, display: { Name: '{"text": "✲ Brilliance ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -596 34 1920 minecraft:quartz_block
setblock -596 33 1920 minecraft:glass
setblock -596 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -603 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 111,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Loot and Scoot ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Loot and Scoot ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Loot and Scoot ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 314, display: { Name: '{"text": "✲ Loot and Scoot ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -603 34 1920 minecraft:quartz_block
setblock -603 33 1920 minecraft:glass
setblock -603 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -605 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 115,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Beast Sense ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Beast Sense ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Beast Sense ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 302, display: { Name: '{"text": "✲ Beast Sense ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -605 34 1920 minecraft:quartz_block
setblock -605 33 1920 minecraft:glass
setblock -605 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -607 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 117,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Sprint ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Sprint ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Sprint ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 323, display: { Name: '{"text": "✲ Sprint ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -607 34 1920 minecraft:quartz_block
setblock -607 33 1920 minecraft:glass
setblock -607 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -614 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 116,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Bounding Strides ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Bounding Strides ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Bounding Strides ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 303, display: { Name: '{"text": "✲ Bounding Strides ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -614 34 1920 minecraft:quartz_block
setblock -614 33 1920 minecraft:glass
setblock -614 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -615 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 114,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#80C71F","text":"✧ Second Wind ✧"}',OriginalName: '{"color":"#80C71F","text":"✧ Second Wind ✧"}',color: '#80c71f'},display: {Name: '{"color":"#80C71F","text":"✧ Second Wind ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 319, display: { Name: '{"text": "✲ Second Wind ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -615 34 1920 minecraft:quartz_block
setblock -615 33 1920 minecraft:glass
setblock -615 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }
data modify block -617 36 1917 Items set value [ {id: 'minecraft:iron_nugget',tag: {CustomModelData: 131,CustomRoleplayData: 1b,NameFormat: {ModifiedName: '{"color":"#3C44AA","text":"✧ Cold Snap ✧"}',OriginalName: '{"color":"#3C44AA","text":"✧ Cold Snap ✧"}',color: '#3c44aa'},display: {Name: '{"color":"#3C44AA","text":"✧ Cold Snap ✧"}'}},Count: 1b,Slot: 0b}, { id: "minecraft:gold_nugget", Count: 1, Slot: 1b, tag: { CustomModelData: 306, display: { Name: '{"text": "✲ Cold Snap ✲", "color": "#FED83D"}' } } }, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 18b,Slot: 2b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 3b}, {id: 'minecraft:iron_nugget',tag: {display: {Name: 'Filter Filler!'}},Count: 1b,Slot: 4b} ]
setblock -617 34 1920 minecraft:quartz_block
setblock -617 33 1920 minecraft:glass
setblock -617 33 1920 minecraft:command_block{ Command: "function do2:ethereal_cards/process_card" }

And the function called by command blocks:

execute unless data block ~ ~3 ~-3 Items[{Slot: 0b, Count: 1b}] run say Normal Card
execute unless data block ~ ~3 ~-3 Items[{Slot: 0b, Count: 1b}] run setblock ~ ~1 ~-1 minecraft:repeater[facing=south,powered=true]
execute unless data block ~ ~3 ~-3 Items[{Slot: 0b, Count: 1b}] run return 0
say Ethereal Card
setblock ~ ~1 ~-1 minecraft:glass
data modify block ~ ~3 ~-3 Items[{Slot: 1b}].Count set value 1

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant