Lars Müller 138052adfc Add particle blend mode "clip" (#15444) | 1 月之前 | |
---|---|---|
.. | ||
textures | 1 月之前 | |
README.md | 1 年之前 | |
init.lua | 1 月之前 | |
light.lua | 1 月之前 | |
mod.conf | 4 年之前 | |
node_box_visualizer.lua | 1 月之前 | |
particles.lua | 1 月之前 | |
privatizer.lua | 1 月之前 |
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: