Commit Graph
46 Commits
Author SHA1 Message Date
koolkrafter5 7fe01beebc Allow arrows and bolts to be used from bauble slots.
Register a Quiver slot if Baubles Expanded is present. Can be put in a ring slot (had to pick one) if just Baubles is present.
Clean up some unused and outdated logic in all the bow and ammo classes.
2025-07-18 12:28:48 -04:00
Yannick Marcotte-Gourde cddcb7a959 Battlegear 2 for Backhand compat (#178) 2025-05-30 20:38:29 -04:00
Nova 012e6fe2cd Ammo reinforced modifier support (#140) 2024-12-21 10:28:08 -06:00
AlexdoruandMartin Robertz d696ad50c3 use updated battlegear2 api (#99)
* use updated battlegear2 api

* Update dependencies.gradle

---------

Co-authored-by: Martin Robertz <[email protected]>
2023-10-14 20:38:39 +02:00
miozuneGitHub GTNH Actionsgithub-actions[bot]
69bb974420 Use compileOnlyApi for CoFH (#84)
* Use compileOnlyApi for CoFH

* spotlessApply (#85)

Co-authored-by: GitHub GTNH Actions <>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 08:07:18 +02:00
Jason Mitchell 84c2239244 [ci skip] spotlessApply with the new settings 2023-01-28 18:04:28 -08:00
Alexdoru f384a4fe28 quick fix : Redundant 'if' statement 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 f9c44ee3e5 quick fix : Unnecessary interface modifier 2023-01-28 18:02:41 -08: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
miozune e82f2eb4c9 Add null check (#50) 2022-08-04 08:07:59 +07: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
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
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 59553174f6 Fix a possible crash when minecraft derps its item-in-use for players 2015-02-22 00:25:36 +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
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 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 34e5f90edd Prevent possible crash in bows 2014-12-27 22:19:36 +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 3c7d9f00dd Fix bows replacing the wrong texture when broken 2014-11-21 19:34:03 +01:00
Bernhard Bonigl 81da6633ed Fix broken bows being usable 2014-11-21 19:25:41 +01:00
Bernhard Bonigl 40a2e91943 Throwing knives now crit when they're aimed long enough 2014-11-21 18:50:04 +01:00
Bernhard Bonigl f3f31bc045 Add vanilla critical behaviour to the tinker bows (critical if fully drawn) 2014-11-16 19:10:53 +01:00
Bernhard Bonigl 2b161aa0bb Buff crossbow projectile speed, nerf lognbow proj. speed and move the proper modifications into the stats of the weapon 2014-11-06 23:14:38 +01:00
Bernhard Bonigl 253dde7cce Change the accuraccy stuff to not call clientside methods serverside >_> 2014-11-06 23:06:09 +01:00
Bernhard Bonigl 206e2ffe0a Fix low durability ammos (javelins) possibly having 0 max ammo 2014-11-01 20:57:08 +01:00
Bernhard Bonigl eb1a6701de Fix Projectile Weapons and arrows/bolts building creative items with materials that have no bow/arrow material stats 2014-10-30 22:34:56 +01:00
Bernhard Bonigl 3f74dd7535 Make shuriken and ammoweapon/throwing knifes not throwable without ammo 2014-10-30 13:16:41 +01:00
Bernhard Bonigl ff7c6c17fc Move the drawspeed calculation to the tool building, so the saved values are the actual values instead of calculating them every time 2014-10-28 21:10:48 +01:00
Bernhard Bonigl 525baf8aad Add display and calculation stuff for maximum damage with thrown weapons 2014-10-28 18:52:11 +01:00
Bernhard Bonigl 0146627262 Bring Traits in line with GUI stuff etc. 2014-10-28 18:16:08 +01:00
Bernhard Bonigl 4027392d67 Make Ammo stuff more resilient against corrupt tools with no nbt 2014-10-19 17:34:04 +02:00
Bernhard Bonigl 9f64ef46e8 Projectile Weapons tooltip displays the max damage with the current ammo 2014-10-19 16:49:04 +02:00
Bernhard Bonigl 11fcf21eb6 More arrow tags and display fixes 2014-10-19 16:23:01 +02:00
Bernhard Bonigl e7454a56ac Some rendering stuff and fixes with bolts/arrows 2014-10-19 15:45:08 +02:00
Bernhard Bonigl cd58fde59f Fix throwing weapons not using their proper textures if present 2014-10-10 18:21:02 +02:00
Bernhard Bonigl 28f16ac76c Don't use up ammo in creative mode 2014-10-10 17:48:19 +02:00
Bernhard Bonigl ca786eb2ed Animated effects are back! 2014-10-09 18:11:06 +02:00
Bernhard Bonigl 3427ed6208 Redstone-Modifier for bows and similar! 2014-10-09 17:35:49 +02:00
Bernhard Bonigl ef0ae6141a Fix animated icon textures and deprecate old tinkers stuff 2014-10-05 23:14:32 +02:00
Bernhard Bonigl 86fc2ddbf3 Bowstring Textures fixing 2014-10-05 21:04:11 +02:00
Bernhard Bonigl 0bdf31912b Lots of integration. Graphics n stuff. Items. Everything. 2014-10-05 20:46:12 +02:00