14 lines
408 B
TypeScript
14 lines
408 B
TypeScript
import { world } from "@minecraft/server";
|
|
import { triggerManager } from "./main";
|
|
|
|
function doNothingStupidTSIWantFilesNotAGiantAssMainFile() {
|
|
triggerManager.RegisterFunctionTrigger("helpme", (event) => {
|
|
world.sendMessage("Wow, this is a trigger :O");
|
|
world.sendMessage("This was caused by " + event.player.name);
|
|
});
|
|
|
|
return;
|
|
}
|
|
|
|
export { doNothingStupidTSIWantFilesNotAGiantAssMainFile };
|