Skip to content

Commit

Permalink
Merge branch '1.20.2' into 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Jun 18, 2024
2 parents 9c661b0 + f78ed96 commit 1193959
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,15 @@ public final class BeaconBlockEntityMixin {
@Final
public static MobEffect[][] BEACON_EFFECTS;

@Inject(method = "<clinit>", at = @At("TAIL"))
@Inject(
method = "<clinit>",
at = @At(
value = "FIELD",
target = "Lnet/minecraft/world/level/block/entity/BeaconBlockEntity;BEACON_EFFECTS:[[Lnet/minecraft/world/effect/MobEffect;",
shift = At.Shift.AFTER,
ordinal = 0
)
)
private static void wilderWild$addReachBoost(CallbackInfo info) {
ArrayList<MobEffect> effects = new ArrayList<>(List.of(BEACON_EFFECTS[2]));
effects.add(RegisterMobEffects.REACH_BOOST);
Expand Down

0 comments on commit 1193959

Please sign in to comment.