Wurst7
Wurst7 copied to clipboard
Hitbox Expander
Pre-suggestion checklist
- [X] I have searched existing issues and didn't find any previous issues with the same suggestion.
- [X] This is only one suggestion. I understand that GitHub issues don't work well with lists.
- [X] This feature doesn't already exist in the latest version of Wurst. I've made sure my installation is up to date.
- [X] I have looked at the code and am reasonably confident that this suggestion is possible to implement.
What type of improvement are you suggesting?
Adding a new hack.
What type of player would find this improvement useful?
Griefers, PVPers, Anarchy/faction players
Description
EntityMixin code: @Inject(at = @At("HEAD"), method = "Lnet/minecraft/entity/Entity;getBoundingBox", cancellable = true) public final void onGetBoundingBox(CallbackInfoReturnable<Box> cir) { HackList hax = WurstClient.INSTANCE.getHax();
if (WurstClient.INSTANCE.getHax().hitboxHack.shouldBeExpand((Entity)(Object)this)) { cir.setReturnValue(new Box( this.boundingBox.minX - hax.hitboxHack.sv.getValue()/2f, this.boundingBox.minY - hax.hitboxHack.hv.getValue()/2f, this.boundingBox.minZ - hax.hitboxHack.sv.getValue()/2f, this.boundingBox.maxX + hax.hitboxHack.sv.getValue()/2f, this.boundingBox.maxY + hax.hitboxHack.hv.getValue()/2f, this.boundingBox.maxZ + hax.hitboxHack.sv.getValue()/2f)); } }
@Alexander01998, i've sketched out the code of the function that was requested in the forum: https://wurstforum.net/d/42-add-hitbox-hack It works fine as in other cheats, but you need to filter the local client and items
this is cool
This issue has been open for a while with no recent activity. If this issue is still important to you, please add a comment within the next 7 days to keep it open. Otherwise, the issue will be automatically closed to free up time for other tasks.
Issues should be closed if:
- They are duplicates of other issues
- There is not enough demand
- They are no longer relevant
- There are not enough details