Skip to content

Commit

Permalink
Wild Update, Update!
Browse files Browse the repository at this point in the history
Changes:
- Updated the pack manifest for v1.19! Just around the corner of updating the pack on MCPEDL and publishing a new release on GitHub. This will be the first update to Dark Mode since January of 2021, oof! I definitely left Dark Mode to fall behind for a bit. Glad to be getting it back into shape again :)

Fixes:
- My custom Mob Effect Screen will now use the commonplace screen animations that are used throughout other inventory screens. I essentially made it so that the Mob Effect Screen now inherits all of the Inventory Screen Common properties, then removes the ones it doesn't need to use, like the gampad cursor, or some of the other default button mappings. All of the button mappings from Inventory Screen Common are essentially overridden by the mappings provided in Mob Effect Screen, while I disabled the gamepad cursor manually myself. It actually looks kind of funny if you turn it back on, feel free to toggle "$gamepad_cursor" to true if you want to try it out, hehe.
- I could've copied the animation properties over myself, but that doesn't make as much sense when you have inheritance available to you :)
  • Loading branch information
Offroaders123 committed Jun 10, 2022
1 parent 20fa2fa commit 3569733
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@

"header": {
"name": "§9Dark Mode",
"description": "A darker alternative to the vanilla user interface! Created by Offroaders123",
"description": "A darker alternative to the vanilla user interface!\nCreated by Offroaders123",
"uuid": "1ad37131-6fd3-4191-b430-5b1672d7a345",
"version": [ 1, 18, 31 ],
"version": [ 1, 19, 0 ],
"min_engine_version": [ 1, 13, 0 ]
},
"modules": [
{
"description": "A darker alternative to the vanilla user interface! Created by Offroaders123",
"description": "A darker alternative to the vanilla user interface!\nCreated by Offroaders123",
"type": "resources",
"uuid": "6f1aa51c-5fe8-43dd-8895-21e6e718f3ba",
"version": [ 1, 18, 31 ]
"version": [ 1, 19, 0 ]
}
],
"metadata": {
Expand Down
3 changes: 2 additions & 1 deletion ui/mob_effect_screen.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"namespace": "mob_effect",

"mob_effect_screen@common.base_screen": {
"mob_effect_screen@common.inventory_screen_common": {
"$screen_content": "mob_effect.mob_effect_panel",
"variables": [
{
Expand All @@ -13,6 +13,7 @@
"$close_on_player_hurt": true
}
],
"$gamepad_cursor": false,
"close_on_player_hurt": "$close_on_player_hurt",
"$close_on_player_hurt|default": false,
"button_mappings": [
Expand Down

0 comments on commit 3569733

Please sign in to comment.