grorp f2b99332d9 Add Lua API function to resolve node/collision/selection boxes (#13964) | 9 сар өмнө | |
---|---|---|
.. | ||
textures | 9 сар өмнө | |
README.md | 1 жил өмнө | |
init.lua | 9 сар өмнө | |
light.lua | 3 жил өмнө | |
mod.conf | 4 жил өмнө | |
node_box_visualizer.lua | 9 сар өмнө | |
particles.lua | 2 жил өмнө | |
privatizer.lua | 2 жил өмнө |
Test Tools is a mod for developers that adds a bunch of tools to directly manipulate nodes and entities. This is great for quickly testing out stuff.
Here's the list of tools:
Removes nodes and non-player entities that you punch.
Replace a node with another one.
First, punch a node you want to remember. Then rightclick any other node to replace it with the node you remembered.
If you rightclick while pointing nothing, you can manually enter the node and param2.
Change the value param2 of nodes.
Note: Use the debug screen (F5) to see the param2 of the pointed node.
Turns nodes into falling nodes.
Usage:
Edit and view metadata of nodes.
Usage:
Edit and view metadata of items.
Usage:
Changes the entity rotation (with set_rotation
).
Usage:
Each usage rotates the entity by 22.5°.
Spawns entities.
Usage:
Edits properties of objects.
Usage:
To edit a property, select it in the list, enter a new value (in Lua syntax) and hit “Submit”.
Allows you to attach an object to another one.
Basic usage:
Configuration:
Hint: To detach all objects nearby you (including on yourself), use the
/detach
server command.
Move an object by a given distance.
Usage:
Shows list of objects that are attached to an object (aka "children") in chat.
Usage:
Change visual size of entities
Usage:
Give an object a temporary name.
Usage:
Use testtools.get_branded_object(name)
to get an ObjRef.
Sets the 'formspec' and 'infotext' metadata fields of a node
to private. This means that clients can no longer access these
fields.
This only works for chests [chest:chest
] at the moment.
Usage:
Show light level of node.
Usage:
Spawn a random animated particle.
Usage: