This mod mainly provides a small amount of hooks ,modifiers and other stuff. Will be used in author's future projects. Also can be used by modpack and tconstruct addon developers or modding starter for better understanding. Mixin is used in this mod.May cause some mod interaction problems.
All Versions
+ Add Version- Reworked ToolUuid related content, Making it configurable.
- Added special interface for tools that needs UUID and won't affected by config.
- Added Api for creating speed adjustable faucets and casting containers.
- Added util ParticleContext.
- Removed material blacklist and whitelist for random material (Since TConstruct officially added it), Fixed crash with newest Tcon verson.
- Added add_entity_ticker Fluid Effect.
- Added a config entry that allows turing of armor display from Tinker Station or Tinker Anvil.
- Added a config entry that adds a scrolling bar when to many tools are displayed on Tinker Station or Tinker Anvil.
- Added some methods allowing a quick change on LivingEntity's effects.
- Added a Java based ToolDefinitionData that can be extended like a Modifier
- Added FluidConsumedEvent for Slurping Modifier that fires when someone consumes fluid using Slurping Modifer.
- Added a UUID to the nbt of every newly created tools, Allowing better distinguish between ToolStack instances.
- Tried to fix a mixin conflict between Immersive Weapons.
- Rewrite vibration listening logic, Fixed vibration not working when only 1 equipment is equipped.Methods in hook interface remains the same.
- Transferred some modifiers from TiAc to EtSTlib. Added some new modifiers that can be utilized by modpacks.
- Added method postMeleeHit in EtSTBaseModifier.
- Arrow shot from tools with modifiers implemented EtSTBaseModifier now come with a tag "is_critical" if fully charged
- Fixed Extra Dense modifier decreasing mining speed;
- Fixed onGetArrowDamage method inside EtSTBaseModifier don't have ModifierNBT arg.
- Add new TagKey<IMaterial> #etstlib:randomize_whitelisted and #etstlib:randomize_blacklisted allowing addons or modpacks to limit ancient tool default random material without overriding datapack ( Useful when developing addon when you don't want an over-powered material appears in an ancient tool, In this case use #etstlib:randomize_blacklisted ,whitelist will override blacklist and only recommended for modpacks).
- Fixed CriticalAttackModifierHook not working.
- Added Modifier Modules : AddDamageTypeTagArrowModule , AddDamageTypeTagMeleeModule , ForceDropModule , SetCriticalModule. Allowing datapack based modifier to implement effects of some hooks from etstlib;
- Add new hook OnDeathModifierHook , OnHoldingPreventDeathHook.
- Changed arg LivingEntity in modifyArrowDamageSource method to Entity.
- Added new arrow hook ArrowDamageModifierHook and ArrowHitModifierHook.