A mod for luanti that gives you any block, liquid, or mob spawn egg you're looking at — straight to your inventory.
/dar [mode] [amount]
Requires the give privilege.
| Command | Result |
|---|---|
/dar |
Gives a full stack of the block you're looking at |
/dar 5 |
Gives 5 of the block you're looking at |
/dar liq |
Gives a full stack of the liquid you're looking at |
/dar liq 10 |
Gives 10 of the liquid you're looking at |
/dar mob |
Gives a full stack of the spawn egg of the mob you're looking at |
/dar mob 3 |
Gives 3 of that spawn egg |
- If no amount is specified, the command gives the maximum stack size of that item (determined by the item's own
stack_maxvalue). - Requesting more than the stack max will cap at the stack max automatically.
Points a ray from your eyes forward and detects the first solid node in a 10-node range. Liquids are ignored.
Same as default but the ray also detects liquids. If you're looking at water or lava, you'll receive that liquid source block.
Points a longer ray (20 nodes) and detects the first entity in range, skipping yourself and other players. Searches all registered items for a matching spawn egg using multiple naming patterns common across mob mods. If no spawn egg is found, the entity's internal name is shown so you can report it.
- The mod does not add any nodes, crafts, or ABMs — it only registers the
/darcommand. - Spawn egg detection is fuzzy: it tries several naming patterns and falls back to scanning all registered items for a match. Compatible with most mob mods including
mobs_redoand forks. - Items with a
stack_maxof 1 (tools, armor, etc.) will always be given as a single item regardless of the amount specified. - Spawn egg detection is approximate — it searches by name pattern and may not find eggs from all mob mods.
Author: Juha (CraftPlay777)
License: MIT