Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Practitioner pouch doesn't work with "Ritual of Ancient Stone" #1013

Open
groting opened this issue Nov 16, 2024 · 3 comments
Open

Practitioner pouch doesn't work with "Ritual of Ancient Stone" #1013

groting opened this issue Nov 16, 2024 · 3 comments

Comments

@groting
Copy link

groting commented Nov 16, 2024

Describe the bug

When you use practitioner pouch with "Ritual of Ancient Stone" selected on empty space nothing happens. If you use it on metalic runes, all reagents will be used but ritual doesn't start.

To Reproduce

Steps to reproduce the behavior:

  1. Select "Ritual of Ancient Stone" in practitioner pouch
  2. Have all nedeed reagents
  3. Use it on big flat surface
  4. or Use it on metalic runes

Expected behavior

Ritual will start.

Version Information (please complete the following information):

Mod Version: 3.1.0.1
Forge Version 47.3.11

Additional context:

geckolib-forge-1.20.1-4.4.9
curios-forge-5.10.0+1.20.1

When it happens on server, server send message:

[Server thread/ERROR] [minecraft/PacketUtils]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundUseItemOnPacket@29093412, suppressing error
java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 7
at com.mna.recipes.rituals.RitualRecipe.lambda$getMatchedDirection$10(RitualRecipe.java:715) ~[mna-forge-1.20.1-3.1.0.1-all.jar%23339!/:3.1.0.1] {re:classloading}
at java.util.ArrayList.forEach(Unknown Source) ~[?:?] {re:mixin}
at com.mna.recipes.rituals.RitualRecipe.getMatchedDirection(RitualRecipe.java:714) ~[mna-forge-1.20.1-3.1.0.1-all.jar%23339!/:3.1.0.1] {re:classloading}
at com.mna.items.ritual.ItemPractitionersPouch.getStoredRitualRotation(ItemPractitionersPouch.java:424) ~[mna-forge-1.20.1-3.1.0.1-all.jar%23339!/:3.1.0.1] {re:classloading}
at com.mna.items.ritual.ItemPractitionersPouch.placeRitual(ItemPractitionersPouch.java:210) ~[mna-forge-1.20.1-3.1.0.1-all.jar%23339!/:3.1.0.1] {re:classloading}
at com.mna.items.ritual.ItemPractitionersPouch.m_6225_(ItemPractitionersPouch.java:1090) ~[mna-forge-1.20.1-3.1.0.1-all.jar%23339!/:3.1.0.1] {re:classloading}

@groting groting changed the title Practitioner pouch doesn't work for "Ritual of Ancient Stone" Practitioner pouch doesn't work with "Ritual of Ancient Stone" Nov 16, 2024
@groting
Copy link
Author

groting commented Nov 17, 2024

Add info: Seems to happen only when ritual placed in certain direction.

@ShelLuser
Copy link

Add info: Seems to happen only when ritual placed in certain direction.

What direction? My friend Aya (survival) and me (creative) tried to reproduce but we don't experience the same issues. However.. we're on Forge 47.3.0.

@groting
Copy link
Author

groting commented Dec 1, 2024

North. East works as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants