StellarWind22 / Fabric-Shield-Lib

Library for easily adding new shields, shield enchantments, and enabling you to enchant shields in general without worry of conflictions.
https://www.curseforge.com/minecraft/mc-mods/fabric-shield-lib
GNU Lesser General Public License v2.1
40 stars 19 forks source link

Adding a Fabric Shield to an armor stand puts it in wrong slot #126

Closed StellarWind22 closed 1 year ago

StellarWind22 commented 1 year ago

Instead of the item being added to the MainHand slot shields should be added to the offhand slot for vanilla parity.

CringeStar commented 1 year ago

maybe we could do this by mixing into the armor stand class?

StellarWind22 commented 1 year ago

Yeah that might be the best way to do this. I think there is some kind of method for items where you can define what slot it goes into?

StellarWind22 commented 1 year ago

There is a method in living entity where it grabs the preferred slot for a given item type