Skip to content

Commit

Permalink
Composting Registry error fix, banner NEI catalyst
Browse files Browse the repository at this point in the history
Banners now display all crafting blocks in GTNHNEI's catalysts
Fix composters saying the max value is 600 when it's 700 now.
  • Loading branch information
Roadhog360 committed Mar 21, 2024
1 parent 9b2c785 commit b1a2ef3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static void init() {
*/
public static void registerCompostable(Object itemObj, int percent) {
if (percent <= 0 || percent > BlockComposter.FULL_META * 100) {
throw new IllegalArgumentException("Tried to add a composter entry with percent value " + percent + " which is not allowed, should be above 0 and equal to or below 600!");
throw new IllegalArgumentException("Tried to add a composter entry with percent value " + percent + " which is not allowed, should be above 0 and equal to or below" + (BlockComposter.FULL_META * 100) + "!");
}

if (ModRecipes.validateItems(itemObj)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class BannerPatternHandler extends TemplateRecipeHandler {

@Override
public String getOverlayIdentifier() {
return "etfuturum.banner";
return "crafting";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public static void IMCSender() {

if (ModBlocks.BANNER.isEnabled()) {
sendHandler("ganymedes01.etfuturum.compat.nei.BannerPatternHandler", "etfuturum:banner");
sendCatalyst("etfuturum.banner", "minecraft:crafting_table");
}

if (ModBlocks.COMPOSTER.isEnabled()) {
Expand Down

0 comments on commit b1a2ef3

Please sign in to comment.