public class Card
extends java.lang.Object
ImmutableCard
Constructor and Description |
---|
Card(net.minecraft.nbt.CompoundNBT nbt) |
Card(net.minecraft.network.PacketBuffer buffer) |
Card(java.lang.String code,
int grade,
java.lang.String... tags) |
Modifier and Type | Method and Description |
---|---|
static Card |
from(net.minecraft.item.ItemStack stack) |
ImmutableCard |
getBase() |
int |
getGrade() |
boolean |
is(java.lang.String... tags) |
void |
load(net.minecraft.nbt.CompoundNBT tag) |
void |
load(net.minecraft.item.ItemStack itemStack) |
static Card |
of(ImmutableCard card) |
void |
write(net.minecraft.nbt.CompoundNBT tag) |
void |
write(net.minecraft.item.ItemStack itemStack) |
void |
write(net.minecraft.network.PacketBuffer buf) |
public Card(net.minecraft.nbt.CompoundNBT nbt)
public Card(net.minecraft.network.PacketBuffer buffer)
public Card(java.lang.String code, int grade, java.lang.String... tags)
public static Card of(ImmutableCard card)
public static Card from(net.minecraft.item.ItemStack stack)
public ImmutableCard getBase()
public boolean is(java.lang.String... tags)
public int getGrade()
public void load(net.minecraft.item.ItemStack itemStack)
public void load(net.minecraft.nbt.CompoundNBT tag)
public void write(net.minecraft.item.ItemStack itemStack)
public void write(net.minecraft.nbt.CompoundNBT tag)
public void write(net.minecraft.network.PacketBuffer buf)