1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-11 04:40:21 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
29b2c262e5 fix cobweb conversion abm 2014-09-05 08:44:26 -04:00
Vanessa Ezekowitz
8c3c1deea5 remove some debug statements 2014-09-04 17:14:21 -04:00
Vanessa Ezekowitz
fdfaa42f4f allow placement of cobweb on a flat vertical surface also. 2014-09-04 17:13:58 -04:00
Vanessa Ezekowitz
5c1b4de65a adjust selection box for centered cobweb 2014-09-04 16:50:39 -04:00
Vanessa Ezekowitz
60d34095a5 make cobwebs sit in corners when so-placed.
Algorithm tries to find an X-/Z+ or X+/Z- corner first (places the
cobweb using the torchlike "on-floor" mode) then an X-/Z- or X+/Z+
corner ("on-ceiling), then opposing X-/X+ walls (nodebox, not rotated),
then opposing Z-/Z+ walls (nodebox, rotated 90 degrees), then falls back
to plantlike (which also happens to fit places where e.g. three walls
come together only 1m apart)

ABM added to convert old ones.

Node name has changed so if you have cobwebs in your inventory, sorry
about that.
2014-09-04 16:27:05 -04:00