Closed zcaliptium closed 5 years ago
Seems reasonable. :+1:
@zcaliptium how much context do you want provided for this sort of thing? For example, would it be good enough to just know that the exhaustion is coming from a block being broken, or do you expect to also know which block was broken?
Let me know what you think of this:
EDIT: Also, just to make sure, you need this for Minecraft 1.12.2, right? Might not backport this unless I need to.
Correct. I need it only for 1.12.2. And... I think don't need information about broken block.
Thank you. I will check out new event ASAP.
Wow! Compiled AppleCore out of recent commit. I tested it out - It works fine! <3 Thank you again! I think you may close this Issue.
Glad to hear it. Will close once I release a version with this change in it.
Released in v3.2.0.
Hello! I am using AppleCore and... Making complex mod which enhances survival aspects of Minecraft. Seems like AC doesn't provide functionality to tweak some hardcoded values related to hunger defined by Mojang. In my opinion AC should provide full and fancy control over all stuff related to hunger.
Like:
harvestBlock
method at classes Block, BlockIce, BlockContainer)For example exhaunstion value on jump. Code at EntityPlayer:
I really need this functionality.
But I don't really want to make own coremod to tweak these values. There also option for some cases make ugly hack through Forge event handlers for
LivingUpdateEvent
and orAttackEntityEvent
and add back wasted amount of exhaustion, and then add my value. But how to be in case of jumping?