Skip to content

Add shelves#237

Merged
Hugman76 merged 1 commit intodevfrom
ft/shelves
Jan 9, 2026
Merged

Add shelves#237
Hugman76 merged 1 commit intodevfrom
ft/shelves

Conversation

@Hugman76
Copy link
Member

@Hugman76 Hugman76 commented Jan 9, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds shelf blocks for four custom wood types in the Promenade mod: Sakura, Maple, Palm, and Dark Amaranth. Shelves are functional storage blocks introduced in Minecraft 1.21 that can store books and other items.

Key changes:

  • Added shelf factory method to BlockFactory for creating shelf blocks from planks
  • Registered four shelf blocks with proper block entities, recipes, models, tags, and loot tables
  • Added shelf textures for all four wood types

Reviewed changes

Copilot reviewed 10 out of 14 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/main/java/fr/hugman/promenade/block/helper/BlockFactory.java Adds shelf factory method with proper settings including SHELF sound group and container component
src/main/java/fr/hugman/promenade/block/PromenadeBlocks.java Registers four shelf blocks (Sakura, Maple, Palm, Dark Amaranth) and consolidates imports
src/main/java/fr/hugman/promenade/registry/PromenadeFlammables.java Registers flammability for three shelf types (Dark Amaranth excluded as Nether wood)
src/main/java/fr/hugman/promenade/block/entity/PromenadeBlockEntities.java Adds shelf blocks to vanilla SHELF block entity type
src/main/java/fr/hugman/promenade/itemgroup/PromenadeItemGroupAdditions.java Places shelves in creative inventory after corresponding vanilla wood shelves
src/datagen/java/fr/hugman/promenade/data/provider/PromenadeRecipeGenerator.java Generates crafting recipes for all four shelf types
src/datagen/java/fr/hugman/promenade/data/provider/PromenadeModelProvider.java Registers shelf models using stripped log textures
src/datagen/java/fr/hugman/promenade/data/provider/PromenadeBlockTagProvider.java Adds shelves to WOODEN_SHELVES block tag
src/datagen/java/fr/hugman/promenade/data/provider/PromenadeItemTagProvider.java Copies WOODEN_SHELVES tag from blocks to items
src/datagen/java/fr/hugman/promenade/data/provider/PromenadeBlockLootTableProvider.java Adds simple drop loot tables for all four shelf types
src/client/resources/assets/promenade/textures/block/sakura_shelf.png Adds Sakura shelf texture
src/client/resources/assets/promenade/textures/block/maple_shelf.png Adds Maple shelf texture
src/client/resources/assets/promenade/textures/block/palm_shelf.png Adds Palm shelf texture
src/client/resources/assets/promenade/textures/block/dark_amaranth_shelf.png Adds Dark Amaranth shelf texture

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Hugman76 Hugman76 merged commit e5d24b4 into dev Jan 9, 2026
7 checks passed
@github-project-automation github-project-automation bot moved this from 🧐 Needs Review to ✨ Done in Main Project Jan 9, 2026
@Hugman76 Hugman76 deleted the ft/shelves branch January 9, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant