Class MutableRibbonData

java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ribbon.MutableRibbonData

public class MutableRibbonData extends Object
  • Field Details

    • prefix

      protected net.minecraft.network.chat.Component prefix
    • suffix

      protected net.minecraft.network.chat.Component suffix
    • title

      protected net.minecraft.network.chat.Component title
    • description

      protected net.minecraft.network.chat.Component description
    • icon

      protected ResourceWithFallback icon
    • overridePalette

      protected PaletteProperties overridePalette
  • Constructor Details

    • MutableRibbonData

      public MutableRibbonData()
    • MutableRibbonData

      protected MutableRibbonData(net.minecraft.network.chat.Component prefix, net.minecraft.network.chat.Component suffix, net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component description, ResourceWithFallback icon, PaletteProperties overridePalette)
  • Method Details

    • fromType

      public static MutableRibbonData fromType(RibbonType ribbonType, Pokemon pokemon, Ribbon ribbon)
    • getPrefix

      public net.minecraft.network.chat.Component getPrefix()
    • setPrefix

      public MutableRibbonData setPrefix(net.minecraft.network.chat.Component prefix)
    • getSuffix

      public net.minecraft.network.chat.Component getSuffix()
    • setSuffix

      public MutableRibbonData setSuffix(net.minecraft.network.chat.Component suffix)
    • getTitle

      public net.minecraft.network.chat.Component getTitle()
    • setTitle

      public MutableRibbonData setTitle(net.minecraft.network.chat.Component title)
    • getDescription

      public net.minecraft.network.chat.Component getDescription()
    • setDescription

      public MutableRibbonData setDescription(net.minecraft.network.chat.Component description)
    • getIcon

      public ResourceWithFallback getIcon()
    • setIcon

      public MutableRibbonData setIcon(ResourceWithFallback icon)
    • getOverridePalette

      public PaletteProperties getOverridePalette()
    • setOverridePalette

      public MutableRibbonData setOverridePalette(PaletteProperties overridePalette)
    • writeToBuffer

      public void writeToBuffer(net.minecraft.network.FriendlyByteBuf buffer)
    • fromBuffer

      public static MutableRibbonData fromBuffer(net.minecraft.network.FriendlyByteBuf buffer)