Estecka / mc-invariable-paintings

Fabric mod that turns paintings into collectibles
https://modrinth.com/mod/invariable-paintings
GNU Affero General Public License v3.0
4 stars 1 forks source link

Warn player when attempting to place a painting in an invalid position #4

Closed Andrew6rant closed 1 year ago

Andrew6rant commented 1 year ago

Invalid Painting Showcase

Estecka commented 1 year ago

This had me thinking about a different but somewhat related issue: If you try to place a painting in a space that is exactly the right size, you'll have to place it on a very specific block, all others will fail.

As is, this message will make it seem like the space isn't big enough, which isn't actually the issue. First I would have a hack at the placement logic and see if I can make the painting find a suitable spot.

Andrew6rant commented 1 year ago

An alternate could be to render a preview of the painting when the player hovers over a block

Estecka commented 1 year ago

Not fond of that idea. This would make paintings the only block in the game to preview itself when held, and I imagine that having a large object flicker in front of you just by holding an item could be pretty annoying.

In any case, I've come up with a placement logic I'm really happy with, I'll merge it later.