public static class NoticeOverlay.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.item.ItemStack |
itemStack |
protected EnumOverlayLayout |
layout |
protected java.util.List<net.minecraft.util.text.ITextComponent> |
lines |
protected PokemonSpecification |
spec |
protected OverlayGraphicType |
type |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
NoticeOverlay.Builder |
addLine(net.minecraft.util.text.ITextComponent line) |
NoticeOverlay.Builder |
addLines(net.minecraft.util.text.ITextComponent... lines) |
NoticeOverlay.Builder |
addLines(java.util.List<net.minecraft.util.text.ITextComponent> lines) |
CustomNoticePacketPacket |
build() |
void |
sendTo(net.minecraft.entity.player.ServerPlayerEntity player) |
NoticeOverlay.Builder |
setEmpty() |
NoticeOverlay.Builder |
setItemStack(net.minecraft.item.ItemStack itemStack) |
NoticeOverlay.Builder |
setLayout(EnumOverlayLayout layout) |
NoticeOverlay.Builder |
setLines(net.minecraft.util.text.ITextComponent... lines) |
NoticeOverlay.Builder |
setLines(java.util.List<net.minecraft.util.text.ITextComponent> lines) |
NoticeOverlay.Builder |
setPokemon3D(PokemonSpecification spec) |
NoticeOverlay.Builder |
setPokemonSprite(PokemonSpecification spec) |
protected java.util.List<net.minecraft.util.text.ITextComponent> lines
protected EnumOverlayLayout layout
protected OverlayGraphicType type
protected PokemonSpecification spec
protected net.minecraft.item.ItemStack itemStack
public NoticeOverlay.Builder setPokemonSprite(PokemonSpecification spec)
public NoticeOverlay.Builder setPokemon3D(PokemonSpecification spec)
public NoticeOverlay.Builder setItemStack(net.minecraft.item.ItemStack itemStack)
public NoticeOverlay.Builder setEmpty()
public NoticeOverlay.Builder setLayout(EnumOverlayLayout layout)
public NoticeOverlay.Builder addLine(net.minecraft.util.text.ITextComponent line)
public NoticeOverlay.Builder addLines(java.util.List<net.minecraft.util.text.ITextComponent> lines)
public NoticeOverlay.Builder addLines(net.minecraft.util.text.ITextComponent... lines)
public NoticeOverlay.Builder setLines(@Nullable java.util.List<net.minecraft.util.text.ITextComponent> lines)
public NoticeOverlay.Builder setLines(@Nullable net.minecraft.util.text.ITextComponent... lines)
public CustomNoticePacketPacket build()
public void sendTo(net.minecraft.entity.player.ServerPlayerEntity player)