Skip to content

Commit

Permalink
Minor Tweak Update
Browse files Browse the repository at this point in the history
+Updated to use latest Fabric API and loader versions
*Fixed small display bug with Health Regen attribute
*Modified default levelling formula to be slightly steeper
  • Loading branch information
CleverNucleus committed Aug 12, 2022
1 parent 97ec04e commit 4d224fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ minecraft_version=1.18.2
yarn_mappings=1.18.2+build.3
loader_version=0.14.6

mod_version = 3.2.5
mod_version = 3.2.6
maven_group = com.github.clevernucleus
archives_base_name = playerex

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ protected void init() {
return tooltip;
}, 93, 37));
COMPONENTS.add(RenderComponent.of(ExAPI.HEALTH_REGENERATION, value -> {
return new TranslatableText("playerex.gui.page.attributes.text.health_regeneration", value).formatted(Formatting.DARK_GRAY);
return new TranslatableText("playerex.gui.page.attributes.text.health_regeneration", ClientUtil.FORMATTING_3.format(value)).formatted(Formatting.DARK_GRAY);
}, value -> {
List<Text> tooltip = new ArrayList<Text>();
tooltip.add((new TranslatableText("playerex.gui.page.attributes.tooltip.health_regeneration[0]")).formatted(Formatting.GRAY));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static enum Tooltip { DEFAULT, VANILLA, PLAYEREX; }

@ConfigEntry.Category(value = "server")
@ConfigEntry.Gui.Tooltip(count = 2)
protected String levelFormula = "stairs(x,0.15,2,25,10,22)";
protected String levelFormula = "stairs(x,0.2,2.4,17,10,25)";

@ConfigEntry.Category(value = "client")
@ConfigEntry.BoundedDiscrete(min = 0, max = 150)
Expand Down

0 comments on commit 4d224fa

Please sign in to comment.