Skip to content

Commit

Permalink
4.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Madis0 committed Apr 27, 2024
1 parent 9e01539 commit c4717d9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
14 changes: 7 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/develop/
minecraft_version=24w14a
yarn_mappings=24w14a+build.5
loader_version=0.15.9
minecraft_version=1.20.5
yarn_mappings=1.20.5+build.1
loader_version=0.15.10

# Mod Properties
mod_version = 4.1.1-alpha.1
mod_version = 4.1.1
maven_group = io.github.madis0
archives_base_name = onebar

# Dependencies
fabric_api_version=0.96.14+1.20.5
modmenu_version=10.0.0-alpha.3
cloth_config_version=14.0.123
fabric_api_version=0.97.7+1.20.5
modmenu_version=10.0.0-beta.1
cloth_config_version=14.0.126
exordium_version=1.2.1-1.20.2
6 changes: 4 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion src/main/java/io/github/madis0/PlayerProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ else if(difficulty.equals(Difficulty.PEACEFUL))
isHoldingFood = true;
FoodComponent itemFood = heldItem.getItem().getComponents().get(DataComponentTypes.FOOD);
heldFoodHunger = Objects.requireNonNull(itemFood).nutrition();
heldFoodSaturation = Objects.requireNonNull(itemFood).saturationModifier() * heldFoodHunger * 2.0F; // See HungerManager -> add() for more info
heldFoodSaturation = Objects.requireNonNull(itemFood).saturation() * heldFoodHunger * 2.0F; // See HungerManager -> add() for more info
}
else {
isHoldingFood = false;
Expand Down

0 comments on commit c4717d9

Please sign in to comment.