Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c218c20
Create pack.mcmeta
Lego-archer-elf Feb 9, 2020
f227db9
Create trident.json
Lego-archer-elf Feb 9, 2020
3a51f3e
Delete trident.json
Lego-archer-elf Feb 9, 2020
4b2de45
Create trident.json
Lego-archer-elf Feb 9, 2020
a932608
Create noch_apple.json
Lego-archer-elf Feb 9, 2020
9a65e22
Create elytra.json
Lego-archer-elf Feb 9, 2020
b2d7d10
Create experience_bottle.json
Lego-archer-elf Feb 9, 2020
2eea854
Create rotten_flesh.json
Lego-archer-elf Feb 9, 2020
8deecef
Create skeleton_horse.json
Lego-archer-elf Feb 9, 2020
948caff
Update and rename data/minecraft/loot_tables/skeleton_horse.json to d…
Lego-archer-elf Feb 9, 2020
e74d7ca
Create end_crystal.json
Lego-archer-elf Feb 9, 2020
a2d4747
Create player.json
Lego-archer-elf Feb 9, 2020
8db95fc
Create dragon_death.json
Lego-archer-elf Feb 9, 2020
067f5a4
Create dragon_death.mcfunction
Lego-archer-elf Feb 9, 2020
bd0490c
Create ender_dragon.json
Lego-archer-elf Feb 9, 2020
3d82a6f
Update player.json
Lego-archer-elf Feb 9, 2020
857c03a
Create chest.json
Lego-archer-elf Feb 13, 2020
bf3846f
Update trident.json
Lego-archer-elf Feb 13, 2020
5710826
Create oak_wood.json
Lego-archer-elf Feb 13, 2020
7826ea1
Create spruce_wood.json
Lego-archer-elf Feb 13, 2020
4887d9d
Create birch_wood.json
Lego-archer-elf Feb 13, 2020
f39d713
Create jungle_wood.json
Lego-archer-elf Feb 13, 2020
5bbf3d8
Create acacia_wood.json
Lego-archer-elf Feb 13, 2020
076f090
Create dark_oak_wood.json
Lego-archer-elf Feb 13, 2020
a9f31e0
Create stripped_oak_wood.json
Lego-archer-elf Feb 13, 2020
0ea2131
Create stripped_spruce_wood.json
Lego-archer-elf Feb 13, 2020
c6efb29
Create stripped_birch_wood.json
Lego-archer-elf Feb 13, 2020
89892ff
Create stripped_jungle_wood.json
Lego-archer-elf Feb 13, 2020
7e5bac6
Create stripped_acacia_wood.json
Lego-archer-elf Feb 13, 2020
fa14e89
Create stripped_dark_oak_wood.json
Lego-archer-elf Feb 13, 2020
e247a2f
Create pulse.json
Lego-archer-elf Feb 13, 2020
3c35c26
Create pulse.mcfunction
Lego-archer-elf Feb 13, 2020
3435fa9
Create root.json
Lego-archer-elf Feb 13, 2020
0ee1468
Rename data/cfc/functions/root.json to data/cfc/advancements/root.json
Lego-archer-elf Feb 13, 2020
519c6db
Update dragon_death.json
Lego-archer-elf Feb 13, 2020
95b3f56
Update dragon_death.json
Lego-archer-elf Feb 13, 2020
39e17b6
Update pulse.json
Lego-archer-elf Feb 13, 2020
ea46660
Create setup.mcfunction
Lego-archer-elf Feb 13, 2020
51340c4
Update setup.mcfunction
Lego-archer-elf Feb 13, 2020
5632ffb
Uploaded protective pigmen functions
Lego-archer-elf Feb 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions data/cfc/advancements/dragon_death.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"display":
{
"icon": {"item": "minecraft:dragon_head"},
"title": {"text": "Kill the Dragon!"},
"description": {"text": "Free the End!"},
"hidden": "true"
},
"parent": "cfc:root",
"criteria":
{
"kill":
{
"trigger": "minecraft:player_killed_entity",
"conditions":
{
"entity":
{"type": "ender_dragon"}
}
}
},
"rewards":
{
"function": "cfc:dragon_death"
}
}
14 changes: 14 additions & 0 deletions data/cfc/advancements/pulse.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parent": "cfc:root",
"criteria":
{
"pulse":
{
"trigger": "minecraft:tick"
}
},
"rewards":
{
"function": "cfc:pulse"
}
}
20 changes: 20 additions & 0 deletions data/cfc/advancements/root.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"display":
{
"icon": {"item": "minecraft:gold_block"},
"title": {"text": "Crafting For Christ"},
"description": {"text": "Welcome to the CFC SMP Server"},
"background": "minecraft:textures/blocks/stripped_oak_log_side.png"
},
"criteria":
{
"instant":
{
"trigger": "minecraft:tick"
}
},
"rewards":
{
"function": "cfc:setup"
}
}
4 changes: 4 additions & 0 deletions data/cfc/functions/dragon_death.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title @a title "Dragon Killed"
title @a actionbar [{"text": "The dragon has been slain by "},{"selector": "@s"}]

