Skip to content

Commit

Permalink
Readd LootTableLoadEvent stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
GirafiStudios committed Dec 16, 2023
1 parent da89c63 commit 27cf6b7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private static ResourceLocation register(String path) {
return BuiltInLootTables.register(new ResourceLocation(Aquaculture.MOD_ID, path));
}

/*@SubscribeEvent
@SubscribeEvent
public static void onLootTableLoad(LootTableLoadEvent event) {
ResourceLocation name = event.getName();
System.out.println("Loot table load event");
Expand All @@ -58,9 +58,9 @@ public static void onLootTableLoad(LootTableLoadEvent event) {
}
}
}
}*/
}

/*private static LootPoolEntryContainer getInjectEntry(ResourceLocation location, int weight, int quality) {
private static LootPoolEntryContainer getInjectEntry(ResourceLocation location, int weight, int quality) {
return LootTableReference.lootTableReference(location).setWeight(weight).setQuality(quality).build();
}

Expand All @@ -74,5 +74,5 @@ private static void addEntry(LootPool pool, LootPoolEntryContainer entry) {
newLootEntries.add(entry);

pool.entries.addAll(newLootEntries);
}*/
}
}

0 comments on commit 27cf6b7

Please sign in to comment.