Skip to content

Commit 1c02cef

Browse files
committed
Filled Layer: Remove ability to set component post-create, enforce final
1 parent 2c637c6 commit 1c02cef

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/dev/compactmods/crafting/recipes/layers/FilledComponentRecipeLayer.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
public class FilledComponentRecipeLayer implements IRecipeLayer, IDynamicSizedRecipeLayer {
2222

23-
private String componentKey;
23+
private final String componentKey;
2424
private AxisAlignedBB recipeDimensions;
2525

2626
public static final Codec<FilledComponentRecipeLayer> CODEC = RecordCodecBuilder.create(in -> in.group(
@@ -82,10 +82,6 @@ public RecipeLayerType<?> getType() {
8282
return Registration.FILLED_LAYER_SERIALIZER.get();
8383
}
8484

85-
public void setComponent(String component) {
86-
this.componentKey = component;
87-
}
88-
8985
/**
9086
* Used to update a recipe layer to change the size of the recipe base.
9187
*

0 commit comments

Comments
 (0)