package jesse.keeblarcraft.mixin;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;

import net.minecraft.client.network.ClientPlayerInteractionManager;

@Mixin(ClientPlayerInteractionManager.class)
public abstract class ClientPlayerInteractionManagerMixin {
    // This initial basically lets the player highlight the block at 10 blocks away. Does NOT let them break it, that is all handled in the new server mixin
    // @Inject(method = "getReachDistance()F", at = @At ("HEAD"), cancellable = true)
    // public void getReachDistance(CallbackInfoReturnable<Float> cir) {
    //     cir.setReturnValue(10.0f);
    // }
}
