Skip to content

Commit

Permalink
Add missing config annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldexun committed Mar 3, 2023
1 parent 843e091 commit b4f5d3e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

import net.minecraft.util.ResourceLocation;
import net.minecraftforge.common.config.Config;
import net.minecraftforge.common.config.Config.RequiresMcRestart;
import net.minecraftforge.common.config.Config.RequiresWorldRestart;

public class ConfigPotionCore
{
Expand Down Expand Up @@ -58,20 +60,23 @@ public class ConfigPotionCore
@RLConfig.RLCraftTwoNine("true")
public boolean incurableTipsy = true;

@RequiresMcRestart
@Config.Comment("Requires patchPotionCoreResistance patch!")
@Config.Name("Alternative Resistance Mode")
@RLConfig.ImprovementsOnly("true")
@RLConfig.RLCraftTwoEightTwo("true")
@RLConfig.RLCraftTwoNine("true")
public boolean alternativeResistanceMode = true;

@RequiresWorldRestart
@Config.Comment("Requires patchPotionCoreResistance patch! Resistance of the resistance potion attribute modifier.")
@Config.Name("Resistance Potion Modifier Amount")
@RLConfig.ImprovementsOnly("0.2")
@RLConfig.RLCraftTwoEightTwo("0.2")
@RLConfig.RLCraftTwoNine("0.2")
public double resistanceAmount = 0.2D;

@RequiresWorldRestart
@Config.Comment("Requires patchPotionCoreResistance patch! Operation of the resistance potion attribute modifier.")
@Config.Name("Resistance Potion Modifier Operation")
@RLConfig.ImprovementsOnly("2")
Expand Down

0 comments on commit b4f5d3e

Please sign in to comment.