EngineHub / WorldEdit

🗺️ Minecraft map editor and mod
https://enginehub.org/worldedit/
Other
3.11k stars 878 forks source link

[Forge] Request: Support for FakePlayers / Computer Actors #951

Open LadyCailinBot opened 9 years ago

LadyCailinBot commented 9 years ago

WORLDEDIT-3261 - Reported by Alaisx

WorldEdit does not currently support execution of commands using a Forge FakePlayer, such as that utilized by the OpenComputers debug card. It would be a powerful addition to WorldEdit if this support were added, as it would enable automation and event based triggers for world editing.

Automation of WorldEdit commands would then be implemented by mod/map/adventure pack authors via scripting with a mod such as OpenComputers. This would open the door for some pretty groundbreaking map packs, with the potential for dynamic worlds which react to the player's actions as they progress through the storyline.

Automation could also be used by multiplayer server owners to modify the world based on timed or triggered events, rather than having to do so "in person". I really cannot overstate the power that automated/scriptable WorldEdit would provide.

I would also like to request this feature for 1.7.10, as modding for 1.8 is still in its infancy.

LadyCailinBot commented 9 years ago

Comment by octylFractal

I'll work on this soon.

LadyCailinBot commented 9 years ago

Comment by Alaisx

Thanks, I really appreciate it!

LadyCailinBot commented 9 years ago

Comment by octylFractal

After looking into it, FakePlayer extends EntityPlayerMP, so this should work. Do you have a mod that doesn't work? OpenComputers, yea?

LadyCailinBot commented 9 years ago

Comment by Alaisx

Yeah, OpenComputers FakePlayer doesn't work. Not sure why. Pretty sure the ComputerCraft version doesn't either.

octylFractal commented 4 years ago

Unsure if this is still an issue or not. FakePlayers are wildly different from how they used to be, and WorldEdit is much better about allowing other sources of commands now.