How to add structures screen

This commit is contained in:
ForestOfLight
2025-04-13 01:50:15 -07:00
Unverified
parent 79b22e5fd7
commit 77994b26dd
5 changed files with 22 additions and 5 deletions
+11
View File
@@ -12,6 +12,7 @@ export class MenuFormBuilder {
allInstanceNameForm.button(`§2${instanceName}`);
});
allInstanceNameForm.button('Create New Instance');
allInstanceNameForm.button('How to Add New Structures');
return allInstanceNameForm;
}
@@ -40,4 +41,14 @@ export class MenuFormBuilder {
.textField('Enter the Structure ID:', 'example_structure')
.submitButton('Submit');
}
static buildHowToAddNewStructures() {
let body = "How to Add Structures:\n"
body += "§7- Save a structure using a structure block or the /structure command.\n"
body += "§7OR\n"
body += "§7- Add a mcstructure file to this pack's structures folder. It will not appear in the list of structures, so enter the filename (without '.mcstructure') as the Structure ID.";
return new ActionFormData()
.title(this.menuTitle)
.body(body);
}
}