williambl / piston-control

MIT License
0 stars 1 forks source link

[Feature] Selective Stickiness #4

Closed supersaiyansubtlety closed 3 years ago

supersaiyansubtlety commented 4 years ago

 Suggestion: allow selective stickiness (like slime/honey and modded colored slime) via tags as follows:

This would, for example, allow players to re-create modded colored slime-like behavior where colors of a block stick to colors that are one step away on the color wheel (so orange would stick to yellow and red, but not blue) (they could apply it to terracotta or concrete or something).

If you're accepting PRs I'd be willing to work in this feature.

williambl commented 4 years ago

This is a great feature request, thanks for making it. I'm a little busy with other projects right now, but I'd be happy to merge this if you make a PR. If you don't have the time to do the whole feature and just start on it, I'd be happy to pick up where you left off, too.

supersaiyansubtlety commented 4 years ago

Great, I'll start looking into it.

supersaiyansubtlety commented 4 years ago

Update: I've got the selectively sticky logic working as far as I can tell. I'm still having trouble getting all block tags in /data/pistoncontrol/tags/blocks/selectively_sticky/. Currently I've just tested using tags from BlockTags: PLANKS and LOGS, and made oak_planks and oak_log sticky. This makes the oak_planks/oak_log act like slime/honey.

If you create a new branch for this feature development, I'd like to make a PR with my current progress.

williambl commented 4 years ago

Okay, you can make a PR to feature/selective_stickiness - thanks for the progress you've made on this. I think I've worked out how to get all the tags we need, so I can pick it up from here if you'd like.

supersaiyansubtlety commented 4 years ago

Sounds good, here's the PR!