fix bad loc on jei pat recipes

This commit is contained in:
petrak@ 2023-01-22 20:08:49 -06:00
parent 9d2d56916a
commit 7e3cdb2f1a
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ public class BrainsweepRecipeCategory implements IRecipeCategory<BrainsweepRecip
ResourceLocation location = modLoc("textures/gui/brainsweep_jei.png");
background = guiHelper.drawableBuilder(location, 0, 0, 118, 86).setTextureSize(128, 128).build();
var brainsweep = modLoc("brainsweep");
localizedName = Component.translatable("hexcasting.spell." + brainsweep);
localizedName = Component.translatable("hexcasting.action." + brainsweep);
icon = new PatternDrawable(brainsweep, 16, 16);
}

View file

@ -32,7 +32,7 @@ public class EdifyRecipeCategory implements IRecipeCategory<OpEdifySapling> {
ResourceLocation location = modLoc("textures/gui/edify_jei.png");
background = guiHelper.drawableBuilder(location, 0, 0, 79, 61).setTextureSize(128, 128).build();
var edify = modLoc("edify");
localizedName = Component.translatable("hexcasting.spell." + edify);
localizedName = Component.translatable("hexcasting.action." + edify);
icon = new PatternDrawable(edify, 16, 16).strokeOrder(false);
}

View file

@ -31,7 +31,7 @@ public class PhialRecipeCategory implements IRecipeCategory<OpMakeBattery> {
ResourceLocation location = modLoc("textures/gui/phial_jei.png");
background = guiHelper.drawableBuilder(location, 0, 0, 113, 40).setTextureSize(128, 128).build();
var craftPhial = modLoc("craft/battery");
localizedName = Component.translatable("hexcasting.spell." + craftPhial);
localizedName = Component.translatable("hexcasting.action." + craftPhial);
icon = new PatternDrawable(craftPhial, 12, 12);
}