advancement revoke @s only cfc:dragon_death
3 changes: 3 additions & 0 deletions data/cfc/functions/pulse.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function cfc:quartz_test

advancement revoke @s only cfc:pulse
3 changes: 3 additions & 0 deletions data/cfc/functions/quartz_anger.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data modify entity @e[type=minecraft:zombie_pigman, nbt={Anger:0s}, distance=..32, sort=nearest, limit=1] Anger set value 400s

execute at @e[type=minecraft:zombie_pigman, nbt={Anger:0s}, distance=..32, sort=nearest, limit=1] run playsound entity.zombie_pigman.angry hostile @a ~ ~ ~ 2.0 1.0
7 changes: 7 additions & 0 deletions data/cfc/functions/quartz_test.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
execute store result score Quartz q_time run time query gametime
scoreboard players set Quartz q_dummy 10
scoreboard players operation Quartz q_time %= Quartz q_dummy

execute if score @s quartz matches 1.. if score Quartz q_time matches ..1 run function cfc:quartz_anger

scoreboard players set @s quartz 0
3 changes: 3 additions & 0 deletions data/cfc/functions/setup.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
scoreboard objectives add q_time dummy
scoreboard objectives add q_dummy dummy
scoreboard objectives add quartz minecraft.picked_up:minecraft.quartz
45 changes: 45 additions & 0 deletions data/cfc/recipes/chest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"type": "minecraft:crafting_shaped",
"pattern":
[
"LLL",
"L L",
"LLL"
],
"key":
{
"L":
[
{"item": "minecraft:oak_log"},
{"item": "minecraft:spruce_log"},
{"item": "minecraft:birch_log"},
{"item": "minecraft:jungle_log"},
{"item": "minecraft:acacia_log"},
{"item": "minecraft:dark_oak_log"},
{"item": "minecraft:stripped_oak_log"},
{"item": "minecraft:stripped_spruce_log"},
{"item": "minecraft:stripped_birch_log"},
{"item": "minecraft:stripped_jungle_log"},
{"item": "minecraft:stripped_acacia_log"},
{"item": "minecraft:stripped_dark_oak_log"},
{"item": "minecraft:oak_wood"},
{"item": "minecraft:spruce_wood"},
{"item": "minecraft:birch_wood"},
{"item": "minecraft:jungle_wood"},
{"item": "minecraft:acacia_wood"},
{"item": "minecraft:dark_oak_wood"},
{"item": "minecraft:stripped_oak_wood"},
{"item": "minecraft:stripped_spruce_wood"},
{"item": "minecraft:stripped_birch_wood"},
{"item": "minecraft:stripped_jungle_wood"},
{"item": "minecraft:stripped_acacia_wood"},
{"item": "minecraft:stripped_dark_oak_wood"}
]

},
"result":
{
"item": "minecraft:chest",
"count": 4
}
}
25 changes: 25 additions & 0 deletions data/cfc/recipes/elytra.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"type": "minecraft:crafting_shaped",
"pattern":
[
"MEM",
"MCM",
"MSM"
],
"key":
{
"M":
{"item": "minecraft:phantom_membrane"},
"E":
{"item": "minecraft:ender_eye"},
"C":
{"item": "minecraft:diamond_chestplate"},
"S":
{"item": "minecraft:nether_star"}
},
"result":
{
"item": "minecraft:elytra",
"count": 1
}
}
23 changes: 23 additions & 0 deletions data/cfc/recipes/experience_bottle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients":
[
{"item": "minecraft:quartz"},
{"item": "minecraft:quartz"},
{"item": "minecraft:quartz"},
{"item": "minecraft:quartz"},
{"item": "minecraft:quartz"},
{"item": "minecraft:quartz"},
{"item": "minecraft:glowstone_dust"},
{"item": "minecraft:glowstone_dust"},
{
"item": "minecraft:potion",
"potion": "minecraft:water"
}
],
"result":
{
"item": "minecraft:experience_bottle",
"count": 1
}
}
22 changes: 22 additions & 0 deletions data/cfc/recipes/noch_apple.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients":
[
{"item": "minecraft:golden_apple"}

,{"item": "minecraft:gold_block"}
,{"item": "minecraft:gold_block"}
,{"item": "minecraft:gold_block"}
,{"item": "minecraft:gold_block"}
,{"item": "minecraft:gold_block"}
,{"item": "minecraft:gold_block"}
,{"item": "minecraft:gold_block"}

,{"item": "minecraft:enchanted_golden_apple"}
],
"result":
{
"item": "minecraft:enchanted_golden_apple",
"count": 2
}
}
19 changes: 19 additions & 0 deletions data/cfc/recipes/rotten_flesh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients":
[
{"item": "minecraft:rotten_flesh"},
{"item": "minecraft:rotten_flesh"},
{"item": "minecraft:rotten_flesh"},
{"item": "minecraft:rotten_flesh"},
{"item": "minecraft:rotten_flesh"},
{"item": "minecraft:rotten_flesh"},
{"item": "minecraft:rotten_flesh"},
{"item": "minecraft:rotten_flesh"},
{"item": "minecraft:rotten_flesh"}
],
"result":
{
"item": "minecraft:rabbit_hide"
}
}
21 changes: 21 additions & 0 deletions data/cfc/recipes/trident.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"pattern":
[
"CCC",
" B ",
" B "
],
"key":
{
"C":
{"item": "minecraft:conduit"},
"B":
{"item": "minecraft:diamond_block"}
},
"result":
{
"item": "minecraft:trident",
"count": 1
}
}
15 changes: 15 additions & 0 deletions data/minecraft/loot_tables/entities/ender_dragon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"pools":
[
{
"rolls": 1,
"entries":
[
{
"type": "item",
"name": "minecraft:dragon_egg"
}
]
}
]
}
51 changes: 51 additions & 0 deletions data/minecraft/loot_tables/entities/player.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"pools":
[
{
"rolls": 1,
"entries":
[
{
"type": "item",
"functions":
[
{
"function": "fill_player_head",
"entity": "this"
}
],
"name": "minecraft:player_head"
}
],
"conditions":
[
{
"condition": "entity_properties",
"entity": "killer",
"predicate":
{
"type": "minecraft:player",
"equipment":
{
"mainhand":
{
"item": "minecraft:golden_axe",
"enchantments":
[
{
"enchantment": "minecraft:sharpness",
"levels": 5
},
{
"enchantment": "minecraft:fortune",
"levels": 3
}
]
}
}
}
}
]
}
]
}
65 changes: 65 additions & 0 deletions data/minecraft/loot_tables/entities/skeleton_horse.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"pools":
[
{
"rolls": 1,
"entries":
[
{
"type": "item",
"name": "minecraft:end_crystal",
"weight": 1,
"functions":
[
{
"function": "set_count",
"count": 1
},
{
"function": "looting_enchant",
"count":
{
"min": 0,
"max": 1
}
}
]
},
{
"type": "empty",
"weight": 3
}
]
},
{
"rolls": 1,
"entries":
[
{
"type": "item",
"name": "minecraft:bone",
"weight": 1,
"functions":
[
{
"function": "set_count",
"count":
{
"min": 0,
"max": 2
}
},
{
"function": "looting_enchant",
"count":
{
"min": 0,
"max": 1
}
}
]
}
]
}
]
}
Loading