Comments (7)
Hello!
I am unable to reproduce this mod in any of my development or production environments.
This is most likely caused by another mod.
It would be greatly appreciated, if you could pinpoint which mod causes these symthomps.
from projectiledamage.
Bump, update please!
from projectiledamage.
With more testing, it seems that this problem is likely from using CraftTweaker to add the projectile damage attribute to the modded bows, without "add_default_attributes_for_unspecified_bows/crossbows" enabled. More specifically, the problem occurred when adding the attribute to the bows and crossbows added by Easy Steel, which release arrows at higher than normal velocity.
I need to do more testing to further isolate the issue, as it's possible that the root of the problem lies with one or both of those mods rather than with Projectile Damage Attribute.
from projectiledamage.
I did some further testing and isolated the problem down to a combination of CraftTweaker and Property Modifier as the main culprits. If I had to guess, Property Modifier is interfering with attribute refreshing when reloading the CraftTweaker script, thus messing up the damage without the attribute appearing to change.
from projectiledamage.
Here's an excerpt of the CraftTweaker script I was running when I found the issue. I also posted it in Property Modifier's issue tracker as well.
import crafttweaker.api.entity.attribute.AttributeOperation; import crafttweaker.api.entity.equipment.EquipmentSlot; <item:easy_steel:steel_bow>.anyDamage().addGlobalAttributeModifier(<attribute:projectile_damage:generic>, "Steel Bow", 5.4, AttributeOperation.ADDITION, [<constant:minecraft:equipmentslot:mainhand>,<constant:minecraft:equipmentslot:offhand>]);
from projectiledamage.
I think you need to specify a hardcoded UDID for the attribute modifier, otherwise it can be applied multiple times.
from projectiledamage.
That was exactly the problem, I copied the UUID from the Bow's default attribute and used that in my CT script and the issue went away. So this issue is now resolved.
from projectiledamage.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from projectiledamage.