public void registerRecipe(){
ItemStack i = getPokeEgg();
ShapedRecipe pokeEgg = new ShapedRecipe(i);
pokeEgg.shape("BAB", "DCD", "BAB");
pokeEgg.setIngredient('B', Material.WOOL);
pokeEgg.setIngredient('A', Material.STRING);
pokeEgg.setIngredient('D', Material.GOLD_NUGGET);
pokeEgg.setIngredient('C', Material.EGG);
Bukkit.addRecipe(pokeEgg);
}
PokeEgg.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:WC
作者:
评论列表
文章目录