-
Notifications
You must be signed in to change notification settings - Fork 18
update(files): graves #985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
drav0011
wants to merge
12
commits into
devel
Choose a base branch
from
update/graves_bedrock_core
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ad4cba0
chore(files): remove legacy graves addon
drav0011 8f5b49b
chore(files): addon scaffolding
drav0011 cc17f2a
update(files): Graves
drav0011 56a58c9
chore(files): documentation update
drav0011 50ed378
update(files): Graves
drav0011 3539901
chore(files): documentation update
drav0011 1543878
Merge branch 'devel' into update/graves_bedrock_core
drav0011 6b85da8
update(files): Graves
drav0011 d397b96
chore(files): addon scaffolding
drav0011 1e49b84
chore(files): documentation update
drav0011 a1378b3
chore(files): addon scaffolding
drav0011 fe33735
update(files): Graves
drav0011 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,3 +6,5 @@ | |
| node_modules/ | ||
| package-lock.json | ||
| .yarn/install-state.gz | ||
| tools/vt-diff/.cache | ||
| tools/vt-diff/out | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| root = true | ||
|
|
||
| [*] | ||
| charset = utf-8 | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.{ts,tsx,js,jsx,mjs,cjs}] | ||
| indent_style = space | ||
| indent_size = 2 | ||
|
|
||
| [*.{json,jsonc,mcstructure}] | ||
| indent_style = tab | ||
| indent_size = 4 | ||
|
|
||
| [*.md] | ||
| trim_trailing_whitespace = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,71 @@ | ||
| # Dependencies | ||
| node_modules | ||
| **/node_modules | ||
| .pnp.* | ||
| .yarn/* | ||
| !.yarn/patches | ||
| !.yarn/plugins | ||
| !.yarn/releases | ||
| !.yarn/sdks | ||
| !.yarn/versions | ||
|
|
||
| # Build outputs | ||
| /build | ||
| /.regolith | ||
| /.regolith | ||
| dist | ||
| **/dist | ||
| *.tsbuildinfo | ||
| **/*.tsbuildinfo | ||
|
|
||
| # Testing | ||
| coverage | ||
| **/coverage | ||
| .nyc_output | ||
|
|
||
| # Environment | ||
| .env | ||
| .env.local | ||
| .env.*.local | ||
|
|
||
| # IDE | ||
| .vscode/* | ||
| !.vscode/launch.json | ||
| !.vscode/settings.json | ||
| !.vscode/extensions.json | ||
| !.vscode/mcp.json | ||
| .idea | ||
| *.swp | ||
| *.swo | ||
| *~ | ||
|
|
||
| # OS | ||
| .DS_Store | ||
| Thumbs.db | ||
| desktop.ini | ||
|
|
||
| # Logs | ||
| logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| pnpm-debug.log* | ||
| lerna-debug.log* | ||
|
|
||
| # Temporary files | ||
| *.tmp | ||
| *.temp | ||
| .cache | ||
| **/.regolith/ | ||
|
|
||
| TODO | ||
| .claude | ||
| # Filter-generated artifacts (rebuilt by regolith) | ||
| **/*.generated.json | ||
| **/*.generated.d.ts | ||
|
|
||
| # Render pack (downloaded by the bedrock-core CLI, not committed) | ||
| core-ui-*.mcpack | ||
|
|
||
| # Minecraft schema types (regenerated by the generator filter on build) | ||
| /packs/data/generated/ |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,16 @@ | ||
| { | ||
| "version": "0.3.0", | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "type": "minecraft-js", | ||
| "request": "attach", | ||
| "sourceMapRoot": "${env:LOCALAPPDATA}/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/bedrock-tweaks/graves/scripts/", | ||
| "generatedSourceRoot": "${env:LOCALAPPDATA}/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/bedrock-tweaks/graves/scripts/", | ||
| "sourceMapRoot": "${env:APPDATA}/Minecraft Bedrock/Users/Shared/games/com.mojang/development_behavior_packs/gc_graves/scripts/", | ||
| "generatedSourceRoot": "${env:APPDATA}/Minecraft Bedrock/Users/Shared/games/com.mojang/development_behavior_packs/gc_graves/scripts/", | ||
| "localRoot": "${workspaceFolder}/packs/BP/scripts/", | ||
| "name": "Debug with Minecraft", | ||
| "mode": "listen", | ||
| "port": 19144, | ||
| "targetModuleUuid": "da5802ff-6c19-46d8-a27a-1f717580968b" | ||
| "targetModuleUuid": "8ec2e94f-b226-4d04-b966-69f89812700e" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # Graves | ||
|
|
||
| When you die, a grave keeps everything — inventory, armor, offhand and XP. It | ||
| never burns, never explodes, floats on lava, and gets rescued from the void. | ||
|
|
||
| - **Interact** — opens the grave like a chest; it disappears once emptied. | ||
| - **Sneak + interact** — everything straight back into its original slots. | ||
| - **Hit it twice** — scatters the contents on the ground. | ||
|
|
||
| Only the owner can open a grave, unless grave robbing is enabled or the opener | ||
| holds a grave key (consumed on use). | ||
|
|
||
| Your own graves show as waypoints on the locator bar (owner only, both a | ||
| server-wide and a per-player toggle). | ||
|
|
||
| ## Commands | ||
|
|
||
| | Command | Who | What | | ||
| | --- | --- | --- | | ||
| | `/bt_gc_graves:graves` | anyone | your grave list | | ||
| | `/bt_gc_graves:config` | anyone | settings | | ||
| | `/bt_gc_graves:guide` | anyone | in-game guide | | ||
| | `/bt_gc_graves:gravekey [player] [amount]` | operator | hand out grave keys | | ||
| | `/bt_gc_graves:gravesadmin <action>` | operator | panel, purge, enable/disable | | ||
|
|
||
| ## Development | ||
|
|
||
| ```bash | ||
| yarn run watch # live recompilation | ||
| yarn run build | ||
| yarn run lint | ||
| ``` | ||
|
|
||
| - Run a build once after cloning so the generated i18n/guides modules exist. | ||
| - Install the `core-ui-*.mcpack` in your test world to see the custom UI. | ||
| - The grave entity is unkillable by design; the only removal path is | ||
| `entity.remove()` — never `/kill`, never `runCommand('kill ...')`. | ||
| - The grave index (world dynamic properties) is the source of truth; grave | ||
| entities in unloaded chunks do not exist to `getEntities()`. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.