Change TextComponent -> Component
*/
package org.spongepowered.api.map.decoration;
+import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.TextComponent;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.data.Keys;
@@ -191,7 +192,7 @@ default Builder rotation(Supplier<MapDecorationOrientation> rotSupplier) {
*/
Builder position(Vector2i position) throws IllegalArgumentException;
- Builder customName(TextComponent customName);
+ Builder customName(Component customName);
Builder from(MapDecoration mapDecoration);
