Skip to content

Commit

Permalink
Version 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
I-No-oNe committed Sep 19, 2024
1 parent 939ec0f commit 43377bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.21
yarn_mappings=1.21+build.2
minecraft_version=1.20.6
yarn_mappings=1.20.6+build.1
loader_version=0.15.11

# Mod Properties
mod_version = 9.0-1.21-fabric
mod_version = 9.0-1.20.6-fabric
maven_group=net.i_no_am.view_model
archives_base_name=view-model

# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.100.4+1.21
fabric_version=0.98.0+1.20.6
# ImproperUI Properties
# check on https://github.com/ItziSpyder/ImproperUI/releases/latest
improperui_version=1.21-0.0.6-BETA
improperui_version=1-20.6-0.0.6-BETA
2 changes: 1 addition & 1 deletion src/main/java/net/i_no_am/viewmodel/mixin/MixinCamera.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import net.i_no_am.viewmodel.Global;
import net.i_no_am.viewmodel.config.Config;
import net.minecraft.block.enums.CameraSubmersionType;
import net.minecraft.client.render.Camera;
import net.minecraft.client.render.CameraSubmersionType;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import net.minecraft.client.render.VertexConsumerProvider;
import net.minecraft.client.render.item.HeldItemRenderer;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Arm;
import net.minecraft.util.Hand;
Expand Down Expand Up @@ -77,7 +76,7 @@ private void noHandsRender(AbstractClientPlayerEntity player, float tickDelta, f
}

@Inject(method = "applyEatOrDrinkTransformation", at = @At("HEAD"), cancellable = true)
public void noEatingAnimations(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack, PlayerEntity player, CallbackInfo ci) {
public void noEatingAnimations(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack, CallbackInfo ci) {
if (Config.noFoodSwing.getVal()) {
ci.cancel();
}
Expand Down

0 comments on commit 43377bd

Please sign in to comment.