Skip to content

Commit 4920f2f

Browse files
committed
Add support for jungle pyramid loot
1 parent a9f5371 commit 4920f2f

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

includes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@
652652
--include-constant ITEM_ANCIENT_DEBRIS
653653
--include-constant ITEM_APPLE
654654
--include-constant ITEM_ARROW
655+
--include-constant ITEM_BAMBOO
655656
--include-constant ITEM_BEETROOT_SEEDS
656657
--include-constant ITEM_BELL
657658
--include-constant ITEM_BONE
@@ -743,6 +744,7 @@
743744
--include-constant ITEM_TRIPWIRE_HOOK
744745
--include-constant ITEM_UNKNOWN
745746
--include-constant ITEM_WHEAT
747+
--include-constant ITEM_WILD_ARMOR_TRIM_SMITHING_TEMPLATE
746748

747749
--include-struct EnchantInstance
748750
--include-struct ItemStack

src/main/java/dev/xpple/seedmapper/command/arguments/ItemAndEnchantmentsPredicateArgument.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public class ItemAndEnchantmentsPredicateArgument implements ArgumentType<ItemAn
4141
.put("ancient_debris", Cubiomes.ITEM_ANCIENT_DEBRIS())
4242
.put("apple", Cubiomes.ITEM_APPLE())
4343
.put("arrow", Cubiomes.ITEM_ARROW())
44+
.put("bamboo", Cubiomes.ITEM_BAMBOO())
4445
.put("beetroot_seeds", Cubiomes.ITEM_BEETROOT_SEEDS())
4546
.put("bell", Cubiomes.ITEM_BELL())
4647
.put("bone", Cubiomes.ITEM_BONE())
@@ -131,6 +132,7 @@ public class ItemAndEnchantmentsPredicateArgument implements ArgumentType<ItemAn
131132
.put("tnt", Cubiomes.ITEM_TNT())
132133
.put("tripwire_hook", Cubiomes.ITEM_TRIPWIRE_HOOK())
133134
.put("wheat", Cubiomes.ITEM_WHEAT())
135+
.put("wild_armor_trim_smithing_template", Cubiomes.ITEM_WILD_ARMOR_TRIM_SMITHING_TEMPLATE())
134136
.build();
135137
//</editor-fold>
136138

@@ -139,6 +141,7 @@ public class ItemAndEnchantmentsPredicateArgument implements ArgumentType<ItemAn
139141
.put(Cubiomes.ITEM_ANCIENT_DEBRIS(), Items.ANCIENT_DEBRIS)
140142
.put(Cubiomes.ITEM_APPLE(), Items.APPLE)
141143
.put(Cubiomes.ITEM_ARROW(), Items.ARROW)
144+
.put(Cubiomes.ITEM_BAMBOO(), Items.BAMBOO)
142145
.put(Cubiomes.ITEM_BEETROOT_SEEDS(), Items.BEETROOT_SEEDS)
143146
.put(Cubiomes.ITEM_BELL(), Items.BELL)
144147
.put(Cubiomes.ITEM_BONE(), Items.BONE)
@@ -229,6 +232,7 @@ public class ItemAndEnchantmentsPredicateArgument implements ArgumentType<ItemAn
229232
.put(Cubiomes.ITEM_TNT(), Items.TNT)
230233
.put(Cubiomes.ITEM_TRIPWIRE_HOOK(), Items.TRIPWIRE_HOOK)
231234
.put(Cubiomes.ITEM_WHEAT(), Items.WHEAT)
235+
.put(Cubiomes.ITEM_WILD_ARMOR_TRIM_SMITHING_TEMPLATE(), Items.WILD_ARMOR_TRIM_SMITHING_TEMPLATE)
232236
.build();
233237
//</editor-fold>
234238

src/main/java/dev/xpple/seedmapper/command/commands/LocateCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class LocateCommand {
6161

6262
private static final int BIOME_SEARCH_RADIUS = 6400;
6363

64-
public static final Set<Integer> LOOT_SUPPORTED_STRUCTURES = Set.of(Cubiomes.Treasure(), Cubiomes.Desert_Pyramid(), Cubiomes.End_City(), Cubiomes.Igloo(), Cubiomes.Ruined_Portal(), Cubiomes.Ruined_Portal_N(), Cubiomes.Fortress(), Cubiomes.Bastion(), Cubiomes.Outpost());
64+
public static final Set<Integer> LOOT_SUPPORTED_STRUCTURES = Set.of(Cubiomes.Treasure(), Cubiomes.Desert_Pyramid(), Cubiomes.End_City(), Cubiomes.Igloo(), Cubiomes.Jungle_Pyramid(), Cubiomes.Ruined_Portal(), Cubiomes.Ruined_Portal_N(), Cubiomes.Fortress(), Cubiomes.Bastion(), Cubiomes.Outpost());
6565

6666
public static void register(CommandDispatcher<FabricClientCommandSource> dispatcher) {
6767
dispatcher.register(literal("sm:locate")

0 commit comments

Comments
 (0)