mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 00:47:50 +00:00
Make Mixin Classes Abstract
This commit is contained in:
1 parent
0039f062f0
commit
63a5e758e2
3 files changed
+3
-3
No files matched your search
@@ -11,7 +11,7 @@ import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(value = EntityRenderer.class)
|
||||
public class MixinEntityRenderer {
|
||||
public abstract class MixinEntityRenderer {
|
||||
|
||||
@Inject(method = "renderWorld", at = @At(value = "RETURN"))
|
||||
private void renderFirstPersonOverlays(float p_78476_1_, long p_78476_2_, CallbackInfo callbackInfo)
|
||||
|
||||
@@ -45,7 +45,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
import static net.minecraftforge.client.IItemRenderer.ItemRenderType.EQUIPPED_FIRST_PERSON;
|
||||
|
||||
@Mixin(ItemRenderer.class)
|
||||
public class MixinItemRenderer {
|
||||
public abstract class MixinItemRenderer {
|
||||
|
||||
@Inject(method = "renderItemInFirstPerson", at = @At(value = "HEAD"), cancellable = true)
|
||||
public void renderItemInFirstPerson(float p_78440_1_, CallbackInfo callbackInfo)
|
||||
|
||||
@@ -19,7 +19,7 @@ import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(value = RenderPlayer.class)
|
||||
public class MixinRenderPlayer {
|
||||
public abstract class MixinRenderPlayer {
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Inject(method = "rotateCorpse*", at = @At(value = "TAIL"))
|
||||
|
||||
Reference in new issue
Block a user