| Modifier and Type | Field and Description |
|---|---|
protected String |
author |
protected int |
generation |
protected long |
id |
protected boolean |
isWritten |
protected List<PageContent> |
pages |
protected boolean |
resolved |
protected String |
title |
protected String |
xuid |
| Constructor and Description |
|---|
ItemBookWritten(Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
long |
getBookId() |
int |
getGeneration() |
List<PageContent> |
getPages() |
String |
getTitle() |
String |
getXuid() |
boolean |
isResolved() |
void |
loadAdditionalData(com.nukkitx.nbt.NbtMap tag) |
void |
saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag) |
void |
setAuthor(String author) |
void |
setBookId(long id) |
void |
setGeneration(int generation) |
void |
setResolved(boolean resolved) |
void |
setTitle(String title) |
void |
setXuid(String xuid) |
void |
signBook(String title,
String author,
String xuid) |
addCreativeItem, addEnchantment, addTag, canBeActivated, canBePlaced, canDestroy, canPlaceOn, clearCreativeItems, clearCustomName, clone, createTag, decrementCount, decrementCount, deepEquals, deepEquals, deepEquals, equals, equals, equals, equalsExact, fromJson, fromNetwork, fromString, fromStringMultiple, get, get, get, get, get, get, get, get, get, get, getArmorPoints, getAttackDamage, getBlock, getCount, getCreativeItem, getCreativeItemIndex, getCreativeItems, getCustomName, getDestroySpeed, getEnchantAbility, getEnchantment, getEnchantment, getEnchantments, getFuelTime, getId, getLore, getMaxDurability, getMaxStackSize, getMeta, getName, getNetworkId, getTag, getTier, getToughness, hasCustomName, hasEnchantments, hasMeta, hasNbtMap, incrementCount, incrementCount, initCreativeItems, isArmor, isAxe, isBoots, isChestplate, isCreativeItem, isHelmet, isHoe, isLeggings, isNull, isPickaxe, isShears, isShovel, isSword, isTool, isUnbreakable, onActivate, onClickAir, onMetaChange, onRelease, onUse, removeCreativeItem, setCount, setCustomName, setLore, setLore, setMeta, setTag, toNetwork, toNetwork, toNetwork, toString, useOn, useOnprotected boolean isWritten
protected final List<PageContent> pages
protected int generation
protected String title
protected String author
protected String xuid
protected long id
protected boolean resolved
public ItemBookWritten(Identifier id)
public void loadAdditionalData(com.nukkitx.nbt.NbtMap tag)
loadAdditionalData in class Itempublic void saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag)
saveAdditionalData in class Itempublic int getGeneration()
public void setGeneration(int generation)
public String getAuthor()
public void setAuthor(String author)
public String getTitle()
public void setTitle(String title)
public String getXuid()
public void setXuid(String xuid)
public long getBookId()
public void setBookId(long id)
public boolean isResolved()
public void setResolved(boolean resolved)
public List<PageContent> getPages()
Copyright © 2020. All rights reserved.