Skip to content

Commit

Permalink
Set minimum required Forge version
Browse files Browse the repository at this point in the history
  • Loading branch information
GirafiStudios committed Dec 19, 2022
1 parent e12b758 commit 121bf07
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
minecraft_version=1.19.3
forge_version=44.0.23
forge_version=44.0.36
mod_version=2.4.9
jei_version=11.4.0.290
ct_version=9.0.81
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,12 @@ private static ResourceLocation register(String path) {
@SubscribeEvent
public static void onLootTableLoad(LootTableLoadEvent event) {
ResourceLocation name = event.getName();
System.out.println("Loot table load");
if (name.equals(BuiltInLootTables.FISHING)) {
System.out.println("FISHING");
LootPool pool = event.getTable().getPool("main");
if (pool != null) {
System.out.println("I GOT CALLED");
addEntry(pool, getInjectEntry(FISH, 85, -1));
addEntry(pool, getInjectEntry(JUNK, 10, -2));
if (AquaConfig.NEPTUNIUM_OPTIONS.addNeptunesBountyToLoot.get()) {
System.out.println("NEPTUUUUUUNIUM");
LootPoolEntryContainer neptuniumEntry = LootTableReference.lootTableReference(NEPTUNIUM).setWeight(1).setQuality(2).when(LootItemEntityPropertyCondition.hasProperties(LootContext.EntityTarget.THIS, EntityPredicate.Builder.entity().subPredicate(FishingHookPredicate.inOpenWater(true)))).build();
addEntry(pool, neptuniumEntry);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ license="All Rights Reserved"
[[dependencies.aquaculture]]
modId="forge"
mandatory=true
versionRange="[44,)"
versionRange="[44.0.34,)"
ordering="AFTER"
side="BOTH"

0 comments on commit 121bf07

Please sign in to comment.