We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0052a6 commit e8607c0Copy full SHA for e8607c0
src/main/java/aztech/modern_industrialization/machines/models/MachineCasing.java
@@ -24,6 +24,7 @@
24
package aztech.modern_industrialization.machines.models;
25
26
import net.minecraft.network.chat.Component;
27
+import net.minecraft.network.chat.MutableComponent;
28
import net.minecraft.resources.ResourceLocation;
29
30
public class MachineCasing {
@@ -37,7 +38,7 @@ public String getTranslationKey() {
37
38
return "machine_casing.%s.%s".formatted(key.getNamespace(), key.getPath());
39
}
40
- public Component getDisplayName() {
41
+ public MutableComponent getDisplayName() {
42
return Component.translatable(getTranslationKey());
43
44
0 commit comments