Minecraft version
1.20.1
Hex Casting version
0.11.3
Hexal version
0.3.1
Issue description
When using Place Block II with an itemtype, it calls env.queryForMatchingStack() to attempt to find a stack in your inventory to place from. However, this base hex method can only search the hotbar, not the entire inventory (see FallingColors/HexMod#1052). Thus, even if you have a block matching the specified itemtype in your inventory, the spell won't see it unless it's in your hotbar.
Steps to reproduce
- Get an itemtype for some placeable item
- Put that item in your inventory, but not your hotbar
- Attempt to use Place Block II
Minecraft version
1.20.1
Hex Casting version
0.11.3
Hexal version
0.3.1
Issue description
When using Place Block II with an itemtype, it calls
env.queryForMatchingStack()to attempt to find a stack in your inventory to place from. However, this base hex method can only search the hotbar, not the entire inventory (see FallingColors/HexMod#1052). Thus, even if you have a block matching the specified itemtype in your inventory, the spell won't see it unless it's in your hotbar.Steps to reproduce