コード例 #1
0
 public void stopUsingItem() {
   if (itemInUse != null) {
     itemInUse.onPlayerStoppedUsing(worldObj, this, itemInUseCount);
   }
   clearItemInUse();
 }