Skip to content

Commit 4bb4620

Browse files
committed
always more tiny things
1 parent a073f6a commit 4bb4620

22 files changed

+181
-9
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"display": {
3+
"icon": {
4+
"item": "minecraft:glowstone_dust"
5+
},
6+
"title": {
7+
"translate": "God Thanks you"
8+
},
9+
"description": "",
10+
"show_toast": true,
11+
"announce_to_chat": true,
12+
"hidden": false,
13+
"frame": "challenge"
14+
},
15+
"criteria": {
16+
"auto":{
17+
"trigger": "impossible"
18+
}
19+
},
20+
"parent": "lthc.mage:age0_road/lthc.mage"
21+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Check for portals using
22
execute as @a at @s positioned ~ ~-1 ~ if block ~ ~ ~ barrier if entity @e[type=glow_item_frame,tag=lthc.mage.magic_portal_placed,distance=..1] run function lthc.mage:controller/magic_portal_used
33

4+
# Warden Drain
5+
execute as @a at @s if entity @e[type=warden,distance=..32] run function lthc.mage:mental_state/warden_drain
6+
47
# Prepare the recalling of the loop
58
scoreboard players set #lthc.mage.lm lthc.mage.mental_state_2 1

Datapack/data/lthc.mage/functions/core/loops/tick.mcfunction

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
scoreboard players add #lthc.mage.tmt lthc.mage.data 1
33
execute if score #lthc.mage.tmt lthc.mage.data matches 21000.. at @r[gamemode=survival] run function lthc.mage:entities/magical_trader
44

5+
# Security
6+
execute as @e[tag=lthc.mage.magical_trader] at @s run function lthc.mage:entities/magical_traders/mg_shield
7+
58
# Auto schedule
69
schedule function lthc.mage:core/loops/tick 1t replace
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
function lthc.mage:custom/crafting/result/amaxe

Datapack/data/lthc.mage/functions/custom/crafting/groups/2.mcfunction

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
## Craft checking (8 craft)
1+
## Craft checking (9 craft)
22

33
# Save the data
44
data modify storage lthc.mage:main CraftingItem set from entity @s Item.tag.ctc.traits
5+
data modify storage lthc.mage:main CraftingItemAll set from entity @s Item
56

67
# Logical Wand craft checking
78
execute if data storage lthc.mage:main CraftingItem.logical_magic run function lthc.mage:custom/crafting/check/logical_wand
@@ -23,3 +24,6 @@ execute if data storage lthc.mage:main CraftingItem.mfrmk1 run function lthc.mag
2324

2425
# Thunderbolt Chain Wand craft checking
2526
execute if data storage lthc.mage:main CraftingItem.rainbow run function lthc.mage:custom/crafting/check/thunderbolt_chain_wand
27+
28+
# Hidden Upgrade of the Mangrove Axe
29+
execute if data storage lthc.mage:main CraftingItemAll.lthc.mage.m_axerun run function lthc.mage:custom/crafting/check/amaxe
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Kill self
2+
kill @s
3+
# Give the result of the craft by looting this result
4+
loot spawn ~ ~1 ~ loot lthc.mage:item/boss_loot/advanced_mangrove_axe
5+
6+
# Play the sound of the craft
7+
playsound lthc.mage:craft master @a[distance=..7] ~ ~ ~ 1.0 1.0 0.5
8+
9+
# Particles
10+
particle electric_spark ~ ~1 ~ 0 0 0 3 32

Datapack/data/lthc.mage/functions/entities/boss/elementalized_boss_gameplay.mcfunction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ execute if score #lthc.mage.b2 lthc.mage.current_charged matches 1100 run functi
55
execute if score #lthc.mage.b2 lthc.mage.current_charged matches 1400 run function lthc.mage:entities/boss/elementalized_boss_effects/tnt_pattern_1
66
execute if score #lthc.mage.b2 lthc.mage.current_charged matches 1700 run function lthc.mage:entities/boss/elementalized_boss_effects/lightning_pattern_2
77
execute store result bossbar lthc.mage:elementalized_boss value run data get entity @s Health
8+
bossbar set lthc.mage:elementalized_boss players @a[distance=..40]

