Item item = b.getWorld().spawn(b.getLocation().add(dir.multiply(1)), Item.class);
여기서 타입지정을 어떻게 하는거죠?
해결
Item item = b.getWorld().spawn(b.getLocation(), Item.class);
item.setItemStack(new ItemStack(Material.IRON_INGOT));
건축
KHC
2024-10-25
2
2024-10-10
dbasd12
2024-10-09
레드스톤
노트블럭전문가
2024-10-08
1
팁
물귀신
2024-10-06
3
물귀신
2024.05.04해결
Item item = b.getWorld().spawn(b.getLocation(), Item.class);
item.setItemStack(new ItemStack(Material.IRON_INGOT));