mc-datapacks / review-tracker

Datapack Review tracker
6 stars 1 forks source link

Leather Working #68

Closed Armoured-Monkey closed 2 years ago

Armoured-Monkey commented 3 years ago

Project Page: https://www.planetminecraft.com/data-pack/leather-working/

The only differences between the 1.16 and 1.17 versions of the pack are the names of cauldrons (if I am remembering correctly πŸ˜› )

EstEarth202 commented 2 years ago

Certified Compatibility ❌

Stamp of Quality πŸ’•

βš β”β”β”β”β”γƒ»Important γƒ»β”β”β”β”β”βš 

Global ignoring tag ❌

data\leatherworks\functions\check_for_items_in_water_cauldrons.mcfunction

Namespace Convention βœ”οΈ

πŸ”† I recommend this a bit. I'm not forcing you to do this. You can refuse or choose to ignore this. This thing is just Recommendations from my experience only.

I think you should do this for the file/folder structure.

Issue: Some packs use the datapack_name as their namespace.

Sub Issue: If you follow Datapack Advancement with defines 3 advancement nodes: Root, Namespace and Datapack.

And because datapack node must not be in /data/global/advancements/folder.

Causing the need to take this file to /data/<namespace>/advancements/

It became like this /data/<datapack_name>/advancements/<datapack_name>.json

You might ask me if I use my name instead of datapack name. You might have this kind of problem.

Your pack1 "armouredMonkey:load"
Your pack2 "armouredMonkey:load",

But that's not a problem if you do this. armoredMonkey/functions/leatherworks/

data
 β”œ <your_name>
 β”‚    β”œ advancements
 β”‚    β”‚   β”œ <datapack_name>
 β”‚    β”‚   β”‚   β”œ <event>
 β”‚    β”‚   β”‚   β”‚   β•° <player_hurt_entity>.json
 β”‚    β”‚   β”‚   β•° <place>
 β”‚    β”‚   β”‚       β•° <place_block>.json
 β”‚    β”‚   β•° <datapack_name>.json
 β”‚    β”œ functions
 β”‚    β”‚   β”œ <datapack_name>
 β”‚    β”‚   β”‚   β”œ <folder function groups>
 β”‚    β”‚   β”‚   β”œ main.mcfunction
 β”‚    β”‚   β”‚   β”œ setup.mcfunction
 β”‚    β”‚   β”‚   β•° uninstall.function
 β”‚    β”‚   β•° <database, random & etc.>
 β”‚    β”œ loot_tables
 β”‚    β”‚   β•° <datapack_name>
 β”‚    β”‚       β•° <loot folder groups item, block>
 β”‚    β”‚           β•° <...>.json
 β”‚    β”œ predicates
 β”‚    β”‚   β•° <datapack_name>
 β”‚    β”‚       β”œ <folder predicate groups>
 β”‚    β”‚       β•° <...>.json
 β”‚    β”œ recipes
 β”‚    β”‚   β•° <datapack_name>
 β”‚    β”‚       β•° <...>.json
 β”‚    β•° tags
 β”‚        β•°  <items>
 β”‚            β•° <datapack_name>
 β”‚                β•° <...>.json
 β”œ <global>
 β”‚    β•° advancements
 β”‚        β”œ <your_name>.json
 β”‚        β•° root.json
 β•° <minecraft>

Solution

Fact: It's creator name.

data
 β”œ <namespace> <- It doesn't make sense to set it as datapack_name.
 β”‚    β•° advancements         
 β”‚        β•° <datapack_name>.json
 β”œ <global>
 β”‚    β•° advancements
 β”‚        β”œ <namespace>.json <- "This is creator_head" * That's why
 β”‚        β•° root.json

Because: If creator plan to write more datapacks, it will be very helpful when you work on workspace.

image

Result: <creator_name>:<datapack_name> When there are multiple packs, the name on front is to identify who created it and next it to tell what datapack it is.

πŸŽ―β”β”β”β”β”γƒ»Other γƒ»β”β”β”β”β”πŸŽ―

Bug report 🐞

schedule clear leatherworks:check_for_items_in_filled_cauldrons 1.17 version incorrect function name

πŸ“β”β”β”β”β”γƒ»Noteγƒ»β”β”β”β”β”πŸ“

βœ”οΈ = Followed πŸ”† = Advised to use ❌ = Doesn't follow ❓ = Doubt / Something missing β˜‘οΈ = Not required/Skip

Armoured-Monkey commented 2 years ago

Thank you,

I have added the ignore tag to the selector in data\leatherworks\functions\check_for_items_in_water_cauldrons.mcfunction (1.17) and \check_for_items_in_filled_cauldrons (1.16) and fixed that bug in the 1.17 version (thanks for pointing it out πŸ˜„ ). This is in Leather Works Version 1.2.6 for Minecraft 1.16 and 1.17.

Thanks for your recommendation, it looks useful and I might consider converting my data packs over to that format as I can see the benefits.

EstEarth202 commented 2 years ago

Certified Compatibility βœ”οΈ

Style Guideline πŸ’•

You can now use the certified banner for this datapack. The link to your datapack will also be posted on the #certified-datapacks channel. Since you already have both Certified Datapacker and Style Guideline Follower roles, you will not be given any more roles this time.

Final comment: Interesting.