Skip to content

Commit

Permalink
Finally fix inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
superpowers04 committed Mar 2, 2024
1 parent a256ed9 commit 81b12b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private static void renderEntityInInventoryFollowsMouse(GuiGraphics guiGraphics,
if (!Configs.FIGURA_INVENTORY.value || AvatarManager.panic)
return;

UIHelper.drawEntity(x, y, size, mouseX, mouseY, entity, guiGraphics, new Vector3f(), EntityRenderMode.MINECRAFT_GUI);
UIHelper.drawEntity(x, y, size,(float) Math.atan(mouseY / 40f) * 20f, (float) -Math.atan(mouseX / 40f) * 20f, entity, guiGraphics, new Vector3f(), EntityRenderMode.MINECRAFT_GUI);
ci.cancel();
}
}
1 change: 0 additions & 1 deletion common/src/main/resources/figura-common.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"MinecraftMixin",
"ReloadableResourceManagerMixin",
"SkullBlockEntityAccessor",
"SNIHelperMixin",
"TextDisplayMixin",
"compat.GeckolibGeoArmorRendererMixin",
"compat.GeckolibGeoRendererMixin",
Expand Down
2 changes: 1 addition & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {
// Libraries
include(forgeRuntimeLibrary("com.github.FiguraMC.luaj:luaj-core:$luaj-figura"))
include(forgeRuntimeLibrary("com.github.FiguraMC.luaj:luaj-jse:$luaj-figura"))
include(forgeRuntimeLibrary("com.neovisionaries:nv-websocket-client:$nv_websocket"))
include(forgeRuntimeLibrary("org.java-websocket:Java-WebSocket:$websocket"))

forge "net.minecraftforge:forge:${rootProject.forge_version}"

Expand Down

0 comments on commit 81b12b5

Please sign in to comment.