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 c3c9a92 commit 93aeb3bCopy full SHA for 93aeb3b
src/main/java/aztech/modern_industrialization/machines/models/MachineCasing.java
@@ -25,6 +25,7 @@
25
26
import com.mojang.serialization.Codec;
27
import net.minecraft.network.chat.Component;
28
+import net.minecraft.network.chat.MutableComponent;
29
import net.minecraft.resources.ResourceLocation;
30
31
public class MachineCasing {
@@ -40,7 +41,7 @@ public String getTranslationKey() {
40
41
return "machine_casing.%s.%s".formatted(key.getNamespace(), key.getPath());
42
}
43
- public Component getDisplayName() {
44
+ public MutableComponent getDisplayName() {
45
return Component.translatable(getTranslationKey());
46
47
0 commit comments