Commit Graph
136 Commits
Author SHA1 Message Date
Bernhard Bonigl d80bd63e7a Make @Adaptivity happy 2014-10-16 11:10:40 +02:00
Bernhard Bonigl cbe57a08e1 Call the callbacks on tools when breaking blocks when breaking extra blocks with AOE tools. Fixes extra-blocks harvested not using up durability. #1089 2014-10-15 23:36:27 +02:00
Bernhard Bonigl c0e46f151b Materials that shall have toolparts created for them have to be registered specifically now. Registering a material via IMC does so automatically. Should also fix the double-toolparts with extratic and other mod relying on the 1.6 API. 2014-10-15 23:17:41 +02:00
Bernhard Bonigl 80ab942ff6 Make dynamic toolparts use the correct material localization. Deprecated toolpart stays the same so old addons have backwards compatibility. #1078 2014-10-14 21:56:00 +02:00
Bernhard Bonigl fc35996010 More work on the block breaking of AOE Tools: Really fast tools now break in AOE correctly. Changed behaviour to emulate the correct behaviour, but don't call the recursive block breaks. Furthermore, send packets causing updates for each AOE block broken. This should prevent clientside ghost blocks because the client is breaking blocks that it can't break yet on the server.
#1072
2014-10-14 21:39:26 +02:00
Bernhard Bonigl 033c635ca3 Fix damage-display calculation. #1082 2014-10-13 11:18:35 +02:00
Bernhard Bonigl 5feb11f1a8 Try syncing internal itemstack damage with the damage from the tool 2014-10-07 21:07:48 +02:00
Bernhard Bonigl d89fd46d4c Welcome back, old patternchest. Go push the new one already, @alexbegt :P 2014-10-06 10:24:22 +02:00
Bernhard Bonigl bb652931a6 AOE Tools now only break up to 10x harder blocks with it. (Yes, 10. believe me, you wouldn't like any lower value.)
That mean stone breaking obsidian is not a thing anymore
2014-10-06 09:43:57 +02:00
Bernhard Bonigl f766427522 Fix minimal textures not having modifier textures. (Oops) 2014-10-05 17:47:02 +02:00
Bernhard Bonigl 0e4691ecfe Fix leftclicking/attacking being processed twice 2014-10-02 15:27:49 +02:00
Bernhard Bonigl f78d8af170 Add a hook for the default color and use it for arrow fletchlings and bowstrings 2014-09-30 19:45:37 +02:00
Bernhard Bonigl 7c3e21be8d Add colors to the custom materials, same as regular tool materials 2014-09-30 19:40:22 +02:00
Bernhard Bonigl 6a8c6f0f32 Changed sneaking on AOE tools to break blocks in AOE again. Was only supposed to not chop a whole tree with the lumber axe. 2014-09-28 17:36:40 +02:00
Bernhard Bonigl 5ff0c3d58b Fix modifiers on bows rendering with minimal stuff and bla 2014-09-26 18:06:50 +02:00
Bernhard Bonigl 1eb4c50fb5 Add a minimal textures option that only uses colored parts and no custom textures for less graphic memory usage. Let's see if this helps. 2014-09-26 17:18:36 +02:00
Bernhard Bonigl e98ffa46f7 Fix tools without NBT crashing the game in inventories 2014-09-26 14:58:23 +02:00
Bernhard Bonigl ec02954d42 Turns out i forgot to register the effect icons for the modifiers with all the changes. ooops 2014-09-23 21:44:45 +02:00
Bernhard Bonigl 15902fbf5d Fix placing blocks with rightclick with tools not respecting creative mode #1011 2014-09-23 18:07:08 +02:00
Bernhard Bonigl 570edc802e AOE tools now behave like normal tools while sneaking. 2014-09-23 17:54:56 +02:00
Bernhard Bonigl 1e8c0097b3 Remove the need for ToolPartHidden. 2014-09-22 14:36:50 +02:00
Bernhard Bonigl 74c92e5939 We now have dynamic toolparts with default textures, just like the tools themselves! 2014-09-22 14:29:21 +02:00
Bernhard Bonigl 14aebe9d84 Fix default texture being hardcoded to tinkers resources 2014-09-21 18:39:30 +02:00
Bernhard Bonigl 8e0cea23a1 Add default textures that are used if no proper texture is present. This texture is then colored with the material-color. Furthermore you can now add HandleColor, HeadColor,... tag to change the color of tool parts! 2014-09-21 17:57:53 +02:00
Vexatos ab87cc706e Reverted Tool Recipe changes, made colorizing use NBT 2014-09-21 11:43:53 +02:00
Vexatos 22bdbdd209 Allow coloring of tools, made Tool Recipes Itemstack sensitive to allow more customizable recipes 2014-09-21 09:08:53 +02:00
Bernhard Bonigl 263efb8b11 Fix division through 0 and remove some testing code 2014-09-20 14:55:46 +02:00
Bernhard Bonigl a0c0358a6b Change exposed damage back to 0-100 because it'd break the Short.MAX_VALUE limit easily 2014-09-20 14:38:17 +02:00
Bernhard Bonigl dd4f53f109 Merge branch 'master' of https://github.com/SlimeKnights/TinkersConstruct 2014-09-20 14:10:08 +02:00
Bernhard Bonigl 25261243b0 Change the damage display stuff to use NBT instead of the internal damage stuff, so we can make setItemDamage compatible with the NBT durability we use. 2014-09-20 14:09:59 +02:00
boni c50698bc00 Merge pull request #995 from squeek502/mat-compat
Better ToolMaterial backwards compatibility
2014-09-20 01:13:16 +02:00
squeek 1f17375448 Better ToolMaterial backwards compatibility
* The deprecated fields should be populated regardless of the constructor used
2014-09-19 15:36:27 -07:00
Bernhard Bonigl 61e2f1a0c3 Fix break-speed not taking harvest-tool for blocks into account (-> doesn't work with custom materials) and AOE tools not taking it into account either. 2014-09-19 22:02:29 +02:00
Bernhard Bonigl 4a9c383dd8 Backwards Compat for ToolMaterial constructor 2014-09-17 20:35:20 +02:00
Bernhard Bonigl 29f72ed357 Make AOE tools creative-mode compatible again 2014-09-17 15:59:28 +02:00
Bernhard Bonigl 619bfdb1f1 Adjust tools to new blockbreak code stuff. Yay for proper calls. 2014-09-17 15:32:51 +02:00
Bernhard Bonigl 8773232660 More fixes to AOE block harvesting. effective materials etc. 2014-09-17 14:27:52 +02:00
Bernhard Bonigl 0e76fa9c0d Add an AOE-Tool implementation that correctly calls everything vanilla style, yay. 2014-09-17 14:12:15 +02:00
Bernhard Bonigl b74776dc05 Backup Commit: HarvestTools and Hammer have exact vanilla blockbreaking behaviour, yay 2014-09-17 10:59:47 +02:00
Bernhard Bonigl 218f282786 Throw custom block breaking code overboard since the forge code can handle it quite well nowadays. No change to AOE-Tools yet. 2014-09-16 23:47:54 +02:00
Bernhard Bonigl da996301c4 Adjust block breaking code to use vanilla behaviour. Aoe-Tools currently don't work 2014-09-16 18:49:56 +02:00
Qowyn fd4c0cfe1c Use default name for tool subItems 2014-09-13 22:34:12 +02:00
Bernhard Bonigl 7c8965adbf Fix whitespaces in material localization strings, and allow custom localization strings. 2014-09-10 18:39:06 +02:00
Arthur Uzulin 2f44669d52 Colored frying pans
- Added colored frying pans
- Switched frying pans to using the itemstack sensitive container item
since the non-sensitive version was deprecated.
2014-09-09 19:54:50 +10:00
Arthur Uzulin 80efde613a The return of achievements
- Re-added achievements
- Organised all imports (seemed all over the place)
- Formatted all code (seemed very combined, used the TinkerStyle)
2014-09-09 18:30:15 +10:00
Bernhard Bonigl e15bc977c8 Better also make this backwards compatible, in case somebody didn't use the accessors... 2014-09-04 09:28:40 +02:00
Bernhard Bonigl 6ebb746f0b Yet another backwards compatibility fix >_> 2014-09-04 09:26:56 +02:00
Bernhard Bonigl 177ae3627b Merge branch 'mat-display-name' of https://github.com/squeek502/TinkersConstruct
Conflicts:
	src/main/java/tconstruct/library/tools/ToolMaterial.java
2014-09-03 13:34:26 +02:00
Bernhard Bonigl 7f5ce21e29 Move material-abilities to the language files. They are DISPLAY ONLY. Don't use them for anything else. 2014-09-03 11:50:57 +02:00
squeek 97c8789fca Added backwards compatibility to 4c410e 2014-09-02 16:32:49 -07:00