mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 23:48:00 +01:00
Fix build errors.
This commit is contained in:
parent
af398e6d85
commit
cf132b8bcc
1 changed files with 3 additions and 3 deletions
|
@ -33,15 +33,15 @@ public abstract class MixinRenderItem implements IResourceManagerReloadListener,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ModifyArg(method = "renderQuads(Lnet/minecraft/client/renderer/BufferBuilder;ILjava/util/List;Lnet/minecraft/item/Itemstack;)V",
|
@ModifyArg(method = "renderQuads(Lnet/minecraft/client/renderer/BufferBuilder;Ljava/util/List;ILnet/minecraft/item/ItemStack;)V",
|
||||||
at = @At(value = "INVOKE",
|
at = @At(value = "INVOKE",
|
||||||
target = "renderQuad(Lnet/minecraft/client/renderer/BufferBuilder;Lnet/minecraft/client/renderer/block/model/BakedQuad;I)V"),
|
target = "Lnet/minecraft/client/renderer/RenderItem;renderQuad(Lnet/minecraft/client/renderer/BufferBuilder;Lnet/minecraft/client/renderer/block/model/BakedQuad;I)V"),
|
||||||
index = 2)
|
index = 2)
|
||||||
private int modifyItemRenderTint(int color) {
|
private int modifyItemRenderTint(int color) {
|
||||||
return transparency ? -1 : color;
|
return transparency ? -1 : color;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(method = "renderEffect(Lnet/minecraft/client/renderer/block/model/IBakedQuad;)V", at = @At("HEAD"), cancellable = true)
|
@Inject(method = "renderEffect(Lnet/minecraft/client/renderer/block/model/IBakedModel;)V", at = @At("HEAD"), cancellable = true)
|
||||||
private void renderEffect(IBakedModel model, CallbackInfo info) {
|
private void renderEffect(IBakedModel model, CallbackInfo info) {
|
||||||
if (transparency) {
|
if (transparency) {
|
||||||
info.cancel();
|
info.cancel();
|
||||||
|
|
Loading…
Reference in a new issue