Datapack/data/lthc.mage/functions/entities/boss/mangrove_guardian_gameplay.mcfunction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ execute if score #lthc.mage.b1 lthc.mage.current_charged matches 100 run functio
22
execute if score #lthc.mage.b1 lthc.mage.current_charged matches 250 run function lthc.mage:entities/boss/mangrove_guardian_effects/build_tree_and_lake
33
execute if score #lthc.mage.b1 lthc.mage.current_charged matches 366 run function lthc.mage:entities/boss/mangrove_guardian_effects/build_tree_and_lake_and_sand_falls
44
execute store result bossbar lthc.mage:mangrove_guardian value run data get entity @s Health
5+
bossbar set lthc.mage:mangrove_guardian players @a[distance=..40]

Datapack/data/lthc.mage/functions/entities/boss/summon_elementalized_boss.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
summon pillager ~ ~ ~ {Glowing:1b,CustomNameVisible:1b,LeftHanded:1b,PersistenceRequired:1b,Health:1000f,Tags:["global.ignore","lthc.mage.entities.elementalized_boss","lthc.mage.entities","smithed.entity","smithed.strict"],CustomName:'{"translate":"Elementalized Boss","color":"#DDDDDD","bold":true,"underlined":true}',HandItems:[{id:"minecraft:crossbow",Count:1b,tag:{Enchantments:[{id:"minecraft:unbreaking",lvl:10s},{id:"minecraft:multishot",lvl:4s},{id:"minecraft:quick_charge",lvl:4s},{id:"minecraft:piercing",lvl:5s}],ChargedProjectiles:[{id:"minecraft:firework_rocket",Count:1b,tag:{Fireworks:{Flight:5b,Explosions:[{Type:1,Flicker:1b,Trail:1b,Colors:[I;16768256,1907997],FadeColors:[I;15658734,10703518]}]}}},{id:"minecraft:arrow",Count:1b},{id:"minecraft:tipped_arrow",Count:1b,tag:{CustomPotionEffects:[{Id:9b,Amplifier:1b,Duration:300,ShowParticles:0b},{Id:25b,Amplifier:1b,Duration:40,ShowParticles:0b}],Potion:"minecraft:empty",CustomPotionColor:14540253}}],Charged:1b}},{}],HandDropChances:[0.000F,0.085F],Attributes:[{Name:"generic.max_health",Base:1000},{Name:"generic.knockback_resistance",Base:1},{Name:"generic.armor",Base:0},{Name:"generic.armor_toughness",Base:0},{Name:"generic.attack_damage",Base:6}]}
1+
summon pillager ~ ~ ~ {Glowing:1b,CustomNameVisible:1b,LeftHanded:1b,PersistenceRequired:1b,Health:1000f,Tags:["global.ignore","lthc.mage.entities.elementalized_boss","lthc.mage.entities","smithed.entity","smithed.strict"],CustomName:'{"translate":"Elementalized Boss","color":"#DDDDDD","bold":true,"underlined":true}',HandItems:[{id:"minecraft:crossbow",Count:1b,tag:{Enchantments:[{id:"minecraft:unbreaking",lvl:10s},{id:"minecraft:multishot",lvl:6s},{id:"minecraft:quick_charge",lvl:6s},{id:"minecraft:piercing",lvl:8s}],ChargedProjectiles:[{id:"minecraft:firework_rocket",Count:1b,tag:{Fireworks:{Flight:5b,Explosions:[{Type:1,Flicker:1b,Trail:1b,Colors:[I;16768256,1907997],FadeColors:[I;15658734,10703518]}]}}},{id:"minecraft:arrow",Count:1b},{id:"minecraft:tipped_arrow",Count:1b,tag:{CustomPotionEffects:[{Id:9b,Amplifier:1b,Duration:300,ShowParticles:0b},{Id:25b,Amplifier:1b,Duration:40,ShowParticles:0b}],Potion:"minecraft:empty",CustomPotionColor:14540253}}],Charged:1b}},{}],HandDropChances:[0.000F,0.000F],Attributes:[{Name:"generic.max_health",Base:1000},{Name:"generic.knockback_resistance",Base:4},{Name:"generic.armor",Base:10},{Name:"generic.armor_toughness",Base:2},{Name:"generic.attack_damage",Base:6}]}
22
function lthc.mage:entities/boss/elementalized_boss_effects/zombie_pattern_0
33
function lthc.mage:entities/boss/elementalized_boss_effects/zombie_pattern_0
44
function lthc.mage:entities/boss/elementalized_boss_effects/zombie_pattern_0
@@ -14,4 +14,4 @@ bossbar set lthc.mage:elementalized_boss color white
1414
bossbar set lthc.mage:elementalized_boss max 1000
1515
bossbar set lthc.mage:elementalized_boss style notched_10
1616
bossbar set lthc.mage:elementalized_boss value 1000
17-
bossbar set lthc.mage:elementalized_boss players @a[distance=..19]
17+
bossbar set lthc.mage:elementalized_boss players @a[distance=..40]

