Reformat code
This commit is contained in:
parent
ee3d133a31
commit
3b140b91c9
432 changed files with 33958 additions and 34058 deletions
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.achievement;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class AchievementList {
|
||||
public static int field_27114_a;
|
||||
|
|
|
|||
|
|
@ -1,25 +1,12 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.stepsound.StepSound;
|
||||
import net.minecraft.block.stepsound.StepSoundSand;
|
||||
import net.minecraft.block.stepsound.StepSoundStone;
|
||||
import net.minecraft.block.tile.TileEntitySign;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityItem;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.entity.EnumMobType;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemCloth;
|
||||
import net.minecraft.item.ItemLeaves;
|
||||
import net.minecraft.item.ItemLog;
|
||||
import net.minecraft.item.ItemPiston;
|
||||
import net.minecraft.item.ItemSapling;
|
||||
import net.minecraft.item.ItemSlab;
|
||||
import net.minecraft.entity.*;
|
||||
import net.minecraft.item.*;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.math.Vec3D;
|
||||
|
|
@ -29,6 +16,9 @@ import net.minecraft.util.MovingObjectPosition;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
public class Block {
|
||||
public static final StepSound soundPowderFootstep = new StepSound("stone", 1.0F, 1.0F);
|
||||
public static final StepSound soundWoodFootstep = new StepSound("wood", 1.0F, 1.0F);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
|
|
@ -12,6 +10,9 @@ import net.minecraft.world.EnumBedResult;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockBed extends Block {
|
||||
public static final int[][] field_22023_a = new int[][]{{0, 1}, {-1, 0}, {0, -1}, {1, 0}};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockBookshelf extends Block {
|
||||
public BlockBookshelf(int var1, int var2) {
|
||||
super(var1, var2, Material.wood);
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockButton extends Block {
|
||||
protected BlockButton(int var1, int var2) {
|
||||
super(var1, var2, Material.circuits);
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockCactus extends Block {
|
||||
protected BlockCactus(int var1, int var2) {
|
||||
super(var1, var2, Material.cactus);
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockCake extends Block {
|
||||
protected BlockCake(int var1, int var2) {
|
||||
super(var1, var2, Material.cakeMaterial);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.tile.TileEntity;
|
||||
import net.minecraft.block.tile.TileEntityChest;
|
||||
|
|
@ -11,6 +10,8 @@ import net.minecraft.entity.EntityPlayer;
|
|||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockChest extends BlockContainer {
|
||||
private Random random = new Random();
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockClay extends Block {
|
||||
public BlockClay(int var1, int var2) {
|
||||
super(var1, var2, Material.clay);
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.entity.EntityItem;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockCrops extends BlockFlower {
|
||||
protected BlockCrops(int var1, int var2) {
|
||||
super(var1, var2);
|
||||
|
|
|
|||
|
|
@ -1,13 +1,14 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityMinecart;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockDetectorRail extends BlockRail {
|
||||
public BlockDetectorRail(int var1, int var2) {
|
||||
super(var1, var2, true);
|
||||
|
|
|
|||
|
|
@ -1,20 +1,16 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.tile.TileEntity;
|
||||
import net.minecraft.block.tile.TileEntityDispenser;
|
||||
import net.minecraft.entity.EntityArrow;
|
||||
import net.minecraft.entity.EntityEgg;
|
||||
import net.minecraft.entity.EntityItem;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.entity.EntitySnowball;
|
||||
import net.minecraft.entity.*;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.math.MathHelper;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockDispenser extends BlockContainer {
|
||||
private Random field_28032_a = new Random();
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
|
|
@ -10,6 +9,8 @@ import net.minecraft.util.MovingObjectPosition;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockDoor extends Block {
|
||||
protected BlockDoor(int var1, Material var2) {
|
||||
super(var1, var2);
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockFarmland extends Block {
|
||||
protected BlockFarmland(int var1) {
|
||||
super(var1, Material.ground);
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockFire extends Block {
|
||||
private int[] chanceToEncourageFire = new int[256];
|
||||
private int[] abilityToCatchFire = new int[256];
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockFlower extends Block {
|
||||
protected BlockFlower(int var1, int var2) {
|
||||
super(var1, Material.plants);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockFlowing extends BlockFluid {
|
||||
int field_659_a = 0;
|
||||
boolean[] field_658_b = new boolean[4];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
|
|
@ -8,6 +7,8 @@ import net.minecraft.math.Vec3D;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public abstract class BlockFluid extends Block {
|
||||
protected BlockFluid(int var1, Material var2) {
|
||||
super(var1, (var2 == Material.lava ? 14 : 12) * 16 + 13, var2);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.tile.TileEntity;
|
||||
import net.minecraft.block.tile.TileEntityFurnace;
|
||||
|
|
@ -11,6 +10,8 @@ import net.minecraft.item.crafting.ItemStack;
|
|||
import net.minecraft.math.MathHelper;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockFurnace extends BlockContainer {
|
||||
private Random field_28033_a = new Random();
|
||||
private final boolean isActive;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockGlass extends BlockBreakable {
|
||||
public BlockGlass(int var1, int var2, Material var3, boolean var4) {
|
||||
super(var1, var2, var3, var4);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockGlowStone extends Block {
|
||||
public BlockGlowStone(int var1, int var2, Material var3) {
|
||||
super(var1, var2, var3);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockGrass extends Block {
|
||||
protected BlockGrass(int var1) {
|
||||
super(var1, Material.grass);
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockGravel extends BlockSand {
|
||||
public BlockGravel(int var1, int var2) {
|
||||
super(var1, var2);
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.world.EnumLightSource;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockIce extends BlockBreakable {
|
||||
public BlockIce(int var1, int var2) {
|
||||
super(var1, var2, Material.ice, false);
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockLadder extends Block {
|
||||
protected BlockLadder(int var1, int var2) {
|
||||
super(var1, var2, Material.circuits);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
|
|
@ -9,6 +8,8 @@ import net.minecraft.item.crafting.ItemStack;
|
|||
import net.minecraft.statistics.StatList;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockLeaves extends BlockLeavesBase {
|
||||
private int baseIndexInPNG;
|
||||
int[] adjacentTreeBlocks;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockLockedChest extends Block {
|
||||
protected BlockLockedChest(int var1) {
|
||||
super(var1, Material.wood);
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockLog extends Block {
|
||||
protected BlockLog(int var1) {
|
||||
super(var1, Material.wood);
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.tile.TileEntity;
|
||||
import net.minecraft.block.tile.TileEntityMobSpawner;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockMobSpawner extends BlockContainer {
|
||||
protected BlockMobSpawner(int var1, int var2) {
|
||||
super(var1, var2, Material.rock);
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockMushroom extends BlockFlower {
|
||||
protected BlockMushroom(int var1, int var2) {
|
||||
super(var1, var2);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockOre extends Block {
|
||||
public BlockOre(int var1, int var2) {
|
||||
super(var1, var2, Material.rock);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.tile.TileEntity;
|
||||
import net.minecraft.block.tile.TileEntityPiston;
|
||||
|
|
@ -12,6 +11,8 @@ import net.minecraft.util.PistonBlockTextures;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class BlockPistonBase extends Block {
|
||||
private boolean isSticky;
|
||||
private boolean ignoreUpdates;
|
||||
|
|
|
|||
|
|
@ -1,13 +1,14 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.util.PistonBlockTextures;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockPistonExtension extends Block {
|
||||
private int field_31046_a = -1;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.tile.TileEntity;
|
||||
import net.minecraft.block.tile.TileEntityPiston;
|
||||
|
|
@ -10,6 +9,8 @@ import net.minecraft.util.PistonBlockTextures;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockPistonMoving extends BlockContainer {
|
||||
public BlockPistonMoving(int var1) {
|
||||
super(var1, Material.piston);
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockPortal extends BlockBreakable {
|
||||
public BlockPortal(int var1, int var2) {
|
||||
super(var1, var2, Material.portal, false);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
|
|
@ -11,6 +9,9 @@ import net.minecraft.math.AxisAlignedBB;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockPressurePlate extends Block {
|
||||
private EnumMobType triggerMobType;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.math.Vec3D;
|
||||
|
|
@ -8,6 +7,8 @@ import net.minecraft.util.MovingObjectPosition;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockRail extends Block {
|
||||
private final boolean field_27034_a;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockRedstoneOre extends Block {
|
||||
private boolean field_665_a;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
|
|
@ -9,6 +8,8 @@ import net.minecraft.math.MathHelper;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockRedstoneRepeater extends Block {
|
||||
public static final double[] field_22014_a = new double[]{-0.0625D, 1.0D / 16.0D, 0.1875D, 0.3125D};
|
||||
private static final int[] field_22013_b = new int[]{1, 2, 3, 4};
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class BlockRedstoneTorch extends BlockTorch {
|
||||
private boolean torchActive = false;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.Random;
|
||||
import java.util.Set;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
|
|
@ -12,6 +8,11 @@ import net.minecraft.util.ModelBed;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.Random;
|
||||
import java.util.Set;
|
||||
|
||||
public class BlockRedstoneWire extends Block {
|
||||
private boolean wiresProvidePower = true;
|
||||
private Set field_21032_b = new HashSet();
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockReed extends Block {
|
||||
protected BlockReed(int var1, int var2) {
|
||||
super(var1, Material.plants);
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityFallingSand;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockSand extends Block {
|
||||
public static boolean fallInstantly = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,9 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.generators.WorldGenBigTree;
|
||||
import net.minecraft.world.generators.WorldGenForest;
|
||||
import net.minecraft.world.generators.WorldGenTaiga2;
|
||||
import net.minecraft.world.generators.WorldGenTrees;
|
||||
import net.minecraft.world.generators.WorldGenerator;
|
||||
import net.minecraft.world.generators.*;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockSapling extends BlockFlower {
|
||||
protected BlockSapling(int var1, int var2) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.tile.TileEntity;
|
||||
import net.minecraft.item.Item;
|
||||
|
|
@ -8,6 +7,8 @@ import net.minecraft.math.AxisAlignedBB;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockSign extends BlockContainer {
|
||||
private Class signEntityClass;
|
||||
private boolean isFreestanding;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityItem;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
|
|
@ -12,6 +11,8 @@ import net.minecraft.world.EnumLightSource;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockSnow extends Block {
|
||||
protected BlockSnow(int var1, int var2) {
|
||||
super(var1, var2, Material.snow);
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.world.EnumLightSource;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockSnowBlock extends Block {
|
||||
protected BlockSnowBlock(int var1, int var2) {
|
||||
super(var1, var2, Material.builtSnow);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
|
|
@ -11,6 +9,9 @@ import net.minecraft.math.Vec3D;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockStairs extends Block {
|
||||
private Block modelBlock;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockStationary extends BlockFluid {
|
||||
protected BlockStationary(int var1, Material var2) {
|
||||
super(var1, var2);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockStep extends Block {
|
||||
public static final String[] field_22027_a = new String[]{"stone", "sand", "wood", "cobble"};
|
||||
private boolean blockType;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockStone extends Block {
|
||||
public BlockStone(int var1, int var2) {
|
||||
super(var1, var2, Material.rock);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.entity.EntityTNTPrimed;
|
||||
|
|
@ -8,6 +7,8 @@ import net.minecraft.item.Item;
|
|||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockTNT extends Block {
|
||||
public BlockTNT(int var1, int var2) {
|
||||
super(var1, var2, Material.tnt);
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockTallGrass extends BlockFlower {
|
||||
protected BlockTallGrass(int var1, int var2) {
|
||||
super(var1, var2);
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.math.Vec3D;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockTorch extends Block {
|
||||
protected BlockTorch(int var1, int var2) {
|
||||
super(var1, var2, Material.circuits);
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockWeb extends Block {
|
||||
public BlockWeb(int var1, int var2) {
|
||||
super(var1, var2, Material.web);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.block;
|
||||
|
||||
import net.minecraft.math.ChunkPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import net.minecraft.math.ChunkPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
class RailLogic {
|
||||
private World worldObj;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
package net.minecraft.block.tile;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.network.packets.Packet;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class TileEntity {
|
||||
private static Map nameToClassMap = new HashMap();
|
||||
private static Map classToNameMap = new HashMap();
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.block.tile;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.container.inventory.IInventory;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class TileEntityDispenser extends TileEntity implements IInventory {
|
||||
private ItemStack[] dispenserContents = new ItemStack[9];
|
||||
private Random dispenserRandom = new Random();
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
package net.minecraft.block.tile;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.PistonBlockTextures;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
public class TileEntityPiston extends TileEntity {
|
||||
private int storedBlockID;
|
||||
private int storedMetadata;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
package net.minecraft.container;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import net.minecraft.container.inventory.IInventory;
|
||||
import net.minecraft.container.inventory.InventoryPlayer;
|
||||
import net.minecraft.container.slot.Slot;
|
||||
|
|
@ -11,6 +7,11 @@ import net.minecraft.entity.EntityPlayer;
|
|||
import net.minecraft.item.crafting.ICrafting;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
public abstract class Container {
|
||||
public List inventoryItemStacks = new ArrayList();
|
||||
public List inventorySlots = new ArrayList();
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockFluid;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
|
@ -17,6 +15,9 @@ import net.minecraft.nbt.NBTTagFloat;
|
|||
import net.minecraft.nbt.NBTTagList;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public abstract class Entity {
|
||||
private static int nextEntityID = 0;
|
||||
public int entityId = nextEntityID++;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
|
|
@ -11,6 +10,8 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntityArrow extends Entity {
|
||||
private int xTile = -1;
|
||||
private int yTile = -1;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
|
|
@ -9,6 +8,8 @@ import net.minecraft.math.MathHelper;
|
|||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntityBoat extends Entity {
|
||||
public int damageTaken;
|
||||
public int field_9177_b;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
|
|
@ -10,6 +9,8 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntityEgg extends Entity {
|
||||
private int xTile = -1;
|
||||
private int yTile = -1;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.math.MathHelper;
|
||||
import net.minecraft.math.Vec3D;
|
||||
|
|
@ -8,6 +7,8 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntityFireball extends Entity {
|
||||
private int xTile = -1;
|
||||
private int yTile = -1;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
|
|
@ -12,6 +11,8 @@ import net.minecraft.statistics.StatList;
|
|||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntityFish extends Entity {
|
||||
private int xTile = -1;
|
||||
private int yTile = -1;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.math.MathHelper;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntityLightningBolt extends EntityWeatherEffect {
|
||||
private int field_27018_b;
|
||||
public long field_27019_a = 0L;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class EntityList {
|
||||
private static Map stringToClassMapping = new HashMap();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.stepsound.StepSound;
|
||||
|
|
@ -10,6 +9,8 @@ import net.minecraft.math.Vec3D;
|
|||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public abstract class EntityLiving extends Entity {
|
||||
public int field_9099_av = 20;
|
||||
public float field_9098_aw;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockRail;
|
||||
import net.minecraft.container.inventory.IInventory;
|
||||
|
|
@ -13,6 +12,8 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import net.minecraft.nbt.NBTTagList;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntityMinecart extends Entity implements IInventory {
|
||||
private ItemStack[] cargoItems;
|
||||
public int damageTaken;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
|
|
@ -10,6 +8,9 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import net.minecraft.util.EnumArt;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class EntityPainting extends Entity {
|
||||
private int field_452_ad;
|
||||
public int direction;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntityPigZombie extends EntityZombie {
|
||||
private int angerLevel = 0;
|
||||
private int randomSoundDelay = 0;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import net.minecraft.achievement.AchievementList;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockBed;
|
||||
|
|
@ -26,6 +24,9 @@ import net.minecraft.world.EnumBedResult;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.chunk.IChunkProvider;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
public abstract class EntityPlayer extends EntityLiving {
|
||||
public InventoryPlayer inventory = new InventoryPlayer(this);
|
||||
public Container personalCraftingInventory;
|
||||
|
|
|
|||
|
|
@ -1,17 +1,9 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import net.minecraft.block.tile.TileEntity;
|
||||
import net.minecraft.block.tile.TileEntityDispenser;
|
||||
import net.minecraft.block.tile.TileEntityFurnace;
|
||||
import net.minecraft.container.Container;
|
||||
import net.minecraft.container.ContainerChest;
|
||||
import net.minecraft.container.ContainerDispenser;
|
||||
import net.minecraft.container.ContainerFurnace;
|
||||
import net.minecraft.container.ContainerWorkbench;
|
||||
import net.minecraft.container.*;
|
||||
import net.minecraft.container.inventory.IInventory;
|
||||
import net.minecraft.container.slot.SlotCrafting;
|
||||
import net.minecraft.item.Item;
|
||||
|
|
@ -21,21 +13,7 @@ import net.minecraft.item.crafting.ItemStack;
|
|||
import net.minecraft.math.ChunkCoordIntPair;
|
||||
import net.minecraft.math.ChunkCoordinates;
|
||||
import net.minecraft.network.NetServerHandler;
|
||||
import net.minecraft.network.packets.Packet;
|
||||
import net.minecraft.network.packets.Packet100OpenWindow;
|
||||
import net.minecraft.network.packets.Packet101CloseWindow;
|
||||
import net.minecraft.network.packets.Packet103SetSlot;
|
||||
import net.minecraft.network.packets.Packet104WindowItems;
|
||||
import net.minecraft.network.packets.Packet105UpdateProgressbar;
|
||||
import net.minecraft.network.packets.Packet17Sleep;
|
||||
import net.minecraft.network.packets.Packet18Animation;
|
||||
import net.minecraft.network.packets.Packet200Statistic;
|
||||
import net.minecraft.network.packets.Packet22Collect;
|
||||
import net.minecraft.network.packets.Packet39AttachEntity;
|
||||
import net.minecraft.network.packets.Packet3Chat;
|
||||
import net.minecraft.network.packets.Packet51MapChunk;
|
||||
import net.minecraft.network.packets.Packet5PlayerInventory;
|
||||
import net.minecraft.network.packets.Packet8UpdateHealth;
|
||||
import net.minecraft.network.packets.*;
|
||||
import net.minecraft.server.ItemInWorldManager;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.server.trackers.EntityTracker;
|
||||
|
|
@ -45,6 +23,11 @@ import net.minecraft.world.EnumBedResult;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.WorldServer;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
public class EntityPlayerMP extends EntityPlayer implements ICrafting {
|
||||
public NetServerHandler playerNetServerHandler;
|
||||
public MinecraftServer mcServer;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class EntitySheep extends EntityAnimal {
|
||||
public static final float[][] field_21071_a = new float[][]{{1.0F, 1.0F, 1.0F}, {0.95F, 0.7F, 0.2F}, {0.9F, 0.5F, 0.85F}, {0.6F, 0.7F, 0.95F}, {0.9F, 0.9F, 0.2F}, {0.5F, 0.8F, 0.1F}, {0.95F, 0.7F, 0.8F}, {0.3F, 0.3F, 0.3F}, {0.6F, 0.6F, 0.6F}, {0.3F, 0.6F, 0.7F}, {0.7F, 0.4F, 0.9F}, {0.2F, 0.4F, 0.8F}, {0.5F, 0.4F, 0.3F}, {0.4F, 0.5F, 0.2F}, {0.8F, 0.3F, 0.3F}, {0.1F, 0.1F, 0.1F}};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.math.AxisAlignedBB;
|
||||
|
|
@ -10,6 +9,8 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntitySnowball extends Entity {
|
||||
private int xTileSnowball = -1;
|
||||
private int yTileSnowball = -1;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
package net.minecraft.entity;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import net.minecraft.entity.pathfinder.PathEntity;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemFood;
|
||||
|
|
@ -11,6 +9,9 @@ import net.minecraft.math.MathHelper;
|
|||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
public class EntityWolf extends EntityAnimal {
|
||||
private boolean field_25039_a = false;
|
||||
private float field_25038_b;
|
||||
|
|
|
|||
|
|
@ -1,16 +1,13 @@
|
|||
package net.minecraft.entity.datawatcher;
|
||||
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.math.ChunkCoordinates;
|
||||
import net.minecraft.network.packets.Packet;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.math.ChunkCoordinates;
|
||||
import net.minecraft.network.packets.Packet;
|
||||
import java.util.*;
|
||||
|
||||
public class DataWatcher {
|
||||
private static final HashMap dataTypes = new HashMap();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package net.minecraft.item;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
|
|
@ -11,6 +10,8 @@ import net.minecraft.statistics.StatCollector;
|
|||
import net.minecraft.statistics.StatList;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class Item {
|
||||
protected static Random itemRand = new Random();
|
||||
public static Item[] itemsList = new Item[32000];
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.item.crafting;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.container.inventory.InventoryCrafting;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.container.inventory.InventoryCrafting;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class CraftingManager {
|
||||
private static final CraftingManager instance = new CraftingManager();
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.item.crafting;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class FurnaceRecipes {
|
||||
private static final FurnaceRecipes smeltingBase = new FurnaceRecipes();
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
package net.minecraft.item.crafting;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.container.Container;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ICrafting {
|
||||
void updateCraftingInventory(Container var1, List var2);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.item.crafting;
|
||||
|
||||
import net.minecraft.container.inventory.InventoryCrafting;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import net.minecraft.container.inventory.InventoryCrafting;
|
||||
|
||||
public class ShapelessRecipes implements IRecipe {
|
||||
private final ItemStack field_21138_a;
|
||||
|
|
|
|||
|
|
@ -1,13 +1,14 @@
|
|||
package net.minecraft.item.map;
|
||||
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import net.minecraft.entity.EntityPlayer;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class MapData extends MapDataBase {
|
||||
public int field_28164_b;
|
||||
|
|
|
|||
|
|
@ -1,21 +1,14 @@
|
|||
package net.minecraft.item.map;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import net.minecraft.nbt.CompressedStreamTools;
|
||||
import net.minecraft.nbt.NBTBase;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagShort;
|
||||
import net.minecraft.world.io.ISaveHandler;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
|
||||
public class MapStorage {
|
||||
private ISaveHandler field_28180_a;
|
||||
private Map field_28179_b = new HashMap();
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
package net.minecraft.math;
|
||||
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
|
||||
public class AxisAlignedBB {
|
||||
private static List boundingBoxes = new ArrayList();
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
package net.minecraft.nbt;
|
||||
|
||||
import java.io.DataInput;
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutput;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.io.*;
|
||||
import java.util.zip.GZIPInputStream;
|
||||
import java.util.zip.GZIPOutputStream;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,56 +1,6 @@
|
|||
package net.minecraft.network;
|
||||
|
||||
import net.minecraft.network.packets.Packet;
|
||||
import net.minecraft.network.packets.Packet100OpenWindow;
|
||||
import net.minecraft.network.packets.Packet101CloseWindow;
|
||||
import net.minecraft.network.packets.Packet102WindowClick;
|
||||
import net.minecraft.network.packets.Packet103SetSlot;
|
||||
import net.minecraft.network.packets.Packet104WindowItems;
|
||||
import net.minecraft.network.packets.Packet105UpdateProgressbar;
|
||||
import net.minecraft.network.packets.Packet106Transaction;
|
||||
import net.minecraft.network.packets.Packet10Flying;
|
||||
import net.minecraft.network.packets.Packet130UpdateSign;
|
||||
import net.minecraft.network.packets.Packet131MapData;
|
||||
import net.minecraft.network.packets.Packet14BlockDig;
|
||||
import net.minecraft.network.packets.Packet15Place;
|
||||
import net.minecraft.network.packets.Packet16BlockItemSwitch;
|
||||
import net.minecraft.network.packets.Packet17Sleep;
|
||||
import net.minecraft.network.packets.Packet18Animation;
|
||||
import net.minecraft.network.packets.Packet19EntityAction;
|
||||
import net.minecraft.network.packets.Packet1Login;
|
||||
import net.minecraft.network.packets.Packet200Statistic;
|
||||
import net.minecraft.network.packets.Packet20NamedEntitySpawn;
|
||||
import net.minecraft.network.packets.Packet21PickupSpawn;
|
||||
import net.minecraft.network.packets.Packet22Collect;
|
||||
import net.minecraft.network.packets.Packet23VehicleSpawn;
|
||||
import net.minecraft.network.packets.Packet24MobSpawn;
|
||||
import net.minecraft.network.packets.Packet255KickDisconnect;
|
||||
import net.minecraft.network.packets.Packet25EntityPainting;
|
||||
import net.minecraft.network.packets.Packet27Position;
|
||||
import net.minecraft.network.packets.Packet28EntityVelocity;
|
||||
import net.minecraft.network.packets.Packet29DestroyEntity;
|
||||
import net.minecraft.network.packets.Packet2Handshake;
|
||||
import net.minecraft.network.packets.Packet30Entity;
|
||||
import net.minecraft.network.packets.Packet34EntityTeleport;
|
||||
import net.minecraft.network.packets.Packet38EntityStatus;
|
||||
import net.minecraft.network.packets.Packet39AttachEntity;
|
||||
import net.minecraft.network.packets.Packet3Chat;
|
||||
import net.minecraft.network.packets.Packet40EntityMetadata;
|
||||
import net.minecraft.network.packets.Packet4UpdateTime;
|
||||
import net.minecraft.network.packets.Packet50PreChunk;
|
||||
import net.minecraft.network.packets.Packet51MapChunk;
|
||||
import net.minecraft.network.packets.Packet52MultiBlockChange;
|
||||
import net.minecraft.network.packets.Packet53BlockChange;
|
||||
import net.minecraft.network.packets.Packet54PlayNoteBlock;
|
||||
import net.minecraft.network.packets.Packet5PlayerInventory;
|
||||
import net.minecraft.network.packets.Packet60Explosion;
|
||||
import net.minecraft.network.packets.Packet61DoorChange;
|
||||
import net.minecraft.network.packets.Packet6SpawnPosition;
|
||||
import net.minecraft.network.packets.Packet70Bed;
|
||||
import net.minecraft.network.packets.Packet71Weather;
|
||||
import net.minecraft.network.packets.Packet7UseEntity;
|
||||
import net.minecraft.network.packets.Packet8UpdateHealth;
|
||||
import net.minecraft.network.packets.Packet9Respawn;
|
||||
import net.minecraft.network.packets.*;
|
||||
|
||||
public abstract class NetHandler {
|
||||
public abstract boolean isServerHandler();
|
||||
|
|
|
|||
|
|
@ -1,20 +1,15 @@
|
|||
package net.minecraft.network;
|
||||
|
||||
import net.minecraft.entity.EntityPlayerMP;
|
||||
import net.minecraft.math.ChunkCoordinates;
|
||||
import net.minecraft.network.packets.*;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.world.WorldServer;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.Socket;
|
||||
import java.util.Random;
|
||||
import java.util.logging.Logger;
|
||||
import net.minecraft.entity.EntityPlayerMP;
|
||||
import net.minecraft.math.ChunkCoordinates;
|
||||
import net.minecraft.network.packets.Packet;
|
||||
import net.minecraft.network.packets.Packet1Login;
|
||||
import net.minecraft.network.packets.Packet255KickDisconnect;
|
||||
import net.minecraft.network.packets.Packet2Handshake;
|
||||
import net.minecraft.network.packets.Packet3Chat;
|
||||
import net.minecraft.network.packets.Packet4UpdateTime;
|
||||
import net.minecraft.network.packets.Packet6SpawnPosition;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.world.WorldServer;
|
||||
|
||||
public class NetLoginHandler extends NetHandler {
|
||||
public static Logger logger = Logger.getLogger("Minecraft");
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
package net.minecraft.network;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.logging.Logger;
|
||||
import net.minecraft.block.tile.TileEntity;
|
||||
import net.minecraft.block.tile.TileEntitySign;
|
||||
import net.minecraft.container.inventory.InventoryPlayer;
|
||||
|
|
@ -14,31 +10,17 @@ import net.minecraft.item.crafting.ItemStack;
|
|||
import net.minecraft.math.AxisAlignedBB;
|
||||
import net.minecraft.math.ChunkCoordinates;
|
||||
import net.minecraft.math.MathHelper;
|
||||
import net.minecraft.network.packets.Packet;
|
||||
import net.minecraft.network.packets.Packet0KeepAlive;
|
||||
import net.minecraft.network.packets.Packet101CloseWindow;
|
||||
import net.minecraft.network.packets.Packet102WindowClick;
|
||||
import net.minecraft.network.packets.Packet103SetSlot;
|
||||
import net.minecraft.network.packets.Packet106Transaction;
|
||||
import net.minecraft.network.packets.Packet10Flying;
|
||||
import net.minecraft.network.packets.Packet130UpdateSign;
|
||||
import net.minecraft.network.packets.Packet13PlayerLookMove;
|
||||
import net.minecraft.network.packets.Packet14BlockDig;
|
||||
import net.minecraft.network.packets.Packet15Place;
|
||||
import net.minecraft.network.packets.Packet16BlockItemSwitch;
|
||||
import net.minecraft.network.packets.Packet18Animation;
|
||||
import net.minecraft.network.packets.Packet19EntityAction;
|
||||
import net.minecraft.network.packets.Packet255KickDisconnect;
|
||||
import net.minecraft.network.packets.Packet27Position;
|
||||
import net.minecraft.network.packets.Packet3Chat;
|
||||
import net.minecraft.network.packets.Packet53BlockChange;
|
||||
import net.minecraft.network.packets.Packet7UseEntity;
|
||||
import net.minecraft.network.packets.Packet9Respawn;
|
||||
import net.minecraft.network.packets.*;
|
||||
import net.minecraft.server.ICommandListener;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.util.ChatAllowedCharacters;
|
||||
import net.minecraft.world.WorldServer;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||
public static Logger logger = Logger.getLogger("Minecraft");
|
||||
public NetworkManager netManager;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.network;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.InetAddress;
|
||||
import java.net.Socket;
|
||||
import java.util.HashMap;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
|
||||
class NetworkAcceptThread extends Thread {
|
||||
final MinecraftServer mcServer;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
package net.minecraft.network;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.InetAddress;
|
||||
import java.net.ServerSocket;
|
||||
import java.util.ArrayList;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
|
||||
public class NetworkListenThread {
|
||||
public static Logger logger = Logger.getLogger("Minecraft");
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
package net.minecraft.network;
|
||||
|
||||
import net.minecraft.network.packets.Packet;
|
||||
|
||||
import java.io.BufferedOutputStream;
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
|
|
@ -10,7 +12,6 @@ import java.net.SocketException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import net.minecraft.network.packets.Packet;
|
||||
|
||||
public class NetworkManager {
|
||||
public static final Object threadSyncObject = new Object();
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.network;
|
||||
|
||||
import net.minecraft.network.packets.Packet1Login;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.InputStreamReader;
|
||||
import java.net.URL;
|
||||
import java.net.URLEncoder;
|
||||
import net.minecraft.network.packets.Packet1Login;
|
||||
|
||||
class ThreadLoginVerifier extends Thread {
|
||||
final Packet1Login loginPacket;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
package net.minecraft.network.packets;
|
||||
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.EOFException;
|
||||
|
|
@ -8,7 +10,6 @@ import java.util.HashMap;
|
|||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
public abstract class Packet {
|
||||
private static Map packetIdToClassMap = new HashMap();
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.network.packets;
|
||||
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
public class Packet0KeepAlive extends Packet {
|
||||
public void processPacket(NetHandler var1) {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.network.packets;
|
||||
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
public class Packet100OpenWindow extends Packet {
|
||||
public int windowId;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
package net.minecraft.network.packets;
|
||||
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
public class Packet101CloseWindow extends Packet {
|
||||
public int windowId;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.network.packets;
|
||||
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
public class Packet102WindowClick extends Packet {
|
||||
public int window_Id;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
package net.minecraft.network.packets;
|
||||
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
import net.minecraft.item.crafting.ItemStack;
|
||||
import net.minecraft.network.NetHandler;
|
||||
|
||||
public class Packet103SetSlot extends Packet {
|
||||
public int windowId;
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue