text
stringlengths
30
1.67M
<s> package net . minecraft . src ; import java . io . * ; public class Packet53BlockChange extends Packet { public int xPosition ; public int yPosition ; public int zPosition ; public int type ; public int metadata ; public Packet53BlockChange ( ) { isChunkDataPacket = true ; } public Packet53BlockChange ( int par1 , ...
<s> package net . minecraft . src ; import java . net . MalformedURLException ; import java . net . URL ; import java . util . HashMap ; import java . util . Map ; public class PlayerUsageSnooper { private Map field_52016_a ; private final URL field_52015_b ; public PlayerUsageSnooper ( String par1Str ) { field_52016_a...
<s> package net . minecraft . src ; import java . util . * ; public class MapGenVillage extends MapGenStructure { public static List villageSpawnBiomes ; private final int terrainType ; public MapGenVillage ( int par1 ) { terrainType = par1 ; } protected boolean canSpawnStructureAtCoords ( int par1 , int par2 ) { byte ...
<s> package net . minecraft . src ; import java . util . Random ; public class BlockLadder extends Block { protected BlockLadder ( int par1 , int par2 ) { super ( par1 , par2 , Material . circuits ) ; } public AxisAlignedBB getCollisionBoundingBoxFromPool ( World par1World , int par2 , int par3 , int par4 ) { int i = p...
<s> package net . minecraft . src ; import java . util . ArrayList ; import java . util . Random ; public class Block { public static final StepSound soundPowderFootstep ; public static final StepSound soundWoodFootstep ; public static final StepSound soundGravelFootstep ; public static final StepSound soundGrassFootst...
<s> package net . minecraft . src ; public class GenLayerVoronoiZoom extends GenLayer { public GenLayerVoronoiZoom ( long par1 , GenLayer par3GenLayer ) { super ( par1 ) ; super . parent = par3GenLayer ; } public int [ ] getInts ( int par1 , int par2 , int par3 , int par4 ) { par1 -= <NUM_LIT:2> ; par2 -= <NUM_LIT:2> ;...
<s> package net . minecraft . src ; import java . io . * ; public class Packet23VehicleSpawn extends Packet { public int entityId ; public int xPosition ; public int yPosition ; public int zPosition ; public int speedX ; public int speedY ; public int speedZ ; public int type ; public int throwerEntityId ; public Packe...
<s> package net . minecraft . src ; import java . util . Random ; public abstract class BlockFluid extends Block { protected BlockFluid ( int par1 , Material par2Material ) { super ( par1 , ( par2Material != Material . lava ? <NUM_LIT:12> : <NUM_LIT> ) * <NUM_LIT:16> + <NUM_LIT> , par2Material ) ; float f = <NUM_LIT> ;...
<s> package net . minecraft . src ; import java . io . * ; public class Packet18Animation extends Packet { public int entityId ; public int animate ; public Packet18Animation ( ) { } public Packet18Animation ( Entity par1Entity , int par2 ) { entityId = par1Entity . entityId ; animate = par2 ; } public void readPacketD...
<s> package net . minecraft . src ; import java . util . HashMap ; import java . util . Random ; public class ItemMonsterPlacer extends Item { public ItemMonsterPlacer ( int par1 ) { super ( par1 ) ; setHasSubtypes ( true ) ; } public boolean onItemUse ( ItemStack par1ItemStack , EntityPlayer par2EntityPlayer , World p...
<s> package net . minecraft . src ; import java . util . * ; class StructureNetherBridgeStart extends StructureStart { public StructureNetherBridgeStart ( World par1World , Random par2Random , int par3 , int par4 ) { ComponentNetherBridgeStartPiece componentnetherbridgestartpiece = new ComponentNetherBridgeStartPiece (...
<s> package net . minecraft . src ; import java . lang . reflect . Constructor ; import java . util . * ; public final class SpawnerAnimals { private static HashMap eligibleChunksForSpawning = new HashMap ( ) ; protected static final Class nightSpawnEntities [ ] ; public SpawnerAnimals ( ) { } protected static ChunkPos...
<s> package net . minecraft . src ; public class EntityAIRestrictOpenDoor extends EntityAIBase { private EntityCreature entityObj ; private VillageDoorInfo frontDoor ; public EntityAIRestrictOpenDoor ( EntityCreature par1EntityCreature ) { entityObj = par1EntityCreature ; } public boolean shouldExecute ( ) { if ( entit...
<s> package net . minecraft . src ; import java . util . Random ; public class BiomeGenSwamp extends BiomeGenBase { protected BiomeGenSwamp ( int par1 ) { super ( par1 ) ; biomeDecorator . treesPerChunk = <NUM_LIT:2> ; biomeDecorator . flowersPerChunk = - <NUM_LIT> ; biomeDecorator . deadBushPerChunk = <NUM_LIT:1> ; bi...
<s> package net . minecraft . src ; public class StepSound { public final String stepSoundName ; public final float stepSoundVolume ; public final float stepSoundPitch ; public StepSound ( String par1Str , float par2 , float par3 ) { stepSoundName = par1Str ; stepSoundVolume = par2 ; stepSoundPitch = par3 ; } public fl...
<s> package net . minecraft . src ; import java . util . Random ; public class BlockCrops extends BlockFlower { protected BlockCrops ( int par1 , int par2 ) { super ( par1 , par2 ) ; blockIndexInTexture = par2 ; setTickRandomly ( true ) ; float f = <NUM_LIT> ; setBlockBounds ( <NUM_LIT> - f , <NUM_LIT> , <NUM_LIT> - f ...
<s> package net . minecraft . src ; public class EnchantmentDamage extends Enchantment { private static final String protectionName [ ] = { "<STR_LIT:all>" , "<STR_LIT>" , "<STR_LIT>" } ; private static final int baseEnchantability [ ] = { <NUM_LIT:1> , <NUM_LIT:5> , <NUM_LIT:5> } ; private static final int levelEnchan...
<s> package net . minecraft . src ; public class MaterialPortal extends Material { public MaterialPortal ( MapColor par1MapColor ) { super ( par1MapColor ) ; } public boolean isSolid ( ) { return false ; } public boolean getCanBlockGrass ( ) { return false ; } public boolean blocksMovement ( ) { return false ; } } </s>
<s> package net . minecraft . src ; import java . util . List ; import java . util . Random ; public class ComponentVillagePathGen extends ComponentVillageRoadPiece { private int averageGroundLevel ; public ComponentVillagePathGen ( int par1 , Random par2Random , StructureBoundingBox par3StructureBoundingBox , int par4...
<s> package net . minecraft . src ; import java . util . List ; import java . util . Random ; public class ComponentNetherBridgeNetherStalkRoom extends ComponentNetherBridgePiece { public ComponentNetherBridgeNetherStalkRoom ( int par1 , Random par2Random , StructureBoundingBox par3StructureBoundingBox , int par4 ) { s...
<s> package net . minecraft . src ; import java . util . List ; import java . util . Random ; public class EntityMinecart extends Entity implements IInventory { private ItemStack cargoItems [ ] ; private int fuel ; private boolean field_469_aj ; public int minecartType ; public double pushX ; public double pushZ ; priv...
<s> package net . minecraft . src ; public enum EnumArmorMaterial { CLOTH ( <NUM_LIT:5> , new int [ ] { <NUM_LIT:1> , <NUM_LIT:3> , <NUM_LIT:2> , <NUM_LIT:1> } , <NUM_LIT:15> ) , CHAIN ( <NUM_LIT:15> , new int [ ] { <NUM_LIT:2> , <NUM_LIT:5> , <NUM_LIT:4> , <NUM_LIT:1> } , <NUM_LIT:12> ) , IRON ( <NUM_LIT:15> , new int...
<s> package net . minecraft . src ; public class PotionHealth extends Potion { public PotionHealth ( int par1 , boolean par2 , int par3 ) { super ( par1 , par2 , par3 ) ; } public boolean isInstant ( ) { return true ; } public boolean isReady ( int par1 , int par2 ) { return par1 >= <NUM_LIT:1> ; } } </s>
<s> package net . minecraft . src ; public class ItemCoal extends Item { public ItemCoal ( int par1 ) { super ( par1 ) ; setHasSubtypes ( true ) ; setMaxDamage ( <NUM_LIT:0> ) ; } public String getItemNameIS ( ItemStack par1ItemStack ) { if ( par1ItemStack . getItemDamage ( ) == <NUM_LIT:1> ) { return "<STR_LIT>" ; } e...
<s> package net . minecraft . src ; import java . util . Random ; public class ItemFishingRod extends Item { public ItemFishingRod ( int par1 ) { super ( par1 ) ; setMaxDamage ( <NUM_LIT> ) ; setMaxStackSize ( <NUM_LIT:1> ) ; } public ItemStack onItemRightClick ( ItemStack par1ItemStack , World par2World , EntityPlayer...
<s> package net . minecraft . src ; import java . util . Random ; public class EntitySquid extends EntityWaterMob { public float field_21063_a ; public float field_21062_b ; public float field_21061_c ; public float field_21059_f ; public float field_21060_ak ; public float field_21058_al ; public float tentacleAngle ;...
<s> package net . minecraft . src ; public class EntityAIFollowOwner extends EntityAIBase { private EntityTameable thePet ; private EntityLiving theOwner ; World theWorld ; private float field_48245_f ; private PathNavigate petPathfinder ; private int field_48252_h ; float maxDist ; float minDist ; private boolean fiel...
<s> package net . minecraft . src ; import java . util . List ; import java . util . Random ; public class EntityArrow extends Entity { private int xTile ; private int yTile ; private int zTile ; private int inTile ; private int inData ; private boolean inGround ; public boolean doesArrowBelongToPlayer ; public int arr...
<s> package net . minecraft . src ; import java . util . * ; abstract class ComponentNetherBridgePiece extends StructureComponent { protected ComponentNetherBridgePiece ( int par1 ) { super ( par1 ) ; } private int getTotalWeight ( List par1List ) { boolean flag = false ; int i = <NUM_LIT:0> ; for ( Iterator iterator =...
<s> package net . minecraft . src ; public interface IInvBasic { public abstract void onInventoryChanged ( InventoryBasic inventorybasic ) ; } </s>
<s> package net . minecraft . src ; import java . io . IOException ; import java . net . * ; import java . util . * ; public class RConThreadQuery extends RConThreadBase { private long lastAuthCheckTime ; private int queryPort ; private int serverPort ; private int maxPlayers ; private String serverMotd ; private Strin...
<s> package net . minecraft . src ; import java . util . Random ; public class BiomeDecorator { protected World currentWorld ; protected Random randomGenerator ; protected int chunk_X ; protected int chunk_Z ; protected BiomeGenBase biome ; protected WorldGenerator clayGen ; protected WorldGenerator sandGen ; protected...
<s> package net . minecraft . src ; public class RecipesCrafting { public RecipesCrafting ( ) { } public void addRecipes ( CraftingManager par1CraftingManager ) { par1CraftingManager . addRecipe ( new ItemStack ( Block . chest ) , new Object [ ] { "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , '<CHAR_LIT>' , Block . planks ...
<s> package net . minecraft . src ; import java . util . Random ; public class BiomeEndDecorator extends BiomeDecorator { protected WorldGenerator spikeGen ; public BiomeEndDecorator ( BiomeGenBase par1BiomeGenBase ) { super ( par1BiomeGenBase ) ; spikeGen = new WorldGenSpikes ( Block . whiteStone . blockID ) ; } prote...
<s> package net . minecraft . src ; public class StructureBoundingBox { public int minX ; public int minY ; public int minZ ; public int maxX ; public int maxY ; public int maxZ ; public StructureBoundingBox ( ) { } public static StructureBoundingBox getNewBoundingBox ( ) { return new StructureBoundingBox ( <NUM_LIT> ,...
<s> package net . minecraft . src ; public class EntityAITempt extends EntityAIBase { private EntityCreature temptedEntity ; private float field_48266_b ; private double field_48267_c ; private double field_48264_d ; private double field_48265_e ; private double field_48262_f ; private double field_48263_g ; private En...
<s> package net . minecraft . src ; public class ItemBlock extends Item { private int blockID ; public ItemBlock ( int par1 ) { super ( par1 ) ; blockID = par1 + <NUM_LIT> ; setIconIndex ( Block . blocksList [ par1 + <NUM_LIT> ] . getBlockTextureFromSide ( <NUM_LIT:2> ) ) ; } public int getBlockID ( ) { return blockID ...
<s> package net . minecraft . src ; import java . io . * ; public class Packet131MapData extends Packet { public short itemID ; public short uniqueID ; public byte itemData [ ] ; public Packet131MapData ( ) { isChunkDataPacket = true ; } public Packet131MapData ( short par1 , short par2 , byte par3ArrayOfByte [ ] ) { i...
<s> package net . minecraft . src ; class SlotArmor extends Slot { final int armorType ; final ContainerPlayer parent ; SlotArmor ( ContainerPlayer par1ContainerPlayer , IInventory par2IInventory , int par3 , int par4 , int par5 , int par6 ) { super ( par2IInventory , par3 , par4 , par5 ) ; parent = par1ContainerPlayer...
<s> package net . minecraft . src ; public interface IAnimals { } </s>
<s> package net . minecraft . src ; import java . io . * ; public class NBTTagEnd extends NBTBase { public NBTTagEnd ( ) { super ( null ) ; } void load ( DataInput datainput ) throws IOException { } void write ( DataOutput dataoutput ) throws IOException { } public byte getId ( ) { return <NUM_LIT:0> ; } public String ...
<s> package net . minecraft . src ; import java . util . List ; import java . util . Random ; public class EntityBoat extends Entity { private int boatPosRotationIncrements ; private double boatX ; private double boatY ; private double boatZ ; private double boatYaw ; private double boatPitch ; public EntityBoat ( Worl...
<s> package net . minecraft . src ; public class EntityMooshroom extends EntityCow { public EntityMooshroom ( World par1World ) { super ( par1World ) ; texture = "<STR_LIT>" ; setSize ( <NUM_LIT> , <NUM_LIT> ) ; } public boolean interact ( EntityPlayer par1EntityPlayer ) { ItemStack itemstack = par1EntityPlayer . inven...
<s> package net . minecraft . src ; import java . util . Random ; public class WorldGenShrub extends WorldGenerator { private int field_48408_a ; private int field_48407_b ; public WorldGenShrub ( int par1 , int par2 ) { field_48407_b = par1 ; field_48408_a = par2 ; } public boolean generate ( World par1World , Random ...
<s> package net . minecraft . src ; public class BlockNetherrack extends Block { public BlockNetherrack ( int par1 , int par2 ) { super ( par1 , par2 , Material . rock ) ; } } </s>
<s> package net . minecraft . src ; import java . util . List ; import java . util . Random ; public class ComponentNetherBridgeEnd extends ComponentNetherBridgePiece { private int fillSeed ; public ComponentNetherBridgeEnd ( int par1 , Random par2Random , StructureBoundingBox par3StructureBoundingBox , int par4 ) { su...
<s> package net . minecraft . src ; public class EntityAIOpenDoor extends EntityAIDoorInteract { boolean field_48196_i ; int field_48195_j ; public EntityAIOpenDoor ( EntityLiving par1EntityLiving , boolean par2 ) { super ( par1EntityLiving ) ; theEntity = par1EntityLiving ; field_48196_i = par2 ; } public boolean cont...
<s> package net . minecraft . src ; import java . util . Random ; public class MapGenMineshaft extends MapGenStructure { public MapGenMineshaft ( ) { } protected boolean canSpawnStructureAtCoords ( int par1 , int par2 ) { return rand . nextInt ( <NUM_LIT:100> ) == <NUM_LIT:0> && rand . nextInt ( <NUM_LIT> ) < Math . ma...
<s> package net . minecraft . src ; public class BlockLeavesBase extends Block { protected boolean graphicsLevel ; protected BlockLeavesBase ( int par1 , int par2 , Material par3Material , boolean par4 ) { super ( par1 , par2 , par3Material ) ; graphicsLevel = par4 ; } public boolean isOpaqueCube ( ) { return false ; }...
<s> package net . minecraft . src ; public class BlockSandStone extends Block { public BlockSandStone ( int par1 ) { super ( par1 , <NUM_LIT> , Material . rock ) ; } public int getBlockTextureFromSideAndMetadata ( int par1 , int par2 ) { if ( par1 == <NUM_LIT:1> || par1 == <NUM_LIT:0> && ( par2 == <NUM_LIT:1> || par2 =...
<s> package net . minecraft . src ; import java . util . List ; import java . util . Random ; public class ComponentVillageHouse4_Garden extends ComponentVillage { private int averageGroundLevel ; private final boolean isRoofAccessible ; public ComponentVillageHouse4_Garden ( int par1 , Random par2Random , StructureBou...
<s> package net . minecraft . src ; import java . io . DataOutputStream ; import java . io . IOException ; class NetworkWriterThread extends Thread { final NetworkManager netManager ; NetworkWriterThread ( NetworkManager par1NetworkManager , String par2Str ) { super ( par2Str ) ; netManager = par1NetworkManager ; } pub...
<s> package net . minecraft . src ; public class ItemMinecart extends Item { public int minecartType ; public ItemMinecart ( int par1 , int par2 ) { super ( par1 ) ; maxStackSize = <NUM_LIT:1> ; minecartType = par2 ; } public boolean onItemUse ( ItemStack par1ItemStack , EntityPlayer par2EntityPlayer , World par3World ...
<s> package net . minecraft . src ; import java . util . List ; import java . util . Random ; public class EntityOcelot extends EntityTameable { private EntityAITempt aiTempt ; public EntityOcelot ( World par1World ) { super ( par1World ) ; texture = "<STR_LIT>" ; setSize ( <NUM_LIT> , <NUM_LIT> ) ; getNavigator ( ) . ...
<s> package net . minecraft . src ; import java . io . IOException ; import java . net . * ; import java . util . * ; public class RConThreadMain extends RConThreadBase { private int rconPort ; private int serverPort ; private String hostname ; private ServerSocket serverSocket ; private String rconPassword ; private H...
<s> package net . minecraft . src ; import java . util . Random ; public class EntityAIAttackOnCollide extends EntityAIBase { World worldObj ; EntityLiving field_48156_b ; EntityLiving entityTarget ; int field_46095_d ; float field_48155_e ; boolean field_48153_f ; PathEntity field_48154_g ; Class field_48157_h ; priva...
<s> package net . minecraft . src ; import java . io . * ; public abstract class NBTBase { private String name ; abstract void write ( DataOutput dataoutput ) throws IOException ; abstract void load ( DataInput datainput ) throws IOException ; public abstract byte getId ( ) ; protected NBTBase ( String par1Str ) { if (...
<s> package net . minecraft . src ; import java . io . * ; public class NBTTagLong extends NBTBase { public long data ; public NBTTagLong ( String par1Str ) { super ( par1Str ) ; } public NBTTagLong ( String par1Str , long par2 ) { super ( par1Str ) ; data = par2 ; } void write ( DataOutput par1DataOutput ) throws IOEx...
<s> package net . minecraft . src ; final class StatTypeTime implements IStatType { StatTypeTime ( ) { } } </s>
<s> package net . minecraft . src ; import java . io . * ; public class Packet50PreChunk extends Packet { public int xPosition ; public int yPosition ; public boolean mode ; public Packet50PreChunk ( ) { isChunkDataPacket = false ; } public Packet50PreChunk ( int par1 , int par2 , boolean par3 ) { isChunkDataPacket = f...
<s> package net . minecraft . src ; public class EntityAIOwnerHurtTarget extends EntityAITarget { EntityTameable field_48304_a ; EntityLiving field_48303_b ; public EntityAIOwnerHurtTarget ( EntityTameable par1EntityTameable ) { super ( par1EntityTameable , <NUM_LIT> , false ) ; field_48304_a = par1EntityTameable ; set...
<s> package net . minecraft . src ; import java . util . List ; public class InventoryBasic implements IInventory { private String inventoryTitle ; private int slotsCount ; private ItemStack inventoryContents [ ] ; private List field_40084_d ; public InventoryBasic ( String par1Str , int par2 ) { inventoryTitle = par1S...
<s> package net . minecraft . src ; public class MovingObjectPosition { public EnumMovingObjectType typeOfHit ; public int blockX ; public int blockY ; public int blockZ ; public int sideHit ; public Vec3D hitVec ; public Entity entityHit ; public MovingObjectPosition ( int par1 , int par2 , int par3 , int par4 , Vec3D...
<s> package net . minecraft . src ; import java . util . List ; public class ContainerPlayer extends Container { public InventoryCrafting craftMatrix ; public IInventory craftResult ; public boolean isLocalWorld ; public ContainerPlayer ( InventoryPlayer par1InventoryPlayer ) { this ( par1InventoryPlayer , true ) ; } p...
<s> package net . minecraft . src ; import java . util . Random ; public class MapGenRavine extends MapGenBase { private float field_35540_a [ ] ; public MapGenRavine ( ) { field_35540_a = new float [ <NUM_LIT> ] ; } protected void generateRavine ( long par1 , int par3 , int par4 , byte par5ArrayOfByte [ ] , double par...
<s> package net . minecraft . src ; public class RecipesArmor { private String recipePatterns [ ] [ ] = { { "<STR_LIT>" , "<STR_LIT>" } , { "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" } , { "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" } , { "<STR_LIT>" , "<STR_LIT>" } } ; private Object recipeItems [ ] [ ] ; public RecipesArmor...
<s> package net . minecraft . src ; public class ItemAxe extends ItemTool { private static Block blocksEffectiveAgainst [ ] ; protected ItemAxe ( int par1 , EnumToolMaterial par2EnumToolMaterial ) { super ( par1 , <NUM_LIT:3> , par2EnumToolMaterial , blocksEffectiveAgainst ) ; } public float getStrVsBlock ( ItemStack p...
<s> package net . minecraft . src ; import java . util . * ; import net . minecraft . server . MinecraftServer ; public class EntityPlayerMP extends EntityPlayer implements ICrafting { public NetServerHandler playerNetServerHandler ; public MinecraftServer mcServer ; public ItemInWorldManager itemInWorldManager ; publi...
<s> package net . minecraft . src ; import java . util . Random ; public class BlockCactus extends Block { protected BlockCactus ( int par1 , int par2 ) { super ( par1 , par2 , Material . cactus ) ; setTickRandomly ( true ) ; } public void updateTick ( World par1World , int par2 , int par3 , int par4 , Random par5Rando...
<s> package net . minecraft . src ; public class MaterialLogic extends Material { public MaterialLogic ( MapColor par1MapColor ) { super ( par1MapColor ) ; } public boolean isSolid ( ) { return false ; } public boolean getCanBlockGrass ( ) { return false ; } public boolean blocksMovement ( ) { return false ; } } </s>
<s> package net . minecraft . src ; import java . io . * ; public class Packet42RemoveEntityEffect extends Packet { public int entityId ; public byte effectId ; public Packet42RemoveEntityEffect ( ) { } public Packet42RemoveEntityEffect ( int par1 , PotionEffect par2PotionEffect ) { entityId = par1 ; effectId = ( byte ...
<s> package net . minecraft . src ; public class Facing { public static final int faceToSide [ ] = { <NUM_LIT:1> , <NUM_LIT:0> , <NUM_LIT:3> , <NUM_LIT:2> , <NUM_LIT:5> , <NUM_LIT:4> } ; public static final int offsetsXForSide [ ] = { <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:0> , - <NUM_LIT:1> , <NUM_LIT:1> }...
<s> package net . minecraft . src ; import java . util . Random ; public class EntityAIFleeSun extends EntityAIBase { private EntityCreature theCreature ; private double shelterX ; private double shelterY ; private double shelterZ ; private float field_48257_e ; private World theWorld ; public EntityAIFleeSun ( EntityC...
<s> package net . minecraft . src ; public class BlockSoulSand extends Block { public BlockSoulSand ( int par1 , int par2 ) { super ( par1 , par2 , Material . sand ) ; } public AxisAlignedBB getCollisionBoundingBoxFromPool ( World par1World , int par2 , int par3 , int par4 ) { float f = <NUM_LIT> ; return AxisAlignedBB...
<s> package net . minecraft . src ; public class EntityAISit extends EntityAIBase { private EntityTameable theEntity ; private boolean field_48211_b ; public EntityAISit ( EntityTameable par1EntityTameable ) { field_48211_b = false ; theEntity = par1EntityTameable ; setMutexBits ( <NUM_LIT:5> ) ; } public boolean shoul...
<s> package net . minecraft . src ; public class BiomeCacheBlock { public float temperatureValues [ ] ; public float rainfallValues [ ] ; public BiomeGenBase biomes [ ] ; public int xPosition ; public int zPosition ; public long lastAccessTime ; final BiomeCache biomeCache ; public BiomeCacheBlock ( BiomeCache par1Biom...
<s> package net . minecraft . src ; import java . util . Random ; public class BlockPistonMoving extends BlockContainer { public BlockPistonMoving ( int par1 ) { super ( par1 , Material . piston ) ; setHardness ( - <NUM_LIT> ) ; } public TileEntity getBlockEntity ( ) { return null ; } public void onBlockAdded ( World w...
<s> package net . minecraft . src ; import java . util . List ; import java . util . Random ; public class BiomeGenDesert extends BiomeGenBase { public BiomeGenDesert ( int par1 ) { super ( par1 ) ; spawnableCreatureList . clear ( ) ; topBlock = ( byte ) Block . sand . blockID ; fillerBlock = ( byte ) Block . sand . bl...
<s> package net . minecraft . src ; public class ItemGlassBottle extends Item { public ItemGlassBottle ( int par1 ) { super ( par1 ) ; } public ItemStack onItemRightClick ( ItemStack par1ItemStack , World par2World , EntityPlayer par3EntityPlayer ) { MovingObjectPosition movingobjectposition = getMovingObjectPositionFr...
<s> package net . minecraft . src ; import java . io . * ; public class Packet254ServerPing extends Packet { public Packet254ServerPing ( ) { } public void readPacketData ( DataInputStream datainputstream ) throws IOException { } public void writePacketData ( DataOutputStream dataoutputstream ) throws IOException { } p...
<s> package net . minecraft . src ; import java . io . * ; public class Packet200Statistic extends Packet { public int statisticId ; public int amount ; public Packet200Statistic ( ) { } public Packet200Statistic ( int par1 , int par2 ) { statisticId = par1 ; amount = par2 ; } public void processPacket ( NetHandler par...
<s> package net . minecraft . src ; public class StatCrafting extends StatBase { private final int itemID ; public StatCrafting ( int par1 , String par2Str , int par3 ) { super ( par1 , par2Str ) ; itemID = par3 ; } } </s>
<s> package net . minecraft . src ; import java . util . Random ; public class EntityXPOrb extends Entity { public int xpColor ; public int xpOrbAge ; public int field_35158_c ; private int xpOrbHealth ; private int xpValue ; public EntityXPOrb ( World par1World , double par2 , double par4 , double par6 , int par8 ) { ...
<s> package net . minecraft . src ; public enum EnumSkyBlock { Sky ( <NUM_LIT:15> ) , Block ( <NUM_LIT:0> ) ; public final int defaultLightValue ; private EnumSkyBlock ( int par3 ) { defaultLightValue = par3 ; } } </s>
<s> package net . minecraft . src ; import java . io . * ; import java . lang . ref . Reference ; import java . lang . ref . SoftReference ; import java . util . * ; public class RegionFileCache { private static final Map regionsByFilename = new HashMap ( ) ; private RegionFileCache ( ) { } public static synchronized R...
<s> package net . minecraft . src ; import java . util . Random ; public class WorldGenFlowers extends WorldGenerator { private int plantBlockId ; public WorldGenFlowers ( int par1 ) { plantBlockId = par1 ; } public boolean generate ( World par1World , Random par2Random , int par3 , int par4 , int par5 ) { for ( int i ...
<s> package net . minecraft . src ; import java . util . * ; public abstract class BiomeGenBase { public static final BiomeGenBase biomeList [ ] = new BiomeGenBase [ <NUM_LIT> ] ; public static final BiomeGenBase ocean = ( new BiomeGenOcean ( <NUM_LIT:0> ) ) . setColor ( <NUM_LIT> ) . setBiomeName ( "<STR_LIT>" ) . set...
<s> package net . minecraft . src ; public class EnchantmentUntouching extends Enchantment { protected EnchantmentUntouching ( int par1 , int par2 ) { super ( par1 , par2 , EnumEnchantmentType . digger ) ; setName ( "<STR_LIT>" ) ; } public int getMinEnchantability ( int par1 ) { return <NUM_LIT> ; } public int getMaxE...
<s> package net . minecraft . src ; public abstract class WorldProvider { public World worldObj ; public WorldType terrainType ; public WorldChunkManager worldChunkMgr ; public boolean isHellWorld ; public boolean hasNoSky ; public float lightBrightnessTable [ ] ; public int worldType ; private float colorsSunriseSunse...
<s> package net . minecraft . src ; public class RecipesWeapons { private String recipePatterns [ ] [ ] = { { "<STR_LIT:X>" , "<STR_LIT:X>" , "<STR_LIT:#>" } } ; private Object recipeItems [ ] [ ] ; public RecipesWeapons ( ) { recipeItems = ( new Object [ ] [ ] { new Object [ ] { Block . planks , Block . cobblestone , ...
<s> package net . minecraft . src ; import java . util . Random ; public class WorldGenForest extends WorldGenerator { public WorldGenForest ( boolean par1 ) { super ( par1 ) ; } public boolean generate ( World par1World , Random par2Random , int par3 , int par4 , int par5 ) { int i = par2Random . nextInt ( <NUM_LIT:3>...
<s> package net . minecraft . src ; import java . io . * ; import java . util . * ; public class NBTTagCompound extends NBTBase { private Map tagMap ; public NBTTagCompound ( ) { super ( "<STR_LIT>" ) ; tagMap = new HashMap ( ) ; } public NBTTagCompound ( String par1Str ) { super ( par1Str ) ; tagMap = new HashMap ( ) ...
<s> package net . minecraft . src ; import java . util . Random ; public class TileEntityEnchantmentTable extends TileEntity { public int tickCount ; public float pageFlip ; public float pageFlipPrev ; public float field_40066_d ; public float field_40067_e ; public float bookSpread ; public float bookSpreadPrev ; publ...
<s> package net . minecraft . src ; import java . io . * ; public class Packet13PlayerLookMove extends Packet10Flying { public Packet13PlayerLookMove ( ) { rotating = true ; moving = true ; } public Packet13PlayerLookMove ( double par1 , double par3 , double par5 , double par7 , float par9 , float par10 , boolean par11...
<s> package net . minecraft . src ; public class EntityAIOcelotAttack extends EntityAIBase { World theWorld ; EntityLiving theEntity ; EntityLiving field_48170_c ; int field_48168_d ; public EntityAIOcelotAttack ( EntityLiving par1EntityLiving ) { field_48168_d = <NUM_LIT:0> ; theEntity = par1EntityLiving ; theWorld = ...
<s> package net . minecraft . src ; public class RecipesIngots { private Object recipeItems [ ] [ ] ; public RecipesIngots ( ) { recipeItems = ( new Object [ ] [ ] { new Object [ ] { Block . blockGold , new ItemStack ( Item . ingotGold , <NUM_LIT:9> ) } , new Object [ ] { Block . blockSteel , new ItemStack ( Item . ing...
<s> package net . minecraft . src ; public class ItemPainting extends Item { public ItemPainting ( int par1 ) { super ( par1 ) ; } public boolean onItemUse ( ItemStack par1ItemStack , EntityPlayer par2EntityPlayer , World par3World , int par4 , int par5 , int par6 , int par7 ) { if ( par7 == <NUM_LIT:0> ) { return fals...
<s> package net . minecraft . src ; public class GenLayerHills extends GenLayer { public GenLayerHills ( long par1 , GenLayer par3GenLayer ) { super ( par1 ) ; parent = par3GenLayer ; } public int [ ] getInts ( int par1 , int par2 , int par3 , int par4 ) { int ai [ ] = parent . getInts ( par1 - <NUM_LIT:1> , par2 - <NU...
<s> package net . minecraft . src ; import java . io . * ; public class Packet20NamedEntitySpawn extends Packet { public int entityId ; public String name ; public int xPosition ; public int yPosition ; public int zPosition ; public byte rotation ; public byte pitch ; public int currentItem ; public Packet20NamedEntity...
<s> package net . minecraft . src ; import java . io . * ; public class Packet14BlockDig extends Packet { public int xPosition ; public int yPosition ; public int zPosition ; public int face ; public int status ; public Packet14BlockDig ( ) { } public void readPacketData ( DataInputStream par1DataInputStream ) throws I...