This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IC2.platform.profilerStartSection("QuantumHelmet"); | |
int air = player.func_70086_ai(); | |
if ((ElectricItem.manager.canUse(itemStack, 1000)) && (air < 100)) { | |
player.func_70050_g(air + 200); | |
ElectricItem.manager.use(itemStack, 1000, null); | |
ret = true; | |
} else if (air <= 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ic2.core.block.personal; | |
import cpw.mods.fml.relauncher.Side; | |
import cpw.mods.fml.relauncher.SideOnly; | |
import ic2.core.IC2; | |
import ic2.core.Platform; | |
import ic2.core.block.BlockMultiID; | |
import ic2.core.block.TileEntityBlock; | |
import ic2.core.init.InternalName; | |
import ic2.core.item.block.ItemPersonalBlock; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
�    ��� | |
�    � | |
�� ��� | |
        �    � | |
� ��    � |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var user_id = 0; | |
var from_album = 0; | |
var to_album = 0; | |
var photos = API.photos.get({album_id: from_album}).items@.id; | |
var i = 0; | |
var result = []; | |
while (i < photos.length) { | |
result = result + API.photos.move({ |
NewerOlder