📜  spigot if (beef.getitem().equals(material.cooked_beef)){ - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:40.433000             🧑  作者: Mango

代码示例1
if(event.getItem().getType() == Material.COOKED_BEEF) {
     //do stuff
 }