Commit Graph
160 Commits
Author SHA1 Message Date
squeek 97c8789fca Added backwards compatibility to 4c410e 2014-09-02 16:32:49 -07:00
Bernhard Bonigl f6e6798f8d Fire blockbreak event 2014-09-02 17:02:03 +02:00
Bernhard Bonigl 568ed09982 Localize tool names 2014-09-01 23:52:04 +02:00
Bernhard Bonigl 8e5fa1118d Change default tool names to the same as the creative tool names, and still allow renaming. Also unify it for station and forge. 2014-09-01 23:13:05 +02:00
Bernhard Bonigl 4c410e6de6 Localize material names and move the display-prefix to language files 2014-09-01 22:40:00 +02:00
Bernhard Bonigl 6e9dea9bd8 Localization cleanup/fixes 2014-09-01 22:19:43 +02:00
Bernhard Bonigl 2dd426f1d7 Unify tool speed calculation in one accessible place, instead of having the same code floating around 3 times. 2014-08-28 14:29:12 +02:00
mDiyo 5b56d5e392 Buff redstone mod, refactor broad tools to match
Cherry-picked from 34a4c8c80f969cafd696b41d963c2a041347d4cd

Conflicts:
	src/main/java/tconstruct/common/TProxyCommon.java
	src/main/java/tconstruct/items/tools/Excavator.java
	src/main/java/tconstruct/items/tools/Hammer.java
	src/main/java/tconstruct/items/tools/LumberAxe.java
	src/main/java/tconstruct/library/tools/HarvestTool.java
	src/main/java/tconstruct/modifiers/tools/ModLapis.java
	src/main/java/tconstruct/modifiers/tools/ModRedstone.java
	src/main/java/tconstruct/tools/gui/ToolStationGui.java
