ContentTweaker

ContentTweaker

27M Downloads

Set attack damage and speed of custom items

ChiriVulpes opened this issue ยท 3 comments

commented

I'm creating a set of custom tools, and would like to be able to model their attack damage based on vanilla tools. However, I don't see any support in mods.contenttweaker.Item for either attack damage or speed, or even an event handler for when an entity is hit.

If this is not currently possible, how would support be implemented? I might PR if it's not too complex. I think damage is done via attribute modifiers, correct? I guess providing full support for attribute modifiers would be relatively complex, since it would require adding a few new enums and classes, so maybe it's better to just leave the implementation to you.

commented

There's no interactions with entities currently see #74 ! But Modifiers wouldn't be super hard, as CraftTweaker already provides some mild support for those. if you're in TAC's discord I'd be happy to help with a PR.

commented

I'm not, a friend gave me invites to a few other misc modding servers but wasn't able to send an invite for the TAC one (also I couldn't find anywhere it was mentioned publicly).

I saw #74 but only its name, I assumed "interaction" meant right clicking. I should have clicked on it, I guess.

commented

https://discord.gg/5434DS

It was just to be interactions with entities in general