public MinecraftInventory(InventoryHolder owner, int size, String title) {
Validate.notNull(title, "Title cannot be null");
Validate.isTrue(title.length() <= 32, "Title cannot be longer than 32 characters");
this.items = new net.minecraft.item.ItemStack[size];
this.title = title;
this.viewers = new ArrayList<HumanEntity>();
this.owner = owner;
this.type = InventoryType.CHEST;
}
CraftInventoryCustom.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:Uranium
作者:
评论列表
文章目录