public class MutableRibbonData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.util.text.ITextComponent |
description |
protected ResourceWithFallback |
icon |
protected PaletteProperties |
overridePalette |
protected net.minecraft.util.text.ITextComponent |
prefix |
protected net.minecraft.util.text.ITextComponent |
suffix |
protected net.minecraft.util.text.ITextComponent |
title |
Modifier | Constructor and Description |
---|---|
|
MutableRibbonData() |
protected |
MutableRibbonData(net.minecraft.util.text.ITextComponent prefix,
net.minecraft.util.text.ITextComponent suffix,
net.minecraft.util.text.ITextComponent title,
net.minecraft.util.text.ITextComponent description,
ResourceWithFallback icon,
PaletteProperties overridePalette) |
Modifier and Type | Method and Description |
---|---|
static MutableRibbonData |
fromBuffer(net.minecraft.network.PacketBuffer buffer) |
static MutableRibbonData |
fromType(RibbonType ribbonType,
PixelmonEntity pixelmon,
Ribbon ribbon) |
static MutableRibbonData |
fromType(RibbonType ribbonType,
Pokemon pixelmon,
Ribbon ribbon) |
net.minecraft.util.text.ITextComponent |
getDescription() |
ResourceWithFallback |
getIcon() |
PaletteProperties |
getOverridePalette() |
net.minecraft.util.text.ITextComponent |
getPrefix() |
net.minecraft.util.text.ITextComponent |
getSuffix() |
net.minecraft.util.text.ITextComponent |
getTitle() |
MutableRibbonData |
setDescription(net.minecraft.util.text.ITextComponent description) |
MutableRibbonData |
setIcon(ResourceWithFallback icon) |
MutableRibbonData |
setOverridePalette(PaletteProperties overridePalette) |
MutableRibbonData |
setPrefix(net.minecraft.util.text.ITextComponent prefix) |
MutableRibbonData |
setSuffix(net.minecraft.util.text.ITextComponent suffix) |
MutableRibbonData |
setTitle(net.minecraft.util.text.ITextComponent title) |
void |
writeToBuffer(net.minecraft.network.PacketBuffer buffer) |
protected net.minecraft.util.text.ITextComponent prefix
protected net.minecraft.util.text.ITextComponent suffix
protected net.minecraft.util.text.ITextComponent title
protected net.minecraft.util.text.ITextComponent description
protected ResourceWithFallback icon
protected PaletteProperties overridePalette
public MutableRibbonData()
protected MutableRibbonData(net.minecraft.util.text.ITextComponent prefix, net.minecraft.util.text.ITextComponent suffix, net.minecraft.util.text.ITextComponent title, net.minecraft.util.text.ITextComponent description, ResourceWithFallback icon, PaletteProperties overridePalette)
public static MutableRibbonData fromType(RibbonType ribbonType, Pokemon pixelmon, Ribbon ribbon)
public static MutableRibbonData fromType(RibbonType ribbonType, PixelmonEntity pixelmon, Ribbon ribbon)
public net.minecraft.util.text.ITextComponent getPrefix()
public MutableRibbonData setPrefix(net.minecraft.util.text.ITextComponent prefix)
public net.minecraft.util.text.ITextComponent getSuffix()
public MutableRibbonData setSuffix(net.minecraft.util.text.ITextComponent suffix)
public net.minecraft.util.text.ITextComponent getTitle()
public MutableRibbonData setTitle(net.minecraft.util.text.ITextComponent title)
public net.minecraft.util.text.ITextComponent getDescription()
public MutableRibbonData setDescription(net.minecraft.util.text.ITextComponent description)
public ResourceWithFallback getIcon()
public MutableRibbonData setIcon(ResourceWithFallback icon)
public PaletteProperties getOverridePalette()
public MutableRibbonData setOverridePalette(PaletteProperties overridePalette)
public void writeToBuffer(net.minecraft.network.PacketBuffer buffer)
public static MutableRibbonData fromBuffer(net.minecraft.network.PacketBuffer buffer)