Update yarn and fapi versions.
This commit is contained in:
parent
4560771144
commit
58c87b3bbf
4 changed files with 8 additions and 8 deletions
|
@ -42,9 +42,9 @@ public class MixinGameRenderer {
|
|||
@Final
|
||||
private MinecraftClient client;
|
||||
|
||||
@Redirect(method = "updateMovementFovMultiplier", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/network/AbstractClientPlayerEntity;getSpeed()F"))
|
||||
private float updateMovementFovMultiplier(AbstractClientPlayerEntity playerEntity) {
|
||||
float playerSpeed = playerEntity.getSpeed();
|
||||
@Redirect(method = "updateFovMultiplier", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/network/AbstractClientPlayerEntity;getFovMultiplier()F"))
|
||||
private float updateFovMultiplier(AbstractClientPlayerEntity playerEntity) {
|
||||
float playerSpeed = playerEntity.getFovMultiplier();
|
||||
for (ItemStack stack : playerEntity.getArmorItems()) {
|
||||
if (stack.getItem() instanceof ArmorFovHandler) {
|
||||
playerSpeed = ((ArmorFovHandler) stack.getItem()).changeFov(playerSpeed, stack, client.player);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"required": true,
|
||||
"package": "reborncore.mixin.client",
|
||||
"compatibilityLevel": "JAVA_16",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"client": [
|
||||
"MixinGameRenderer",
|
||||
"MixinDebugRenderer",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"required": true,
|
||||
"package": "reborncore.mixin.common",
|
||||
"compatibilityLevel": "JAVA_16",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"mixins": [
|
||||
"AccessorFluidBlock",
|
||||
"AccessorFoliagePlacerType",
|
||||
|
|
|
@ -7,13 +7,13 @@ org.gradle.jvmargs=-Xmx2G
|
|||
# Fabric Properties
|
||||
# check these on https://modmuss50.me/fabric.html
|
||||
minecraft_version=1.18.1
|
||||
yarn_version=1.18.1+build.7
|
||||
yarn_version=1.18.1+build.18
|
||||
loader_version=0.12.12
|
||||
fapi_version=0.44.0+1.18
|
||||
fapi_version=0.45.2+1.18
|
||||
|
||||
# Dependencies
|
||||
energy_version=2.0.0-beta1
|
||||
rei_version=7.1.356
|
||||
rei_version=7.1.357
|
||||
trinkets_version=3.0.2
|
||||
autoswitch_version=-SNAPSHOT
|
||||
dashloader_version=2.0
|
||||
|
|
Loading…
Reference in a new issue