Changes

Summary

  1. Add a chance for a slime to give multiple offspring a helmet (details)
  2. Give slimes 4x armor and 4x protection (details)
  3. Give skyslimes a chance of diamond or emerald modifier (details)
  4. Cap tooltip on prot. modifiers at 80% (details)
  5. Reimplement self destructive using a potion effect (details)
Commit 0aadc8514ff4b0bb256d97ebc26e5afb361ce3ff by KnightMiner
Add a chance for a slime to give multiple offspring a helmet

Only happens if the drop chance is not 100%, meaning not items it picked up
The file was modifiedsrc/main/java/slimeknights/tconstruct/world/entity/ArmoredSlimeEntity.java (diff)
Commit 3f7a8a8432ed7b7b97b6e1413755ab0c5d70fbef by KnightMiner
Give slimes 4x armor and 4x protection

Since they are just a head, they don't need to protect other parts of their body, so the helmet is more effective
The file was modifiedsrc/main/java/slimeknights/tconstruct/common/TinkerTags.java (diff)
The file was addedsrc/generated/resources/data/forge/tags/entity_types/small_armor.json
The file was modifiedsrc/main/java/slimeknights/tconstruct/world/entity/ArmoredSlimeEntity.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/common/data/tags/EntityTypeTagProvider.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/tools/logic/ToolEvents.java (diff)
Commit 23137f08dfc3c6868727ac87c05a2d62f873eb0a by KnightMiner
Give skyslimes a chance of diamond or emerald modifier

Need to implement something like tags for this in the future
The file was modifiedsrc/main/java/slimeknights/tconstruct/world/entity/SkySlimeEntity.java (diff)
Commit c91e10b5b43ba745f4cc2d9e4b59de7877f348eb by KnightMiner
Cap tooltip on prot. modifiers at 80%

Practically you should never reach that without changing limits, and the sum total cap is more important, but this is something
The file was modifiedsrc/main/java/slimeknights/tconstruct/tools/modifiers/defense/AbstractProtectionModifier.java (diff)
Commit 40a668af4d0596fd4700785dc01c5cf1a17848d4 by KnightMiner
Reimplement self destructive using a potion effect

Automatically handles the ticking behavior, and makes it easier to apply to enderslimes later. Plus, visual indicator of explosion, both from your point of view and others
The file was modifiedsrc/main/java/slimeknights/tconstruct/tools/modifiers/traits/skull/SelfDestructiveModifier.java (diff)
The file was modifiedsrc/main/java/slimeknights/tconstruct/tools/TinkerModifiers.java (diff)
The file was modifiedsrc/main/resources/assets/tconstruct/lang/en_us.json (diff)
The file was addedsrc/main/resources/assets/tconstruct/textures/mob_effect/self_destructing.png