Commit Graph
222 Commits
Author SHA1 Message Date
Jason Mitchell 84c2239244 [ci skip] spotlessApply with the new settings 2023-01-28 18:04:28 -08:00
Alexdoru 83f54f1e97 quick fixes : enhanced for loop 2023-01-28 18:02:41 -08:00
Alexdoru 2b6b01314d quick fix : Unused assignment 2023-01-28 18:02:41 -08:00
Alexdoru cdc7dcf5d0 quick fix : optimize imports 2023-01-28 18:02:41 -08:00
Alexdoru ae363450b1 quick fix : Private field may be 'final' 2023-01-28 18:02:41 -08:00
Alexdoru 983ca22d97 spotless 2023-01-28 18:02:41 -08:00
Alexdoru fbccf4e087 quick fix : Statement with empty body 2023-01-28 18:02:41 -08:00
Alexdoru a7bc4185c7 quick fix : 'StringBuilder' can be replaced with 'String' 2023-01-28 18:02:41 -08:00
Alexdoru 2d13e6185e quick fix : Redundant type cast 2023-01-28 18:02:41 -08:00
Alexdoru b34eec4dea quick fix : Redundant Collection operation 2023-01-28 18:02:41 -08:00
Alexdoru f384a4fe28 quick fix : Redundant 'if' statement 2023-01-28 18:02:41 -08:00
Alexdoru 350177b5c9 quick fix : Access static member via instance reference 2023-01-28 18:02:41 -08:00
Alexdoru fc54dde7ce quick fix : 'if' statement with identical branches 2023-01-28 18:02:41 -08:00
Alexdoru 60f7add07f quick fix : Explicit type can be replaced with <> 2023-01-28 18:02:41 -08:00
Alexdoru 7abe2f5182 quick fix : 'while' loop replaceable with enhanced 'for' loop 2023-01-28 18:02:41 -08:00
Alexdoru f677a4c5b7 quick fix : Wrapper type may be primitive 2023-01-28 18:02:41 -08:00
NexusNull 54e24a25f4 Backport: Only break one block when sneaking (#65)
* only break one block on shift

* sportless

Signed-off-by: NexusNull <[email protected]>

* fixes https://github.com/GTNewHorizons/TinkersConstruct/pull/65/files/41a1ecea30cb0506d068da30c16fc27dcf64550f#r1071818922

Signed-off-by: NexusNull <[email protected]>

Signed-off-by: NexusNull <[email protected]>
2023-01-17 09:22:51 +01:00
DrParadox7 7ff7f25f73 Mod Friendly Piercing (Rapier, Arrow & Bolts) (#60)
* Mod Friendly piercing

Piercing damage converted to bonus damage equivalent to victim's armor protection (capped at diamond armor).

This prevents rapiers from bypassing immunities.

* Run SpotlessApply

* Delete commented out code
2022-12-27 09:11:45 +01:00
Raven Szewczyk 39be06c23b Fix JABBA-related issues with crafting station slots (#54)
* Fix shift-merging tools voiding items

fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11392>

* Change 0-sized ItemStacks into null stacks in crafting station attached slots

Fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10425>

* Update buildscript

* spotlessApply
2022-09-22 20:51:23 +02:00
Arseny Spiridonov 6bd68f13b1 Fixed a lot of NPE's and few duplication glitches
(cherry-pick from other fork)
2020-09-22 23:52:53 +07:00
Jason Mitchell 14543da225 Add a null check in case there is no current equipped item 2018-01-29 22:31:02 -08:00
Jason Mitchell d748363176 Backport lumberaxe tree chop task from later versions 2017-12-22 10:34:32 -08:00
Bernhard Bonigl dad8ab969c Fix broken tools AOE harvesting and harvesting stuff above stone level.
Due to how forge/MC does things it's not possible to prevent stone-level from being harvested without extra events.
Closes #1775
2015-10-27 19:15:06 +01:00
Bernhard Bonigl ba18f02e94 Fix possible NPE when calculating knockback.
Closes #1731
2015-08-19 17:56:17 +02:00
Vexatos a21a80e00c Fix a crash with dynamically generated tool parts (bolts) trying to get a material name shorter than 9 characters. 2015-08-10 20:23:45 +02:00
SamRaven2 395a7749cc Fix For Block Collision
Fixes Accidental Suffocation
Fixes Pillaring Issue

More Work on Fix, Torch placement

Logic Derp

Less use of instanceof
More use of actual methods

Even bigger logic derp

Collision Fix
2015-04-30 16:37:21 -04:00
Bernhard Bonigl 9ba0e69541 Rightclick on tools without function now also allows you to throw shuriken in addition to splash potions! 2015-03-10 00:38:40 +01:00
Bernhard Bonigl a544071e0e Fix killing blows not giving lifesteal #1436 2015-03-02 15:54:30 +01:00
Bernhard Bonigl 28583d6a8b Fix Extra-Block harvests not giving XP 2015-02-26 22:54:42 +01:00
Bernhard Bonigl f634389c9f Only play pickup sound for actual players (drying rack, oreberries, etc) #1315 2015-02-22 17:52:22 +01:00
Bernhard Bonigl a7d3f47f14 Followup to fix all the remaining parameters not set by 075b769db2 2015-02-22 12:08:25 +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 4ec647243f Extra Dynamic-Sword-Skills support 2015-02-12 10:27:08 +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 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 9d89ecd4b7 Fix a null check in damage-calculations #1355 2015-01-21 10:24:24 +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
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 347ada6f5f Rudimentary Battlegear support (tinker weapons can be equipped like regular weapons) 2014-12-23 14:36:07 +01:00