Skip to content

CNPalettesStoneTypes #43

Merged
Giovanniricotta2002 merged 16 commits intomainfrom
CNPalettesStoneTypes
May 8, 2025
Merged

CNPalettesStoneTypes #43
Giovanniricotta2002 merged 16 commits intomainfrom
CNPalettesStoneTypes

Conversation

@Giovanniricotta2002
Copy link
Member

This pull request introduces a new feature for handling palette blocks within the CreateNuclear project. The changes primarily focus on the registration and definition of new block types and their associated patterns and behaviors. The most important changes include the addition of new classes for palette blocks, the registration of these blocks, and the implementation of various block patterns and their related functionalities.

New Feature: Palette Blocks

  • Added CNPaletteBlock Class: Introduced a new class CNPaletteBlock for registering palette blocks within the CreateNuclear mod. This class includes a static block registration method.

  • Added CNPaletteBlockPatten Class: Implemented the CNPaletteBlockPatten class, which defines various block patterns such as CUT, BRICKS, SMALL_BRICKS, POLISHED, LAYERED, and PILLAR. This class includes methods for generating block states, textures, and connected textures.

  • Added CNPaletteBlockpartial Class: Created the CNPaletteBlockpartial class to handle partial block types like STAIR, SLAB, and WALL. This class includes methods for block creation, state generation, and recipe creation.

Registration Changes

  • Updated Block Registration: Modified the onInitialize method in CreateNuclear.java to include the registration of CNPaletteBlock.

  • Imported Necessary Classes: Added imports for the newly created CNPaletteBlock class in CreateNuclear.java.

@Giovanniricotta2002 Giovanniricotta2002 merged commit b98549c into main May 8, 2025
@Giovanniricotta2002 Giovanniricotta2002 deleted the CNPalettesStoneTypes branch May 8, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants