Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Create: Unlock Schematics

Create: Unlock Schematics

Allows unlocking schematic with a command.

7,090
13
Utility
AboutChangelogVersions

This mod is very simple and has a very specific use: it allows modpack makers to hide schematics from the Schematic Table.

Locked schematics should be placed in locked folder inside the schematics folder. The path would look like this: <instance>/schematics/locked/<schematic name>.nbt.

Then, to unlock the schematic you would use the command this mod adds:

/schematic unlock <schematic name>[.nbt]

  • Schematic name can be with .nbt extensions or without.
  • If schematic with same name already exists in the schematics folder, it will not be replaced. Player will receive a message that schematic is already unlocked.
  • Due to the reason above - your locked schematics should have somewhat unique name, to avoid conflicts with user-created schematics.
  • Command requires elevated permission level: cheats enabled, op, server owner, etc...

Knowledgeable folks may have already guessed how this works. Yes, it just copies the file from one folder to another.


Example:

Unlocks the schematic on quest completion:

onEvent('ftbquests.completed', event => {
    event.server.runCommandSilent(`execute at ${event.player.id} as ${event.player.id} run schematic unlock pillar`)
})

Create is not required as a dependency. But, obviously, mod is pointless without it.

Feel free to suggest a feature, if you need it for your modpack.




Enjoying the mod? Your support would be greatly appreciated!

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.20.1
1.19.2
1.18.2

Platforms

Forge

Supported environments

Client and server

Links

Report issues View source Join Discord server
Donate on PayPalBuy Me a Coffee

Creators

mortuusars
mortuusars Owner

Details

Licensed MIT
Published 2 years ago
Updated last year

Modrinth is open source.

main@a0bd011

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.