mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Prevent the creation of useless tool parts (bow limb, xbow limb and arrowhead without respective stats for the material)
This commit is contained in:
1 parent
f3ba95bbea
commit
161c292462
2 files changed
+66
No files matched your search
@@ -178,6 +178,7 @@ public class TinkerToolEvents
|
||||
@SubscribeEvent
|
||||
public void craftPart (PartBuilderEvent.NormalPart event)
|
||||
{
|
||||
// bowstring
|
||||
if (event.pattern.getItem() == TinkerTools.woodPattern && event.pattern.getItemDamage() == 23)
|
||||
{
|
||||
ItemStack result = craftBowString(event.material);
|
||||
@@ -187,6 +188,7 @@ public class TinkerToolEvents
|
||||
}
|
||||
}
|
||||
|
||||
// fletching
|
||||
if (event.pattern.getItem() == TinkerTools.woodPattern && event.pattern.getItemDamage() == 24)
|
||||
{
|
||||
ItemStack result = craftFletching(event.material);
|
||||
|
||||
Reference in new issue
Block a user