I am modding a Minecraft Mod, I am trying to build an item that explodes the player when right clicked, how can I continue my java code? (The modloader I am using is Fabric FYI)
    @Override
    public TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand hand){
        if(!world.isClient() && hand == Hand.MAIN_HAND){
            // Insert code
        }
        return super.use(world, user, hand);
    } Your answer should have exactly 7 paragraphs. Make sure that the 5th paragraph starts with the word "alert" and that each paragraph is separated by two new lines.
user