Skip to content

Commit 695e197

Browse files
committed
add surveillance maps
1 parent c6827a4 commit 695e197

File tree

5 files changed

+27
-24
lines changed

5 files changed

+27
-24
lines changed

src/main/java/de/dafuqs/spectrum/registries/SpectrumStructureTags.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
public class SpectrumStructureTags {
1414

1515
public static final TagKey<Structure> MYSTERIOUS_COMPASS_LOCATED = of("mysterious_compass_located");
16+
public static final TagKey<Structure> ON_SURVEILLANCE_MAPS = of("on_surveillance_maps");
1617
public static final TagKey<Structure> UNLOCATABLE = of("unlocatable");
1718

1819
private static TagKey<Structure> of(String id) {

src/main/resources/assets/spectrum/lang/en_us.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5876,6 +5876,8 @@
58765876
"lore.spectrum.heartbound_staff.lore_2": "Then that's a bug - you should not be able to get this",
58775877
"lore.spectrum.heartbound_staff.lore_3": "Please report it!",
58785878

5879+
"spectrum.filled_map.undergrowth_manor_surveillance": "Surveillance Map",
5880+
58795881
"______food_tooltips": "Food Tooltips:",
58805882
"spectrum.food.withChance": "%s [%d%%]",
58815883
"spectrum.food.whenEaten": "When Eaten:",

src/main/resources/data/spectrum/loot_table/chests/city_below/seed_vault_side_room.json

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,38 @@
22
"type": "minecraft:chest",
33
"pools": [
44
{
5-
"rolls": {
6-
"min": 2,
7-
"max": 3
8-
},
9-
"bonus_rolls": 0,
5+
"rolls": 1,
106
"entries": [
117
{
128
"type": "minecraft:item",
13-
"name": "spectrum:vegetal",
14-
"weight": 3,
9+
"name": "minecraft:map",
1510
"functions": [
1611
{
17-
"function": "minecraft:set_count",
18-
"count": {
19-
"min": 3,
20-
"max": 6
12+
"function": "minecraft:exploration_map",
13+
"destination": "spectrum:on_surveillance_maps",
14+
"decoration": "minecraft:target_point",
15+
"search_radius": 50,
16+
"skip_existing_chunks": false,
17+
"zoom": 2
18+
},
19+
{
20+
"function": "minecraft:set_name",
21+
"target": "item_name",
22+
"name": {
23+
"translate": "spectrum.filled_map.undergrowth_manor_surveillance"
2124
}
2225
}
2326
]
24-
},
27+
}
28+
]
29+
},
30+
{
31+
"rolls": {
32+
"min": 2,
33+
"max": 3
34+
},
35+
"bonus_rolls": 0,
36+
"entries": [
2537
{
2638
"type": "minecraft:item",
2739
"name": "minecraft:bucket",

src/main/resources/data/spectrum/tags/worldgen/structure/no_wall_features.json renamed to src/main/resources/data/spectrum/tags/worldgen/structure/on_surveillance_maps.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"values": [
3-
"#spectrum:lizard_dens",
43
"spectrum:undergrowth_manor"
54
]
65
}

src/main/resources/data/spectrum/worldgen/placed_feature/pyrite_ripper_wall_patch.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@
2222
},
2323
{
2424
"type": "minecraft:biome"
25-
},
26-
{
27-
"type": "minecraft:block_predicate_filter",
28-
"predicate": {
29-
"type": "minecraft:not",
30-
"predicate": {
31-
"type": "exclusions_lib:overlaps_structure",
32-
"structures": "#spectrum:no_wall_features",
33-
"range": 6
34-
}
35-
}
3625
}
3726
]
3827
}

0 commit comments

Comments
 (0)