Spartan Weaponry compat
yeelp opened this issue · 0 comments
yeelp commented
This is for thrown weapons and projectiles only. Iirc, Spartan Weaponry uses the same entity for thrown weapons, not differentiating the entity based on material, but only on weapon type. The NBT data to "figure out" the weapon material is still present and can be taken advantage of.
Using the material NBT, I can find out what the original item was, take that damage distribution, and use that for the projectile distribution.
It may require extending the tooltip system to handle these guys specifically, as it won't find the projectile distribution on it's own, unless I change some default behaviour.