Skip to content

Commit

Permalink
Add nightdew to archaeology loot
Browse files Browse the repository at this point in the history
  • Loading branch information
f-raZ0R committed Oct 6, 2024
1 parent 86f118a commit c21870e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ revelationary_version=1.3.8+1.20.1
fractal_version=1.2.0
matchbooks_version=1.20-SNAPSHOT
# https://github.com/JamiesWhiteShirt/reach-entity-attributes
reach_entity_attributes_version=2.5.0
reach_entity_attributes_version=2.4.0
arrowhead_version=797635e3c7
mixin_extras_version=0.4.1
# https://github.com/Terrails/colorful-hearts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ public static void setup() {
// Some treasure hunter pools use custom loot conditions
// because vanillas are too generic (fox/snow fox both use "fox" loot table)
}
else if (id.equals(new Identifier("archaeology/ocean_ruin_cold")) || id.equals(new Identifier("archaeology/ocean_ruin_warm")) ||
id.equals(new Identifier("archaeology/trail_ruins_rare")) || id.equals(new Identifier("archaeology/desert_pyramid")) || id.equals(new Identifier("archaeology/desert_well")))
{
tableBuilder.modifyPools(builder -> {
builder.with(ItemEntry.builder(SpectrumItems.NIGHTDEW_SPROUT).weight(2).quality(-1));
});
}
else if (id.equals(new Identifier("gameplay/sniffer_digging"))) {
tableBuilder.modifyPools(builder -> {
builder.with(ItemEntry.builder(SpectrumBlocks.WEEPING_GALA_SPRIG).weight(1));
Expand Down

0 comments on commit c21870e

Please sign in to comment.