Skip to content
This repository was archived by the owner on Jun 4, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion default/biomes/abstract/ocean_flora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ carving:
CAVE_OCEAN: 40
structures:
- STRONGHOLD
- SHIPWRECK
flora:
- density: 50
items:
Expand All @@ -20,4 +21,4 @@ palette:
- BEDROCK_LITTLE: 3
- DEEPSLATE: 20
- SANDY: 255
- OCEANFLOOR: 60
- OCEANFLOOR: 60
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
id "monument";

num y = 0;

for(y; y > -50; y = y - 1) {
if(check(30, y + 6, 2) != "OCEAN") {
continue;
Expand Down
1 change: 1 addition & 0 deletions default/structures/data/structures/outpost.tesf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
id "outpost";

num y = 0;

for(y; y > -50; y = y - 1) {
if(check(-8, y + 0, -8) != "LAND") {
continue;
Expand Down
1,336 changes: 1,336 additions & 0 deletions default/structures/data/structures/shipwreck/shipwreck1.tesf

Large diffs are not rendered by default.

1,348 changes: 1,348 additions & 0 deletions default/structures/data/structures/shipwreck/shipwreck2.tesf

Large diffs are not rendered by default.

1,291 changes: 1,291 additions & 0 deletions default/structures/data/structures/shipwreck/shipwreck3.tesf

Large diffs are not rendered by default.

1,281 changes: 1,281 additions & 0 deletions default/structures/data/structures/shipwreck/shipwreck4.tesf

Large diffs are not rendered by default.

1,423 changes: 1,423 additions & 0 deletions default/structures/data/structures/shipwreck/shipwreck5.tesf

Large diffs are not rendered by default.

646 changes: 646 additions & 0 deletions default/structures/data/structures/shipwreck/shipwreck6.tesf

Large diffs are not rendered by default.

624 changes: 624 additions & 0 deletions default/structures/data/structures/shipwreck/shipwreck7.tesf

Large diffs are not rendered by default.

966 changes: 966 additions & 0 deletions default/structures/data/structures/shipwreck/shipwreck8.tesf

Large diffs are not rendered by default.

969 changes: 969 additions & 0 deletions default/structures/data/structures/shipwreck/shipwreck9.tesf

Large diffs are not rendered by default.

84 changes: 84 additions & 0 deletions default/structures/loot/shipwreck_map.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"pools": [
{
"rolls": 3,
"entries": [
{
"type": "item",
"weight": 20,
"name": "minecraft:paper",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 10
}
}
]
},
{
"type": "item",
"weight": 10,
"name": "minecraft:feather",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 5
}
}
]
},
{
"type": "item",
"weight": 5,
"name": "minecraft:book",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 5
}
}
]
},
{
"type": "item",
"weight": 1,
"name": "minecraft:clock",
"functions": [
{
"function": "set_count",
"count": 1
}
]
},
{
"type": "item",
"weight": 1,
"name": "minecraft:compass",
"functions": [
{
"function": "set_count",
"count": 1
}
]
},
{
"type": "item",
"weight": 1,
"name": "minecraft:empty_map",
"functions": [
{
"function": "set_count",
"count": 1
}
]
}
]
}
]
}
201 changes: 201 additions & 0 deletions default/structures/loot/shipwreck_supply.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
{
"pools": [
{
"rolls": {
"min": 3,
"max": 10
},
"entries": [
{
"type": "item",
"weight": 8,
"name": "minecraft:paper",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 12
}
}
]
},
{
"type": "item",
"weight": 7,
"name": "minecraft:wheat",
"functions": [
{
"function": "set_count",
"count": {
"min": 8,
"max": 21
}
}
]
},
{
"type": "item",
"weight": 7,
"name": "minecraft:carrot",
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 8
}
}
]
},
{
"type": "item",
"weight": 7,
"name": "minecraft:poisonous_potato",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 6
}
}
]
},
{
"type": "item",
"weight": 7,
"name": "minecraft:potato",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 6
}
}
]
},
{
"type": "item",
"weight": 6,
"name": "minecraft:coal",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 8
}
}
]
},
{
"type": "item",
"weight": null,
"name": "minecraft:rotten_flesh"
},
{
"type": "item",
"weight": 3,
"name": "minecraft:gunpowder",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 5
}
}
]
},
{
"type": "item",
"weight": 3,
"name": "minecraft:leather_helmet",
"functions": [
{
"function": "set_count",
"count": 1
}
]
},
{
"type": "item",
"weight": 3,
"name": "minecraft:leather_chestplate",
"functions": [
{
"function": "set_count",
"count": 1
}
]
},
{
"type": "item",
"weight": 3,
"name": "minecraft:leather_leggings",
"functions": [
{
"function": "set_count",
"count": 1
}
]
},
{
"type": "item",
"weight": 3,
"name": "minecraft:leather_boots",
"functions": [
{
"function": "set_count",
"count": 1
}
]
},
{
"type": "item",
"weight": 2,
"name": "minecraft:bamboo",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 3
}
}
]
},
{
"type": "item",
"weight": 2,
"name": "minecraft:pumpkin",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 3
}
}
]
},
{
"type": "item",
"weight": 1,
"name": "minecraft:tnt",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
}
]
}
Loading