For Minecraft Forge mod making for Minecraft 1.7.10, how do you use the OreDictionary…
- User
For Minecraft Forge mod making for Minecraft 1.7.10, how do you use the OreDictionary when registering a crafting recipe?
- Assistant
To use the OreDictionary when registering a crafting recipe in Minecraft Forge for Minecraft 1.7.10, you can follow these steps:
- User
In versions prior to that, there was a method in the players' inventory called getDamageVsEntity. This has been completely removed, not just renamed, for 1.7.10 from what I see. What do you recommend using in it's place, without actually attacking the other entity?
- Assistant
- User
what is the baseDamage parameter for?
- Assistant
- User
Are there any forseeable downsides to using ForgeHooks.onLivingHurt?
- Assistant
While I could not find any specific downsides associated with using
ForgeHooks.onLivingHurt, it is important to remember that it is a hook provided by Forge for mods to modify how damage is handled. With that being said, here are a few considerations to keep in mind when usingForgeHooks.onLivingHurt:-
Compatibility: Some other mods may also utilize
ForgeHooks.onLivingHurtto modify damage calculations or apply additional effects. This means that if multiple mods are using this hook, the order in which they are called may impact the final damage value. Mod conflicts or unintended interactions can arise if conflicting mods modify damage in inconsistent ways.
-
- User
Looking more closely, I see your code uses the player's armor to increase the player's attack value. Is this how vanilla does it?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.