Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
1.19.3
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Oct 2, 2023
1 parent 50e46c4 commit fbbed34
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ public void renderOverlay(MatrixStack matrices) {
int n = l + j;
RenderSystem.setShaderTexture(0, this.textureId);
DrawableHelper.drawTexture(matrices, k, l, -90, 0.0F, 0.0F, i, j, i, j);
DrawableHelper.fill(matrices, 0, n, scaledWidth, scaledHeight, -90, 0xFF000000);
DrawableHelper.fill(matrices, 0, 0, scaledWidth, l, -90, 0xFF000000);
DrawableHelper.fill(matrices, 0, l, k, n, -90, 0xFF000000);
DrawableHelper.fill(matrices, m, l, scaledWidth, n, -90, 0xFF000000);
DrawableHelper.fill(matrices, 0, n, scaledWidth, scaledHeight, 0xFF000000);
DrawableHelper.fill(matrices, 0, 0, scaledWidth, l, 0xFF000000);
DrawableHelper.fill(matrices, 0, l, k, n, 0xFF000000);
DrawableHelper.fill(matrices, m, l, scaledWidth, n, 0xFF000000);
RenderSystem.depthMask(true);
RenderSystem.enableDepthTest();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import net.minecraft.client.render.VertexConsumerProvider;
import net.minecraft.client.render.entity.feature.PlayerHeldItemFeatureRenderer;
import net.minecraft.client.render.model.json.ModelTransformationMode;
import net.minecraft.client.render.model.json.ModelTransformation;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.entity.LivingEntity;
import net.minecraft.item.ItemStack;
Expand All @@ -17,7 +17,7 @@
@Mixin(PlayerHeldItemFeatureRenderer.class)
public abstract class PlayerHeldItemFeatureRendererMixin {
@Inject(method = "renderItem", at = @At("HEAD"), cancellable = true)
private void renderCustomSpyglassesAsSpyglass(LivingEntity entity, ItemStack stack, ModelTransformationMode modelTransformationMode, Arm arm,
private void renderCustomSpyglassesAsSpyglass(LivingEntity entity, ItemStack stack, ModelTransformation.Mode modelTransformationMode, Arm arm,
MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, CallbackInfo ci) {
if (stack.isIn(SpyglassHelper.SPYGLASSES) && entity.getActiveItem() == stack && entity.handSwingTicks == 0) {
this.renderSpyglass(entity, stack, arm, matrices, vertexConsumers, light);
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"depends": {
"fabric": "*",
"minecraft": "1.20.x",
"minecraft": "1.19.3",
"architectury": "*"
}
}
4 changes: 2 additions & 2 deletions forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader = "javafml"
loaderVersion = "[46,)"
loaderVersion = "[44,)"
#issueTrackerURL = ""
license = "MIT"

Expand All @@ -18,7 +18,7 @@ logoFile = "icon.png"
[[dependencies.zoomerlibrary]]
modId = "forge"
mandatory = true
versionRange = "[46,)"
versionRange = "[44,)"
ordering = "NONE"
side = "BOTH"

Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
org.gradle.jvmargs=-Xmx2G

minecraft_version=1.19.4
minecraft_version=1.19.3
enabled_platforms=fabric,forge
quilt_mappings=1.19.4+build.2
quilt_mappings=1.19.3+build.5

archives_base_name=ZoomerLibrary
mod_version=0.1.0
maven_group=org.thinkingstudio

architectury_version=8.2.89
architectury_version=7.1.86

fabric_loader_version=0.14.9
fabric_api_version=0.87.0+1.19.4
fabric_api_version=0.76.1+1.19.3

forge_version=1.19.4-45.2.2
forge_version=1.19.3-44.1.23

0 comments on commit fbbed34

Please sign in to comment.