Описание
# GolfIV
A Fabric anti-exploit mod.
## Current patches
*All of them are toggleable in GolfIV's config file, located in `config/GolfIV_config.json`.*
For latest info see [javadoc](https://samolego.github.io/GolfIV/javadoc/org/samo_lego/golfiv/storage/GolfConfig.html).
### Inventory
* `checkInventoryActions` - prevents hitting/chatting with open GUI.
* `legaliseSurvivalItems` - removes incompatible enchantments, resets stack sizes etc.
* `bannedSurvivalItems` - which survival items should be removed when clicked on.
* `removeCreativeNBTTags` - removes *ALL* NBT data in creative, but allows block-picking
### Packets
* `removeTeleportData` - removes coordinates from player teleport packets
* `removeHealthTags` - removes health data for entities from packets
* `removeEquipmentTags` - removes equipment information, so players with hacked clients cannot see enchants / stack size / durability of opponents
* `patchSoundExploits` - fakes coordinates in sound events, preventing lightning bolt player finding etc.
* `checkPortalHack` - checks if player is doing actions in portals that shouldn't be possible (chatting / inventory managing)
* `patchItemKickExploit`- prevents book banning & other too-large-inventory-kicks
### Movement
* `yesFall` - checks player's `onGround` status and ignores the one in player's movement packet
### Duplication
* `patchSaveLimit` - prevents the exception of data not saving by ignoring the data above the Java DataOutput limit
* `patchGravityBlock` - prevents gravity block duplication
* `patchDeathDuplication` - prevents duplicating inventory if player dies after disconnect
### Combat
* `preventWallHit` - prevents hitting entities through walls
* `checkHitDistance` - prevents hitting entities from too far away
* `checkHitAngle` - checks the angle at which player is trying to hit the entity