package asm.accessors;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket;
import net.minecraft.util.Hand;
import net.minecraft.util.hit.BlockHitResult;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;

@Environment(EnvType.CLIENT)
@Mixin({PlayerInteractBlockC2SPacket.class})
public interface IPlayerInteractBlockC2SPacket {
   @Accessor("blockHitResult")
   BlockHitResult getBlockHitResult();

   @Accessor("hand")
   Hand getHand();
}
