Recipe tweaks, unify with Custom Elytra
This commit is contained in:
parent
20a5e3c791
commit
e3a2fd1de4
10 changed files with 781 additions and 10 deletions
|
|
@ -145,17 +145,23 @@
|
|||
optional: true
|
||||
id: "51B99C63EA976A04"
|
||||
tasks: [{
|
||||
id: "1EF372283629E071"
|
||||
type: "structure"
|
||||
title: "Find an End City!"
|
||||
icon: "minecraft:end_rod"
|
||||
structure: "minecraft:endcity"
|
||||
id: "1EAAF45E0541F042"
|
||||
type: "advancement"
|
||||
title: "Visit an End City"
|
||||
icon: "minecraft:shulker_shell"
|
||||
advancement: "minecraft:end/find_end_city"
|
||||
criterion: ""
|
||||
}]
|
||||
rewards: [{
|
||||
id: "359375989E1C2670"
|
||||
id: "34F75EAD9EE0757D"
|
||||
type: "item"
|
||||
item: "customizableelytra:elytra_wing"
|
||||
count: 2
|
||||
item: {
|
||||
id: "customizableelytra:customizable_elytra"
|
||||
Count: 1b
|
||||
tag: {
|
||||
Damage: 0
|
||||
}
|
||||
}
|
||||
}]
|
||||
}
|
||||
{
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@
|
|||
id: "0AD7557C8CE6AFDB"
|
||||
type: "item"
|
||||
item: {
|
||||
id: "minecraft:elytra"
|
||||
id: "customizableelytra:customizable_elytra"
|
||||
Count: 1b
|
||||
tag: {
|
||||
Damage: 0
|
||||
|
|
|
|||
|
|
@ -117,6 +117,8 @@ onEvent("jei.hide.items", (event) => {
|
|||
"rftoolsbase:dimensionalshard_overworld",
|
||||
"rftoolsbase:dimensionalshard_nether",
|
||||
"rftoolsbase:dimensionalshard_end",
|
||||
"minecraft:elytra",
|
||||
"customizableelytra:elytra_wing",
|
||||
].forEach((x) => event.hide(x));
|
||||
|
||||
[
|
||||
|
|
@ -142,3 +144,7 @@ onEvent("jei.information", (event) => {
|
|||
"Challenger Mobs have fancy §cc§4o§6l§eo§2r§3e§bd§r particles and prefixes like §3'Agile'§r or §1'Mighty'§r",
|
||||
]);
|
||||
});
|
||||
|
||||
onEvent("jei.add.items", (event) => {
|
||||
event.add(Item.of("customizableelytra:customizable_elytra"));
|
||||
});
|
||||
|
|
|
|||
|
|
@ -0,0 +1,250 @@
|
|||
{
|
||||
"type": "minecraft:chest",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": { "min": 2.0, "max": 4.0, "type": "minecraft:uniform" },
|
||||
"entries": [
|
||||
{
|
||||
"name": "customizableelytra:customizable_elytra",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"name": "minecraft:enchanted_golden_apple",
|
||||
"type": "minecraft:item",
|
||||
"weight": 5
|
||||
},
|
||||
{
|
||||
"name": "minecraft:end_crystal",
|
||||
"type": "minecraft:item",
|
||||
"weight": 9
|
||||
},
|
||||
{
|
||||
"name": "minecraft:shulker_shell",
|
||||
"type": "minecraft:item",
|
||||
"weight": 40
|
||||
},
|
||||
{
|
||||
"name": "minecraft:phantom_membrane",
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 2.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:experience_bottle",
|
||||
"type": "minecraft:item",
|
||||
"weight": 65,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 2.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:obsidian",
|
||||
"type": "minecraft:item",
|
||||
"weight": 65,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 6.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:purpur_block",
|
||||
"type": "minecraft:item",
|
||||
"weight": 65,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 6.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:diamond",
|
||||
"type": "minecraft:item",
|
||||
"weight": 105,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:emerald",
|
||||
"type": "minecraft:item",
|
||||
"weight": 105,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 3.0, "max": 8.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "type": "minecraft:empty", "weight": 145 },
|
||||
{
|
||||
"name": "minecraft:book",
|
||||
"type": "minecraft:item",
|
||||
"weight": 165,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:enchant_with_levels",
|
||||
"levels": {
|
||||
"min": 25.0,
|
||||
"max": 45.0,
|
||||
"type": "minecraft:uniform"
|
||||
},
|
||||
"treasure": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 4,
|
||||
"entries": [
|
||||
{
|
||||
"name": "minecraft:purple_dye",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:ender_pearl",
|
||||
"type": "minecraft:item",
|
||||
"weight": 15,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 2.0, "max": 12.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:chorus_fruit",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 4.0, "max": 16.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:ender_eye",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 2.0, "max": 8.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:obsidian",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 4.0, "max": 16.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{ "type": "minecraft:empty", "weight": 1 },
|
||||
{
|
||||
"name": "minecraft:ender_eye",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 3.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:map",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:exploration_map",
|
||||
"destination": "repurposed_structures:stronghold_end",
|
||||
"decoration": "banner_black",
|
||||
"zoom": 1,
|
||||
"skip_existing_chunks": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 0,
|
||||
"bonus_rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"name": "minecraft:pink_banner",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_nbt",
|
||||
"tag": "{BlockEntityTag:{Patterns:[{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:bo,Color:3},{Pattern:bo,Color:3},{Pattern:bo,Color:3}]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "type": "minecraft:empty", "weight": 24 },
|
||||
{
|
||||
"name": "minecraft:black_banner",
|
||||
"type": "minecraft:item",
|
||||
"weight": 8,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_nbt",
|
||||
"tag": "{BlockEntityTag:{Patterns:[{Pattern:bri,Color:10},{Pattern:bri,Color:15},{Pattern:ss,Color:15},{Pattern:flo,Color:10},{Pattern:flo,Color:15},{Pattern:gru,Color:10},{Pattern:bt,Color:10},{Pattern:bt,Color:10},{Pattern:bt,Color:15},{Pattern:bts,Color:6},{Pattern:bts,Color:15},{Pattern:gra,Color:15}]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:experience_bottle",
|
||||
"type": "minecraft:item",
|
||||
"weight": 4,
|
||||
"functions": [{ "function": "minecraft:set_count", "count": 2 }]
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:potion",
|
||||
"weight": 4,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:levitation\"}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,250 @@
|
|||
{
|
||||
"type": "minecraft:chest",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": { "min": 2.0, "max": 4.0, "type": "minecraft:uniform" },
|
||||
"entries": [
|
||||
{
|
||||
"name": "customizableelytra:customizable_elytra",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"name": "minecraft:enchanted_golden_apple",
|
||||
"type": "minecraft:item",
|
||||
"weight": 5
|
||||
},
|
||||
{
|
||||
"name": "minecraft:end_crystal",
|
||||
"type": "minecraft:item",
|
||||
"weight": 9
|
||||
},
|
||||
{
|
||||
"name": "minecraft:shulker_shell",
|
||||
"type": "minecraft:item",
|
||||
"weight": 40
|
||||
},
|
||||
{
|
||||
"name": "minecraft:phantom_membrane",
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 2.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:experience_bottle",
|
||||
"type": "minecraft:item",
|
||||
"weight": 65,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 2.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:obsidian",
|
||||
"type": "minecraft:item",
|
||||
"weight": 65,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 6.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:purpur_block",
|
||||
"type": "minecraft:item",
|
||||
"weight": 65,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 6.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:diamond",
|
||||
"type": "minecraft:item",
|
||||
"weight": 105,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:emerald",
|
||||
"type": "minecraft:item",
|
||||
"weight": 105,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 3.0, "max": 8.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "type": "minecraft:empty", "weight": 145 },
|
||||
{
|
||||
"name": "minecraft:book",
|
||||
"type": "minecraft:item",
|
||||
"weight": 165,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:enchant_with_levels",
|
||||
"levels": {
|
||||
"min": 25.0,
|
||||
"max": 45.0,
|
||||
"type": "minecraft:uniform"
|
||||
},
|
||||
"treasure": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 4,
|
||||
"entries": [
|
||||
{
|
||||
"name": "minecraft:purple_dye",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:ender_pearl",
|
||||
"type": "minecraft:item",
|
||||
"weight": 15,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 2.0, "max": 12.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:chorus_fruit",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 4.0, "max": 16.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:ender_eye",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 2.0, "max": 8.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:obsidian",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 4.0, "max": 16.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{ "type": "minecraft:empty", "weight": 20 },
|
||||
{
|
||||
"name": "minecraft:ender_eye",
|
||||
"type": "minecraft:item",
|
||||
"weight": 20,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 1.0, "max": 3.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:map",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:exploration_map",
|
||||
"destination": "repurposed_structures:stronghold_end",
|
||||
"decoration": "banner_black",
|
||||
"zoom": 1,
|
||||
"skip_existing_chunks": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 0,
|
||||
"bonus_rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"name": "minecraft:pink_banner",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_nbt",
|
||||
"tag": "{BlockEntityTag:{Patterns:[{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:bo,Color:3},{Pattern:bo,Color:3},{Pattern:bo,Color:3}]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "type": "minecraft:empty", "weight": 4 },
|
||||
{
|
||||
"name": "minecraft:black_banner",
|
||||
"type": "minecraft:item",
|
||||
"weight": 4,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_nbt",
|
||||
"tag": "{BlockEntityTag:{Patterns:[{Pattern:bri,Color:10},{Pattern:bri,Color:15},{Pattern:ss,Color:15},{Pattern:flo,Color:10},{Pattern:flo,Color:15},{Pattern:gru,Color:10},{Pattern:bt,Color:10},{Pattern:bt,Color:10},{Pattern:bt,Color:15},{Pattern:bts,Color:6},{Pattern:bts,Color:15},{Pattern:gra,Color:15}]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:experience_bottle",
|
||||
"type": "minecraft:item",
|
||||
"weight": 4,
|
||||
"functions": [{ "function": "minecraft:set_count", "count": 2 }]
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:potion",
|
||||
"weight": 4,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:levitation\"}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,170 @@
|
|||
{
|
||||
"type": "minecraft:chest",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": { "min": 3.0, "max": 7.0, "type": "minecraft:uniform" },
|
||||
"entries": [
|
||||
{
|
||||
"name": "minecraft:iron_ingot",
|
||||
"type": "minecraft:item",
|
||||
"weight": 70,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 4.0, "max": 15.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:gold_ingot",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 3.0, "max": 10.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:emerald",
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 3.0, "max": 8.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:diamond",
|
||||
"type": "minecraft:item",
|
||||
"weight": 15,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 2.0, "max": 5.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:experience_bottle",
|
||||
"type": "minecraft:item",
|
||||
"weight": 15,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 2.0, "max": 5.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:book",
|
||||
"type": "minecraft:item",
|
||||
"weight": 15,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:enchant_with_levels",
|
||||
"levels": {
|
||||
"min": 28.0,
|
||||
"max": 40.0,
|
||||
"type": "minecraft:uniform"
|
||||
},
|
||||
"treasure": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:dragon_breath",
|
||||
"type": "minecraft:item",
|
||||
"weight": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{ "type": "minecraft:empty", "weight": 19 },
|
||||
{
|
||||
"name": "customizableelytra:customizable_elytra",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": { "min": 2.0, "max": 5.0, "type": "minecraft:uniform" },
|
||||
"entries": [
|
||||
{
|
||||
"name": "minecraft:iron_nugget",
|
||||
"type": "minecraft:item",
|
||||
"weight": 30,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 6.0, "max": 20.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:gold_nugget",
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 6.0, "max": 20.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:lapis_lazuli",
|
||||
"type": "minecraft:item",
|
||||
"weight": 30,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": { "min": 6.0, "max": 20.0, "type": "minecraft:uniform" }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 0,
|
||||
"bonus_rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"name": "minecraft:pink_banner",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_nbt",
|
||||
"tag": "{BlockEntityTag:{Patterns:[{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:bo,Color:3},{Pattern:bo,Color:3},{Pattern:bo,Color:3}]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "type": "minecraft:empty", "weight": 12 },
|
||||
{
|
||||
"name": "minecraft:experience_bottle",
|
||||
"type": "minecraft:item",
|
||||
"weight": 4,
|
||||
"functions": [{ "function": "minecraft:set_count", "count": 2 }]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:black_banner",
|
||||
"type": "minecraft:item",
|
||||
"weight": 4,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_nbt",
|
||||
"tag": "{BlockEntityTag:{Patterns:[{Pattern:flo,Color:10},{Pattern:flo,Color:2},{Pattern:flo,Color:15},{Pattern:bt,Color:9},{Pattern:tt,Color:9},{Pattern:bo,Color:10},{Pattern:bs,Color:15},{Pattern:ts,Color:15},{Pattern:cbo,Color:10},{Pattern:cbo,Color:15},{Pattern:bo,Color:2},{Pattern:bo,Color:15}]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -253,7 +253,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"name": "minecraft:elytra",
|
||||
"name": "customizableelytra:customizable_elytra",
|
||||
"type": "minecraft:item",
|
||||
"weight": 1
|
||||
}
|
||||
|
|
|
|||
22
kubejs/server_scripts/HarmoniousEngineering/_global.js
Normal file
22
kubejs/server_scripts/HarmoniousEngineering/_global.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// priority: 1024
|
||||
|
||||
onEvent("server.datapack.first", (_) => {
|
||||
global.minecraftColors = [
|
||||
"white",
|
||||
"orange",
|
||||
"magenta",
|
||||
"light_blue",
|
||||
"yellow",
|
||||
"lime",
|
||||
"pink",
|
||||
"gray",
|
||||
"light_gray",
|
||||
"cyan",
|
||||
"purple",
|
||||
"blue",
|
||||
"brown",
|
||||
"green",
|
||||
"red",
|
||||
"black",
|
||||
];
|
||||
});
|
||||
|
|
@ -526,4 +526,12 @@ onEvent("recipes", (event) => {
|
|||
multiservoPress(event);
|
||||
stonecutter(event);
|
||||
woodcutter(event);
|
||||
|
||||
global.minecraftColors.forEach((color) => {
|
||||
event.smithing(
|
||||
`storage_overhaul:${color}_shulker_box`,
|
||||
`minecraft:${color}_shulker_box`,
|
||||
"#forge:ingots/iron"
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -0,0 +1,59 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ input: "minecraft:elytra" });
|
||||
event.remove({ id: "alexsmobs:tarantula_hawk_elytra" });
|
||||
|
||||
event.remove({ input: "customizableelytra:elytra_wing" });
|
||||
event.remove({ id: "customizableelytra:elytra_wing" });
|
||||
event.remove({ id: "customizableelytra:elytra_wing_vanilla" });
|
||||
|
||||
// Mekanism HDPE Elytra
|
||||
event.custom({
|
||||
type: "mekanism:mek_data",
|
||||
result: { item: "mekanism:hdpe_elytra" },
|
||||
pattern: ["AHA", "HPH", "H H"],
|
||||
key: {
|
||||
A: { tag: "mekanism:alloys/atomic" },
|
||||
H: { item: "mekanism:hdpe_sheet" },
|
||||
P: { tag: "forge:elytra" },
|
||||
},
|
||||
});
|
||||
|
||||
// Quark Elytra duplication via Dragon Scale
|
||||
event
|
||||
.shapeless("customizableelytra:customizable_elytra", [
|
||||
"customizableelytra:customizable_elytra",
|
||||
"quark:dragon_scale",
|
||||
])
|
||||
.keepIngredient("customizableelytra:customizable_elytra");
|
||||
|
||||
// Tarantula Hawk Elytra
|
||||
event.shaped("alexsmobs:tarantula_hawk_elytra", ["WEW"], {
|
||||
W: "alexsmobs:tarantula_hawk_wing",
|
||||
E: "#forge:elytra",
|
||||
});
|
||||
|
||||
// Tconstruct Slimelytra
|
||||
event.custom({
|
||||
type: "tconstruct:casting_basin",
|
||||
cast: {
|
||||
tag: "forge:elytra",
|
||||
},
|
||||
cast_consumed: true,
|
||||
fluid: {
|
||||
tag: "tconstruct:ender_slime",
|
||||
amount: 8000,
|
||||
},
|
||||
result: "tconstruct:slime_chestplate",
|
||||
cooling_time: 237,
|
||||
});
|
||||
});
|
||||
|
||||
/* Replaces all thrown elytra with CE Elytra */
|
||||
onEvent("entity.spawned", (event) => {
|
||||
if (event.getEntity().getType() === "minecraft:item") {
|
||||
const itemEntity = event.getEntity();
|
||||
if (itemEntity.getItem().getId() === "minecraft:elytra") {
|
||||
itemEntity.setItem(Item.of("customizableelytra:customizable_elytra"));
|
||||
}
|
||||
}
|
||||
});
|
||||
Loading…
Reference in a new issue