Skip to content

Commit

Permalink
Fix double type selector breaking everything
Browse files Browse the repository at this point in the history
  • Loading branch information
VoidLeech committed Jan 25, 2024
1 parent 0dbe92c commit db6ebdd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
execute as @e[type=#paths_are_roads:path_user] run function paths_are_roads:check_for_path
execute as @e[type=minecraft:sniffer, type=#paths_are_roads:path_user] if data entity @s SaddleItem run function paths_are_roads:check_for_path
execute as @e[type=#paths_are_roads:needs_saddle/snifferplus] if data entity @s SaddleItem run function paths_are_roads:check_for_path

schedule function paths_are_roads:check_for_path_loop 4t replace
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"minecraft:sniffer"
]
}
1 change: 0 additions & 1 deletion data/paths_are_roads/tags/entity_types/path_user.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

"minecraft:pig",
"minecraft:strider",
"minecraft:sniffer",

{
"id": "aether:moa",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Paths are Roads currently support the following mods. For details on which mobs
### Editing
The values for this data pack can be overwritten or added to like any other. See [Minecraft Wiki on Tag Json Format](https://minecraft.wiki/w/Tag#JSON_format). You'll have to use the same path and file names used by Paths are Roads inside your own data pack.
Blocks that have to count as path are tagged in [data/paths_are_roads/tags/blocks/counts_as_path.json](data/paths_are_roads/tags/blocks/counts_as_path.json). It is recommended that you copy your changes/additions to [data/paths_are_roads/tags/items/counts_as_path.json](data/paths_are_roads/tags/items/counts_as_path.json) as well, so you can search for which blocks count as paths in-game.
Entities that will be sped up by paths are tagged in [data/paths_are_roads/tags/entity_types/path_user.json](data/paths_are_roads/tags/entity_types/path_user.json).
Entities that will be sped up by paths without question are tagged in [data/paths_are_roads/tags/entity_types/path_user.json](data/paths_are_roads/tags/entity_types/path_user.json). Other entities tend to have requirements that can be found in specific subfolder of [data/paths_are_roads/tags/entity_types](data/paths_are_roads/tags/entity_types/)

### FAQ
**Q: Why should I use your data pack and not one of existing ones providing a speed-up boost to paths?**
Expand Down

0 comments on commit db6ebdd

Please sign in to comment.