mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Fixed MixinFirstPersonRenderer
This commit is contained in:
parent
fbe63feffd
commit
7fbcc56d5e
1 changed files with 1 additions and 2 deletions
|
@ -13,12 +13,11 @@ import net.minecraft.client.render.model.json.ModelTransformation;
|
||||||
import net.minecraft.entity.LivingEntity;
|
import net.minecraft.entity.LivingEntity;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
@SuppressWarnings("deprecation") // ItemCameraTransforms is deprecated by forge but we still need it.
|
|
||||||
@Mixin(FirstPersonRenderer.class)
|
@Mixin(FirstPersonRenderer.class)
|
||||||
public class MixinFirstPersonRenderer {
|
public class MixinFirstPersonRenderer {
|
||||||
|
|
||||||
@Redirect(method = "renderFirstPersonItem("
|
@Redirect(method = "renderFirstPersonItem("
|
||||||
+ "Lnet/minecraft/client/entity/AbstractClientPlayer;FF"
|
+ "Lnet/minecraft/client/network/AbstractClientPlayerEntity;FF"
|
||||||
+ "Lnet/minecraft/util/Hand;F"
|
+ "Lnet/minecraft/util/Hand;F"
|
||||||
+ "Lnet/minecraft/item/ItemStack;F)V",
|
+ "Lnet/minecraft/item/ItemStack;F)V",
|
||||||
at = @At(value = "INVOKE",
|
at = @At(value = "INVOKE",
|
||||||
|
|
Loading…
Reference in a new issue