Package | Description |
---|---|
com.Akronmcp.hopTextAPI.p2 |
Modifier and Type | Field and Description |
---|---|
Map<String,HopChat> |
HManager.hchatMap |
Modifier and Type | Method and Description |
---|---|
HopChat |
HManager.getHopChat(String id) |
HopChat |
HopBook.getPrehtx() |
HopChat |
HopBook.getSufhtx() |
Modifier and Type | Method and Description |
---|---|
List<HopChat> |
HopBook.getPages() |
Modifier and Type | Method and Description |
---|---|
void |
HopBook.addHPage(HopChat htx)
添加页面
参数为htx对象
|
void |
HManager.addText(HopChat htx) |
void |
HManager.createToJson(HopChat o)
为hopchat生成json
|
static void |
HopBook.openToPage(org.bukkit.entity.Player p,
HopChat htx,
boolean ispapi)
让玩家直接打开一个由输入htx生成的书本页面
参数为:玩家,htx,是否解析papi
|
void |
HopBook.setPrehtx(HopChat prehtx)
设置前缀页面
|
void |
HopBook.setSufhtx(HopChat sufhtx)
设置后缀页面
|
Modifier and Type | Method and Description |
---|---|
void |
HopBook.addHPages(List<HopChat> htxl)
添加页面
参数为htx对象集合
|
org.bukkit.inventory.ItemStack |
HopBook.createBy(List<HopChat> htxl2,
org.bukkit.inventory.ItemStack item,
org.bukkit.entity.Player p)
生成书籍对象,参数为:htx集合,要赋予的书籍对象,papi对应玩家
|
Copyright © 2019. All rights reserved.