Initial commit
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*.code-workspace
|
||||||
|
*.zip
|
||||||
268
data/minecraft/loot_table/gameplay/piglin_bartering.json
Normal file
268
data/minecraft/loot_table/gameplay/piglin_bartering.json
Normal file
@@ -0,0 +1,268 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:barter",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"bonus_rolls": 0,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:enchant_randomly",
|
||||||
|
"options": [
|
||||||
|
"minecraft:soul_speed",
|
||||||
|
"more_enchantments:thrust"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:book",
|
||||||
|
"weight": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:enchant_randomly",
|
||||||
|
"options": "minecraft:soul_speed"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:iron_boots",
|
||||||
|
"weight": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_potion",
|
||||||
|
"id": "minecraft:fire_resistance"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:potion",
|
||||||
|
"weight": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_potion",
|
||||||
|
"id": "minecraft:fire_resistance"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:splash_potion",
|
||||||
|
"weight": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_potion",
|
||||||
|
"id": "minecraft:water"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:potion",
|
||||||
|
"weight": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 36,
|
||||||
|
"min": 10
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:iron_nugget",
|
||||||
|
"weight": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 4,
|
||||||
|
"min": 2
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:ender_pearl",
|
||||||
|
"weight": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": 1,
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:dried_ghast",
|
||||||
|
"weight": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 9,
|
||||||
|
"min": 3
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:string",
|
||||||
|
"weight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 12,
|
||||||
|
"min": 5
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:quartz",
|
||||||
|
"weight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:obsidian",
|
||||||
|
"weight": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 3,
|
||||||
|
"min": 1
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:crying_obsidian",
|
||||||
|
"weight": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:fire_charge",
|
||||||
|
"weight": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 4,
|
||||||
|
"min": 2
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:leather",
|
||||||
|
"weight": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 8,
|
||||||
|
"min": 2
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:soul_sand",
|
||||||
|
"weight": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 8,
|
||||||
|
"min": 2
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:nether_brick",
|
||||||
|
"weight": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 12,
|
||||||
|
"min": 6
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:spectral_arrow",
|
||||||
|
"weight": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 16,
|
||||||
|
"min": 8
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:gravel",
|
||||||
|
"weight": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 16,
|
||||||
|
"min": 8
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:blackstone",
|
||||||
|
"weight": 40
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"random_sequence": "minecraft:gameplay/piglin_bartering"
|
||||||
|
}
|
||||||
39
data/more_enchantments/enchantment/thrust.json
Normal file
39
data/more_enchantments/enchantment/thrust.json
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"anvil_cost": 1,
|
||||||
|
"description": {
|
||||||
|
"translate": "more_enchantments.enchantment.thrust.description",
|
||||||
|
"fallback": "Тяга"
|
||||||
|
},
|
||||||
|
"effects": {
|
||||||
|
"minecraft:attributes": [
|
||||||
|
{
|
||||||
|
"amount": {
|
||||||
|
"type": "minecraft:lookup",
|
||||||
|
"values": [
|
||||||
|
0.005,
|
||||||
|
0.02,
|
||||||
|
0.04
|
||||||
|
],
|
||||||
|
"fallback": 0.01
|
||||||
|
},
|
||||||
|
"attribute": "minecraft:flying_speed",
|
||||||
|
"id": "elaria:enchantment.happy_ghast",
|
||||||
|
"operation": "add_value"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_cost": {
|
||||||
|
"base": 51,
|
||||||
|
"per_level_above_first": 10
|
||||||
|
},
|
||||||
|
"max_level": 3,
|
||||||
|
"min_cost": {
|
||||||
|
"base": 1,
|
||||||
|
"per_level_above_first": 10
|
||||||
|
},
|
||||||
|
"slots": [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
"supported_items": "#minecraft:harnesses",
|
||||||
|
"weight": 10
|
||||||
|
}
|
||||||
8
pack.mcmeta
Normal file
8
pack.mcmeta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"pack": {
|
||||||
|
"description": "MoreEnchantments",
|
||||||
|
"pack_format": 88,
|
||||||
|
"max_format": 88,
|
||||||
|
"min_format": 88
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user