public static class BadgeCaseItem.BadgeCase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<net.minecraft.item.ItemStack> |
badges |
Constructor and Description |
---|
BadgeCase(java.util.UUID uuid,
java.lang.String owner,
EnumBadgeCase color,
java.util.List<net.minecraft.item.ItemStack> badges) |
Modifier and Type | Method and Description |
---|---|
boolean |
isOwner(net.minecraft.entity.player.PlayerEntity player) |
static BadgeCaseItem.BadgeCase |
readFromItemStack(net.minecraft.item.ItemStack stack) |
void |
writeToStack(net.minecraft.item.ItemStack stack) |
public BadgeCase(java.util.UUID uuid, java.lang.String owner, EnumBadgeCase color, java.util.List<net.minecraft.item.ItemStack> badges)
public boolean isOwner(net.minecraft.entity.player.PlayerEntity player)
public void writeToStack(net.minecraft.item.ItemStack stack)
public static BadgeCaseItem.BadgeCase readFromItemStack(net.minecraft.item.ItemStack stack)