Skip to content

Commit cc19351

Browse files
committed
Update to 1.21.10
Will not be compatible with 1.21.9 because we had to change some mixin signatures
1 parent 274aac0 commit cc19351

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ org.gradle.jvmargs=-Xmx2G
22
org.gradle.configuration-cache=true
33

44
# Fabric (https://fabricmc.net/develop)
5-
minecraft_version=1.21.9
6-
yarn_mappings=1.21.9+build.1
5+
minecraft_version=1.21.10
6+
yarn_mappings=1.21.10+build.1
77
loader_version=0.17.2
8-
fapi_version=0.134.0+1.21.9
8+
fapi_version=0.134.1+1.21.10
99

1010
# Mod Properties
1111
maven_group=meteordevelopment

src/main/java/meteordevelopment/meteorclient/mixin/CobwebBlockMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@Mixin(CobwebBlock.class)
2424
public abstract class CobwebBlockMixin {
2525
@Inject(method = "onEntityCollision", at = @At("HEAD"), cancellable = true)
26-
private void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler, CallbackInfo info) {
27-
if (entity == mc.player && Modules.get().get(NoSlow.class).cobweb()) info.cancel();
26+
private void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler, boolean bl, CallbackInfo ci) {
27+
if (entity == mc.player && Modules.get().get(NoSlow.class).cobweb()) ci.cancel();
2828
}
2929
}

src/main/java/meteordevelopment/meteorclient/mixin/SweetBerryBushBlockMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@Mixin(SweetBerryBushBlock.class)
2424
public abstract class SweetBerryBushBlockMixin {
2525
@Inject(method = "onEntityCollision", at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/Entity;slowMovement(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Vec3d;)V"), cancellable = true)
26-
private void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler, CallbackInfo info) {
27-
if (entity == mc.player && Modules.get().get(NoSlow.class).berryBush()) info.cancel();
26+
private void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler, boolean bl, CallbackInfo ci) {
27+
if (entity == mc.player && Modules.get().get(NoSlow.class).berryBush()) ci.cancel();
2828
}
2929
}

0 commit comments

Comments
 (0)