Commit Graph
365 Commits
Author SHA1 Message Date
bb87654862 Fix slimeboots & slimesling (#63)
* Fix slimeboots & slimesling
* Use vec3 instead of Vector3d which isn't found on the server
* set entity.motionXYZ manually, as setVelocity is ClientOnly

* spotlessApply (#64)

Co-authored-by: Jason Mitchell <[email protected]>
Co-authored-by: GitHub GTNH Actions <>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-04 16:36:50 +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
DrParadox7 18bfeaff32 Balance Additions (#53)
-Added Clay Patterns:
Single use patterns for smeltery that supports only tools not requiring a tool forge.
Currently unobtainable since I'll leave that to modpack creators.

-Added Molten Quartz:
A useful material for gating stuff behind the nether.
Just melt quartz or quartz block.
2022-09-18 10:57:03 +02:00
miozune e82f2eb4c9 Add null check (#50) 2022-08-04 08:07:59 +07:00
Alkalus e77d237649 Added Slime Boots & Slimesling. (#44)
* Added Slime Boots & Slimesling.

* Added tooltip to Slime Boots on how to stop bouncing.
Added tooltip to Slimesling.
2022-02-20 21:32:57 +01:00
miozune 3394029e1d Add a way to ignore NBT in casting recipes (#43)
* Add a way to ignore NBT in casting recipes
* use WILDCARD_VALUE
* fix NPE
2022-02-07 20:35:17 -08:00
D-Cysteine bfac3223cd Fall back for missing material 2021-10-03 20:35:19 -06:00
Arseny Spiridonov 50cd4115c2 Fixed few issues:
- https://github.com/SlimeKnights/TinkersConstruct/issues/3593
- https://github.com/SlimeKnights/TinkersConstruct/issues/2760
- https://github.com/SlimeKnights/TinkersConstruct/issues/1795
- Potion effect from Battleaxe can be added only by server
2020-09-23 20:03:53 +07: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
Kortako 0708d8054a Fixed issue with crossbow not being able to attack an enemy the player was too close to when in the battlegear slot. 2018-03-06 12:09:10 -08:00
Kortako a15044c435 Tinkers bows in Battlegear slots #2491
Added ability to equip Tinker's bows/crossbow/throwables to Battlegear slots.  Bows will only look in the same offhand, or the main inventory for ammo.
https://github.com/GTNewHorizons/NewHorizons/issues/2491
2018-02-21 05:51:18 -08: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
Bernhard Bonigl 455b92eb13 Add recipe sorting info for ShapelessToolRecipe (chiseling) #1574 2015-05-10 13:10:34 +02:00
Bernhard Bonigl 6361efc825 Add an extra check to projectile loading that ensures that the contained item is still valid, in case something got scrambled. 2015-05-10 13:07:07 +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 992b2a893a Change projectile behaviour with reinforced to not hit stuff multiple times and teleport around #1520 2015-04-13 09:09:52 +02:00
Bernhard Bonigl 0198ba8012 Fluid-API fixes for Forge 1355+ 2015-04-10 11:49:04 +02:00
Bernhard Bonigl 64217dcf27 Add an exception for drying rack recipies to work with frying-pan kills 2015-04-09 21:30:58 +02:00
Bernhard Bonigl 5d4d6466cf Changed the logic behind picking up ammo on the ground. Basically the base stats and composition has to be the same for an entity to be able to be picked up.
Small changes to the NBT that have nothing to do with the actual tool don't prevent picking them up anymore that way.
2015-04-03 20:13:10 +02:00
Bernhard Bonigl 03ece540e6 More verbose ammo-stacking when picking up ammo. Should fix projectiles not being pickupable (that is a word now) after they got xp. 2015-04-03 19:07:39 +02: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 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