Esempio n. 1
0
 @Override
 public void setResult(ItemStack stack) {
   craftAnvil.getResultInventory().setItem(0, CraftItemStack.asNMSCopy(stack));
 }
Esempio n. 2
0
 @Override
 public ItemStack getResult() {
   net.minecraft.server.v1_7_R2.ItemStack nmsResult = craftAnvil.getResultInventory().getItem(0);
   return nmsResult == null ? null : CraftItemStack.asCraftMirror(nmsResult);
 }