数据包/CommandOriginData

来自Minecraft基岩版开发Wiki
enum CommandOriginType : unsigned char {
    Player = 0x0,
    CommandBlock = 0x1,
    MinecartCommandBlock = 0x2,
    DevConsole = 0x3,
    Test = 0x4,
    AutomationPlayer = 0x5,
    ClientAutomation = 0x6,
    DedicatedServer = 0x7,
    Entity = 0x8,
    Virtual = 0x9,
    GameArgument = 0xA,
    EntityServer = 0xB,
    Precompiled = 0xC,
    GameMasterEntityServer = 0xD,
    Scripting = 0xE,
    ExecuteContext = 0xF,
};