Skip to content

Reactor V2#241

Open
Giovanniricotta2002 wants to merge 54 commits intomainfrom
V2
Open

Reactor V2#241
Giovanniricotta2002 wants to merge 54 commits intomainfrom
V2

Conversation

@Giovanniricotta2002
Copy link
Copy Markdown
Member

This pull request introduces several new features and improvements across the codebase, focusing on custom particles and sounds, reactor multiblock structure flexibility, and enhanced tagging and registration. It also includes some test data and configuration updates. The most important changes are grouped below:

Custom Particles and Sounds:

  • Added the CNParticleTypes class to register and manage custom particle types, including IRRADIATED_PARTICLES, and integrated its registration into the mod initialization (CreateNuclear.java). [1] [2]
  • Added the CNSounds class for registering custom sound events and providing a method to create SoundType instances, and updated the reactor casing block to use these sounds. [1] [2] [3]

Reactor Multiblock Structure and Tagging:

  • Introduced the REACTOR_CASING block tag in CNTags, updated its usage in block registration, and refactored the multiblock pattern builder to use this tag for more flexible structure definitions. [1] [2] [3] [4]
  • Refactored the reactor multiblock pattern builder to allow for easier extension and tag-based matching, improving maintainability and extensibility.

Networking and Item Rod Types:

  • Registered a new packet type for syncing item rod types and imported the relevant manager, supporting future multiplayer synchronization of custom rod types. [1] [2]

Particles in Fan Processing:

  • Replaced vanilla particles with the new custom IrradiatedParticlesData in fan processing logic, and updated color mixing for a more thematic effect.

Test Data and Configuration:

  • Added test data for material blocks and a sample pack.mcmeta file for datapack testing. [1] [2]

These changes collectively enhance the mod's visual and audio feedback, improve data-driven structure definitions, and lay groundwork for future content and multiplayer features.

Giovanniricotta2002 and others added 25 commits August 21, 2025 13:43
…ctor controller registration and state management
- Updated reactor casing tag integration in CNBlocks.java to include CNBlockTags.REACTOR_CASING.
- Refactored CNMultiblock.java to extract the multiblock pattern builder into a separate method for better readability and maintainability.
- Modified ReactorControllerBlockEntity.java, ReactorCoreBlockEntity.java, and ReactorInputEntity.java to utilize the new pattern builder method for finding controllers.
- Added reactor casing to the tags in CNTags.java and created a new reactor_casing.json file for block tagging.
- Updated various cache files with new timestamps and entries related to nuclear recipes and advancements.
Changement de texture de l'Autunite
[WIP] Refactor ReactorControllerBlockEntity to utilize ReactorData for heat and progress calculations
[WIP] Add item rod types and related synchronization features
…inforcedGlass

[WIP] Refactor reactor multiblock structure and update tags
[WIP] Implement TestBlock and TestBlockEntity with associated logic for reactor controller registration and state management
Shakil60 and others added 25 commits January 15, 2026 08:38
# Conflicts:
#	src/generated/resources/.cache/2836fde0a278179f4011f71abd2fd98902e1cd4f
#	src/generated/resources/.cache/5a34b29ec4d8a06e1e209d57e402a991866435fb
#	src/generated/resources/.cache/9caf9393084497e1b8aa454367d4b0afa97137ba
#	src/generated/resources/.cache/bb671ee907e6bf3198dcafcb73fbef1cc4250115
#	src/generated/resources/.cache/caff3fea0cfc3288a78b91fffd04e30c57e6f18d
#	src/generated/resources/.cache/e3c4d5ef571d7a8df5e371b7f64547dcbcefa47e
#	src/generated/resources/.cache/efe56b4f24314a4583a23fc29486a7e2771cc1ee
#	src/generated/resources/.cache/f48828140818f0edcf7c5d090b055d8ce4418717
#	src/generated/resources/.cache/f4ef39297628ab4a0380da73a3d89fec9c61a321
#	src/generated/resources/assets/createnuclear/lang/en_ud.json
#	src/generated/resources/assets/createnuclear/lang/en_us.json
#	src/generated/resources/data/c/tags/blocks/ores_in_ground/deepslate.json
#	src/generated/resources/data/c/tags/blocks/ores_in_ground/stone.json
#	src/generated/resources/data/minecraft/tags/blocks/needs_diamond_tool.json
#	src/generated/resources/data/minecraft/tags/fluids/lava.json
#	src/main/java/net/nuclearteam/createnuclear/CNFluids.java
#	src/main/java/net/nuclearteam/createnuclear/CNTags.java
#	src/main/java/net/nuclearteam/createnuclear/foundation/data/recipe/CNCrushingRecipeGen.java
#	src/main/java/net/nuclearteam/createnuclear/foundation/data/recipe/CNMixingRecipeGen.java
#	src/main/java/net/nuclearteam/createnuclear/infrastructure/data/CreateNuclearRegistrateTags.java
#	src/main/java/net/nuclearteam/createnuclear/infrastructure/worldgen/CNConfiguredFeatures.java
#	src/main/java/net/nuclearteam/createnuclear/infrastructure/worldgen/CNPlacedFeatures.java
#	src/main/resources/assets/createnuclear/textures/fluid/thorium_flow.png
#	src/main/resources/assets/createnuclear/textures/fluid/thorium_still.png
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.

4 participants