Пример #1
0
 public Entity(net.minecraft.src.World world)
 {
     // Referenced classes of package net.minecraft.src:
     //            AxisAlignedBB, DataWatcher, MathHelper, World,
     //            Block, StepSound, Material, BlockFluid,
     //            NBTTagCompound, NBTTagList, NBTTagDouble, NBTTagFloat,
     //            EntityList, ItemStack, EntityItem, EntityPlayer,
     //            Vec3D, EntityLightningBolt, EntityLiving
     entityId              = nextEntityID++;
     renderDistanceWeight  = 1.0D;
     preventEntitySpawning = false;
     onGround              = false;
     isCollided            = false;
     beenAttacked          = false;
     field_9077_F          = true;
     isDead  = false;
     yOffset = 0.0F;
     width   = 0.6F;
     height  = 1.8F;
     prevDistanceWalkedModified = 0.0F;
     distanceWalkedModified     = 0.0F;
     fallDistance             = 0.0F;
     nextStepDistance         = 1;
     ySize                    = 0.0F;
     stepHeight               = 0.0F;
     noClip                   = false;
     entityCollisionReduction = 0.0F;
     rand           = new SharpBukkitLive.SharpBukkit.SharpRandom();
     ticksExisted   = 0;
     fireResistance = 1;
     fire           = 0;
     maxAir         = 300;
     inWater        = false;
     field_9083_ac  = 0;
     air            = 300;
     firstUpdate    = true;
     isImmuneToFire = false;
     dataWatcher    = new net.minecraft.src.DataWatcher();
     field_31001_bF = 0.0F;
     addedToChunk   = false;
     worldObj       = world;
     SetPosition(0.0D, 0.0D, 0.0D);
     dataWatcher.AddObject(0, unchecked ((byte)0));
     EntityInit();
 }
Пример #2
0
 public override int QuantityDropped(SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     return(0);
 }
Пример #3
0
 public override void UpdateTick(net.minecraft.src.World world, int i, int j, int
                                 k, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     base.UpdateTick(world, i, j, k, random);
 }
Пример #4
0
 public override int IdDropped(int i, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     return(0);
 }