use of nomble.beebuddy.client.mixin.invoker.LivingEntityRendererInvoker in project beebuddy by queenofthebees.
the class PlayerEntityRendererMixin method addHeadFriendFeature.
@Inject(method = "<init>(Lnet/minecraft/client/render/entity" + "/EntityRenderDispatcher;Z)V", at = @At("TAIL"))
public void addHeadFriendFeature(EntityRenderDispatcher e, boolean b, CallbackInfo cbi) {
PlayerEntityRenderer us = (PlayerEntityRenderer) (Object) this;
LivingEntityRendererInvoker inv = (LivingEntityRendererInvoker) (Object) this;
inv.beebuddy$addFeature(new HeadFriendFeatureRenderer(us));
}
Aggregations