Skip to content

Instantly share code, notes, and snippets.

View arilotter's full-sized avatar

Ari Lotter arilotter

View GitHub Profile
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);
}
/**
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);
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)
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)
@arilotter
arilotter / Alarm 0
Created April 22, 2012 15:59
Obj_curve (draws a bg)
hue1g = floor(random(256));
hue2g = (hue1 + 70) mod 255; //+70
alarm[0] = timer;
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());
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()
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;
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;
@arilotter
arilotter / robot.js
Created December 4, 2012 15:19
#yoloTheBot
//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);