2014-08-28 01:27:39 -07:00
Bernhard Bonigl d25e7e97ae Replace SmelteryInput class with mantles ItemMetaWrapper 2014-08-24 22:08:07 +02:00
Bernhard Bonigl 9070c73466 Fix liquids in tanks not rendering their top side if an opaque block is on top. (Relevant for all non-full tanks) 2014-08-24 20:37:52 +02:00
Bernhard Bonigl a270c30500 Goodbye coremod. You hopefully wont be missed. 2014-08-24 19:48:46 +02:00
Bernhard Bonigl 46d84095cc Send dig packets to synchronize states after breaking blocks. (Should reduce ghost-block problems with AOE tools) 2014-08-23 22:04:49 +02:00
Bernhard Bonigl 699b0f5796 Break blocks on clientside. Eliminates server latency. 2014-08-23 22:04:07 +02:00
Bernhard Bonigl 175352108e Change how leaf fletchlings are handled to be more general. Basically ALL leaves can be used for leaf fletchlings now. 2014-08-23 11:28:56 +02:00
Bernhard Bonigl 1dd13c5a5f Oredict support for custom materials 2014-08-23 11:27:59 +02:00
Bernhard Bonigl fa40865f6e Move Creative Tab class to library since it's only used there for the registry. 2014-08-21 21:34:33 +02:00
Bernhard Bonigl ab14d03834 Fix harvest-type being ignored in digspeed-calculation. This meant that hatchets could break ores the same speed as wood blocks, picks wood with the same speed as stone, etc. #897 2014-08-21 21:31:03 +02:00
mDiyo b1e30d8ab8 Merge pull request #892 from bonii-xx/new_pr2
Rework Stencil Table
2014-08-21 06:25:56 -08:00
Bernhard Bonigl 2e2c900f43 Also have the GuiElement for the ToolStation/Forge use the common base with the Stencil GuiElement. 2014-08-20 22:23:49 +02:00
Bernhard Bonigl bd997ab05e Rework stencil table GUI 2014-08-20 22:23:12 +02:00
Bernhard Bonigl 5dd0e0c8fa Change StencilTable from hardcoded patterns to a flexible system 2014-08-20 19:15:16 +02:00
Bernhard Bonigl 258b980605 Unify harvestlevel strings through the library. Also makes them adaptable. 2014-08-20 17:39:54 +02:00
Bernhard Bonigl fc0420d418 Fix material abilities not getting localized for display 2014-08-20 17:08:12 +02:00
Bernhard Bonigl 0b7a8f6b22 Replace the hardcoded stick/bone handle with an oredicted variant using the ToolBuildEvent 2014-08-15 13:04:03 +02:00
Bernhard Bonigl e786518807 Add a ToolBuildEvent that is called at the start of the tool building process. Allows to replace parts used for building with other parts. 2014-08-15 13:03:20 +02:00
Bernhard Bonigl 8f5d065582 Add correct isEffective implementation to DualHarvestTool. 2014-08-13 11:21:34 +02:00
Tonius 0e08c46a8a Use the input item object hashcode for determining SmelteryInput's hashcode, instead of the live item id 2014-08-11 13:28:06 +02:00
Tonius 7c510f2e15 Added a custom class for smeltery inputs for better external readability 2014-08-10 13:10:55 +02:00
Bernhard Bonigl 3a377b62c2 Prevent hotbar-energy-sucking for unchargeable (potato) batteries 2014-08-08 13:02:49 +02:00
Bernhard Bonigl 2510cfb2b6 Fix a derp in the energy transfer calculation for tools 2014-08-08 12:32:10 +02:00
Bernhard Bonigl 00f4544e9e Reimplement mDiyos all-your-energy-belongs-to-us fix for charging flux-tools. Flux-tools eat all the energy in the hotbar now. 2014-08-08 12:28:21 +02:00
Bernhard Bonigl 820b13e106 Flux modifier now uses the properties of the battery that was added. (Max-Energy and transfer rates) 2014-08-08 11:13:48 +02:00
Bernhard Bonigl cf0d0cc0dd Remove all tool-build messages (no more IDs) and its config option 2014-08-08 10:26:51 +02:00
Bernhard Bonigl 92ab16edec Arrgh. Correctly supress logs when option is stead, instead of only displaying them when it's set. 2014-08-08 09:58:30 +02:00
Bernhard Bonigl e10c5d2770 Fix Mattock using vanilla damageItem. Caused Mattock to vanish on breaking. 2014-08-07 21:09:07 +02:00
Bernhard Bonigl b38c8a0ab9 Fix warning messages on for the default tools ignoring supressMissingToolLogs config. Usually set by Iguana Tweaks. Otherwise they spam that everytime NEI queries for tools. 2014-08-07 12:52:02 +02:00
Bernhard Bonigl 75d35943dd Merge branch 'master' of https://github.com/SlimeKnights/TinkersConstruct 2014-08-06 15:59:31 +02:00
Bernhard Bonigl 0821f9f77f Also fire cast-events for CastingBasin. Add separate events for CastingBasin and CastingTable. 2014-08-06 15:57:06 +02:00
Bernhard Bonigl 3cab9c0063 Fire a SmelteryCastedEvent when a casting table finished casting an item. Allows to change/modify the output and consume the cast. 2014-08-06 15:39:29 +02:00
Bernhard Bonigl d5829b0fed Fire a SmelteryCastEvent when a castingTable tries to cast something. Allows to deny the casting. 2014-08-06 15:38:55 +02:00
61352151511 223098bd0c Remove Unused Imports 2014-08-04 19:29:38 -03:00
mDiyo 32dccf3f5d Prevent tools from resetting block break amount 2014-08-02 23:30:19 -08:00
jodamm 2f5910c08e removed localBlock and localMeta in HarvestTool.java because block and localBlock is always the same.
moved the block harvesting in own method
fixes some blocks not droping or not breaking at all.
fixes exp drop with silktouch
2014-07-30 21:33:42 +02:00
mDiyo bb70b06b98 Add comment for magic number in HarvestTool 2014-07-29 08:00:18 -08:00
mDiyo feb66142f1 Merge pull request #774 from Glassmaker/patch-multifixes
Multifixes: cleaver's mining fatigue &  melting glueballs into gold
2014-07-27 17:49:29 -08:00
Glassmaker d76117d559 Adds dropping experiance when breaking blocks, example Coal and Lappis 2014-07-28 00:39:37 +03:00
Bernhard Bonigl 4de655f533 Fix bug that ALWAYS added null to the ToolMaterials when using addtoolMaterial(int, ToolMaterial) 2014-07-27 19:58:07 +02:00
mDiyo d891a26250 Finish controls on travel gear 2014-07-21 12:52:39 -08:00
Alexander Behrhof ea634c139f Reverting "Fix some block breaking problems". 2014-07-21 15:07:16 -04:00
Bernhard Bonigl 92f6e1405f Add a public isEffective to HarvestTool. Allows outside checking whether a tool is effective vs. a material. 2014-07-15 21:18:09 +02:00