Update to Gradle 9, Loom 1.15, EGT 0.7

This commit is contained in:
Jonas Herzig
2026-03-28 09:18:04 +01:00
parent f08607a599
commit b72fad4055
11 changed files with 52 additions and 42 deletions

View File

@@ -21,7 +21,7 @@ import net.minecraft.client.render.entity.LivingEntityRenderer;
//#endif
public abstract class MixinRenderLivingBase {
//#if MC>=11500
@Inject(method = "render", at = @At(
@Inject(method = "render(Lnet/minecraft/entity/LivingEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V", at = @At(
//#else
//#if FABRIC>=1
//$$ @Inject(method = "render(Lnet/minecraft/entity/LivingEntity;DDDFF)V", at = @At(

View File

@@ -24,7 +24,7 @@ import static com.replaymod.core.versions.MCVer.*;
//#endif
public abstract class MixinRenderLivingBase {
//#if FABRIC>=1
@Inject(method = "hasLabel", at = @At("HEAD"), cancellable = true)
@Inject(method = "hasLabel(Lnet/minecraft/entity/LivingEntity;)Z", at = @At("HEAD"), cancellable = true)
//#else
//$$ @Inject(method = "canRenderName(Lnet/minecraft/entity/LivingEntity;)Z", at = @At("HEAD"), cancellable = true)
//#endif
@@ -45,7 +45,7 @@ public abstract class MixinRenderLivingBase {
//#if MC>=12102
//$$ method = "updateRenderState(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/client/render/entity/state/LivingEntityRenderState;F)V",
//#elseif MC>=11500
method = "render",
method = "render(Lnet/minecraft/entity/LivingEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V",
//#else
//$$ method = "render(Lnet/minecraft/entity/LivingEntity;FFFFFF)V",
//#endif

View File

@@ -23,7 +23,7 @@ public class MixinTileEntityEndPortalRenderer {
static
//#else
//#if MC>=11400
//$$ @Redirect(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/util/Util;getMeasuringTimeMs()J"))
//$$ @Redirect(method = "render(Lnet/minecraft/block/entity/EndPortalBlockEntity;DDDFI)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/util/Util;getMeasuringTimeMs()J"))
//#else
//#if MC>=11200
//$$ @Redirect(method = "renderTileEntityAt(Lnet/minecraft/tileentity/TileEntityEndPortal;DDDFIF)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;getSystemTime()J"))