Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private static void registerCageLamps (String metal, Function<String, Item> gett
"block/palettes/cage_lamp/"
+ metal.toLowerCase(Locale.ROOT).replaceAll(" ", "_") + "_lamp"
);
Supplier<Item> material = (metal == "Andesite" ? AllItems.ANDESITE_ALLOY : null);
Supplier<Item> material = (metal.equals("Andesite") ? AllItems.ANDESITE_ALLOY : null);

YELLOW_CAGE_LAMPS.put(metal, CageLamps.build(
CreateDecoMod.REGISTRATE, metal, DyeColor.YELLOW, cage, YELLOW_ON, YELLOW_OFF
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ public static BlockBuilder<ShippingContainerBlock,?> build (
.lang(visName + " Shipping Container")

.blockstate((ctx, prov) -> BlockStateGenerator.shippingContainer(CreateDecoMod.REGISTRATE, color, ctx, prov))
.transform(MountedItemStorageType.mountedItemStorage(AllMountedStorageTypes.VAULT))
// NOTE: Vault mounting disabled for datagen - causes NPE due to Create initialization order
// TODO: Re-enable after datagen completes or find way to defer this registration
// .transform(MountedItemStorageType.mountedItemStorage(AllMountedStorageTypes.VAULT))
Comment on lines +58 to +60
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The vault mounting functionality has been disabled with a TODO note about re-enabling it after datagen. This leaves the shipping containers in a degraded state without their intended mounting functionality. Before merging, either: 1) Implement the deferred registration pattern mentioned in the TODO to fix the NPE issue, 2) Document this as a known limitation in the PR description and create a tracking issue, or 3) Consider alternative solutions like conditional registration based on whether datagen is running. Leaving this commented out indefinitely could result in missing functionality that users expect.

Copilot uses AI. Check for mistakes.
.onRegister(connectedTextures(ShippingContainerCTBehavior::new));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static BlockEntry<WindowBlock> windowBlock(String name,
.define('#', Ingredient.of(CreateDecoTags.ingot(name.replace("_window", ""))))
.define('X', CreateDecoTags.GLASS)
.unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(
(ItemLike) ItemPredicate.Builder.item().of(CreateDecoTags.ingot(name.replace("_window", "")))
ItemPredicate.Builder.item().of(CreateDecoTags.ingot(name.replace("_window", ""))).build()
))
.save(p::accept))
.initialProperties(() -> Blocks.GLASS)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:andesite_alloy_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:brass_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:copper_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:gold_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:industrial_iron_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:iron_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:netherite_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:zinc_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:andesite_alloy"
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The andesite_alloy item is being tagged as an "ingot" in the common tag system. However, andesite_alloy is not an ingot - it's an alloy item from Create with different properties. Ingots typically follow standard metal conversion patterns (9 ingots = 1 block, 1 ingot = 9 nuggets). This semantic inconsistency could cause issues with mods that expect ingots to follow these standard patterns. Consider creating a separate tag category for alloys or using a more appropriate tag like "c:alloys/andesite" if such a tag exists in the Fabric common tags convention.

Suggested change
"create:andesite_alloy"

Copilot uses AI. Check for mistakes.
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/ingots/brass.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:brass_ingot"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:copper_ingot"
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/ingots/gold.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:gold_ingot"
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/ingots/iron.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:iron_ingot"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:netherite_ingot"
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/ingots/zinc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:zinc_ingot"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:andesite_alloy"
]
Comment on lines +3 to +5
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The andesite_alloy item is being tagged as a "nugget" in the common tag system. However, andesite_alloy is not a nugget - it's an alloy item from Create. Nuggets are typically 1/9th of an ingot. This semantic inconsistency could cause issues with mods that expect nuggets to follow the standard 9 nuggets = 1 ingot conversion pattern. Consider creating a separate tag category for alloys or removing this tag if andesite doesn't have a nugget form.

Suggested change
"values": [
"create:andesite_alloy"
]
"values": []

Copilot uses AI. Check for mistakes.
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:brass_nugget"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:copper_nugget"
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/nuggets/gold.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:gold_nugget"
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/nuggets/iron.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:iron_nugget"
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/nuggets/zinc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:zinc_nugget"
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/plates/brass.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:brass_sheet"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:copper_sheet"
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/plates/gold.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:golden_sheet"
]
}
6 changes: 6 additions & 0 deletions common/src/main/resources/data/c/tags/items/plates/iron.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:iron_sheet"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:andesite_alloy_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:brass_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:copper_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:gold_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:industrial_iron_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:iron_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:netherite_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"create:zinc_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "createdeco:andesite_sheet_metal"
}
],
"results": [
{
"item": "createdeco:andesite_sheet",
"count": 4
}
],
"processingTime": 50
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "createdeco:brass_sheet_metal"
}
],
"results": [
{
"item": "create:brass_sheet",
"count": 4
}
],
"processingTime": 50
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "createdeco:copper_sheet_metal"
}
],
"results": [
{
"item": "create:copper_sheet",
"count": 4
}
],
"processingTime": 50
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "createdeco:industrial_iron_sheet_metal"
}
],
"results": [
{
"item": "createdeco:industrial_iron_sheet",
"count": 4
}
],
"processingTime": 50
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "createdeco:iron_sheet_metal"
}
],
"results": [
{
"item": "create:iron_sheet",
"count": 4
}
],
"processingTime": 50
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "createdeco:zinc_sheet_metal"
}
],
"results": [
{
"item": "createdeco:zinc_sheet",
"count": 4
}
],
"processingTime": 50
}
Loading