public static class Ribbon.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
receivedDate |
protected net.minecraft.util.text.ITextComponent |
receiver |
protected MutableRibbonData |
ribbonData |
protected java.lang.String |
type |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
Ribbon |
build() |
Ribbon.Builder |
receivedDate(long receivedDate) |
Ribbon.Builder |
receiver(net.minecraft.util.text.ITextComponent receiver) |
Ribbon.Builder |
receiver(net.minecraft.entity.player.ServerPlayerEntity player) |
Ribbon.Builder |
ribbonData(MutableRibbonData ribbonData) |
Ribbon.Builder |
type(RibbonType type) |
Ribbon.Builder |
type(java.lang.String type) |
protected java.lang.String type
protected long receivedDate
protected net.minecraft.util.text.ITextComponent receiver
protected MutableRibbonData ribbonData
public Ribbon.Builder type(RibbonType type)
public Ribbon.Builder type(java.lang.String type)
public Ribbon.Builder receivedDate(long receivedDate)
public Ribbon.Builder receiver(net.minecraft.entity.player.ServerPlayerEntity player)
public Ribbon.Builder receiver(net.minecraft.util.text.ITextComponent receiver)
public Ribbon.Builder ribbonData(MutableRibbonData ribbonData)
public Ribbon build()