Class PunishmentHelper

java.lang.Object
de.jvstvshd.necrify.common.util.PunishmentHelper

public class PunishmentHelper extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.kyori.adventure.text.Component
    buildPunishmentData(de.jvstvshd.necrify.api.punishment.Punishment punishment, de.jvstvshd.necrify.api.message.MessageProvider provider)
     
    static net.kyori.adventure.text.Component
    buildPunishmentData(de.jvstvshd.necrify.api.punishment.Punishment punishment, de.jvstvshd.necrify.api.message.MessageProvider messageProvider, int indents)
     
    static net.kyori.adventure.text.Component
    buildPunishmentDataTemporal(de.jvstvshd.necrify.api.punishment.TemporalPunishment punishment, de.jvstvshd.necrify.api.message.MessageProvider provider, net.kyori.adventure.text.Component linePrefix)
     
    static net.kyori.adventure.text.Component
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • buildPunishmentData

      public static net.kyori.adventure.text.Component buildPunishmentData(de.jvstvshd.necrify.api.punishment.Punishment punishment, de.jvstvshd.necrify.api.message.MessageProvider provider)
    • buildPunishmentData

      public static net.kyori.adventure.text.Component buildPunishmentData(de.jvstvshd.necrify.api.punishment.Punishment punishment, de.jvstvshd.necrify.api.message.MessageProvider messageProvider, int indents)
    • indentComponent

      public static net.kyori.adventure.text.Component indentComponent(int n)
    • buildPunishmentDataTemporal

      public static net.kyori.adventure.text.Component buildPunishmentDataTemporal(de.jvstvshd.necrify.api.punishment.TemporalPunishment punishment, de.jvstvshd.necrify.api.message.MessageProvider provider, net.kyori.adventure.text.Component linePrefix)