Changes

Summary

  1. Add support for a tool model first modifier to be forced (details)
  2. Allow interacting with the casting table tank using fluid items (details)
  3. Fix a couple bugs with no durability tools. (details)
  4. Drop special casing for bamboo in sword breaking (details)
  5. Add a couple of tool modules for "wrench instant breaking" (details)
Commit 03ddbecd98c9c1e57975655957d5e95e36241a53 by KnightMiner
Add support for a tool model first modifier to be forced

This is not useful for normal models that just add a texture (at that point just add it directly to the tool), but is useful for custom model types like material or tank
Also fixes what looked like a possible NPE if a modifier model had only one of small and large base textures and allow tank modifier models with only fluid (both needed for this new feature)
The file was modifiedsrc/main/java/slimeknights/tconstruct/library/client/modifiers/IBakedModifierModel.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/library/client/modifiers/FluidModifierModel.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/library/client/model/tools/ToolModel.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/library/client/modifiers/NormalModifierModel.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/library/client/modifiers/TankModifierModel.java (diff)
Commit 1a98b2458170f776deac033a18e80a273e40fbe2 by KnightMiner
Allow interacting with the casting table tank using fluid items

If the fluid item can interact (either filling or emptying the table tank), it will
If unable to interact, it will attempt to be placed on the table
This is based on the assumption you won't have a fluid item that contains fluid which you wish to cast upon (e.g. filled bucket or filled tool). If you really need to for some reason, use a scorched table or a hopper
The file was modifiedsrc/main/java/slimeknights/tconstruct/smeltery/block/entity/CastingBlockEntity.java (diff)
Commit d1586c0a601bbac9597ae226dc79b319d518e3ff by KnightMiner
Fix a couple bugs with no durability tools.

Splashing and blocking both require durability, use the right intersection tags for that.
Prevent tool damage util from damaging tools that don't have the durability tag (get weird bugs if it ever ends up broken)
The file was modifiedsrc/generated/resources/data/tconstruct/recipes/tools/modifiers/salvage/ability/blocking.json (diff)
The file was modifiedsrc/generated/resources/data/tconstruct/recipes/tools/modifiers/ability/splashing.json (diff)
The file was modifiedsrc/generated/resources/data/tconstruct/recipes/tools/modifiers/salvage/ability/splashing.json (diff)
The file was modifiedsrc/generated/resources/data/tconstruct/recipes/tools/modifiers/ability/blocking.json (diff)
The file was modifiedsrc/generated/resources/data/tconstruct/recipes/tools/modifiers/salvage/ability/reach.json (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/library/tools/helper/ToolDamageUtil.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/tools/data/ModifierRecipeProvider.java (diff)
Commit 48dfd21a1bd1cdf27fd6d6c460656abf18f35eda by KnightMiner
Drop special casing for bamboo in sword breaking

Forge moved this behavior to the sword dig tool action, which we already use
The file was modifiedsrc/main/java/slimeknights/tconstruct/tools/data/ToolDefinitionDataProvider.java (diff)
The file was modifiedsrc/generated/resources/data/tconstruct/tinkering/tool_definitions/cleaver.json (diff)
The file was modifiedsrc/generated/resources/data/tconstruct/tinkering/tool_definitions/sword.json (diff)
Commit 78db5acce9e59f1449782fdce9f4c05f6ba482c9 by KnightMiner
Add a couple of tool modules for "wrench instant breaking"

IsEffectiveModule now supports a boolean to bypass harvest tiers, allowing you to make a tool which mines anything in its tag
Added OneClickBreakModule, which allows a tool to make blocks in a predicate break in one click. Unlike a high number in modified harvest logic, the speed is kept below instant break level
The file was modifiedsrc/main/java/slimeknights/tconstruct/library/tools/definition/module/mining/MaxTierHarvestLogic.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/tools/data/ToolDefinitionDataProvider.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/tools/TinkerTools.java (diff)
The file was addedsrc/main/java/slimeknights/tconstruct/library/tools/definition/module/mining/OneClickBreakModule.java
The file was modifiedsrc/main/java/slimeknights/tconstruct/library/tools/definition/module/mining/IsEffectiveToolHook.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/library/tools/definition/module/mining/IsEffectiveModule.java (diff)