Skip to content

Commit

Permalink
Imported Source Code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Dobiáš authored Jan 15, 2022
1 parent 18a2105 commit 96651f5
Show file tree
Hide file tree
Showing 3 changed files with 259 additions and 0 deletions.
241 changes: 241 additions & 0 deletions loot_tables/entities/piglin_barter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:netherite_hoe",
"weight": 1
},
{
"type": "item",
"name": "minecraft:book",
"weight": 5,
"functions": [
{
"function": "specific_enchants",
"enchants": [
{
"id": "soul_speed",
"level": [1, 3]
}
]
}
]
},
{
"type": "item",
"name": "minecraft:iron_boots",
"weight": 8,
"functions": [
{
"function": "specific_enchants",
"enchants": [
{
"id": "soul_speed",
"level": [1, 3]
}
]
}
]
},
{
"type": "item",
"name": "minecraft:potion",
"weight": 10,
"functions": [
{
"function": "set_data",
"data": 12
}
]
},
{
"type": "item",
"name": "minecraft:splash_potion",
"weight": 10,
"functions": [
{
"function": "set_data",
"data": 12
}
]
},
{
"type": "item",
"name": "minecraft:iron_nugget",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 9,
"max": 36
}
}
]
},
{
"type": "item",
"name": "minecraft:quartz",
"weight": 20,
"functions": [
{
"function": "set_count",
"count": {
"min": 8,
"max": 16
}
}
]
},
{
"type": "item",
"name": "minecraft:glowstone_dust",
"weight": 20,
"functions": [
{
"function": "set_count",
"count": {
"min": 5,
"max": 12
}
}
]
},
{
"type": "item",
"name": "minecraft:magma_cream",
"weight": 20,
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 6
}
}
]
},
{
"type": "item",
"name": "minecraft:ender_pearl",
"weight": 20,
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 8
}
}
]
},
{
"type": "item",
"name": "minecraft:string",
"weight": 20,
"functions": [
{
"function": "set_count",
"count": {
"min": 8,
"max": 24
}
}
]
},
{
"type": "item",
"name": "minecraft:fireball",
"weight": 40,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 5
}
}
]
},
{
"type": "item",
"name": "minecraft:gravel",
"weight": 40,
"functions": [
{
"function": "set_count",
"count": {
"min": 8,
"max": 16
}
}
]
},
{
"type": "item",
"name": "minecraft:leather",
"weight": 40,
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 10
}
}
]
},
{
"type": "item",
"name": "minecraft:nether_brick",
"weight": 40,
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 16
}
}
]
},
{
"type": "item",
"name": "minecraft:obsidian",
"weight": 40
},
{
"type": "item",
"name": "minecraft:crying_obsidian",
"weight": 40,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 3
}
}
]
},
{
"type": "item",
"name": "minecraft:soul_sand",
"weight": 40,
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 16
}
}
]
}
]
}
]
}
18 changes: 18 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"format_version": 2,
"header": {
"description": "This pack brings back the original bartering trades that were nerfed in 1.16.100. §1Made by PavelDobCZ23",
"name": "Old Piglin Bartering",
"uuid": "662a0005-5335-4621-9a62-062079252d6b",
"version": [ 1, 0, 0 ],
"min_engine_version": [ 1, 16, 100 ]
},
"modules": [
{
"description": "Old Piglin Bartering [BP] - behavior module",
"type": "data",
"uuid": "59916808-d476-4cf8-8b26-1eae946de10e",
"version": [1, 0, 0]
}
]
}
Binary file added pack_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 96651f5

Please sign in to comment.