Hello everyone,
I'm the developer of the mod Bunch of Things. This mod introduces different colored slimes and, consequently, different colored sticky pistons to the game.
After the 1.17 update, I tried tirelessly to update the pistons, but everything was significantly different. Frustration and laziness got the best of me, and I decided to put it aside. However, with the 1.20 update, I decided to give it another shot. This time, I'm trying to update to 1.19.4, but I simply can't get it to work.
I've replicated the entire logic of the vanilla pistons, but it doesn't work. I suspect the issue might be that the "colored_sticky_piston_head" block isn't being registered properly, although the registration seems right to me, as I can't retrieve it using the /give command. When I "activate" the piston and it becomes a block entity, the texture bugs out and it doesn't revert back to being a block, as shown in this image:
Interestingly, if I use the vanilla PistonHeadRenderer, the block works as expected. However, when the piston head expands, the texture changes and breaks, but it reverts back to normal when it retracts.
I'm on the verge of removing these pistons from the mod... I would greatly appreciate it if someone could shed some light on this issue. The repository for the mod is https://github.com/samjviana/bunchofthings/tree/1.19.4.
Any help would be greatly appreciated. Thank you in advance!