Removed redundant _effect enchanteffect suffix
This commit is contained in:
parent
dffdb168ac
commit
72e7e24693
|
|
@ -15,8 +15,8 @@ import xyz.nearmisses.patience.mc_rebalance.enchantment.effect.WindupEffect;
|
|||
public class ModEnchantments {
|
||||
|
||||
public static final ResourceKey<Enchantment> Windup = of("windup");
|
||||
public static MapCodec<WindupEffect> Effect_Windup = register("windup_effect", WindupEffect.CODEC);
|
||||
public static MapCodec<SmackEffect> Effect_Smack = register("smack_effect", SmackEffect.CODEC);
|
||||
public static MapCodec<WindupEffect> Effect_Windup = register("windup", WindupEffect.CODEC);
|
||||
public static MapCodec<SmackEffect> Effect_Smack = register("smack", SmackEffect.CODEC);
|
||||
|
||||
private static ResourceKey<Enchantment> of(String path) {
|
||||
ResourceLocation id = ResourceLocation.fromNamespaceAndPath(MCRebalance.MOD_ID, path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue