me.mattstudios.mfmsg.base.internal.component.MessageLine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of matt-framework-msg Show documentation
Show all versions of matt-framework-msg Show documentation
Message framework for markdown like syntax to be converted to Minecraft.
package me.mattstudios.mfmsg.base.internal.component;
import org.jetbrains.annotations.NotNull;
import java.util.List;
/**
* Stores the message lines
*/
public final class MessageLine {
@NotNull
private final List parts;
/**
* Main constructor to add all the parts
*
* @param parts The {@link MessagePart}s to add to the line
*/
public MessageLine(@NotNull final List parts) {
this.parts = parts;
}
/**
* Gets all the parts in the current line
*
* @return The {@link MessagePart}s of the line
*/
@NotNull
public List getParts() {
return parts;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy