refactor: rename package net.mcreator.customoregen -> com.aulyrius.customoregen

Final step of the MCreator purge. The MODID (custom_ore_gen) and all
registry names are unchanged, so existing worlds/saves are unaffected:
data JSONs reference the MODID, never the Java package. Updated the
mixin config package and the OresCommandTest package assertion.
This commit is contained in:
feldenr
2026-07-30 11:16:00 +02:00
parent 0846c6332b
commit e3e4296c33
56 changed files with 132 additions and 132 deletions
+6 -6
View File
@@ -36,12 +36,12 @@ Use the Gradle wrapper for all operations. Ensure you are using Java 21 (NeoForg
- **Run Single Test Class:**
```bash
./gradlew test --tests "net.mcreator.customoregen.OresCommandTest"
./gradlew test --tests "com.aulyrius.customoregen.OresCommandTest"
```
- **Run Single Test Method:**
```bash
./gradlew test --tests "net.mcreator.customoregen.OresCommandTest.testCommandRegistration_ShouldRegisterOresCommand"
./gradlew test --tests "com.aulyrius.customoregen.OresCommandTest.testCommandRegistration_ShouldRegisterOresCommand"
```
- **Clean Project:**
@@ -72,14 +72,14 @@ The project was originally generated by MCreator but is no longer maintained wit
- **Methods:** camelCase (e.g., `queueServerWork`).
- **Constants:** UPPER_SNAKE_CASE (e.g., `MODID`, `COLD_BIOMES_TAG`).
- **Fields:** camelCase (e.g., `workQueue`, `oreGenConfig`).
- **Packages:** `net.mcreator.customoregen` (lowercase).
- **Packages:** `com.aulyrius.customoregen` (lowercase).
### Imports
- Group imports in this specific order:
1. Java/Standard Libraries (`java.*`, `javax.*`)
2. Third-party Libraries (e.g., `org.apache.logging.log4j.*`)
3. Minecraft/NeoForge (`net.minecraft.*`, `net.neoforged.*`)
4. Project Classes (`net.mcreator.customoregen.*`)
4. Project Classes (`com.aulyrius.customoregen.*`)
- Avoid `import *` unless there are many imports from the same package (e.g., `java.util.*` is acceptable if heavily used, but explicit imports are preferred for clarity).
### Logging
@@ -96,10 +96,10 @@ The project was originally generated by MCreator but is no longer maintained wit
- **Event Bus:**
- The `@Mod` class registers the `IEventBus`.
- Use `@SubscribeEvent` for event handling.
- Event handlers often reside in `net.mcreator.customoregen.event` or static inner classes annotated with `@EventBusSubscriber`.
- Event handlers often reside in `com.aulyrius.customoregen.event` or static inner classes annotated with `@EventBusSubscriber`.
- **Configuration:**
- Located in `net.mcreator.customoregen.config.ModConfigs`.
- Located in `com.aulyrius.customoregen.config.ModConfigs`.
- Uses `ModConfig.Type.COMMON` built with `ModConfigSpec`.
- Access configs via the public static fields (e.g., `ModConfigs.ORE_GEN.shardDiamondOreCount.get()`).