This file contains hidden or 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 net.minecraft.src; | |
| import java.util.ArrayList; | |
| import java.util.Random; | |
| public class BlockChargeAltar extends Block { | |
| public BlockChargeAltar(int i, int j) { | |
| super(i, j, Material.rock); | |
| } | |
| /** |
This file contains hidden or 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
| block.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.8125F, 1.0F); | |
| renderblocks.overrideBlockTexture = chargeAltarBottomTexture; | |
| renderblocks.renderBottomFace(block, par2, par3, par4, chargeAltarBottomTexture); | |
| renderblocks.overrideBlockTexture = chargeAltarTopTexture; | |
| renderblocks.renderTopFace(block, par2, par3, par4, chargeAltarTopTexture); | |
| renderblocks.overrideBlockTexture = chargeAltarSideTexture; | |
| renderblocks.renderNorthFace(block, par2, par3, par4, chargeAltarSideTexture); | |
| renderblocks.renderSouthFace(block, par2, par3, par4, chargeAltarSideTexture); | |
| renderblocks.renderEastFace(block, par2, par3, par4, chargeAltarSideTexture); | |
| renderblocks.renderWestFace(block, par2, par3, par4, chargeAltarSideTexture); |
This file contains hidden or 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
| public boolean renderBlockChargeAltar(Block block, int par2, int par3, int par4, RenderBlocks renderblocks, IBlockAccess iblockaccess) | |
| { | |
| int i = iblockaccess.getBlockMetadata(par2, par3, par4); | |
| int j = i & 3; | |
| if (j == 0) | |
| { | |
| renderblocks.uvRotateTop = 3; | |
| } | |
| else if (j == 3) |
This file contains hidden or 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
| public boolean renderBlockChargeAltar(Block block, int par2, int par3, int par4, RenderBlocks renderblocks, IBlockAccess iblockaccess) | |
| { | |
| int i = iblockaccess.getBlockMetadata(par2, par3, par4); | |
| int j = i & 3; | |
| if (j == 0) | |
| { | |
| renderblocks.uvRotateTop = 3; | |
| } | |
| else if (j == 3) |
This file contains hidden or 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
| hue1g = floor(random(256)); | |
| hue2g = (hue1 + 70) mod 255; //+70 | |
| alarm[0] = timer; |
This file contains hidden or 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
| addModule(new ModuleXray()); | |
| addModule(new ModuleFullBright()); | |
| addModule(new ModuleTracers()); | |
| addModule(new ModuleKillAura()); | |
| addModule(new ModuleMobAura()); | |
| addModule(new ModuleFreecam()); | |
| addModule(new ModuleFly()); | |
| addModule(new ModuleSneak()); | |
| addModule(new ModuleFastBuild()); | |
| addModule(new ModuleNoPush()); |
This file contains hidden or 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
| import time | |
| import win32api, win32con | |
| def press(x): | |
| win32api.keybd_event(VK_CODE[x], 0,0,0) | |
| win32api.keybd_event(VK_CODE[x],0 ,win32con.KEYEVENTF_KEYUP ,0) | |
| def play(): | |
| time.sleep(1) | |
| s = time.time() |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Windows.Forms; | |
| using System.Threading; | |
| using System.Diagnostics; |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Windows.Forms; | |
| using System.Threading; | |
| using System.Diagnostics; |
This file contains hidden or 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
| //FightCode can only understand your robot | |
| //if its class is called Robot | |
| var Robot = function(robot) { | |
| }; | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; | |
| robot.ahead(100); |
OlderNewer