Minetest-WorldEditAdditions/worldeditadditions_core
Starbeamrainbowlabs b816133716
core: implement fetch_command_def
This rovides an abstraction to fetch a worldedit command's definition, 
regardless of where it was registered.

We would normally expect all commands to be registered in 
wea_c.registered_commands, but before we only do a one-off pass to 
import commands from worldedit should a new mod we aren't aware of 
register a command with worldedit and get loaded after us, we won't 
detect it - hencee  the need for this function.
2022-05-19 02:31:01 +01:00
..
core core: implement fetch_command_def 2022-05-19 02:31:01 +01:00
init.lua core: implement fetch_command_def 2022-05-19 02:31:01 +01:00
mod.conf core: fix bugs, enable! 2022-05-19 01:45:36 +01:00
README.md Implement run_command, but it's not quite finished yet 2022-05-17 01:03:58 +01:00

worldeditadditions_core

This mod's purpose is to provide a solid base upon which the rest of WorldEditAdditions can function. Once it is complete, we will be able to mark our dependency on worldedit itself optional. To get to that point though will still require a significant effort in implementing enhanced versions of all existing WorldEdit commands. If you've got some free time and a great idea for a command, please do open a pull request! :D

In short, worldeditadditions_core is a reimplementation of a number of underlying parts of the worldedit engine. Parts of worldeditadditions_core are likely to look very similar to parts of WorldEdit - this is because inspiration was taken from Uberi/WorldEdit when implementing worldeditadditions_core.