This tiny mod adds the telescopic piston arm animation seen in Bedrock Edition to Java, as well as the option for a squishier alternative animation and particle emission.
It's also compatible with the G4mespeed mod for smoother piston animations over all.
This mod requires the Fabric API to run!
Included are a few add-on Resource Packs which offer:
- Sticky Piston sides
- Squishing Bellows
- Scissors/Springs
(all of these support PBR)
Quick guide for Resource Pack developers:
- Model the piston arm around the vanilla piston_head models and put those in your pack as normal
- Split those models such that everything you want to not squish and to move at regular speed is in the piston_head_short models, and the arm parts are in a piston_arm model in the assets/telepistons/models/block/ directory
- Add the following to your piston_arm.json:
"telepistons": { "squish":"false", "particles":"4", "squishedScale": [ 1, 1, 0 ] } - "squish" and "particles" determine whether the arm model gets squished and whether pistons emit steam particles respectively
- "squishedScale" determines the scale of the arm model once fully squished, i.e. the piston has fully retracted. Z points forward, so a vector of [1, 1, 0] will squish the arm just in that direction, while a vector of [2,2,0] will also make it get twice as wide and tall as it is squished.
Found a bug or want to suggest a feature? Let me know on Discord!
All Versions
+ Add Version- Updated to 26.3
- Known issue: using the new OIT renderer _and_ a resource pack that adds transparent textures to piston arms will crash the game. (None of the included packs should be affected by this)
- Updated to 26.2
- Updated to 26.1 (and 26.1.1)
- Lighting once again adjusts based on direction to match extended state
- Improved specular texture in provided packs
- Added a logger instead of printing to the system
- Updated to 1.21.6/.7
- Updated to 1.21.5 (Massive thanks to [SteveKunG](https://github.com/SteveKunG))
- Updated to 1.21.3
- Update to 1.21
- Fixed missing culling for piston heads
- Improved PBR textures for piston arms (less shiny now)
- Mod doesn't register a new block now, should fix issues with LAN worlds ands ViaVersion
- Mod doesn't register a new block now, should fix issues with LAN worlds ands ViaVersion
- Backport to 1.18
- Mod doesn't register a new block now, should fix issues with LAN worlds ands ViaVersion
- Backport to 1.16
- Fixed infinitely looping resource reloads (Conflict with Crowdin Translate)