-
-
Notifications
You must be signed in to change notification settings - Fork 221
Add chests #1739
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
Add chests #1739
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
8c99397
Load and unload the chest data
IntegratedQuantum 08bba0e
Remove the ability to create the block entity on block placement.
IntegratedQuantum ed6528f
Create the server-side chest inventory when the client requests to op…
IntegratedQuantum eaa212a
Actually store the chest
IntegratedQuantum 1bd9db1
Some small fixes
IntegratedQuantum d7676f3
Drop items when broken
IntegratedQuantum d8b10fe
Add an onUpdate callback to the inventory that is used to store the c…
IntegratedQuantum 84dc050
Make it kick the player when the inventory is broken instead of crashing
IntegratedQuantum 36b4f40
Remove needless assertion
IntegratedQuantum d42f433
Reject inventory commands that respond to non-existing ids (which can…
IntegratedQuantum 9f89678
fix format
IntegratedQuantum e45bd6f
Add other chest types
IntegratedQuantum 3de6428
Add chest recipes
IntegratedQuantum 303eb6b
Move block entity removal to the right location and lock the inventor…
IntegratedQuantum 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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| .{ | ||
| .texture = "cubyz:chest/baobab/back", | ||
| .texture_front = "cubyz:chest/baobab/front", | ||
| .texture_left = "cubyz:chest/baobab/side", | ||
| .texture_right = "cubyz:chest/baobab/side", | ||
| .texture_top = "cubyz:chest/baobab/top", | ||
| .texture_bottom = "cubyz:chest/baobab/bottom", | ||
| } |
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,8 @@ | ||
| .{ | ||
| .texture = "cubyz:chest/birch/back", | ||
| .texture_front = "cubyz:chest/birch/front", | ||
| .texture_left = "cubyz:chest/birch/side", | ||
| .texture_right = "cubyz:chest/birch/side", | ||
| .texture_top = "cubyz:chest/birch/top", | ||
| .texture_bottom = "cubyz:chest/birch/bottom", | ||
| } |
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,8 @@ | ||
| .{ | ||
| .texture = "cubyz:chest/mahogany/back", | ||
| .texture_front = "cubyz:chest/mahogany/front", | ||
| .texture_left = "cubyz:chest/mahogany/side", | ||
| .texture_right = "cubyz:chest/mahogany/side", | ||
| .texture_top = "cubyz:chest/mahogany/top", | ||
| .texture_bottom = "cubyz:chest/mahogany/bottom", | ||
| } |
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,8 @@ | ||
| .{ | ||
| .texture = "cubyz:chest/pine/back", | ||
| .texture_front = "cubyz:chest/pine/front", | ||
| .texture_left = "cubyz:chest/pine/side", | ||
| .texture_right = "cubyz:chest/pine/side", | ||
| .texture_top = "cubyz:chest/pine/top", | ||
| .texture_bottom = "cubyz:chest/pine/bottom", | ||
| } |
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,8 @@ | ||
| .{ | ||
| .texture = "cubyz:chest/willow/back", | ||
| .texture_front = "cubyz:chest/willow/front", | ||
| .texture_left = "cubyz:chest/willow/side", | ||
| .texture_right = "cubyz:chest/willow/side", | ||
| .texture_top = "cubyz:chest/willow/top", | ||
| .texture_bottom = "cubyz:chest/willow/bottom", | ||
| } |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO the way items drop need some more love, now they just drop to the ground within volume of the chest, but that is probably a separate issue material, if you do agree it could be improved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, how would you suggest to do it instead?
And yeah, that's definitely a separate issue.