Data packs continue to get much attention and many new features. That's great!
However, we seem to be reaching a point where very common functionality is locked behind data packs. Commands like /schedule and /item modify are extremely useful, and solve both simple and complex problems very well. But without a data pack that defines the functions and item modifiers used, respectively, they can't be used at all.
Why is this a problem? Well, there's several reasons why you might not be able to make a data pack.
- You don't have file access to the server. Third party hosts can make file transfer a pain, and even just when joining a friend's world, you'd have to bother them to make any changes every time.
- You're lazy. Let's face it, setting up a data pack just to test a quick loot table can be a bit of a pain.
- You're making a one-click command contraption. You know it's 2021, right?
So my suggestion is the /generate command. Syntax is /generate <type> <name> <json>.
Example: /generate item_tag minecraft:fishes {"values":["diamond"]}
This writes a resource to a pseudo-data pack, the exact same way structure blocks do! This way, you can quickly create data, and do the same kinds of things real data packs can do, to an extent.
This command should probably be op-level 3 or 4, since you can write random data. But then again structure blocks do the same exact thing, and only require creative mode, so take that as you will.
Please sign in to leave a comment.
1 Comments