Changes

Summary

  1. Implemented proper item insertion logic for drawbridge (details)
  2. Fixed sending null to onPlayerDestroyItem in drawbridge (details)
  3. Fixed inconsistency with ForgeHooks (details)
  4. Fake player singleton, and use consistent UUID for fake player (details)
  5. Bump version to 2.1.1 (details)
Commit 2121fd00afcc1359b070ed910201e4945d38b2e3 by Arthur Uzulin
Implemented proper item insertion logic for drawbridge

+ a workaround for hopper aggressiveness

Fixes #102
The file was modifiedsrc/main/java/slimeknights/tmechworks/common/inventory/FragmentedInventory.java (diff)
The file was modifiedsrc/main/java/slimeknights/tmechworks/common/blocks/tileentity/DrawbridgeTileEntity.java (diff)
Commit e6956d47a12ac31546e9dca089f7074bb992cd26 by Arthur Uzulin
Fixed sending null to onPlayerDestroyItem in drawbridge

- Code was based on ForgeHooks code, where this issue was also resolved recently (MinecraftForge/MinecraftForge#6633)
Fixes #101
The file was modifiedsrc/main/java/slimeknights/tmechworks/common/blocks/tileentity/DrawbridgeTileEntity.java (diff)
Commit 962394a1538eba2a1f58997c0ea77349320686d4 by Arthur Uzulin
Fixed inconsistency with ForgeHooks

The file was modifiedsrc/main/java/slimeknights/tmechworks/common/blocks/tileentity/DrawbridgeTileEntity.java (diff)
Commit 40763ba1106102611a26f7f68b56d19d1a94fb8e by Arthur Uzulin
Fake player singleton, and use consistent UUID for fake player

Closes #100
The file was addedsrc/main/java/slimeknights/tmechworks/common/entities/MechworksFakePlayer.java
The file was modifiedsrc/main/java/slimeknights/tmechworks/common/event/DrawbridgeSoundEventListener.java (diff)
The file was modifiedsrc/main/java/slimeknights/tmechworks/library/Util.java (diff)
The file was modifiedsrc/main/java/slimeknights/tmechworks/TMechworks.java (diff)
The file was modifiedsrc/main/java/slimeknights/tmechworks/common/blocks/tileentity/DrawbridgeTileEntity.java (diff)
The file was modifiedgradle.properties (diff)