use of com.jab125.thonkutil.impl.ItemElytraRenderer in project ThonkUtil by LimeAppleBoat.
the class PlayerEntityMixin method initInject.
@Inject(method = "<init>", at = @At("TAIL"))
@SuppressWarnings("unchecked")
public void initInject(EntityRendererFactory.Context ctx, boolean slim, CallbackInfo ci) {
((LivingEntityRendererAccessor) (Object) this).callAddFeature(new ItemCapeRenderer((PlayerEntityRenderer) (Object) this, ctx.getModelLoader()));
((LivingEntityRendererAccessor) (Object) this).callAddFeature(new ItemElytraRenderer((PlayerEntityRenderer) (Object) this, ctx.getModelLoader()));
((LivingEntityRendererAccessor) (Object) this).callAddFeature(new TwoWingedItemElytraRenderer((PlayerEntityRenderer) (Object) this, ctx.getModelLoader()));
}
Aggregations