-
Notifications
You must be signed in to change notification settings - Fork 12
fix(actionbar): port vanilla interactions to 26.2 #63
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
99ed4f9
Update clicked_bed.json
bigyasso730 74c89e1
Update slept_in_bed.json
bigyasso730 51eb818
Update clicked_lockable_block.json
bigyasso730 8d2d27e
Update check_lock.mcfunction
bigyasso730 6f54602
Update east.mcfunction
bigyasso730 4bdfaae
Update north.mcfunction
bigyasso730 d71419b
Update south.mcfunction
bigyasso730 43d702e
Update west.mcfunction
bigyasso730 2d20591
Update clicked_bed.mcfunction
bigyasso730 160d92b
Merge pull request #1 from bigyasso730/action-bar-26.2
bigyasso730 ebc1b38
Update clicked_bed.json
bigyasso730 d4711b8
Update slept_in_bed.json
bigyasso730 a77d5db
Update clicked_lockable_block.json
bigyasso730 2a00d89
fix: raw message should not have quotes nor colors
edayot 638a567
chore: bumping libs and minecraft version
edayot 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
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,7 +1,7 @@ | ||
| { | ||
| "criteria": { | ||
| "unoccupied": { | ||
| "trigger": "minecraft:item_used_on_block", | ||
| "trigger": "minecraft:any_block_use", | ||
|
bigyasso730 marked this conversation as resolved.
|
||
| "conditions": { | ||
| "player": [ | ||
| { | ||
|
|
@@ -25,7 +25,7 @@ | |
| "predicate": { | ||
| "dimension": "minecraft:overworld", | ||
| "block": { | ||
| "tag": "minecraft:beds", | ||
| "blocks": "#minecraft:beds", | ||
|
bigyasso730 marked this conversation as resolved.
|
||
| "state": { | ||
| "occupied": "false" | ||
| } | ||
|
|
@@ -36,7 +36,7 @@ | |
| } | ||
| }, | ||
| "occupied": { | ||
| "trigger": "minecraft:item_used_on_block", | ||
| "trigger": "minecraft:any_block_use", | ||
|
bigyasso730 marked this conversation as resolved.
|
||
| "conditions": { | ||
| "player": [ | ||
| { | ||
|
|
@@ -60,81 +60,7 @@ | |
| "predicate": { | ||
| "dimension": "minecraft:overworld", | ||
| "block": { | ||
| "tag": "minecraft:beds", | ||
| "state": { | ||
| "occupied": "true" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "unoccupied_empty": { | ||
| "trigger": "minecraft:item_used_on_block", | ||
| "conditions": { | ||
| "player": [ | ||
| { | ||
| "condition": "minecraft:value_check", | ||
| "value": { | ||
| "type": "minecraft:score", | ||
| "target": "this", | ||
| "score": "smithed.actionbar.sneaking" | ||
| }, | ||
| "range": { | ||
| "min": 1 | ||
| } | ||
| } | ||
| ], | ||
| "item": { | ||
| "items": [ | ||
| "minecraft:air" | ||
| ] | ||
| }, | ||
| "location": [ | ||
| { | ||
| "condition": "minecraft:location_check", | ||
| "predicate": { | ||
| "dimension": "minecraft:overworld", | ||
| "block": { | ||
| "tag": "minecraft:beds", | ||
| "state": { | ||
| "occupied": "false" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "occupied_empty": { | ||
| "trigger": "minecraft:item_used_on_block", | ||
| "conditions": { | ||
| "player": [ | ||
| { | ||
| "condition": "minecraft:value_check", | ||
| "value": { | ||
| "type": "minecraft:score", | ||
| "target": "this", | ||
| "score": "smithed.actionbar.sneaking" | ||
| }, | ||
| "range": { | ||
| "min": 1 | ||
| } | ||
| } | ||
| ], | ||
| "item": { | ||
| "items": [ | ||
| "minecraft:air" | ||
| ] | ||
| }, | ||
| "location": [ | ||
| { | ||
| "condition": "minecraft:location_check", | ||
| "predicate": { | ||
| "dimension": "minecraft:overworld", | ||
| "block": { | ||
| "tag": "minecraft:beds", | ||
| "blocks": "#minecraft:beds", | ||
|
bigyasso730 marked this conversation as resolved.
|
||
| "state": { | ||
| "occupied": "true" | ||
| } | ||
|
|
@@ -148,9 +74,7 @@ | |
| "requirements": [ | ||
| [ | ||
| "unoccupied", | ||
| "occupied", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, no longer neccessary |
||
| "unoccupied_empty", | ||
| "occupied_empty" | ||
| "occupied" | ||
| ] | ||
| ], | ||
| "rewards": { | ||
|
|
||
|
bigyasso730 marked this conversation as resolved.
|
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
|
bigyasso730 marked this conversation as resolved.
|
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
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. only part for raw string, that should not be quoted or having colors, nobody use them, it's not a big deal |
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
|
bigyasso730 marked this conversation as resolved.
|
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
|
bigyasso730 marked this conversation as resolved.
|
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
|
bigyasso730 marked this conversation as resolved.
|
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
|
bigyasso730 marked this conversation as resolved.
|
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
|
bigyasso730 marked this conversation as resolved.
|
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
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
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.