Lars Müller 88c7a54e08 Rename `minetest.*` to `core.*` in devtest | před 2 týdny | |
---|---|---|
.. | ||
textures | před 9 měsíci | |
README.md | před 1 rokem | |
init.lua | před 2 týdny | |
light.lua | před 2 týdny | |
mod.conf | před 4 roky | |
node_box_visualizer.lua | před 2 týdny | |
particles.lua | před 2 týdny | |
privatizer.lua | před 2 týdny |
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: