Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
legopitstop committed Aug 25, 2024
1 parent 6574ed8 commit 37fb70f
Show file tree
Hide file tree
Showing 738 changed files with 118,065 additions and 2,508 deletions.
166 changes: 96 additions & 70 deletions .vscode/docs.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@
"Doc": {
"scope": "md,markdown",
"prefix": "doc",
"body": [
"---",
"title: $0",
"---",
"",
"# $0",
""
]
"body": ["---", "title: $0", "---", "", "# $0", ""]
},
"Class": {
"scope": "md,markdown",
Expand Down Expand Up @@ -75,98 +68,66 @@
"Undocumented": {
"scope": "md,markdown",
"prefix": "undocumented",
"body": [
"---",
"title: $0",
"---",
"",
"# $0",
"",
"undocumented",
""
]
"body": ["---", "title: $0", "---", "", "# $0", "", "undocumented", ""]
},
"ContainerInfo": {
"scope": "md,markdown",
"prefix": "container.info",
"body": [
"::: info",
"$0",
":::"
]
"body": ["::: info", "$0", ":::"]
},
"ContainerTip": {
"scope": "md,markdown",
"prefix": "container.tip",
"body": [
"::: tip",
"$0",
":::"
]
"body": ["::: tip", "$0", ":::"]
},
"ContainerWarning": {
"scope": "md,markdown",
"prefix": "container.warning",
"body": [
"::: warning",
"$0",
":::"
]
"body": ["::: warning", "$0", ":::"]
},
"ContainerDanger": {
"scope": "md,markdown",
"prefix": "container.danger",
"body": [
"::: danger",
"$0",
":::"
]
"body": ["::: danger", "$0", ":::"]
},
"ContainerDetails": {
"scope": "md,markdown",
"prefix": "container.details",
"body": ["::: details", "$0", ":::"]
},
"ContainerOutdated": {
"scope": "md,markdown",
"prefix": "container.outdated",
"body": [
"::: details",
"$0",
"::: tip This page describes content that exists only in outdated versions of *${0:Lot's More Food}*.",
"This feature used to be in the game but has since been removed.",
":::"
]
},
"BadgeInfo": {
"scope": "md,markdown",
"prefix": "badge.info",
"body": [
"<Badge type=\"info\" text=\"$0\" />"
]
"body": ["<Badge type=\"info\" text=\"$0\" />"]
},
"BadgeTip": {
"scope": "md,markdown",
"prefix": "badge.tip",
"body": [
"<Badge type=\"tip\" text=\"$0\" />"
]
"body": ["<Badge type=\"tip\" text=\"$0\" />"]
},
"BadgeWarning": {
"scope": "md,markdown",
"prefix": "badge.warning",
"body": [
"<Badge type=\"warning\" text=\"$0\" />"
]
"body": ["<Badge type=\"warning\" text=\"$0\" />"]
},
"BadgeDanger": {
"scope": "md,markdown",
"prefix": "badge.danger",
"body": [
"<Badge type=\"danger\" text=\"$0\" />"
]
"body": ["<Badge type=\"danger\" text=\"$0\" />"]
},
"BrewingRecipe": {
"scope": "md,markdown",
"prefix": "recipe.brewing",
"body": [
"<BrewingRecipe",
"input=\"$1\"",
"output=\"$0\"/>",
]
"body": ["<BrewingRecipe", "input=\"$1\"", "output=\"$0\"/>"]
},
"ShapedRecipe": {
"scope": "md,markdown",
Expand All @@ -177,7 +138,7 @@
"a2=\"$4\" b2=\"$5\" c2=\"$6\"",
"a3=\"$7\" b3=\"$8\" c3=\"$9\"",
"output=\"$10\"",
":count=\"${0:1}\"/>",
":count=\"${0:1}\"/>"
]
},
"ShapelessRecipe": {
Expand All @@ -187,7 +148,7 @@
"<ShapelessRecipe",
":ingredients=\"[$1]\"",
"output=\"$2\"",
":count=\"${0:1}\"/>",
":count=\"${0:1}\"/>"
]
},
"SmeltingRecipe": {
Expand All @@ -197,7 +158,7 @@
"<SmeltingRecipe",
"input=\"$1\"",
"output=\"$2\"",
"fuel=\"${0:coal}\"/>",
"fuel=\"${0:coal}\"/>"
]
},
"SmithingRecipe": {
Expand All @@ -208,7 +169,7 @@
"template=\"$1\"",
"base=\"$2\"",
"addition=\"$3\"",
"output=\"$0\"/>",
"output=\"$0\"/>"
]
},
"StonecutterRecipe": {
Expand All @@ -218,15 +179,13 @@
"<StonecutterRecipe",
"input=\"$1\"",
"output=\"$2\"",
":count=\"${0:1}\"/>",
":count=\"${0:1}\"/>"
]
},
"InvSlot": {
"scope": "md,markdown",
"prefix": "invslot",
"body": [
"<InvSlot item=\"$1\" :count=\"${0:1}\"/>"
]
"body": ["<InvSlot item=\"$1\" :count=\"${0:1}\"/>"]
},
"Function": {
"scope": "md,markdown",
Expand All @@ -241,7 +200,7 @@
"| Name | Type | Description |",
"| ---- | ---- | ----------- |",
"| `$0` | | |",
"",
""
]
},
"Parameters": {
Expand All @@ -253,14 +212,81 @@
"| Name | Type | Description |",
"| ---- | ---- | ----------- |",
"| `$0` | | |",
"",
""
]
},
"ImportCodeSnippet": {
"scope": "md,markdown",
"prefix": "importCodeSnippet",
"body": ["<<< @/filepath"]
},
"CodeGroup": {
"scope": "md,markdown",
"prefix": "codegroup",
"body": ["::: code-group", "", "```$1", "$0", "```", "", ":::"]
},
"mc-item": {
"scope": "md,markdown",
"prefix": "mc-item",
"body": [
"<<< @/filepath"
"---",
"title: ${1} | Lot's More Food",
"---",
"",
"# ${1}",
"",
"**${1}** is a ${2}",
"",
"## Obtaining",
"",
"### Crafting",
"",
"<ShapedRecipe",
"a1=\"\" b1=\"\" c1=\"\"",
"a2=\"\" b2=\"\" c2=\"\"",
"a3=\"\" b3=\"\" c3=\"\"",
"output=\"morefood:${0}\"",
":count=\"1\"/>",
"",
"## Data Values",
"",
"### ID",
"",
"Bedrock Edition:",
"",
"| Name | Namespaced ID | Translation Key |",
"| --------------------- | -------------------- | ------------------------- |",
"| ${1} (#morefood) | `morefood:${0}` | `item.morefood:${0}` |",
"",
"Data pack Edition:",
"",
"| Name | Namespaced ID | Translation Key |",
"| --------- | ----------------------------------------------------------------------- | ------------------------- |",
"| ${1} | Internal:<br>`morefood:${0}`<br>In-game:<br>`minecraft:` | `item.morefood.${0}` |",
"",
"Forge-Fabric Edition:",
"",
"| Name | Namespaced ID | Translation Key |",
"| --------- | -------------------- | ------------------------- |",
"| ${1} | `morefood:${0}` | `item.morefood.${0}` |",
"",
"## History",
"",
"| | Bedrock Edition |",
"| --------------- | --------------- |",
"| Initial release | Added ${1} |",
"",
"| | Data pack Edition |",
"| --------------- | ----------------- |",
"| Initial release | Added ${1} |",
"",
"| | Forge Edition |",
"| --------------- | ------------- |",
"| Initial release | Added ${1} |",
"",
"| | Fabric Edition |",
"| --------------- | -------------- |",
"| Initial release | Added ${1} |"
]
},
}
}
}
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# docs.lpsmods.dev

Documentation for all my projects.

## Links

- :computer: [Website](https://docs.lpsmods.dev)
- :gear: [Documentation](https://docs.lpsmods.dev/lpsmods/)
8 changes: 6 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# TODO

- https://docs.lpsmods.dev/morefood/americano
- https://docs.lpsmods.dev/morefood/Americano

- rewrite classes to be like the snippet
- Add docs for mcaddon
- CLI docs should be something like https://vitepress.dev/reference/cli
- After the page is done loading prune cachedItems.
- http://localhost:5173/test throws warning "Unknown item 'wiki:custom'" despite the item loading correctly.
- Bisect ad
- Image convert tool.
-

- tutorials
- Embed a resource pack in a world. (JE)
- Add a resource pack to a server. (JE)

- Music discs
- Generator in `how-to-install-addons` that lets the user select multiple packs which extract the UUID and create a world_behavior_packs.json and world_resource_packs.json that the user can download or copy-paste.
1 change: 1 addition & 0 deletions dev.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run docs:dev -- --host
7 changes: 7 additions & 0 deletions docs/.htaccess
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
RedirectMatch 301 /more-food/(.*) /morefood/$1
RedirectMatch 301 /more-gold/(.*) /moregold/$1
RedirectMatch 301 /more-honey/(.*) /morehoney/$1
RedirectMatch 301 /more-block/(.*) /moreblocks/$1
RedirectMatch 301 /more-pumpkin/(.*) /morepumpkin/$1
RedirectMatch 301 /serverjars-api/(.*) /serverjars/$1
RedirectMatch 301 /rcore-api/(.*) /rcore/$1
44 changes: 2 additions & 42 deletions docs/.vitepress/classes/BedrockGeoLoader.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 37fb70f

Please sign in to comment.