<commit_before>package com.minelittlepony.client.mixin;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;

import com.minelittlepony.client.PonyRenderManager;

import net.minecraft.client.network.AbstractClientPlayerEntity;
import net.minecraft.client.render.FirstPersonRenderer;
import net.minecraft.client.render.item.ItemRenderer;
import net.minecraft.client.render.model.json.ModelTransformation;
import net.minecraft.entity.LivingEntity;
import net.minecraft.item.ItemStack;

@SuppressWarnings("deprecation") // ItemCameraTransforms is deprecated by forge but we still need it.
@Mixin(FirstPersonRenderer.class)
public class MixinFirstPersonRenderer {

    @Redirect(method = "renderFirstPersonItem("
                + "Lnet/minecraft/client/entity/AbstractClientPlayer;FF"
                + "Lnet/minecraft/util/Hand;F"<commit_msg>Fixed MixinFirstPersonRenderer<commit_after>package com.minelittlepony.client.mixin;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;

import com.minelittlepony.client.PonyRenderManager;

import net.minecraft.client.network.AbstractClientPlayerEntity;
import net.minecraft.client.render.FirstPersonRenderer;
import net.minecraft.client.render.item.ItemRenderer;
import net.minecraft.client.render.model.json.ModelTransformation;
import net.minecraft.entity.LivingEntity;
import net.minecraft.item.ItemStack;

@Mixin(FirstPersonRenderer.class)
public class MixinFirstPersonRenderer {

    @Redirect(method = "renderFirstPersonItem("
                + "Lnet/minecraft/client/network/AbstractClientPlayerEntity;FF"
                + "Lnet/minecraft/util/Hand;F"
{'fraction_non_alphanumeric': 0.09944134078212291, 'fraction_numerical': 0.0, 'mean_word_length': 5.608856088560886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '378205', 'n_tokens_mistral': 539, 'n_tokens_neox': 537, 'n_words': 71}