Commit Graph
335 Commits
Author SHA1 Message Date
Bernhard Bonigl 59553174f6 Fix a possible crash when minecraft derps its item-in-use for players 2015-02-22 00:25:36 +01:00
Bernhard Bonigl d1f86adb58 Add a cancelable ModifyEvent that's called when a modifier is getting applied. 2015-02-21 22:01:11 +01:00
Bernhard Bonigl 3bdb3a101e Merge branch 'master' of https://github.com/SlimeKnights/TinkersConstruct 2015-02-21 21:51:15 +01:00
Bernhard Bonigl 075b769db2 Fix a long standing bug that caused FPS drops with bows. All tools now use our own renderer. Rendering performance overall should be increased. Honor and Glory to @skyboy for finding the cause 2015-02-21 21:50:23 +01:00
Bernhard Bonigl 497150683c Fix incorrect bugfix that didn't fix a crash and broke bow animations 2015-02-21 21:48:34 +01:00
Bernhard Bonigl dfa83411bc Adapt tooltips on bows/crossbows to reflect the new approximate damage dealt with arrows 2015-02-21 21:20:59 +01:00
skyboy 6992db13f8 Fix created projectile offset 2015-02-19 03:21:45 -05:00
Bernhard Bonigl 8199401be9 Extra-Check to prevent modify builder from giving out tools with negative modifiers in case something went wrong. 2015-02-12 10:57:20 +01:00
Bernhard Bonigl 4ec647243f Extra Dynamic-Sword-Skills support 2015-02-12 10:27:08 +01:00
Bernhard Bonigl ee661bf08c Smooth out the highend-damage balance for bow and arrows so it doesn't affect low end much 2015-02-09 15:56:30 +01:00
Bernhard Bonigl 58031bb521 Default to white if a tool has a material that doesn't exist anymore 2015-02-07 17:54:00 +01:00
Bernhard Bonigl 3cd211e9f4 Fix reinforced tools not repairing with moss 2015-02-07 08:59:57 +01:00
Bernhard Bonigl ea8f1fe0c0 Zelda Sword Skills support for weapons. Somebody test this in detail. 2015-01-30 19:28:56 +01:00
Bernhard Bonigl 53ae13fd1a Reduce damage for arrows/bolts a bit by a flat amount. This is done in a hacky way to support compatibility with existing items. 2015-01-30 18:53:20 +01:00
Bernhard Bonigl 11eb112c84 Properly calculate distance in subtick-distances for accuracy 2015-01-30 18:09:57 +01:00
Bernhard Bonigl 49e3e49fd8 Remove projectile dimishing returns for speed 2015-01-30 18:09:20 +01:00
Bernhard Bonigl 283c3cf12a Projectiles multiplicative speed scaling now only works off the base-damage of the projectile. Quartz is added flat afterwards.
For that purpose Tools now have base-damage saved. For existing tools the damage added by quartz is simply subtracted before the calculation.
2015-01-30 17:34:30 +01:00
Bernhard Bonigl cfebaef2c3 Fix tools being able to break every block that doesn't require a tool in adventure mode 2015-01-30 16:31:09 +01:00
Bernhard Bonigl 2812f80173 Move reinforced-calculations to the damage-dealing function from the hitting-stuff function #1367 2015-01-30 15:59:23 +01:00
Bernhard Bonigl 1992829430 Fix missing default textures and possibly very fast speeds crashing rendering on projectile weapons #1369 2015-01-30 14:58:53 +01:00
Bernhard Bonigl 9d89ecd4b7 Fix a null check in damage-calculations #1355 2015-01-21 10:24:24 +01:00
Bernhard Bonigl 119e888dc2 Critical strikes (fully charged bow) deals more damage from farther away than closer now 2015-01-18 23:05:59 +01:00
Bernhard Bonigl a1616dec8c Add some dimishing returns for high speeds for the damage calculation of projectiles 2015-01-18 23:05:36 +01:00
Bernhard Bonigl 824ec2dc55 Fire block break events for extra blocks broken from AOE tools #1346 2015-01-18 20:17:53 +01:00
Bernhard Bonigl 506da182eb RF Api the second, also don't strip the methods, derp. 2015-01-11 20:08:16 +01:00
Bernhard Bonigl 0e66235711 Fix RF-API Stripping depending on COFHLib instead of the energy api 2015-01-11 19:34:36 +01:00
Bernhard Bonigl 491132cbae Fix crash when clicking blocks with tools with no NBT 2015-01-06 11:46:41 +01:00
Bernhard Bonigl d408caba71 Change necrotic modifier to only heal on actually alive mobs. This prevents lifesteal from test dummies and similar things. 2015-01-05 00:16:57 +01:00
Bernhard Bonigl 752930af7b Re-Enable localization checks for modifiers to not doubly localize 2015-01-04 19:20:36 +01:00
Bernhard Bonigl a5c76edf01 Hacky localization of all the modifiers in tooltips and GUI 2015-01-03 18:24:26 +01:00
Adaptivity 30d7b322bd Localize armor tooltips 2015-01-02 15:27:10 +03:00
Bernhard Bonigl 195dfc76f8 Add an alternative way to craft bolts with config (default off) #1295 2015-01-02 11:03:41 +01:00
squeek 1c80f926c2 Fix arrow shaft name / add CustomMaterial support to DynamicToolPart 2014-12-31 16:09:37 -08:00
Bernhard Bonigl 8c34b3ea71 Fix drying racks/oreberries etc. not syncing inventory on pickup 2014-12-30 10:58:48 +01:00
Bernhard Bonigl c46e6e0bc2 Fix an issue with default tool-callback-modifiers resetting other modifiers damage (e.g. useless smite/bane) 2014-12-29 19:42:19 +01:00
Bernhard Bonigl 34e5f90edd Prevent possible crash in bows 2014-12-27 22:19:36 +01:00
Bernhard Bonigl 6966d8c679 Prevent crashes with Non-Player-Entities shooting (or reflecting) tinkers arrows 2014-12-24 09:30:24 +01:00
Bernhard Bonigl 347ada6f5f Rudimentary Battlegear support (tinker weapons can be equipped like regular weapons) 2014-12-23 14:36:07 +01:00
Bernhard Bonigl 86b2bc0856 Fix non-ammo projectiles returning arrows instead of the projectile item. #1248 2014-12-21 22:31:31 +01:00
Bernhard Bonigl d11d844537 Fix ammo changing if the itemstack damage is set to the same damage as it already had #1231 2014-12-19 14:10:18 +01:00
Bernhard Bonigl f9067594e0 Fix arrows not hitting stuff after being deflected/damage rejected 2014-12-13 16:31:49 +01:00
Bernhard Bonigl a1bde95c36 Merge branch 'master' into experimental 2014-12-04 19:26:11 +01:00
Bernhard Bonigl f8a0520f35 Possible fix for the endless recursions that sometimes seem to happen with AOE tools. #1213 2014-12-04 19:16:14 +01:00
Bernhard Bonigl d16acb6846 Tinker arrows/bolts/shuriken/throwingknives/javelins now work with dispensers :OOoo 2014-12-03 21:26:32 +01:00
Bernhard Bonigl d2b06da1ec The piercing damage of arrows/bolts doesn't determine whether an entity has been hit anymore (since it always hits since it's unblockable) 2014-12-03 20:57:28 +01:00
Bernhard Bonigl 5187f3bb31 Restore Tic-Tooltips compatibility so it doesn't crash anymore with new stuff 2014-11-28 14:37:49 +01:00
Bernhard Bonigl 6ea64191e1 Merge branch 'master' into experimental 2014-11-25 21:45:57 +01:00
Bernhard Bonigl e1101fa412 Fix inventory desync when activating drying rack/basin/oreberry 2014-11-25 21:45:37 +01:00
Bernhard Bonigl aa328792f7 Change AbilityHelper.spawnEntityAtPlayer to automatically put items into inventories by default (prevents lag-dupe) and also play sound if it got picked up. 2014-11-25 21:42:41 +01:00
Bernhard Bonigl ce47cd3c96 Fix broken textures not getting colored correctly if a special head-texture is present, but not a broken one 2014-11-21 19:34:48 +01:00