Datapack/data/lthc.mage/functions/entities/boss/summon_mangrove_guardian.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
summon vindicator ~ ~1 ~ {Glowing:1b,CustomNameVisible:1b,LeftHanded:1b,PersistenceRequired:1b,Health:270f,Tags:["lthc.mage.entities.mangrove_guardian","global.ignore","lthc.mage.entities","smithed.entity","smithed.strict"],CustomName:'{"translate":"Mangrove Guardian","color":"#527C3D","bold":true,"underlined":true}',HandItems:[{id:"minecraft:iron_axe",Count:1b,tag:{CustomModelData:170000,Unbreakable:1b,lthc.mage.to_kill:1b,lthc.mage.m_axe:1b,display:{Name:'{"translate":"Mangrove Axe","color":"#527C3D","bold":true,"underlined":true}'},Enchantments:[{id:"minecraft:sharpness",lvl:3s},{id:"minecraft:smite",lvl:1s},{id:"minecraft:bane_of_arthropods",lvl:1s},{id:"minecraft:efficiency",lvl:3s},{id:"minecraft:unbreaking",lvl:3s}]}},{}],HandDropChances:[0.250F,0.085F],Attributes:[{Name:"generic.max_health",Base:270},{Name:"generic.knockback_resistance",Base:1.0},{Name:"generic.attack_damage",Base:4},{Name:"generic.armor",Base:8},{Name:"generic.armor_toughness",Base:1},{Name:"generic.attack_knockback",Base:2}]}
1+
summon vindicator ~ ~1 ~ {Glowing:1b,CustomNameVisible:1b,LeftHanded:1b,PersistenceRequired:1b,Health:270f,Tags:["lthc.mage.entities.mangrove_guardian","global.ignore","lthc.mage.entities","smithed.entity","smithed.strict"],CustomName:'{"translate":"Mangrove Guardian","color":"#527C3D","bold":true,"underlined":true}',HandItems:[{id:"minecraft:iron_axe",Count:1b,tag:{CustomModelData:170000,Unbreakable:1b,lthc.mage.to_kill:1b,lthc.mage.m_axe:1b,display:{Name:'{"translate":"Mangrove Axe","color":"#527C3D","bold":true,"underlined":true}'},Enchantments:[{id:"minecraft:sharpness",lvl:3s},{id:"minecraft:smite",lvl:1s},{id:"minecraft:bane_of_arthropods",lvl:1s},{id:"minecraft:efficiency",lvl:3s},{id:"minecraft:unbreaking",lvl:3s}]}},{}],HandDropChances:[0.250F,0.085F],Attributes:[{Name:"generic.max_health",Base:270},{Name:"generic.knockback_resistance",Base:2},{Name:"generic.attack_damage",Base:4},{Name:"generic.armor",Base:8},{Name:"generic.armor_toughness",Base:1},{Name:"generic.attack_knockback",Base:2}]}
22
scoreboard players set #lthc.mage.b1 lthc.mage.data 1
33
scoreboard players set #lthc.mage.b1 lthc.mage.current_charged 0
44
playsound lthc.mage:boss_sound master @a[distance=..19] ~ ~1 ~ 0.72 1.0 0.42
@@ -9,4 +9,4 @@ bossbar set lthc.mage:mangrove_guardian color green
99
bossbar set lthc.mage:mangrove_guardian max 270
1010
bossbar set lthc.mage:mangrove_guardian style notched_10
1111
bossbar set lthc.mage:mangrove_guardian value 270
12-
bossbar set lthc.mage:mangrove_guardian players @a[distance=..19]
12+
bossbar set lthc.mage:mangrove_guardian players @a[distance=..40]
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
scoreboard players set #choosen lthc.mage.data 0
2-
execute if predicate lthc.mage:luck/8 run scoreboard players set #choosen lthc.mage.data 1
2+
execute if predicate lthc.mage:luck/25 run scoreboard players set #choosen lthc.mage.data 1
3+
execute if score #choosen lthc.mage.data matches 1 if predicate lthc.mage:luck/25 run scoreboard players set #choosen lthc.mage.data 2
4+
execute if score #choosen lthc.mage.data matches 1 if predicate lthc.mage:luck/50 run scoreboard players set #choosen lthc.mage.data 0
5+
execute if score #choosen lthc.mage.data matches 2 run function lthc.mage:entities/magical_traders/lucky_magical_trader
36
execute if score #choosen lthc.mage.data matches 1 run function lthc.mage:entities/magical_traders/psychologist_magical_trader
47
execute if score #choosen lthc.mage.data matches 0 run function lthc.mage:entities/magical_traders/common_magical_trader
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
summon villager ~ ~ ~ {Silent:1b,Invulnerable:0b,CustomNameVisible:1b,PersistenceRequired:1b,NoAI:1b,CanPickUpLoot:0b,Tags:["global.ignore","lthc.mage.magical_trader","global.forceload","lthc.mage.entities","smithed.entity","smithed.strict"],Health:800,AbsorptionAmount:4200,Attributes:[{Name:"generic.max_health",Base:800},{Name:"generic.armor",Base:6}],DeathLootTable:"lthc.mage:entities/lmagical_trader",CustomName:'{"translate":"Magical Trader","color":"#DDEEFF","bold":true,"italic":false}',VillagerData:{level:5,profession:"minecraft:cleric",type:"minecraft:swamp"},Offers:{Recipes:[ {rewardExp:0b,maxUses:1,uses:0,xp:0,buy:{id:"minecraft:stick",Count:32b},buyB:{id:"minecraft:glass",Count:1b},sell:{id:"minecraft:warped_fungus_on_a_stick",Count:1b,tag:{lthc.mage.custom_items:1b,display:{Name:'{"translate":"Mage Wand","color":"#DDEEFF","italic":false}'},Unbreakable:1b,CustomModelData:170000,ctc:{traits:{"magic/wands":1b,"magic/functional/item":1b,item:1b},id:'mage_wand',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:5,uses:0,xp:0,buy:{id:"minecraft:acacia_log",Count:10b},buyB:{id:"minecraft:bucket",Count:1b},sell:{id:"minecraft:barrel",Count:1b,tag:{BlockEntityTag:{Lock:"LTHCMage_L"},lthc.mage.custom_items:1b,display:{Name:'{"translate":"Acacia Collector Pylon","color":"#DDEEFF","italic":false}'},CustomModelData:170000,ctc:{traits:{"magic/collector/pylon":1b,"magic/functional/block":1b,block:1b},id:'acacia_collector_pylon',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:5,uses:0,xp:0,buy:{id:"minecraft:birch_log",Count:10b},buyB:{id:"minecraft:bucket",Count:1b},sell:{id:"minecraft:barrel",Count:1b,tag:{BlockEntityTag:{Lock:"LTHCMage_L"},lthc.mage.custom_items:1b,display:{Name:'{"translate":"Birch Collector Pylon","color":"#DDEEFF","italic":false}'},CustomModelData:170001,ctc:{traits:{"magic/collector/pylon":1b,"magic/functional/block":1b,block:1b},id:'birch_collector_pylon',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:5,uses:0,xp:0,buy:{id:"minecraft:crimson_stem",Count:10b},buyB:{id:"minecraft:bucket",Count:1b},sell:{id:"minecraft:barrel",Count:1b,tag:{BlockEntityTag:{Lock:"LTHCMage_L"},lthc.mage.custom_items:1b,display:{Name:'{"translate":"Crimson Collector Pylon","color":"#DDEEFF","italic":false}'},CustomModelData:170002,ctc:{traits:{"magic/collector/pylon":1b,"magic/functional/block":1b,block:1b},id:'crimson_collector_pylon',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:5,uses:0,xp:0,buy:{id:"minecraft:dark_oak_log",Count:10b},buyB:{id:"minecraft:bucket",Count:1b},sell:{id:"minecraft:barrel",Count:1b,tag:{BlockEntityTag:{Lock:"LTHCMage_L"},lthc.mage.custom_items:1b,display:{Name:'{"translate":"Dark Oak Collector Pylon","color":"#DDEEFF","italic":false}'},CustomModelData:170003,ctc:{traits:{"magic/collector/pylon":1b,"magic/functional/block":1b,block:1b},id:'dark_oak_collector_pylon',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:5,uses:0,xp:0,buy:{id:"minecraft:jungle_log",Count:10b},buyB:{id:"minecraft:bucket",Count:1b},sell:{id:"minecraft:barrel",Count:1b,tag:{BlockEntityTag:{Lock:"LTHCMage_L"},lthc.mage.custom_items:1b,display:{Name:'{"translate":"Jungle Collector Pylon","color":"#DDEEFF","italic":false}'},CustomModelData:170004,ctc:{traits:{"magic/collector/pylon":1b,"magic/functional/block":1b,block:1b},id:'jungle_collector_pylon',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:5,uses:0,xp:0,buy:{id:"minecraft:mangrove_log",Count:10b},buyB:{id:"minecraft:bucket",Count:1b},sell:{id:"minecraft:barrel",Count:1b,tag:{BlockEntityTag:{Lock:"LTHCMage_L"},lthc.mage.custom_items:1b,display:{Name:'{"translate":"Mangrove Collector Pylon","color":"#DDEEFF","italic":false}'},CustomModelData:170008,ctc:{traits:{"magic/collector/pylon":1b,"magic/functional/block":1b,block:1b},id:'mangrove_collector_pylon',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:5,uses:0,xp:0,buy:{id:"minecraft:oak_log",Count:10b},buyB:{id:"minecraft:bucket",Count:1b},sell:{id:"minecraft:barrel",Count:1b,tag:{BlockEntityTag:{Lock:"LTHCMage_L"},lthc.mage.custom_items:1b,display:{Name:'{"translate":"Oak Collector Pylon","color":"#DDEEFF","italic":false}'},CustomModelData:170005,ctc:{traits:{"magic/collector/pylon":1b,"magic/functional/block":1b,block:1b},id:'oak_collector_pylon',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:5,uses:0,xp:0,buy:{id:"minecraft:spruce_log",Count:10b},buyB:{id:"minecraft:bucket",Count:1b},sell:{id:"minecraft:barrel",Count:1b,tag:{BlockEntityTag:{Lock:"LTHCMage_L"},lthc.mage.custom_items:1b,display:{Name:'{"translate":"Spruce Collector Pylon","color":"#DDEEFF","italic":false}'},CustomModelData:170006,ctc:{traits:{"magic/collector/pylon":1b,"magic/functional/block":1b,block:1b},id:'spruce_collector_pylon',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:5,uses:0,xp:0,buy:{id:"minecraft:warped_stem",Count:10b},buyB:{id:"minecraft:bucket",Count:1b},sell:{id:"minecraft:barrel",Count:1b,tag:{BlockEntityTag:{Lock:"LTHCMage_L"},lthc.mage.custom_items:1b,display:{Name:'{"translate":"Warped Collector Pylon","color":"#DDEEFF","italic":false}'},CustomModelData:170007,ctc:{traits:{"magic/collector/pylon":1b,"magic/functional/block":1b,block:1b},id:'warped_collector_pylon',from:'lthc.mage'}}}}, {rewardExp:0b,maxUses:18,uses:0,xp:0,buy:{id:"minecraft:command_block",Count:5b,tag:{lthc.mage.custom_items:1b,ctc: {traits: {"magic/essences":1b, item:1b}, id: "thermo_essence", from: "lthc.mage"},CustomModelData: 170008,display: {Name:'{"translate": "Thermo Essence", "color": "#DDEEFF", "italic": false}'}}},buyB:{id:"minecraft:command_block",Count:5b,tag:{lthc.mage.custom_items:1b,ctc: {traits: {"magic/essences":1b, item:1b}, id: "aero_essence", from: "lthc.mage"},CustomModelData: 170000,display: {Name:'{"translate": "Aero Essence", "color": "#DDEEFF", "italic": false}'}}},sell:{id:"minecraft:command_block",Count:1b,tag:{lthc.mage.custom_items:1b,ctc: {traits: {"magic/essences":1b, item:1b, gas:1b}, id: "gas_essence", from: "lthc.mage"},CustomModelData: 170005,display: {Name:'{"translate": "Gas Essence", "color": "#DDEEFF", "italic": false}'}}}}, {rewardExp:0b,maxUses:18,uses:0,xp:0,buy:{id:"minecraft:command_block",Count:10b,tag:{lthc.mage.custom_items:1b,ctc: {traits: {"magic/essences":1b, item:1b}, id: "aero_essence", from: "lthc.mage"},CustomModelData: 170000,display: {Name:'{"translate": "Aero Essence", "color": "#DDEEFF", "italic": false}'}}},sell:{id:"minecraft:command_block",Count:1b,tag:{lthc.mage.custom_items:1b,ctc: {traits: {"magic/essences":1b, item:1b, celestial:1b}, id: "celestial_essence", from: "lthc.mage"},CustomModelData: 170001,display: {Name:'{"translate": "Celestial Essence", "color": "#DDEEFF", "italic": false}'}}}}, {rewardExp:0b,maxUses:18,uses:0,xp:0,buy:{id:"minecraft:command_block",Count:5b,tag:{lthc.mage.custom_items:1b,ctc: {traits: {"magic/essences":1b, item:1b}, id: "hydro_essence", from: "lthc.mage"},CustomModelData: 170006,display: {Name:'{"translate": "Hydro Essence", "color": "#DDEEFF", "italic": false}'}}},buyB:{id:"minecraft:command_block",Count:5b,tag:{lthc.mage.custom_items:1b,ctc: {traits: {"magic/essences":1b, item:1b}, id: "phyto_essence", from: "lthc.mage"},CustomModelData: 170007,display: {Name:'{"translate": "Phyto Essence", "color": "#DDEEFF", "italic": false}'}}},sell:{id:"minecraft:command_block",Count:1b,tag:{lthc.mage.custom_items:1b,ctc: {traits: {"magic/essences":1b, item:1b, color:1b}, id: "color_essence", from: "lthc.mage"},CustomModelData: 170002,display: {Name:'{"translate": "Color Essence", "color": "#DDEEFF", "italic": false}'}}}}, {rewardExp:1b,maxUses:7,uses:0,xp:0,buy:{id:"minecraft:apple",Count:4b},buyB:{id:"minecraft:milk_bucket",Count:1b},sell:{id:"minecraft:apple",Count:2b,tag:{lthc.mage.custom_items:1b,display:{Name:'{"translate":"Pills","color":"#DDEEFF","italic":false}'},CustomModelData:170000,ctc: {traits: {"food/pills":1b, item:1b}, id: "pills", from: "lthc.mage"}}}}]}}
2+
forceload add ~ ~ ~ ~
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
execute if entity @e[type=armor_stand,distance=..2.1,nbt={Marker:1b}] run effect give @s resistance 1 255 true
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#Generate Magic Portal
22
scoreboard players set #xz_variation lthc.mage.data 400
33
scoreboard players set #max_height lthc.mage.data 400
4-
execute as @e[limit=2] run summon area_effect_cloud ~ 0 ~ {Tags:["lthc.mage.ore_pos"],Duration:0}
5-
execute as @e[type=area_effect_cloud,tag=lthc.mage.ore_pos] at @s if predicate lthc.mage:controller/dim_portal_gen unless predicate lthc.mage:components/essences/end unless predicate lthc.mage:components/essences/fungus unless predicate lthc.mage:components/essences/thermo unless predicate lthc.mage:components/essences/thermo2 run function lthc.mage:gen/portal
4+
execute as @e[limit=4] run summon area_effect_cloud ~ 0 ~ {Tags:["lthc.mage.ore_pos"],Duration:0}
5+
execute as @e[type=area_effect_cloud,tag=lthc.mage.ore_pos] at @s if predicate lthc.mage:controller/dim_portal_gen run function lthc.mage:gen/portal
66

77
#Generate Compactor
88
scoreboard players set #xz_variation lthc.mage.data 200
99
scoreboard players set #max_height lthc.mage.data 400
10-
execute as @e[limit=2] run summon area_effect_cloud ~ 0 ~ {Tags:["lthc.mage.ore_pos"],Duration:0}
10+
execute as @e[limit=6] run summon area_effect_cloud ~ 0 ~ {Tags:["lthc.mage.ore_pos"],Duration:0}
1111
execute as @e[type=area_effect_cloud,tag=lthc.mage.ore_pos] at @s run function lthc.mage:gen/compactor

Datapack/data/lthc.mage/functions/mental_state/drop_pills.mcfunction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
execute if predicate lthc.mage:luck/8 run loot give @s loot lthc.mage:item/mental_state/pills
22
execute if predicate lthc.mage:luck/8 run loot give @s loot lthc.mage:item/mental_state/pills
3+
execute if predicate lthc.mage:luck/8 run loot give @s loot lthc.mage:item/mental_state/pills
34
execute if predicate lthc.mage:luck/3 run loot give @s loot lthc.mage:item/mental_state/pills
45
execute if predicate lthc.mage:luck/1 run loot give @s loot lthc.mage:item/mental_state/pills
56
execute if predicate lthc.mage:luck/1 run loot give @s loot lthc.mage:item/mental_state/pills

0 commit comments

Comments
 (0)