Rotate optics and doors from NodeCore with ease.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
copygirl ccc69b0697 Reorganization, don't show hint when holding pin 1 year ago
docs Add screenshot to README 1 year ago
models Fix some overlapping faces in arrow models 1 year ago
textures Add rotation hint entity 1 year ago
.editorconfig Initial commit 1 year ago
README.md Add screenshot to README 1 year ago
UNLICENSE.txt Add (UN)LICENSE 1 year ago
entity.lua Add rotation hint entity 1 year ago
hud.lua Add HUD indicator for rotating on edges 1 year ago
init.lua Reorganization, don't show hint when holding pin 1 year ago
mod.conf Replace rightclick interaction 1 year ago
registry.lua Reorganization, don't show hint when holding pin 1 year ago
rotate.lua Redo file structure, fix unpinnable doors 1 year ago
state.lua Reorganization, don't show hint when holding pin 1 year ago
utility.lua Reorganization, don't show hint when holding pin 1 year ago

README.md

NodeCore Extended Rotating

This mod follows in the footsteps of the useful Extended Placement mod for Minetest and adds the ability to rotate certain nodes from NodeCore such as optics and doors easily, without having to cycle through all possible rotations every time.

Screenshot

Rotating a node can be done in three ways:

  • Click near the center of a face, and the node rotates 90° around it.
  • Click near an edge, and the node will be rotated 90° away from you.
  • Click near a corner, and the node will rotate 120° around it.

Sneaking while empty-handed inverts the direction of the rotation.

At this time, nodes that can be rotated are hardcoded into the mod, since their valid orientations can't be determined just by their node definition. A function mimicking NodeCore's node_spin_filtered has to be provided.