Updated MCP mapings

This commit is contained in:
LexManos 2012-03-25 22:02:13 -07:00
parent 65b3742636
commit 3f0232223d
43 changed files with 812 additions and 413 deletions

File diff suppressed because it is too large Load diff

View file

@ -68,12 +68,12 @@ func_1075_a,obtainImageData,0,"Return a ThreadDownloadImageData instance for the
func_1076_b,bindTexture,0, func_1076_b,bindTexture,0,
func_1077_b,alphaBlend,0,"Uses the alpha of the two colors passed in to determine the contributions of each color. If either of them has an alpha greater than 0 then the returned alpha is 255 otherwise its zero if they are both zero. Args: color1, color2" func_1077_b,alphaBlend,0,"Uses the alpha of the two colors passed in to determine the contributions of each color. If either of them has an alpha greater than 0 then the returned alpha is 255 otherwise its zero if they are both zero. Args: color1, color2"
func_1078_a,deleteTexture,0,Deletes a single GL texture func_1078_a,deleteTexture,0,Deletes a single GL texture
func_1079_a,createEntityInWorld,0,Creates an entity of the given name in the world. func_1079_a,createEntityByName,0,Create a new instance of an entity in the world by using the entity name.
func_1080_a,addMapping,0,adds a mapping between Entity classes and both a string representation and an ID func_1080_a,addMapping,0,adds a mapping between Entity classes and both a string representation and an ID
func_1081_a,createEntityFromNBT,0,create a new instance of an entity from NBT store func_1081_a,createEntityFromNBT,0,create a new instance of an entity from NBT store
func_1082_a,getEntityID,0,gets the entityID of a specific entity func_1082_a,getEntityID,0,gets the entityID of a specific entity
func_1083_b,getEntityString,0,gets the string representation of a specific entity func_1083_b,getEntityString,0,Gets the string representation of a specific entity.
func_1084_a,createEntity,0,create a new instance of an entity by using an entityID func_1084_a,createEntityByID,0,Create a new instance of an entity in the world by using an entity ID.
func_1085_a,splitStack,0,Remove the argument from the stack size. Return a new stack object with argument size. func_1085_a,splitStack,0,Remove the argument from the stack size. Return a new stack object with argument size.
func_1086_a,writeToNBT,0,Write the stack fields to a NBT object. Return the new NBT object. func_1086_a,writeToNBT,0,Write the stack fields to a NBT object. Return the new NBT object.
func_1088_b,getIconIndex,0,Returns the icon index of the current stack. func_1088_b,getIconIndex,0,Returns the icon index of the current stack.
@ -117,7 +117,7 @@ func_1128_a,generateTextureNames,0,Generates texture names and stores them in th
func_1129_a,addToPath,0,"Adds a path from start to end and returns the whole path (args: unused, start, end, unused, maxDistance)" func_1129_a,addToPath,0,"Adds a path from start to end and returns the whole path (args: unused, start, end, unused, maxDistance)"
func_1130_a,createEntityPathTo,0,Internal implementation of creating a path from an entity to a point func_1130_a,createEntityPathTo,0,Internal implementation of creating a path from an entity to a point
func_1131_a,createEntityPathTo,0,Creates a path from an entity to a specified location within a minimum distance func_1131_a,createEntityPathTo,0,Creates a path from an entity to a specified location within a minimum distance
func_1132_a,getVerticalOffset,0,"Given an x y z, returns a vertical offset needed to search to find a block to stand on" func_1132_a,getVerticalOffset,0,"Checks if an entity collides with blocks at a position. Returns 1 if clear, 0 for colliding with any solid block, -1 for water(if avoiding water) but otherwise clear, -2 for lava, -3 for fence, -4 for closed trapdoor, 2 if otherwise clear except for open trapdoor or water(if not avoiding)"
func_1133_b,findPathOptions,0,"populates pathOptions with available points and returns the number of options found (args: unused1, currentPoint, unused2, targetPoint, maxDistance)" func_1133_b,findPathOptions,0,"populates pathOptions with available points and returns the number of options found (args: unused1, currentPoint, unused2, targetPoint, maxDistance)"
func_1134_a,createEntityPath,0,Returns a new PathEntity for a given start and end point func_1134_a,createEntityPath,0,Returns a new PathEntity for a given start and end point
func_1135_a,getSafePoint,0,Returns a point that the entity can safely move to func_1135_a,getSafePoint,0,Returns a point that the entity can safely move to
@ -332,7 +332,7 @@ func_20112_a,updateProgressBar,0,
func_20114_a,updateCraftingResults,0,Updates crafting matrix; called from onCraftMatrixChanged. Args: none func_20114_a,updateCraftingResults,0,Updates crafting matrix; called from onCraftMatrixChanged. Args: none
func_20115_a,putStacksInSlots,0,"places itemstacks in first x slots, x being aitemstack.lenght" func_20115_a,putStacksInSlots,0,"places itemstacks in first x slots, x being aitemstack.lenght"
func_20117_a,addSlot,0,adds the slot to the inventory it is in func_20117_a,addSlot,0,adds the slot to the inventory it is in
func_20118_a,getSlot,0,gets the nth slot func_20118_a,getSlot,0,
func_20119_a,putStackInSlot,0,"args: slotID, itemStack to put in slot" func_20119_a,putStackInSlot,0,"args: slotID, itemStack to put in slot"
func_20120_b,canInteractWith,0, func_20120_b,canInteractWith,0,
func_20134_a,onInventoryChanged,0,Called by InventoryBasic.onInventoryChanged() on a array that is never filled. func_20134_a,onInventoryChanged,0,Called by InventoryBasic.onInventoryChanged() on a array that is never filled.
@ -367,8 +367,8 @@ func_21017_a,setContainerItem,0,
func_21024_a,powerBlock,0, func_21024_a,powerBlock,0,
func_21025_b,damageDropped,0,Determines the damage on the item the block drops. Used in cloth and wood. func_21025_b,damageDropped,0,Determines the damage on the item the block drops. Used in cloth and wood.
func_21027_c_,fertilize,0,Apply bonemeal to the crops. func_21027_c_,fertilize,0,Apply bonemeal to the crops.
func_21028_c,growTree,0,GrowSaplingIntoTree Attempts to grow a sapling into a tree func_21028_c,growTree,0,Attempts to grow a sapling into a tree
func_21029_c,eatCakeSlice,0,"Heals the player and removes a slice from the cake. Args: world, x, y, z, entityPlayer" func_21029_c,eatCakeSlice,0,Heals the player and removes a slice from the cake.
func_21030_a,calculateCurrentChanges,0, func_21030_a,calculateCurrentChanges,0,
func_21032_h,setDispenserDefaultDirection,0,sets Dispenser block direction so that the front faces an non-opaque block; chooses west to be direction if all surrounding blocks are opaque. func_21032_h,setDispenserDefaultDirection,0,sets Dispenser block direction so that the front faces an non-opaque block; chooses west to be direction if all surrounding blocks are opaque.
func_21033_c,dispenseItem,0,dispenses an item from a randomly selected item stack from the blocks inventory into the game world. func_21033_c,dispenseItem,0,dispenses an item from a randomly selected item stack from the blocks inventory into the game world.
@ -411,7 +411,7 @@ func_21111_d,canChunkExist,0,"Checks if the chunk coordinate could actually be s
func_21114_a,setAllowedSpawnTypes,0,Set which types of mobs are allowed to spawn (peaceful vs hostile). func_21114_a,setAllowedSpawnTypes,0,Set which types of mobs are allowed to spawn (peaceful vs hostile).
func_21115_j,markBlockAsNeedsUpdate,0,calls the 'MarkBlockAsNeedsUpdate' in all block accesses in this world func_21115_j,markBlockAsNeedsUpdate,0,calls the 'MarkBlockAsNeedsUpdate' in all block accesses in this world
func_21116_c,playNoteAt,0,"plays a given note at x, y, z. args: x, y, z, instrument, note" func_21116_c,playNoteAt,0,"plays a given note at x, y, z. args: x, y, z, instrument, note"
func_21117_a,doChunksNearChunkExist,0,Checks if the chunks within (argument 4) chunks of the given block exist func_21117_a,doChunksNearChunkExist,0,Checks if any of the chunks within distance (argument 4) blocks of the given block exist
func_21118_q,getChunkProvider,0,gets the IChunkProvider this world uses. func_21118_q,getChunkProvider,0,gets the IChunkProvider this world uses.
func_21119_g,getProviderName,0,"Returns the name of the current chunk provider, by calling chunkprovider.makeString()" func_21119_g,getProviderName,0,"Returns the name of the current chunk provider, by calling chunkprovider.makeString()"
func_21124_a,addObject,0,"adds a new object to dataWatcher to watch, to update an already existing object see updateObject. Arguments: data Value Id, Object to add" func_21124_a,addObject,0,"adds a new object to dataWatcher to watch, to update an already existing object see updateObject. Arguments: data Value Id, Object to add"
@ -535,7 +535,7 @@ func_22144_v,getWorldInfo,0,Gets the World's WorldInfo instance
func_22148_a,saveWorldInfoAndPlayer,0,saves level.dat and backs up the existing one to level.dat_old func_22148_a,saveWorldInfoAndPlayer,0,saves level.dat and backs up the existing one to level.dat_old
func_22149_a,getChunkLoader,0,Returns the chunk loader with the provided world provider func_22149_a,getChunkLoader,0,Returns the chunk loader with the provided world provider
func_22150_b,checkSessionLock,0,Checks the session lock to prevent save collisions func_22150_b,checkSessionLock,0,Checks the session lock to prevent save collisions
func_22151_c,loadWorldInfo,0,Returns a freshly loaded worldInfo from the save func_22151_c,loadWorldInfo,0,Loads and returns the world info
func_22152_a,saveWorldInfo,0,Saves the passed in world info. func_22152_a,saveWorldInfo,0,Saves the passed in world info.
func_22153_a,getSaveDirectory,0,gets the File object corresponding to the base directory of this save (saves/404 for a save called 404 etc) func_22153_a,getSaveDirectory,0,gets the File object corresponding to the base directory of this save (saves/404 for a save called 404 etc)
func_22154_d,setSessionLock,0,Creates a session lock file for this process func_22154_d,setSessionLock,0,Creates a session lock file for this process
@ -616,7 +616,7 @@ func_22329_a,makeHash,0,
func_22330_a,renderStandardBlockWithAmbientOcclusion,0, func_22330_a,renderStandardBlockWithAmbientOcclusion,0,
func_22331_p,renderBlockBed,0,render a bed at the given coordinates func_22331_p,renderBlockBed,0,render a bed at the given coordinates
func_22332_q,renderBlockRepeater,0,render a redstone repeater at the given coordinates func_22332_q,renderBlockRepeater,0,render a redstone repeater at the given coordinates
func_22393_a,compareChunkCoordinate,0,Compare the coordinate with another coordinate; func_22393_a,compareChunkCoordinate,0,Compare the coordinate with another coordinate
func_223_g,canBlockStay,0,Can this block stay at this position. Similar to canPlaceBlockAt except gets checked often with plants. func_223_g,canBlockStay,0,Can this block stay at this position. Similar to canPlaceBlockAt except gets checked often with plants.
func_224_a,canCollideCheck,0,"Returns whether this block is collideable based on the arguments passed in Args: blockMetaData, unknownFlag" func_224_a,canCollideCheck,0,"Returns whether this block is collideable based on the arguments passed in Args: blockMetaData, unknownFlag"
func_225_a,blockStrength,0,Defines whether or not a play can break the block with current tool. func_225_a,blockStrength,0,Defines whether or not a play can break the block with current tool.
@ -642,6 +642,7 @@ func_245_h,isCollidable,0,"Returns if this block is collidable (only used by Fir
func_246_f,getSelectedBoundingBoxFromPool,0,Returns the bounding box of the wired rectangular prism to render. func_246_f,getSelectedBoundingBoxFromPool,0,Returns the bounding box of the wired rectangular prism to render.
func_247_b,randomDisplayTick,0,A randomly called display update to be able to add particles or other items for display func_247_b,randomDisplayTick,0,A randomly called display update to be able to add particles or other items for display
func_249_b,isVecInsideXZBounds,0,Checks if a vector is within the X and Z bounds of the block. func_249_b,isVecInsideXZBounds,0,Checks if a vector is within the X and Z bounds of the block.
func_25004_a,getTailRotation,0,
func_25005_a,renderWolf,0, func_25005_a,renderWolf,0,
func_25007_g,isDamageable,0, func_25007_g,isDamageable,0,
func_25008_a,onBlockDestroyed,0, func_25008_a,onBlockDestroyed,0,
@ -659,7 +660,7 @@ func_25030_F,getEntityToAttack,0,Returns current entities target
func_25031_E,hasPath,0,Returns true if entity has a path to follow func_25031_E,hasPath,0,Returns true if entity has a path to follow
func_25032_c,setTarget,0,Sets entities target to attack func_25032_c,setTarget,0,Sets entities target to attack
func_25033_c,getInterestedAngle,0, func_25033_c,getInterestedAngle,0,
func_25037_z,setTailRotation,0, func_25037_z,getTailRotation,0,
func_25039_v,getWolfShaking,0, func_25039_v,getWolfShaking,0,
func_25040_C,isAngry,0,gets this wolf's angry state func_25040_C,isAngry,0,gets this wolf's angry state
func_25041_c,setAngry,0,sets this wolf's angry state to true if the boolean argument is true func_25041_c,setAngry,0,sets this wolf's angry state to true if the boolean argument is true
@ -811,7 +812,7 @@ func_27161_C,isRaining,0,Returns true if the current rain strength is greater th
func_27162_g,getRainStrength,0,Not sure about this actually. Reverting this one myself. func_27162_g,getRainStrength,0,Not sure about this actually. Reverting this one myself.
func_27163_E,calculateInitialWeather,0,Called from World constructor to set rainingStrength and thunderingStrength func_27163_E,calculateInitialWeather,0,Called from World constructor to set rainingStrength and thunderingStrength
func_27164_F,clearWeather,0,Stops all weather effects. func_27164_F,clearWeather,0,Stops all weather effects.
func_27165_m,updateWeather,0,update's all weather states. func_27165_m,updateWeather,0,Updates all weather states.
func_27166_f,getWeightedThunderStrength,0, func_27166_f,getWeightedThunderStrength,0,
func_27167_r,canLightningStrikeAt,0, func_27167_r,canLightningStrikeAt,0,
func_27174_a,windowClick,0, func_27174_a,windowClick,0,
@ -939,7 +940,7 @@ func_27463_a,parse,0,
func_27464_d,aJsonValue,0, func_27464_d,aJsonValue,0,
func_274_i,isWaterNearby,0,"returns true if there's water nearby (x-4 to x+4, y to y+1, k-4 to k+4)" func_274_i,isWaterNearby,0,"returns true if there's water nearby (x-4 to x+4, y to y+1, k-4 to k+4)"
func_275_h,isCropsNearby,0,"returns true if there is at least one cropblock nearby (x-1 to x+1, y+1, z-1 to z+1)" func_275_h,isCropsNearby,0,"returns true if there is at least one cropblock nearby (x-1 to x+1, y+1, z-1 to z+1)"
func_279_b,isPowerProviderOrWire,0,"Calls canProvidePower() on the specified block and returns the result, but bypasses the wiresProvidePower flag" func_279_b,isPowerProviderOrWire,0,"Returns true if the block coordinate passed can provide power, or is a redstone wire."
func_28001_B,startThreadCheckHasPaid,0, func_28001_B,startThreadCheckHasPaid,0,
func_28002_e,freeMemory,0, func_28002_e,freeMemory,0,
func_28003_b,onMinecraftCrash,0, func_28003_b,onMinecraftCrash,0,
@ -949,7 +950,7 @@ func_28011_a,updateMapData,0,
func_28012_a,getMapData,0, func_28012_a,getMapData,0,
func_28013_a,getMPMapData,0, func_28013_a,getMPMapData,0,
func_28014_c,pushOutOfBlocks,0,"Adds velocity to push the entity out of blocks at the specified x, y, z position Args: x, y, z" func_28014_c,pushOutOfBlocks,0,"Adds velocity to push the entity out of blocks at the specified x, y, z position Args: x, y, z"
func_28018_c,hasItemStack,0,Returns true if the specified itemstack exists in the inventory. func_28018_c,hasItemStack,0,Returns true if the specified ItemStack exists in the inventory.
func_28021_c,getItemIcon,0,Gets the Icon Index of the item currently held func_28021_c,getItemIcon,0,Gets the Icon Index of the item currently held
func_28022_b,attackBlockedEntity,0,Used when an entity is close enough to attack but cannot be seen (Creeper de-fuse) func_28022_b,attackBlockedEntity,0,Used when an entity is close enough to attack but cannot be seen (Creeper de-fuse)
func_28027_d,isBlockTranslucent,0, func_28027_d,isBlockTranslucent,0,
@ -1056,24 +1057,24 @@ func_31015_b,isExtending,0,Returns true if a piston is extending
func_31016_a,getStoredBlockID,0, func_31016_a,getStoredBlockID,0,
func_31017_b,getOffsetX,0, func_31017_b,getOffsetX,0,
func_31026_E,updateWanderPath,0,Time remaining during which the Animal is sped up and flees. func_31026_E,updateWanderPath,0,Time remaining during which the Animal is sped up and flees.
func_31027_a,dropBlockAsItem_do,0,drops the block as an item. Does nothing if a multiplayer world? func_31027_a,dropBlockAsItem_do,0,Spawns EntityItem in the world for the given ItemStack if the world is not remote.
func_31028_l,setBlockUnbreakable,0,"This method will make the hardness of the block equals to -1, and the block is indestructible." func_31028_l,setBlockUnbreakable,0,"This method will make the hardness of the block equals to -1, and the block is indestructible."
func_31029_h,getMobilityFlag,0,"Returns the mobility information of the block, 0 = free, 1 = can't push but can move over, 2 = total immobility and stop pistons" func_31029_h,getMobilityFlag,0,"Returns the mobility information of the block, 0 = free, 1 = can't push but can move over, 2 = total immobility and stop pistons"
func_31030_b,getRenderColor,0,Returns the color this block should be rendered. Used by leaves. func_31030_b,getRenderColor,0,Returns the color this block should be rendered. Used by leaves.
func_31031_m,getHardness,0,Returns the block hardness. func_31031_m,getHardness,0,Returns the block hardness.
func_31032_h,canPlaceTorchOn,0,Gets if we can place a torch on a block. func_31032_h,canPlaceTorchOn,0,Gets if we can place a torch on a block.
func_31034_c,getTileEntityAtLocation,0,gets the piston tile entity at the specified location func_31034_c,getTileEntityAtLocation,0,gets the piston tile entity at the specified location
func_31035_a,getAxisAlignedBB,0,gets the axis-alignedbb of this piston func_31035_a,getAxisAlignedBB,0,
func_31036_a,getTileEntity,0,gets a new TileEntityPiston created with the arguments provided. func_31036_a,getTileEntity,0,gets a new TileEntityPiston created with the arguments provided.
func_31039_c,determineOrientation,0,gets the way this piston should face for that entity that placed it. func_31039_c,determineOrientation,0,gets the way this piston should face for that entity that placed it.
func_31040_i,getPistonExtensionTexture,0,Return the either 106 or 107 as the texture index depending on the isSticky flag. This will actually never get called by TileEntityRendererPiston.renderPiston() because TileEntityPiston.func_31012_k() will always return false. func_31040_i,getPistonExtensionTexture,0,Return the either 106 or 107 as the texture index depending on the isSticky flag. This will actually never get called by TileEntityRendererPiston.renderPiston() because TileEntityPiston.func_31012_k() will always return false.
func_31041_f,isIndirectlyPowered,0,checks the block to that side to see if it is indirectly powered. func_31041_f,isIndirectlyPowered,0,checks the block to that side to see if it is indirectly powered.
func_31042_a,canPushBlock,0,Will determine if the block can be pushed by pistons func_31042_a,canPushBlock,0,returns true if the piston can push the specified block
func_31043_h,updatePistonState,0,handles attempts to extend or retract the piston. func_31043_h,updatePistonState,0,handles attempts to extend or retract the piston.
func_31044_d,getOrientation,0,returns an int which describes the direction the piston faces func_31044_d,getOrientation,0,returns an int which describes the direction the piston faces
func_31045_h,canExtend,0,checks to see if this piston could push the blocks in front of it. func_31045_h,canExtend,0,checks to see if this piston could push the blocks in front of it.
func_31046_e,isExtended,0,Determine if the metadata is related to something powered. func_31046_e,isExtended,0,Determine if the metadata is related to something powered.
func_31047_i,tryExtend,0,pushes the blocks in front of the piston (if possible) func_31047_i,tryExtend,0,attempts to extend the piston. returns false if impossible.
func_31050_c,getDirectionMeta,0, func_31050_c,getDirectionMeta,0,
func_31051_a,clearHeadTexture,0, func_31051_a,clearHeadTexture,0,
func_31052_a_,setHeadTexture,0, func_31052_a_,setHeadTexture,0,
@ -1155,7 +1156,7 @@ func_35023_a,addComponentParts,0,"'second Part of Structure generating, this for
func_35027_a,findValidPlacement,0,Trys to find a valid place to put this component. func_35027_a,findValidPlacement,0,Trys to find a valid place to put this component.
func_35028_a,getNextComponentNormal,0,Gets the next component in any cardinal direction func_35028_a,getNextComponentNormal,0,Gets the next component in any cardinal direction
func_35029_c,getNextComponentZ,0,Gets the next component in the +/- Z direction func_35029_c,getNextComponentZ,0,Gets the next component in the +/- Z direction
func_35030_a,canStrongholdGoDeeper,0,'returns false if the Structure Bounding Box goes below 10' func_35030_a,canStrongholdGoDeeper,0,returns false if the Structure Bounding Box goes below 10
func_35031_a,getRandomDoor,0, func_35031_a,getRandomDoor,0,
func_35032_b,getNextComponentX,0,Gets the next component in the +/- X direction func_35032_b,getNextComponentX,0,Gets the next component in the +/- X direction
func_35033_a,placeDoor,0,'builds a door of the enumerated types (empty opening is a door)' func_35033_a,placeDoor,0,'builds a door of the enumerated types (empty opening is a door)'
@ -1184,11 +1185,11 @@ func_35097_a,findValidPlacement,0,Trys to find a valid place to put this compone
func_35099_a,findValidPlacement,0,Trys to find a valid place to put this component. func_35099_a,findValidPlacement,0,Trys to find a valid place to put this component.
func_350_p,updateRidden,0,Handles updating while being ridden by an entity func_350_p,updateRidden,0,Handles updating while being ridden by an entity
func_35101_a,findValidPlacement,0,Trys to find a valid place to put this component. func_35101_a,findValidPlacement,0,Trys to find a valid place to put this component.
func_35105_a,getWorldChunkMngr,0, func_35105_a,getWorldChunkManager,0,
func_35112_o,setInWeb,0,Sets isInWeb to true func_35112_o,setInWeb,0,Sets the Entity inside a web block.
func_35113_c,setSprinting,0,Sets the player's sprinting state. func_35113_c,setSprinting,0,Set sprinting switch for Entity.
func_35114_R,isEating,0, func_35114_R,isEating,0,
func_35115_a,getEntityBrightnessForRender,0, func_35115_a,getBrightnessForRender,0,
func_35116_d,setEating,0, func_35116_d,setEating,0,
func_35117_Q,isSprinting,0,Get if the Entity is sprinting. func_35117_Q,isSprinting,0,Get if the Entity is sprinting.
func_35119_j_,getXpValue,0,Returns the XP value of this XP orb. func_35119_j_,getXpValue,0,Returns the XP value of this XP orb.
@ -1199,7 +1200,7 @@ func_35142_x_,openChest,0,
func_35143_b,onTileEntityPowered,0, func_35143_b,onTileEntityPowered,0,
func_35144_b,updateContainingBlockInfo,0,"causes the TileEntity to reset all it's cached values for it's container block, blockID, metaData and in the case of chests, the adjcacent chest check" func_35144_b,updateContainingBlockInfo,0,"causes the TileEntity to reset all it's cached values for it's container block, blockID, metaData and in the case of chests, the adjcacent chest check"
func_35147_g,checkForAdjacentChests,0,performs the check for adjacent chests to determine if this chest is double or not. func_35147_g,checkForAdjacentChests,0,performs the check for adjacent chests to determine if this chest is double or not.
func_35157_d,hasItem,0,checks if item is in player inventory func_35157_d,hasItem,0,Get if a specifiied item id is inside the inventory.
func_35158_d,onFinishedPotionEffect,0, func_35158_d,onFinishedPotionEffect,0,
func_35159_aC,getRenderSizeModifier,0,Returns render size modifier func_35159_aC,getRenderSizeModifier,0,Returns render size modifier
func_35160_a,isPotionActive,0, func_35160_a,isPotionActive,0,
@ -1232,12 +1233,14 @@ func_35198_d,addExhaustion,0,increases exhaustion level by supplied amount
func_35199_b,setItemInUse,0,"sets the itemInUse when the use item button is clicked. Args: itemstack, int maxItemUseDuration" func_35199_b,setItemInUse,0,"sets the itemInUse when the use item button is clicked. Args: itemstack, int maxItemUseDuration"
func_351_a,moveFlying,0,Used in both water and by flying objects func_351_a,moveFlying,0,Used in both water and by flying objects
func_35200_b,onCriticalHit,0,is called when the player performs a critical hit on the Entity. Args: entity that was hit critically func_35200_b,onCriticalHit,0,is called when the player performs a critical hit on the Entity. Args: entity that was hit critically
func_35201_a,updateItemUse,0,Plays sounds and makes particles for item in use state
func_35202_aE,getSwingSpeedModifier,0,Returns the swing speed modifier func_35202_aE,getSwingSpeedModifier,0,Returns the swing speed modifier
func_35203_aG,increaseLevel,0,This method increases the player's experience level by one. func_35203_aG,increaseLevel,0,This method increases the player's experience level by one.
func_35204_c,addExperience,0,This method increases the player's current amount of experience. func_35204_c,addExperience,0,This method increases the player's current amount of experience.
func_35205_Y,getItemInUseCount,0,Returns the item in use count func_35205_Y,getItemInUseCount,0,Returns the item in use count
func_35206_ab,stopUsingItem,0, func_35206_ab,stopUsingItem,0,
func_35207_ac,clearItemInUse,0, func_35207_ac,clearItemInUse,0,
func_35208_ae,onItemUseFinish,0,"Used for when item use count runs out, ie: eating completed"
func_35219_c,setXPStats,0,"Sets the current XP, total XP, and level number." func_35219_c,setXPStats,0,"Sets the current XP, total XP, and level number."
func_35220_u_,getFOVMultiplier,0,Gets the player's field of view multiplier. (ex. when flying) func_35220_u_,getFOVMultiplier,0,Gets the player's field of view multiplier. (ex. when flying)
func_35265_a,generateVines,0,Generates vines at the given position until it hits a block. func_35265_a,generateVines,0,Generates vines at the given position until it hits a block.
@ -1248,7 +1251,7 @@ func_35275_c,getMixedBrightnessForBlock,0,"'Goes straight to getLightBrightnessF
func_35276_e,getAmbientOcclusionLightValue,0,Returns the default ambient occlusion value based on block opacity func_35276_e,getAmbientOcclusionLightValue,0,Returns the default ambient occlusion value based on block opacity
func_35291_d,isFenceGateOpen,0,Returns if the fence gate is open according to its metadata. func_35291_d,isFenceGateOpen,0,Returns if the fence gate is open according to its metadata.
func_35293_c,fertilizeMushroom,0,Fertilize the mushroom. func_35293_c,fertilizeMushroom,0,Fertilize the mushroom.
func_35294_i,fertilizeStem,0,Fertilizes a stem. func_35294_i,fertilizeStem,0,
func_35295_j,getGrowthModifier,0, func_35295_j,getGrowthModifier,0,
func_35298_d,canThisPaneConnectToThisBlockID,0,Gets passed in the blockID of the block adjacent and supposed to return true if its allowed to connect to the type of blockID passed in. Args: blockID func_35298_d,canThisPaneConnectToThisBlockID,0,Gets passed in the blockID of the block adjacent and supposed to return true if its allowed to connect to the type of blockID passed in. Args: blockID
func_35299_s,getSideTextureIndex,0,Returns the texture index of the thin side of the pane. func_35299_s,getSideTextureIndex,0,Returns the texture index of the thin side of the pane.
@ -1268,6 +1271,7 @@ func_35322_a,joinServer,0,Join server by slot index
func_35323_q,saveServerList,0,Save the server list to servers.dat func_35323_q,saveServerList,0,Save the server list to servers.dat
func_35324_p,loadServerList,0,Load the server list from servers.dat func_35324_p,loadServerList,0,Load the server list from servers.dat
func_35326_a,setSelectedServer,0,Set index of the currently selected server func_35326_a,setSelectedServer,0,Set index of the currently selected server
func_35327_a,setTooltipText,0,Sets a GUI's lag tooltip text.
func_35328_b,pollServer,0,"Poll server for MOTD, lag, and player count/max" func_35328_b,pollServer,0,"Poll server for MOTD, lag, and player count/max"
func_35329_c,getButtonSelect,0,Return buttonSelect GuiButton func_35329_c,getButtonSelect,0,Return buttonSelect GuiButton
func_35330_a,joinServer,0,Join server by ServerNBTStorage func_35330_a,joinServer,0,Join server by ServerNBTStorage
@ -1416,7 +1420,7 @@ func_35713_a,markAvailableHeight,0,"'offsets the structure Bounding Boxes up to
func_35714_b,updateBoundingBox,0,Calculates total bounding box based on components' bounding boxes and saves it to boundingBox func_35714_b,updateBoundingBox,0,Calculates total bounding box based on components' bounding boxes and saves it to boundingBox
func_35715_c,isSizeableStructure,0,"'currently only defined for Villages, returns true if Village has more than 2 non-road components'" func_35715_c,isSizeableStructure,0,"'currently only defined for Villages, returns true if Village has more than 2 non-road components'"
func_35719_f,getGameType,0, func_35719_f,getGameType,0,
func_35721_a,getChunkManager,0,Gives WorldChunkManager passed into BiomeChunk constructor. func_35721_a,getChunkManager,0,Get the world chunk manager object for a biome list.
func_35723_d,getCachedBiomes,0,Returns the array of cached biome types in the BiomeCacheBlock at the given location. func_35723_d,getCachedBiomes,0,Returns the array of cached biome types in the BiomeCacheBlock at the given location.
func_35724_a,cleanupCache,0,Removes BiomeCacheBlocks from this cache that haven't been accessed in at least 30 seconds. func_35724_a,cleanupCache,0,Removes BiomeCacheBlocks from this cache that haven't been accessed in at least 30 seconds.
func_35725_a,getBiomeGenAt,0,"Returns the BiomeGenBase related to the x, z position from the cache." func_35725_a,getBiomeGenAt,0,"Returns the BiomeGenBase related to the x, z position from the cache."
@ -1477,7 +1481,7 @@ func_35830_a,getKey,0,
func_35835_b,setBrightness,0, func_35835_b,setBrightness,0,
func_35839_k,updateSkylight_do,0,Runs delayed skylight updates. func_35839_k,updateSkylight_do,0,Runs delayed skylight updates.
func_35840_c,getPrecipitationHeight,0,Gets the height to which rain/snow will fall. Calculates it if not already stored. func_35840_c,getPrecipitationHeight,0,Gets the height to which rain/snow will fall. Calculates it if not already stored.
func_35841_j,updateSkylight,0,"Checks whether skylight needs updated; if it does, calls updateSkylight_do ( aka func_35839_k() )." func_35841_j,updateSkylight,0,"Checks whether skylight needs updated; if it does, calls updateSkylight_do"
func_35842_d,updateSkylightNeighborHeight,0, func_35842_d,updateSkylightNeighborHeight,0,
func_35843_a,populateChunk,0, func_35843_a,populateChunk,0,
func_35847_b,getNextComponent,0, func_35847_b,getNextComponent,0,
@ -1539,12 +1543,12 @@ func_373_s,getEyeHeight,0,
func_374_q,preparePlayerToSpawn,0,Keeps moving the entity up so it isn't colliding with blocks and other requirements for this entity to be spawned (only actually used on players though its also on Entity) func_374_q,preparePlayerToSpawn,0,Keeps moving the entity up so it isn't colliding with blocks and other requirements for this entity to be spawned (only actually used on players though its also on Entity)
func_375_a,newDoubleNBTList,0,creates a NBT list from the array of doubles passed to this function func_375_a,newDoubleNBTList,0,creates a NBT list from the array of doubles passed to this function
func_376_c,setRotation,0,Sets the rotation of the entity func_376_c,setRotation,0,Sets the rotation of the entity
func_377_a,newFloatNBTList,0,creates a NBT list from the array of floats passed to this function func_377_a,newFloatNBTList,0,Returns a new NBTTagList filled with the specified floats
func_378_a,setPositionAndRotation2,0,"Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, posY, posZ, yaw, pitch" func_378_a,setPositionAndRotation2,0,"Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, posY, posZ, yaw, pitch"
func_379_d,getDistanceToEntity,0,Returns the distance to the entity. Args: entity func_379_d,getDistanceToEntity,0,Returns the distance to the entity. Args: entity
func_380_f,applyEntityCollision,0,Applies a velocity to each of the entities pushing them away from each other. Args: entity func_380_f,applyEntityCollision,0,Applies a velocity to each of the entities pushing them away from each other. Args: entity
func_381_o,isSneaking,0,Returns if this entity is sneaking. func_381_o,isSneaking,0,Returns if this entity is sneaking.
func_382_a,getEntityBrightness,0,Gets how bright this entity is. func_382_a,getBrightness,0,Gets how bright this entity is.
func_383_b_,getCollisionBox,0,"Returns a boundingBox used to collide the entity with other entities and blocks. This enables the entity to be pushable on contact, like boats or minecarts." func_383_b_,getCollisionBox,0,"Returns a boundingBox used to collide the entity with other entities and blocks. This enables the entity to be pushable on contact, like boats or minecarts."
func_384_a,isInRangeToRenderDist,0,Checks if the entity is in range to render by using the past in distance and comparing it to its average edge length * 64 * renderDistanceWeight Args: distance func_384_a,isInRangeToRenderDist,0,Checks if the entity is in range to render by using the past in distance and comparing it to its average edge length * 64 * renderDistanceWeight Args: distance
func_385_d_,canBePushed,0,Returns true if this entity should push and be pushed by other entities when colliding. func_385_d_,canBePushed,0,Returns true if this entity should push and be pushed by other entities when colliding.
@ -1556,7 +1560,7 @@ func_391_y,onEntityUpdate,0,Gets called every tick from main Entity class
func_392_h_,getShadowSize,0, func_392_h_,getShadowSize,0,
func_393_a,isInsideOfMaterial,0,Checks if the current block the entity is within of the specified material type func_393_a,isInsideOfMaterial,0,Checks if the current block the entity is within of the specified material type
func_394_a,dropItemWithOffset,0,"Drops an item stack with a specified y offset. Args: itemID, count, yOffset" func_394_a,dropItemWithOffset,0,"Drops an item stack with a specified y offset. Args: itemID, count, yOffset"
func_395_F,setEntityDead,0,Will get destroyed next tick func_395_F,setDead,0,Will get destroyed next tick.
func_396_a,attackEntityFrom,0,Called when the entity is attacked. func_396_a,attackEntityFrom,0,Called when the entity is attacked.
func_397_g_,handleWaterMovement,0,Returns if this entity is in water and will end up adding the waters velocity to the entity func_397_g_,handleWaterMovement,0,Returns if this entity is in water and will end up adding the waters velocity to the entity
func_398_a,setWorld,0,Sets the reference to the World object. func_398_a,setWorld,0,Sets the reference to the World object.
@ -1609,7 +1613,7 @@ func_400_c,fall,0,Called when the mob is falling. Calculates and applies fall da
func_40100_q,getParticleTextureIndex,0, func_40100_q,getParticleTextureIndex,0,
func_40112_aN,clearActivePotions,0, func_40112_aN,clearActivePotions,0,
func_40113_j,setPositionAndUpdate,0,"Move the entity to the coordinates informed, but keep yaw/pitch values." func_40113_j,setPositionAndUpdate,0,"Move the entity to the coordinates informed, but keep yaw/pitch values."
func_40114_aH,getEntityHealth,0, func_40114_aH,getHealth,0,
func_40115_d,applyArmorCalculations,0,"Reduces damage, depending on armor" func_40115_d,applyArmorCalculations,0,"Reduces damage, depending on armor"
func_40116_f,decreaseAirSupply,0,Decrements the entity's air supply when underwater func_40116_f,decreaseAirSupply,0,Decrements the entity's air supply when underwater
func_40117_c,getMaxHealth,0, func_40117_c,getMaxHealth,0,
@ -1654,19 +1658,23 @@ func_4018_a,canHarvestBlock,0,Returns if the item (tool) can harvest results fro
func_40195_b,copy,0,Creates a clone of the tag. func_40195_b,copy,0,Creates a clone of the tag.
func_40196_b,getTag,0,gets a generic tag with the specified name func_40196_b,getTag,0,gets a generic tag with the specified name
func_40198_a,quantityDroppedWithBonus,0,Returns the usual quantity dropped by the block plus a bonus of 1 to 'i' (inclusive). func_40198_a,quantityDroppedWithBonus,0,Returns the usual quantity dropped by the block plus a bonus of 1 to 'i' (inclusive).
func_4019_b,useItemOnEntity,0,Called from ItemStack.useItemOnEntity func_4019_b,useItemOnEntity,0,Called when a player right clicks a entity with a item.
func_401_c_,canBeCollidedWith,0,Returns true if other Entities should be prevented from moving through this Entity. func_401_c_,canBeCollidedWith,0,Returns true if other Entities should be prevented from moving through this Entity.
func_4020_a,getDamageVsEntity,0,Returns the damage against a given entity. func_4020_a,getDamageVsEntity,0,Returns the damage against a given entity.
func_40212_d,isEnderEyeInserted,0,checks if an ender eye has been inserted into the frame block. parameters: metadata func_40212_d,isEnderEyeInserted,0,checks if an ender eye has been inserted into the frame block. parameters: metadata
func_40218_g,displayDebuffEffects,0,Displays debuff/potion effects that are currently being applied to the player
func_4021_a,hitEntity,0,Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack. func_4021_a,hitEntity,0,Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack.
func_4022_a,setIconIndex,0,Sets the icon index for this item. Returns the item. func_4022_a,setIconIndex,0,Sets the icon index for this item. Returns the item.
func_40233_a,enchantItem,0,enchants the item on the table using the specified slot; also deducts XP from player func_40233_a,enchantItem,0,enchants the item on the table using the specified slot; also deducts XP from player
func_4023_b,shouldRotateAroundWhenRendering,0,Returns true if this item should be rotated by 180 degrees around the Y axis when being held in an entities hands. func_4023_b,shouldRotateAroundWhenRendering,0,Returns true if this item should be rotated by 180 degrees around the Y axis when being held in an entities hands.
func_40244_a,calculateModifier,0,Generic method use to calculate modifiers of offensive or defensive enchantment values. func_40244_a,calculateModifier,0,Generic method use to calculate modifiers of offensive or defensive enchantment values.
func_40249_a,generateRandomEnchantName,0,Generates a random enchant name.
func_4024_a,setStepSound,0,Sets the footstep sound for the block. Returns the object for convenience in constructing. func_4024_a,setStepSound,0,Sets the footstep sound for the block. Returns the object for convenience in constructing.
func_40250_a,setRandSeed,0,Sets the seed for the enchant name RNG.
func_4025_d,tickRate,0,How many world ticks before ticking func_4025_d,tickRate,0,How many world ticks before ticking
func_4026_a,onBlockPlacedBy,0,"Called when a block is placed by using an ItemStack from inventory and passed in who placed it. Args: x,y,z,entityliving" func_4026_a,onBlockPlacedBy,0,Called when the block is placed in the world.
func_40270_a,renderModel,0,Renders the model in RenderLiving func_40270_a,renderModel,0,Renders the model in RenderLiving
func_40271_a,doRenderSheep,0,
func_40274_a,scaleMagmaCube,0, func_40274_a,scaleMagmaCube,0,
func_40275_a,renderMagmaCube,0, func_40275_a,renderMagmaCube,0,
func_40277_a,renderBlaze,0, func_40277_a,renderBlaze,0,
@ -1707,7 +1715,7 @@ func_40403_e,hasEffect,0,
func_40404_a,addInformation,0,allows items to add custom lines of information to the mouseover description func_40404_a,addInformation,0,allows items to add custom lines of information to the mouseover description
func_40405_m,getPotionEffect,0,Returns a string representing what this item does to a potion. func_40405_m,getPotionEffect,0,Returns a string representing what this item does to a potion.
func_40406_n,isPotionIngredient,0,Returns true if this item serves as a potion ingredient (its ingredient information is not null). func_40406_n,isPotionIngredient,0,Returns true if this item serves as a potion ingredient (its ingredient information is not null).
func_40407_b,setPotionEffect,0,gives this item the effects represented by the string for use in potion recipies func_40407_b,setPotionEffect,0,Sets the string representing this item's effect on a potion when used as an ingredient.
func_4042_a,calculateVelocity,0, func_4042_a,calculateVelocity,0,
func_40431_c_,getEffects,0,Returns a list of effects for the specified potion damage value. func_40431_c_,getEffects,0,Returns a list of effects for the specified potion damage value.
func_40432_e,isEffectInstant,0, func_40432_e,isEffectInstant,0,
@ -1727,7 +1735,7 @@ func_40469_f,getEntrancePortalLocation,0,Gets the hard-coded portal location to
func_40470_b,getMoonPhase,0, func_40470_b,getMoonPhase,0,
func_40471_p,isBlockHydratedDirectly,0,Checks if the block is hydrating itself. func_40471_p,isBlockHydratedDirectly,0,Checks if the block is hydrating itself.
func_40472_j,getEntrancePortalLocation,0,Gets the hard-coded portal location to use when entering this dimension func_40472_j,getEntrancePortalLocation,0,Gets the hard-coded portal location to use when entering this dimension
func_40473_b,getClosestVulnerablePlayer,0,"Returns the closest vulnerable player within the given radius, or null if none is found" func_40473_b,getClosestVulnerablePlayer,0,"Returns the closest vulnerable player within the given radius, or null if none is found."
func_40474_a,getRandomMob,0,Gets a random mob for spawning in this world. func_40474_a,getRandomMob,0,Gets a random mob for spawning in this world.
func_40475_d,getMoonPhase,0, func_40475_d,getMoonPhase,0,
func_40476_b,isBlockHydrated,0,(I think) func_40476_b,isBlockHydrated,0,(I think)
@ -1833,6 +1841,7 @@ func_40664_b,getProfilingData,0,Get profiling data
func_4066_a,renderGameOverlay,0,"Render the ingame overlay with quick icon bar, ..." func_4066_a,renderGameOverlay,0,"Render the ingame overlay with quick icon bar, ..."
func_40670_a,render,0,Draw the six sided box defined by this ModelBox func_40670_a,render,0,Draw the six sided box defined by this ModelBox
func_4067_a,parseIntWithDefault,0, func_4067_a,parseIntWithDefault,0,
func_40686_a,renderItemIn2D,0,Renders an item held in hand as a 2D texture with thickness
func_40687_b,getSecondaryComponents,0, func_40687_b,getSecondaryComponents,0,
func_40688_a,createNextComponent,0, func_40688_a,createNextComponent,0,
func_40689_a,getPrimaryComponents,0, func_40689_a,getPrimaryComponents,0,
@ -1910,6 +1919,7 @@ func_4102_a,canCoordinateBeSpawn,0,"Will check if the x, z position specified is
func_41033_a,setBlockNames,0,sets the array of strings to be used for name lookups from item damage to metadata func_41033_a,setBlockNames,0,sets the array of strings to be used for name lookups from item damage to metadata
func_41039_c,renderBossHealth,0,Renders dragon's (boss) health on the HUD func_41039_c,renderBossHealth,0,Renders dragon's (boss) health on the HUD
func_4103_a,onPickupFromSlot,0,Called when the player picks up an item from an inventory slot func_4103_a,onPickupFromSlot,0,Called when the player picks up an item from an inventory slot
func_41041_e,respawnPlayer,0,Respawns the player.
func_41049_c_,createStackedBlock,0,Returns an item stack containing a single instance of the current block type. 'i' is the block's subtype/damage and is ignored for blocks which do not support subtypes. Blocks which cannot be harvested should return null. func_41049_c_,createStackedBlock,0,Returns an item stack containing a single instance of the current block type. 'i' is the block's subtype/damage and is ignored for blocks which do not support subtypes. Blocks which cannot be harvested should return null.
func_4104_e,getSlotStackLimit,0,"Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)" func_4104_e,getSlotStackLimit,0,"Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)"
func_41052_f,isValidSupportBlock,0,Checks if the block ID is a valid support block for the trap door to connect with. If it is not the trapdoor is dropped into the world. func_41052_f,isValidSupportBlock,0,Checks if the block ID is a valid support block for the trap door to connect with. If it is not the trapdoor is dropped into the world.
@ -1961,7 +1971,7 @@ func_4146_a,getFoliageColor,0,"Gets foliage color from temperature and humidity.
func_4147_a,getGrassColor,0,"Gets grass color from temperature and humidity. Args: temperature, humidity" func_4147_a,getGrassColor,0,"Gets grass color from temperature and humidity. Args: temperature, humidity"
func_4148_a,saveScreenshot,0,Takes a screenshot and saves it to the screenshots directory. Returns the filename of the screenshot. func_4148_a,saveScreenshot,0,Takes a screenshot and saves it to the screenshots directory. Returns the filename of the screenshot.
func_4149_a,clearBoundingBoxPool,0,Sets the number of bounding boxes in use from the pool to 0 so they will be reused func_4149_a,clearBoundingBoxPool,0,Sets the number of bounding boxes in use from the pool to 0 so they will be reused
func_4150_a,isVecInside,0,Checks if the specified vector is within bounds of the bounding box. Args: vec3D func_4150_a,isVecInside,0,Returns if the supplied Vec3D is completely inside the bounding box
func_4152_a,renderStandardBlockWithColorMultiplier,0,"Renders a standard cube block at the given coordinates, with a given color ratio. Args: block, x, y, z, r, g, b" func_4152_a,renderStandardBlockWithColorMultiplier,0,"Renders a standard cube block at the given coordinates, with a given color ratio. Args: block, x, y, z, r, g, b"
func_4153_a,getRandomSpawningPointInChunk,0,"Given a chunk, find a random position in it." func_4153_a,getRandomSpawningPointInChunk,0,"Given a chunk, find a random position in it."
func_4154_a,performSpawning,0,"The main spawning algorithm, spawns three random creatures of types in the subclass array" func_4154_a,performSpawning,0,"The main spawning algorithm, spawns three random creatures of types in the subclass array"
@ -1971,7 +1981,7 @@ func_417_b,updateRotation,0,"Arguments: current rotation, intended rotation, max
func_418_b_,updateEntityActionState,0, func_418_b_,updateEntityActionState,0,
func_419_b,onDeath,0,Called when the mob's health reaches 0. func_419_b,onDeath,0,Called when the mob's health reaches 0.
func_420_c,canEntityBeSeen,0,returns true if the entity provided in the argument can be seen. (Raytrace) func_420_c,canEntityBeSeen,0,returns true if the entity provided in the argument can be seen. (Raytrace)
func_421_b,getTalkInterval,0,"Get number of ticks, at least during which the living entity will be silent" func_421_b,getTalkInterval,0,"Get number of ticks, at least during which the living entity will be silent."
func_422_g,getDropItemId,0,Returns the item ID for the item the mob drops on death. func_422_g,getDropItemId,0,Returns the item ID for the item the mob drops on death.
func_424_C,jump,0,"jump, Causes this entity to do an upwards motion (jumping)" func_424_C,jump,0,"jump, Causes this entity to do an upwards motion (jumping)"
func_425_j,onLivingUpdate,0,"Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn." func_425_j,onLivingUpdate,0,"Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn."
@ -2030,6 +2040,7 @@ func_46034_a,onUpdateMoveHelper,0,
func_46051_a,generate,0, func_46051_a,generate,0,
func_46059_i,doesContainerItemLeaveCraftingGrid,0,"If this returns true, after a recipe involving this item is crafted the container item will be added to the player's inventory instead of remaining in the crafting grid." func_46059_i,doesContainerItemLeaveCraftingGrid,0,"If this returns true, after a recipe involving this item is crafted the container item will be added to the player's inventory instead of remaining in the crafting grid."
func_46064_i,getWorldHasNoSky,0,"returns true if there should be no sky, false otherwise" func_46064_i,getWorldHasNoSky,0,"returns true if there should be no sky, false otherwise"
func_46065_j,getVoidFogYFactor,0,"Returns a double value representing the Y value relative to the top of the map at which void fog is at its maximum. The default factor of 0.03125 relative to 256, for example, means the void fog will be at its maximum at (256*0.03125), or 8."
func_46066_g,getAverageGroundLevel,0, func_46066_g,getAverageGroundLevel,0,
func_46068_G,getSeaLevel,0,Gets sea level for use in rendering the horizen. func_46068_G,getSeaLevel,0,Gets sea level for use in rendering the horizen.
func_46069_a,onUpdateNavigation,0, func_46069_a,onUpdateNavigation,0,
@ -2056,6 +2067,7 @@ func_46129_a,setJumping,0,
func_46130_b,doJump,0,Called to actually make the entity jump if isJumping is true. func_46130_b,doJump,0,Called to actually make the entity jump if isJumping is true.
func_46133_t,getTerrainType,0, func_46133_t,getTerrainType,0,
func_46135_a,parseWorldType,0, func_46135_a,parseWorldType,0,
func_46136_a,getTranslateName,0,Gets the translation key for the name of this world type.
func_46141_a,setLookPositionWithEntity,0,Sets position to look at using entity func_46141_a,setLookPositionWithEntity,0,Sets position to look at using entity
func_46142_a,onUpdateLook,0,Updates look func_46142_a,onUpdateLook,0,Updates look
func_46143_a,setLookPosition,0,Sets position to look at func_46143_a,setLookPosition,0,Sets position to look at
@ -2091,6 +2103,7 @@ func_48091_aU,getHomePosition,0,
func_48092_c,setAttackTarget,0,Sets the active target the Task system uses for tracking func_48092_c,setAttackTarget,0,Sets the active target the Task system uses for tracking
func_48093_aT,isWithinHomeDistanceCurrentPosition,0,Returns true if entity is within home distance from current position func_48093_aT,isWithinHomeDistanceCurrentPosition,0,Returns true if entity is within home distance from current position
func_48094_aS,getAttackTarget,0,Gets the active target the Task system uses for tracking func_48094_aS,getAttackTarget,0,Gets the active target the Task system uses for tracking
func_48095_u,eatGrassBonus,0,This function applies the benefits of growing back wool and faster growing up to the acting entity. (This function is used in the AIEatGrass)
func_48096_f,isWithinHomeDistance,0, func_48096_f,isWithinHomeDistance,0,
func_48097_s_,updateAITick,0,"main AI tick function, replaces updateEntityActionState" func_48097_s_,updateAITick,0,"main AI tick function, replaces updateEntityActionState"
func_48099_aV,getMaximumHomeDistance,0, func_48099_aV,getMaximumHomeDistance,0,
@ -2104,6 +2117,8 @@ func_48126_w_,getIsMatingFlag,0,
func_48127_b,setIsPlayingFlag,0, func_48127_b,setIsPlayingFlag,0,
func_48128_a,setIsMatingFlag,0, func_48128_a,setIsMatingFlag,0,
func_48129_t,getProfession,0, func_48129_t,getProfession,0,
func_48134_p_,resetInLove,0,
func_48136_o_,isInLove,0,Returns if the entity is currently in 'love mode'.
func_48138_b,setTamed,0, func_48138_b,setTamed,0,
func_48139_F_,isTamed,0, func_48139_F_,isTamed,0,
func_48141_af,isSitting,0, func_48141_af,isSitting,0,
@ -2111,13 +2126,21 @@ func_48143_a,setOwner,0,
func_48144_ah,getOwner,0, func_48144_ah,getOwner,0,
func_48145_ag,getOwnerName,0, func_48145_ag,getOwnerName,0,
func_48151_a,dropPlayerItemWithRandomChoice,0,"Args: itemstack, flag" func_48151_a,dropPlayerItemWithRandomChoice,0,"Args: itemstack, flag"
func_48153_a,dropPlayerItem,0,Args: itemstack func_48152_as,dropOneItem,0,Called when player presses the drop item key
func_48153_a,dropPlayerItem,0,Args: itemstack - called when player drops an item stack that's not in his inventory (like items still placed in a workbench while the workbench'es GUI gets closed)
func_48180_b,markBlockNeedsUpdate2,0,As of mc 1.2.3 this method has exactly the same signature and does exactly the same as markBlockNeedsUpdate
func_48184_b,getSpeed,0, func_48184_b,getSpeed,0,
func_48187_a,setMoveTo,0,Sets the speed and location to move to
func_481_b,writeToNBT,0,Writes a tile entity to NBT. func_481_b,writeToNBT,0,Writes a tile entity to NBT.
func_48203_o,getTickRandomly,0,Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake. func_48203_o,getTickRandomly,0,Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
func_48204_b,getBlocksMovement,0, func_48204_b,getBlocksMovement,0,
func_48205_p,hasTileEntity,0,
func_48206_g,isNormalCube,0, func_48206_g,isNormalCube,0,
func_48211_a,tryToCatchBlockOnFire,0,
func_48212_i,getFullMetadata,0,Returns the full metadata value created by combining the metadata of both blocks the door takes up.
func_48214_g,getDoorOrientation,0,"Returns 0, 1, 2 or 3 depending on where the hinge is." func_48214_g,getDoorOrientation,0,"Returns 0, 1, 2 or 3 depending on where the hinge is."
func_48216_a,getDirection,0,Returns the orentation value from the specified metadata
func_48296_h,findPossibleShelter,0,
func_482_a,readFromNBT,0,Reads a tile entity from NBT. func_482_a,readFromNBT,0,Reads a tile entity from NBT.
func_48337_h,checkSufficientDoorsPresentForNewVillager,0, func_48337_h,checkSufficientDoorsPresentForNewVillager,0,
func_48338_a,spawnHeartParticles,0, func_48338_a,spawnHeartParticles,0,
@ -2125,23 +2148,33 @@ func_48339_i,giveBirth,0,
func_48366_h,doRangedAttack,0,Performs a ranged attack according to the AI's rangedAttackID. func_48366_h,doRangedAttack,0,Performs a ranged attack according to the AI's rangedAttackID.
func_483_c,updateDelay,0,Sets the delay before a new spawn (base delay of 200 + random number up to 600). func_483_c,updateDelay,0,Sets the delay before a new spawn (base delay of 200 + random number up to 600).
func_48411_i,getFloatTemperature,0,Gets a floating point representation of this biome's temperature func_48411_i,getFloatTemperature,0,Gets a floating point representation of this biome's temperature
func_48412_k,getBiomeFoliageColor,0,Provides the basic foliage color based on the biome temperature and rainfall
func_48413_d,isHighHumidity,0,Checks to see if the rainfall level of the biome is extremely high
func_48414_h,getFloatRainfall,0,Gets a floating point representation of this biome's rainfall func_48414_h,getFloatRainfall,0,Gets a floating point representation of this biome's rainfall
func_48415_j,getBiomeGrassColor,0,Provides the basic grass color based on the biome temperature and rainfall
func_48442_a,clamp_float,0,"Returns the value of the first parameter, clamped to be within the lower and upper limits given by the second and third parameters" func_48442_a,clamp_float,0,"Returns the value of the first parameter, clamped to be within the lower and upper limits given by the second and third parameters"
func_48453_b,getWorldHeight,0,Returns current world height func_48453_b,getHeight,0,Returns current world height.
func_48454_a,getBiomeGenForCoords,0,Gets the biome for a given set of x/z coordinates
func_48455_z,isBlockHighHumidity,0,"Checks to see if the biome rainfall values for a given x,y,z coordinate set are extremely high"
func_48459_a,findNearestEntityWithinAABB,0, func_48459_a,findNearestEntityWithinAABB,0,
func_48460_a,getEntityPathToXYZ,0, func_48460_a,getEntityPathToXYZ,0,
func_48463_a,getPathEntityToEntity,0, func_48463_a,getPathEntityToEntity,0,
func_48480_a,canSee,0,"Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result." func_48480_a,canSee,0,"Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result."
func_48481_a,clearSensingCache,0,Returns the squared distance between this door and the given coordinate. func_48481_a,clearSensingCache,0,Clears canSeeCachePositive and canSeeCacheNegative.
func_48485_a,load,0, func_48485_a,load,0,
func_48486_a,convertToAnvilFormat,0, func_48486_a,convertToAnvilFormat,0,
func_48488_a,handleEntityHeadRotation,0,
func_48489_a,handleTileEntityData,0,
func_48491_o,enqueueRelightChecks,0,"Called once-per-chunk-per-tick, and advances the round-robin relight check index by up to 8 blocks at a time. In a worst-case scenario, can potentially take up to 25.6 seconds, calculated via (4096/8)/20, to re-check all blocks in a chunk, which may explain lagging light updates on initial world generation." func_48491_o,enqueueRelightChecks,0,"Called once-per-chunk-per-tick, and advances the round-robin relight check index by up to 8 blocks at a time. In a worst-case scenario, can potentially take up to 25.6 seconds, calculated via (4096/8)/20, to re-check all blocks in a chunk, which may explain lagging light updates on initial world generation."
func_48492_c,getAreLevelsEmpty,0,Returns whether the ExtendedBlockStorages containing levels (in blocks) from arg 1 to arg 2 are fully empty (true) or not (false).
func_48493_m,getBiomeArray,0,Returns an array containing a 16x16 mapping on the X/Z of block positions in this Chunk to biome IDs. func_48493_m,getBiomeArray,0,Returns an array containing a 16x16 mapping on the X/Z of block positions in this Chunk to biome IDs.
func_48495_i,getBlockStorageArray,0,Returns the ExtendedBlockStorage array for this Chunk. func_48495_i,getBlockStorageArray,0,Returns the ExtendedBlockStorage array for this Chunk.
func_48496_n,resetRelightChecks,0,Resets the relight check index to 0 for this Chunk. func_48496_n,resetRelightChecks,0,Resets the relight check index to 0 for this Chunk.
func_48497_a,setBiomeArray,0,Accepts a 256-entry array that contains a 16x16 mapping on the X/Z plane of block positions in this Chunk to biome IDs. func_48497_a,setBiomeArray,0,Accepts a 256-entry array that contains a 16x16 mapping on the X/Z plane of block positions in this Chunk to biome IDs.
func_48498_h,getTopFilledSegment,0,Returns the topmost ExtendedBlockStorage instance for this Chunk that actually contains a block. func_48498_h,getTopFilledSegment,0,Returns the topmost ExtendedBlockStorage instance for this Chunk that actually contains a block.
func_48499_b,getBlockLightOpacity,0,
func_484_a,anyPlayerInRange,0,Returns true if there is a player in range (using World.getClosestPlayer) func_484_a,anyPlayerInRange,0,Returns true if there is a player in range (using World.getClosestPlayer)
func_48500_a,setStorageArrays,0,
func_48507_a,onCrafting,0, func_48507_a,onCrafting,0,
func_48508_a,get,0, func_48508_a,get,0,
func_48519_e,isBlockDoor,0, func_48519_e,isBlockDoor,0,
@ -2189,18 +2222,33 @@ func_48591_c,getInsidePosZ,0,
func_48592_b,getInsidePosY,0, func_48592_b,getInsidePosY,0,
func_48593_b,getInsideDistanceSquare,0,Get the square of the distance from a location 2 blocks away from the door considered 'inside' and the given arguments func_48593_b,getInsideDistanceSquare,0,Get the square of the distance from a location 2 blocks away from the door considered 'inside' and the given arguments
func_485_a,isBurning,0,Returns true if the furnace is currently burning func_485_a,isBurning,0,Returns true if the furnace is currently burning
func_48614_a,isAllowedCharacter,0,
func_48619_a,setTerrainType,0, func_48619_a,setTerrainType,0,
func_48625_a,setCanBeCreated,0,"Sets canBeCreated to the provided value, and returns this."
func_48627_d,getCanBeCreated,0,Gets whether this WorldType can be used to generate a new world.
func_48630_c,getGeneratorVersion,0,Returns generatorVersion.
func_48640_a,getCurrentNodeVec3d,0,returns the current PathEntity target node as Vec3D func_48640_a,getCurrentNodeVec3d,0,returns the current PathEntity target node as Vec3D
func_48641_b,setCurrentPathLength,0, func_48641_b,setCurrentPathLength,0,
func_48642_c,setCurrentPathIndex,0, func_48642_c,setCurrentPathIndex,0,
func_48643_e,getCurrentPathIndex,0, func_48643_e,getCurrentPathIndex,0,
func_48644_d,getCurrentPathLength,0, func_48644_d,getCurrentPathLength,0,
func_48645_c,getFinalPathPoint,0,returns the last PathPoint of the Array func_48645_c,getFinalPathPoint,0,returns the last PathPoint of the Array
func_48646_a,getVectorFromIndex,0,Gets the vector of the PathPoint associated with the given index.
func_48648_a,getPathPointFromIndex,0,"return the PathPoint located at the specified PathIndex, usually the current one" func_48648_a,getPathPointFromIndex,0,"return the PathPoint located at the specified PathIndex, usually the current one"
func_48655_c,getDistanceSquared,0,Returns the squared distance between this coordinates and the coordinates given as argument. func_48655_c,getDistanceSquared,0,Returns the squared distance between this coordinates and the coordinates given as argument.
func_48656_a,set,0, func_48656_a,set,0,
func_48659_j,canNavigate,0,If on ground or swimming and can swim func_48659_j,canNavigate,0,If on ground or swimming and can swim
func_48660_a,setSpeed,0,Sets the speed
func_48661_h,getEntityPosition,0,
func_48662_a,isDirectPathBetweenPoints,0,"Returns true when an entity of specified size could safely walk in a straight line between the two points. Args: pos1, pos2, entityXSize, entityYSize, entityZSize"
func_48668_i,getPathableYPos,0,Gets the safe pathing Y position for the entity depending on if it can path swim or not
func_48670_c,getPath,0,gets the actively used PathEntity
func_48671_a,getPathToXYZ,0,Returns the path to the given coordinates
func_48672_f,clearPathEntity,0,sets active PathEntity to null
func_48673_b,setBreakDoors,0,
func_48674_g,pathFollow,0, func_48674_g,pathFollow,0,
func_48675_a,isSafeToStandAt,0,"Returns true when an entity could stand at a position, including solid blocks under the entire entity. Args: xOffset, yOffset, zOffset, entityXSize, entityYSize, entityZSize, originPosition, vecX, vecZ"
func_48676_b,isPositionClear,0,"Returns true if an entity does not collide with any solid blocks at the position. Args: xOffset, yOffset, zOffset, entityXSize, entityYSize, entityZSize, originPosition, vecX, vecZ"
func_48677_l,removeSunnyPath,0,Trims path data from the end to the first sun covered block func_48677_l,removeSunnyPath,0,Trims path data from the end to the first sun covered block
func_48678_a,setPath,0,"sets the active path data if path is 100% unique compared to old path, checks to adjust path for sun avoiding ents and stores end coords" func_48678_a,setPath,0,"sets the active path data if path is 100% unique compared to old path, checks to adjust path for sun avoiding ents and stores end coords"
func_48690_b,setExtBlockMetadata,0,Sets the metadata of the Block at the given coordinates in this ExtendedBlockStorage to the given metadata. func_48690_b,setExtBlockMetadata,0,Sets the metadata of the Block at the given coordinates in this ExtendedBlockStorage to the given metadata.
@ -2267,7 +2315,7 @@ func_534_a,populate,0,Populates chunk with ores etc etc
func_535_a,saveChunks,0,"Two modes of operation: if passed true, save all Chunks in one go. If passed false, save up to two chunks. Return true if all chunks have been saved." func_535_a,saveChunks,0,"Two modes of operation: if passed true, save all Chunks in one go. If passed false, save up to two chunks. Return true if all chunks have been saved."
func_536_b,canSave,0,Returns if the IChunkProvider supports saving. func_536_b,canSave,0,Returns if the IChunkProvider supports saving.
func_537_a,chunkExists,0,"Checks to see if a chunk exists at x, y" func_537_a,chunkExists,0,"Checks to see if a chunk exists at x, y"
func_538_d,loadChunk,0,Creates an empty chunk ready to put data from the server in func_538_d,loadChunk,0,loads or generates the chunk at the chunk location specified
func_540_b,saveChunk,0,"Save a given Chunk, recording the time in lastSaveTime" func_540_b,saveChunk,0,"Save a given Chunk, recording the time in lastSaveTime"
func_541_a,saveExtraChunkData,0,"Save extra data associated with this Chunk not normally saved during autosave, only during chunk unload. Currently unused." func_541_a,saveExtraChunkData,0,"Save extra data associated with this Chunk not normally saved during autosave, only during chunk unload. Currently unused."
func_547_b,drawString,0,Renders the specified text to the screen. func_547_b,drawString,0,Renders the specified text to the screen.
@ -2389,7 +2437,7 @@ func_6372_a,addSound,0,"Adds a sounds with the name from the file. Args: name, f
func_6373_b,addStreaming,0,Adds an audio file to the streaming SoundPool. func_6373_b,addStreaming,0,Adds an audio file to the streaming SoundPool.
func_6374_c,addMusic,0,Adds an audio file to the music SoundPool. func_6374_c,addMusic,0,Adds an audio file to the music SoundPool.
func_6375_a,setVelocity,0,"Sets the velocity to the args. Args: x, y, z" func_6375_a,setVelocity,0,"Sets the velocity to the args. Args: x, y, z"
func_6376_z,getEntityTexture,0,returns the directory and filename as a String func_6376_z,getTexture,0,Returns the texture's file path as a String.
func_6377_h,mountEntity,0,"Called when a player mounts an entity. e.g. mounts a pig, mounts a boat." func_6377_h,mountEntity,0,"Called when a player mounts an entity. e.g. mounts a pig, mounts a boat."
func_6378_b,onCollideWithPlayer,0,Called by a player entity when they collide with an entity func_6378_b,onCollideWithPlayer,0,Called by a player entity when they collide with an entity
func_6389_d,getLivingSound,0,Returns the sound this mob makes while it's alive. func_6389_d,getLivingSound,0,Returns the sound this mob makes while it's alive.
@ -2640,7 +2688,7 @@ func_900_a,setScheduledTime,0,Sets the scheduled time for this tick entry
func_902_b,getScaledHeight,0, func_902_b,getScaledHeight,0,
func_903_a,getScaledWidth,0, func_903_a,getScaledWidth,0,
func_904_a,updateTimer,0,Updates all fields of the Timer using the current time func_904_a,updateTimer,0,Updates all fields of the Timer using the current time
func_905_b,setupOverlayRendering,0,setup overlay rendering func_905_b,setupOverlayRendering,0,Setup orthogonal projection for rendering GUI screen overlays
func_908_a,setFogColorBuffer,0,Update and return fogColorBuffer with the RGBA values passed as arguments func_908_a,setFogColorBuffer,0,Update and return fogColorBuffer with the RGBA values passed as arguments
func_910_a,getMouseOver,0,Finds what block or object the mouse is over at the specified partial tick time. Args: partialTickTime func_910_a,getMouseOver,0,Finds what block or object the mouse is over at the specified partial tick time. Args: partialTickTime
func_911_a,updateRenderer,0,Updates the entity renderer func_911_a,updateRenderer,0,Updates the entity renderer
@ -2715,11 +2763,11 @@ func_980_b,setNormal,0,Sets the normal for the current draw call.
func_981_a,setTextureUV,0,Sets the texture coordinates. func_981_a,setTextureUV,0,Sets the texture coordinates.
func_982_a,draw,0,Draws the data set up in this tessellator and resets the state to prepare for new drawing. func_982_a,draw,0,Draws the data set up in this tessellator and resets the state to prepare for new drawing.
func_983_a,addVertexWithUV,0,"Adds a vertex specifying both x,y,z and the texture u,v for it." func_983_a,addVertexWithUV,0,"Adds a vertex specifying both x,y,z and the texture u,v for it."
func_984_b,setTranslationD,0,Sets the translation for all vertices in the current draw call. (D suffix indicates double parameters) func_984_b,setTranslation,0,Sets the translation for all vertices in the current draw call.
func_985_d,reset,0,Clears the tessellator state in preparation for new drawing. func_985_d,reset,0,Clears the tessellator state in preparation for new drawing.
func_986_a,setColorRGBA_F,0,"Sets the RGBA values for the color, converting from floats between 0 and 1 to integers from 0-255." func_986_a,setColorRGBA_F,0,"Sets the RGBA values for the color, converting from floats between 0 and 1 to integers from 0-255."
func_987_a,setColorOpaque_F,0,"Sets the RGB values as specified, converting from floats between 0 and 1 to integers from 0-255." func_987_a,setColorOpaque_F,0,"Sets the RGB values as specified, converting from floats between 0 and 1 to integers from 0-255."
func_988_c,setTranslationF,0,Sets the translation for all vertices in the current draw call. (F suffix indicates float parameters) func_988_c,addTranslation,0,Offsets the translation for all vertices in the current draw call.
func_989_c,disableColor,0,Disables colors for the current draw call. func_989_c,disableColor,0,Disables colors for the current draw call.
func_990_b,setColorOpaque_I,0,Sets the color to the given opaque value (stored as byte values packed in an integer). func_990_b,setColorOpaque_I,0,Sets the color to the given opaque value (stored as byte values packed in an integer).
func_991_a,addVertex,0,"Adds a vertex with the specified x,y,z to the current draw call. It will trigger a draw() if the buffer gets full." func_991_a,addVertex,0,"Adds a vertex with the specified x,y,z to the current draw call. It will trigger a draw() if the buffer gets full."
@ -2738,7 +2786,7 @@ func_103_e,getDistance,1,"Gets the distance to the position. Args: x, y, z"
func_104_p,getEyeHeight,1, func_104_p,getEyeHeight,1,
func_106_b_,onUpdate,1,Called to update the entity's position/logic. func_106_b_,onUpdate,1,Called to update the entity's position/logic.
func_107_c,setLocationAndAngles,1,Sets the location and Yaw/Pitch of an entity in the world func_107_c,setLocationAndAngles,1,Sets the location and Yaw/Pitch of an entity in the world
func_108_b,getEntityBrightness,1,Gets how bright this entity is. func_108_b,getBrightness,1,Gets how bright this entity is.
func_109_s,getEntityString,1,Returns the string that identifies this Entity's class func_109_s,getEntityString,1,Returns the string that identifies this Entity's class
func_110_a,isInsideOfMaterial,1,Checks if the current block the entity is within of the specified material type func_110_a,isInsideOfMaterial,1,Checks if the current block the entity is within of the specified material type
func_112_q,handleLavaMovement,1,Whether or not the current entity is in lava func_112_q,handleLavaMovement,1,Whether or not the current entity is in lava
@ -2746,7 +2794,7 @@ func_113_a,setSize,1,"Sets the width and height of the entity. Args: width, heig
func_114_a,fall,1,Called when the mob is falling. Calculates and applies fall damage. func_114_a,fall,1,Called when the mob is falling. Calculates and applies fall damage.
func_115_v,updateRidden,1,Handles updating while being ridden by an entity func_115_v,updateRidden,1,Handles updating while being ridden by an entity
func_117_x,getYOffset,1,Returns the Y Offset of this entity. func_117_x,getYOffset,1,Returns the Y Offset of this entity.
func_118_j,setEntityDead,1,Will get destroyed next tick func_118_j,setDead,1,Will get destroyed next tick.
func_119_o,handleWaterMovement,1,Returns if this entity is in water and will end up adding the waters velocity to the entity func_119_o,handleWaterMovement,1,Returns if this entity is in water and will end up adding the waters velocity to the entity
func_11_a,handleBlockItemSwitch,1, func_11_a,handleBlockItemSwitch,1,
func_12001_a,handleExplosion,1, func_12001_a,handleExplosion,1,
@ -2869,11 +2917,11 @@ func_20116_b,isItemStackEqual,1,compares ItemStack argument to the instance Item
func_20117_a,copyItemStack,1,"Creates a copy of a ItemStack, a null parameters will return a null." func_20117_a,copyItemStack,1,"Creates a copy of a ItemStack, a null parameters will return a null."
func_20118_a,splitStack,1,Remove the argument from the stack size. Return a new stack object with argument size. func_20118_a,splitStack,1,Remove the argument from the stack size. Return a new stack object with argument size.
func_20119_a,areItemStacksEqual,1,compares ItemStack argument1 with ItemStack argument2; returns true if both ItemStacks are equal func_20119_a,areItemStacksEqual,1,compares ItemStack argument1 with ItemStack argument2; returns true if both ItemStacks are equal
func_20120_a,getSlot,1,retrieve the slot from the crafting inventory func_20120_a,getSlot,1,
func_20121_a,onCraftMatrixChanged,1,Callback for when the crafting matrix is changed. func_20121_a,onCraftMatrixChanged,1,Callback for when the crafting matrix is changed.
func_20122_a,addSlot,1,adds the slot to the inventory it is in func_20122_a,addSlot,1,adds the slot to the inventory it is in
func_20124_c,getCanCraft,1,gets whether or not the player can craft in this inventory or not func_20124_c,getCanCraft,1,gets whether or not the player can craft in this inventory or not
func_20125_a,updateCraftingResults,1,update the crafting matrix func_20125_a,updateCraftingResults,1,Updates crafting matrix; called from onCraftMatrixChanged. Args: none
func_20126_b,canInteractWith,1, func_20126_b,canInteractWith,1,
func_20128_a,onCraftGuiOpened,1, func_20128_a,onCraftGuiOpened,1,
func_20129_a,setCanCraft,1,sets whether the player can craft in this inventory or not func_20129_a,setCanCraft,1,sets whether the player can craft in this inventory or not
@ -2900,7 +2948,7 @@ func_21003_a,handleEntityPainting,1,Packet handler
func_21004_a,handlePlayNoteBlock,1, func_21004_a,handlePlayNoteBlock,1,
func_21024_a,powerBlock,1, func_21024_a,powerBlock,1,
func_21025_b,damageDropped,1,Determines the damage on the item the block drops. Used in cloth and wood. func_21025_b,damageDropped,1,Determines the damage on the item the block drops. Used in cloth and wood.
func_21027_b,growTree,1,grows a tree from a sapling block. func_21027_b,growTree,1,Attempts to grow a sapling into a tree
func_21028_c,fertilize,1,Apply bonemeal to the crops. func_21028_c,fertilize,1,Apply bonemeal to the crops.
func_21030_c,eatCakeSlice,1,Heals the player and removes a slice from the cake. func_21030_c,eatCakeSlice,1,Heals the player and removes a slice from the cake.
func_21031_a,calculateCurrentChanges,1, func_21031_a,calculateCurrentChanges,1,
@ -2910,8 +2958,8 @@ func_21035_g,setDispenserDefaultDirection,1,sets Dispenser block direction so th
func_21036_b,dispenseItem,1,dispenses an item from a randomly selected item stack from the blocks inventory into the game world. func_21036_b,dispenseItem,1,dispenses an item from a randomly selected item stack from the blocks inventory into the game world.
func_21039_p,getDataWatcher,1, func_21039_p,getDataWatcher,1,
func_21040_a,entityDropItem,1,Drops an item at the position of the entity. func_21040_a,entityDropItem,1,Drops an item at the position of the entity.
func_21041_a,setFlag,1,Sets the specified flag to the specified value in DataWatcher byte object 0 func_21041_a,setFlag,1,"Enable or disable a entity flag, see getEntityFlag to read the know flags."
func_21042_c,getFlag,1,Gets the specified flag from DataWatcher byte object 0 func_21042_c,getFlag,1,Returns true if the flag is active for the entity. Known flags: 0) is burning; 1) is sneaking; 2) is riding something; 3) is sprinting; 4) is eating
func_21043_b,setSneaking,1,Sets the sneaking flag. func_21043_b,setSneaking,1,Sets the sneaking flag.
func_21044_a,entityInit,1, func_21044_a,entityInit,1,
func_21046_d_,canBreatheUnderwater,1, func_21046_d_,canBreatheUnderwater,1,
@ -2936,8 +2984,8 @@ func_21083_d,storePartialItemStack,1,This function stores as many items of an It
func_21084_a,getStackInRowAndColumn,1,"Returns the itemstack in the slot specified (Top left is 0, 0). Args: row, column" func_21084_a,getStackInRowAndColumn,1,"Returns the itemstack in the slot specified (Top left is 0, 0). Args: row, column"
func_21086_c,setMaxStackSize,1, func_21086_c,setMaxStackSize,1,
func_21087_f,getContainerItem,1, func_21087_f,getContainerItem,1,
func_21088_g,hasContainerItem,1,returns wether the item has a containerItem func_21088_g,hasContainerItem,1,True if this Item has a container item (a.k.a. crafting result)
func_21089_a,getMetadata,1,"returns the argument if the item has metadata, 0 otherwise" func_21089_a,getMetadata,1,Returns the metadata of the block which this Item (ItemBlock) can place
func_21090_d,setMaxDamage,1,set max damage of an Item func_21090_d,setMaxDamage,1,set max damage of an Item
func_21091_a,setHasSubtypes,1, func_21091_a,setHasSubtypes,1,
func_21092_c,getHasSubtypes,1, func_21092_c,getHasSubtypes,1,
@ -2950,7 +2998,7 @@ func_21105_a,getCreatureClass,1,
func_21114_a,getRandomWorldGenForTrees,1,Gets a WorldGen appropriate for this biome. func_21114_a,getRandomWorldGenForTrees,1,Gets a WorldGen appropriate for this biome.
func_21116_a,setAllowedSpawnTypes,1,first boolean for hostile mobs and second for peaceful mobs func_21116_a,setAllowedSpawnTypes,1,first boolean for hostile mobs and second for peaceful mobs
func_21117_c,playNoteAt,1,"plays a given note at x, y, z. args: x, y, z, instrument, note" func_21117_c,playNoteAt,1,"plays a given note at x, y, z. args: x, y, z, instrument, note"
func_21118_a,doChunksNearChunkExist,1,Checks if the chunks within (argument 4) chunks of the given block exist func_21118_a,doChunksNearChunkExist,1,Checks if any of the chunks within distance (argument 4) blocks of the given block exist
func_21119_h,markBlockAsNeedsUpdate,1,calls the 'MarkBlockAsNeedsUpdate' in all block accesses in this world func_21119_h,markBlockAsNeedsUpdate,1,calls the 'MarkBlockAsNeedsUpdate' in all block accesses in this world
func_21125_h,getItemDamage,1,gets the damage of an itemstack func_21125_h,getItemDamage,1,gets the damage of an itemstack
func_21126_d,isItemStackDamageable,1,true if this itemStack is damageable func_21126_d,isItemStackDamageable,1,true if this itemStack is damageable
@ -3032,12 +3080,12 @@ func_22083_p,wakeUpAllPlayers,1,Wakes up all players in the world.
func_22084_q,isAllPlayersFullyAsleep,1,Returns whether or not all players in the world are fully asleep. func_22084_q,isAllPlayersFullyAsleep,1,Returns whether or not all players in the world are fully asleep.
func_22085_d,setEntityDead,1,"Dismounts the entity (and anything riding the entity), sets the dead flag, and removes the player entity from the player entity list. Called by the playerLoggedOut function." func_22085_d,setEntityDead,1,"Dismounts the entity (and anything riding the entity), sets the dead flag, and removes the player entity from the player entity list. Called by the playerLoggedOut function."
func_22086_b,createChunkProvider,1,Creates the chunk provider for this world. Called in the constructor. Retrieves provider from worldProvider? func_22086_b,createChunkProvider,1,Creates the chunk provider for this world. Called in the constructor. Retrieves provider from worldProvider?
func_22090_d,getPlayerNBTManager,1,does exactly what it says on the tin func_22090_d,getPlayerNBTManager,1,
func_22091_b,checkSessionLock,1,Checks the session lock to prevent save collisions func_22091_b,checkSessionLock,1,Checks the session lock to prevent save collisions
func_22092_a,getChunkLoader,1,initializes and returns the chunk loader for the specified world provider func_22092_a,getChunkLoader,1,initializes and returns the chunk loader for the specified world provider
func_22094_a,saveWorldInfo,1,used to update level.dat from old format to MCRegion format func_22094_a,saveWorldInfo,1,used to update level.dat from old format to MCRegion format
func_22095_a,saveWorldInfoAndPlayer,1,saves level.dat and backs up the existing one to level.dat_old func_22095_a,saveWorldInfoAndPlayer,1,saves level.dat and backs up the existing one to level.dat_old
func_22096_c,loadWorldInfo,1,"Attempts to load first level.dat, then level.dat_old from disk. Called when the server first starts." func_22096_c,loadWorldInfo,1,Loads and returns the world info
func_22097_a,getWorldDirectory,1,Gets the File object corresponding to the base directory of this world. func_22097_a,getWorldDirectory,1,Gets the File object corresponding to the base directory of this world.
func_22098_f,setSessionLock,1,Creates a session lock file for this process func_22098_f,setSessionLock,1,Creates a session lock file for this process
func_220_f,canBlockStay,1,Can this block stay at this position. Similar to canPlaceBlockAt except gets checked often with plants. func_220_f,canBlockStay,1,Can this block stay at this position. Similar to canPlaceBlockAt except gets checked often with plants.
@ -3109,7 +3157,7 @@ func_230_a,velocityToAddToEntity,1,"Can add to the passed in vector for a moveme
func_231_a,setTickRandomly,1,Sets whether this block type will receive random update ticks func_231_a,setTickRandomly,1,Sets whether this block type will receive random update ticks
func_232_b,setResistance,1,Sets the the blocks resistance to explosions. Returns the object for convenience in constructing. func_232_b,setResistance,1,Sets the the blocks resistance to explosions. Returns the object for convenience in constructing.
func_233_a,setBlockBoundsBasedOnState,1,"Updates the blocks bounds based on its current state. Args: world, x, y, z" func_233_a,setBlockBoundsBasedOnState,1,"Updates the blocks bounds based on its current state. Args: world, x, y, z"
func_234_b,onNeighborBlockChange,1,"Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are their own) Args: x, y, z, blockID" func_234_b,onNeighborBlockChange,1,"Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are their own) Args: x, y, z, neighbor blockID"
func_235_b,onBlockClicked,1,"Called when the block is clicked by a player. Args: x, y, z, entityPlayer" func_235_b,onBlockClicked,1,"Called when the block is clicked by a player. Args: x, y, z, entityPlayer"
func_236_c,isVecInsideXYBounds,1,Checks if a vector is within the X and Y bounds of the block. func_236_c,isVecInsideXYBounds,1,Checks if a vector is within the X and Y bounds of the block.
func_237_c,setHardness,1,Sets how many hits it takes to break a block. func_237_c,setHardness,1,Sets how many hits it takes to break a block.
@ -3193,7 +3241,7 @@ func_262_a,collisionRayTrace,1,"Ray traces through the blocks collision from sta
func_263_a,onEntityCollidedWithBlock,1,"Triggered whenever an entity collides with this block (enters into the block). Args: world, x, y, z, entity" func_263_a,onEntityCollidedWithBlock,1,"Triggered whenever an entity collides with this block (enters into the block). Args: world, x, y, z, entity"
func_264_a,getCollidingBoundingBoxes,1,"Adds to the supplied array any colliding bounding boxes with the passed in bounding box. Args: world, x, y, z, axisAlignedBB, arrayList" func_264_a,getCollidingBoundingBoxes,1,"Adds to the supplied array any colliding bounding boxes with the passed in bounding box. Args: world, x, y, z, axisAlignedBB, arrayList"
func_265_f,getChanceToEncourageFire,1,"Retrieves a specified block's chance to encourage their neighbors to burn and if the number is greater than the current number passed in it will return its number instead of the passed in one. Args: world, x, y, z, curChanceToEncourageFire" func_265_f,getChanceToEncourageFire,1,"Retrieves a specified block's chance to encourage their neighbors to burn and if the number is greater than the current number passed in it will return its number instead of the passed in one. Args: world, x, y, z, curChanceToEncourageFire"
func_267_a,setBurnRate,1,"Sets the burn rate for a block. The larger abilityToCatchFire the more easily it will catch on fire Args: blockID, unknown1, abilityToCatchFire" func_267_a,setBurnRate,1,"Sets the burn rate for a block. The larger abilityToCatchFire the more easily it will catch. The larger chanceToEncourageFire the faster it will burn and spread to other blocks. Args: blockID, chanceToEncourageFire, abilityToCatchFire"
func_268_g,canNeighborBurn,1,Returns true if at least one block next to this one can burn. func_268_g,canNeighborBurn,1,Returns true if at least one block next to this one can burn.
func_269_b,canBlockCatchFire,1,"Checks the specified block coordinate to see if it can catch fire. Args: blockAccess, x, y, z" func_269_b,canBlockCatchFire,1,"Checks the specified block coordinate to see if it can catch fire. Args: blockAccess, x, y, z"
func_26_a,handleBlockDig,1, func_26_a,handleBlockDig,1,
@ -3204,7 +3252,7 @@ func_27006_b,getHasStack,1,Returns if this slot contains a stack.
func_27008_Y,isWet,1,Checks if this entity is either in water or on an open air block in rain (used in wolves). func_27008_Y,isWet,1,Checks if this entity is either in water or on an open air block in rain (used in wolves).
func_27009_a,onStruckByLightning,1,Called when a lightning bolt hits the entity. func_27009_a,onStruckByLightning,1,Called when a lightning bolt hits the entity.
func_27010_a,onKillEntity,1,This method gets called when the entity kills another one. func_27010_a,onKillEntity,1,This method gets called when the entity kills another one.
func_27011_Z,isInWater,1,Returns whether the entity is in water. func_27011_Z,isInWater,1,Checks if this entity is inside water (if inWater field is true as a result of handleWaterMovement() returning true)
func_27013_Q,despawnEntity,1,Makes the entity despawn if requirements are reached func_27013_Q,despawnEntity,1,Makes the entity despawn if requirements are reached
func_27014_t,getPowered,1,Returns true if the creeper is powered by a lightning bolt. func_27014_t,getPowered,1,Returns true if the creeper is powered by a lightning bolt.
func_27015_h,addMountedMovementStat,1,"Adds a value to a mounted movement statistic field - by minecart, boat, or pig." func_27015_h,addMountedMovementStat,1,"Adds a value to a mounted movement statistic field - by minecart, boat, or pig."
@ -3276,10 +3324,10 @@ func_28020_c,onCreated,1,Called when item is crafted/smelted. Used only by maps
func_28022_b,getUpdatePacket,1, func_28022_b,getUpdatePacket,1,
func_28023_a,getMapData,1, func_28023_a,getMapData,1,
func_28024_a,updateMapData,1, func_28024_a,updateMapData,1,
func_28025_b,renderAsNormalBlock,1,"If this block doesn't render as an ordinary block it will return false (examples: signs, buttons, stairs, etc)" func_28025_b,renderAsNormalBlock,1,"If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)"
func_28026_e,canPlaceBlockOnSide,1,checks to see if you can place this block can be placed on that side of a block: BlockLever overrides func_28026_e,canPlaceBlockOnSide,1,checks to see if you can place this block can be placed on that side of a block: BlockLever overrides
func_28027_k,setRequiresSelfNotify,1,Blocks with this attribute will not notify all near blocks when it's metadata change. The default behavior is always notify every neightbor block when anything changes. func_28027_k,setRequiresSelfNotify,1,Blocks with this attribute will not notify all near blocks when it's metadata change. The default behavior is always notify every neightbor block when anything changes.
func_28028_f,initializeBlock,1,"called after adding all blocks, only implemented in BlockFire. Sets al the burn rates." func_28028_f,initializeBlock,1,This method is called on a block after all other blocks gets already created. You can use it to reference and configure something on the block that needs the others ones.
func_28035_b_,ejectRecord,1,Ejects the current record inside of the jukebox. func_28035_b_,ejectRecord,1,Ejects the current record inside of the jukebox.
func_28038_d,isTrapdoorOpen,1, func_28038_d,isTrapdoorOpen,1,
func_28039_c,setBlockBoundsForBlockRender,1, func_28039_c,setBlockBoundsForBlockRender,1,
@ -3370,19 +3418,19 @@ func_31010_c,isExtending,1,Returns true if a piston is extending
func_31011_k,clearPistonTileEntity,1,"removes a pistons tile entity (and if the piston is moving, stops it)" func_31011_k,clearPistonTileEntity,1,"removes a pistons tile entity (and if the piston is moving, stops it)"
func_31012_a,getStoredBlockID,1, func_31012_a,getStoredBlockID,1,
func_31021_B,updateWanderPath,1,Time remaining during which the Animal is sped up and flees. func_31021_B,updateWanderPath,1,Time remaining during which the Animal is sped up and flees.
func_31024_a,dropBlockAsItem_do,1,drops the block as an item. Does nothing if a singleplayer world? func_31024_a,dropBlockAsItem_do,1,Spawns EntityItem in the world for the given ItemStack if the world is not remote.
func_31025_e,getMobilityFlag,1,returns the mobility flag of a block's material func_31025_e,getMobilityFlag,1,"Returns the mobility information of the block, 0 = free, 1 = can't push but can move over, 2 = total immobility and stop pistons"
func_31026_j,getHardness,1,returns the hardness of a block. func_31026_j,getHardness,1,Returns the block hardness.
func_31027_i,setBlockUnbreakable,1,"This method will make the hardness of the block equals to -1, and the block is indestructible." func_31027_i,setBlockUnbreakable,1,"This method will make the hardness of the block equals to -1, and the block is indestructible."
func_31028_g,canPlaceTorchOn,1,Gets if we can place a torch on a block. func_31028_g,canPlaceTorchOn,1,Gets if we can place a torch on a block.
func_31030_a,getTileEntity,1,creates and returns a tile entity for the piston func_31030_a,getTileEntity,1,gets a new TileEntityPiston created with the arguments provided.
func_31031_b,getTileEntityAtLocation,1,gets the piston tile entity at the specified location func_31031_b,getTileEntityAtLocation,1,gets the piston tile entity at the specified location
func_31032_a,getAxisAlignedBB,1,gets the AxisAlignedBB of this piston func_31032_a,getAxisAlignedBB,1,
func_31035_d,isExtended,1,Determine if the metadata is related to something powered. func_31035_d,isExtended,1,Determine if the metadata is related to something powered.
func_31036_h,canExtend,1,checks whether a piston can extend func_31036_h,canExtend,1,checks to see if this piston could push the blocks in front of it.
func_31037_c,determineOrientation,1,determines the orientation of a piston. called upon placement func_31037_c,determineOrientation,1,gets the way this piston should face for that entity that placed it.
func_31038_i,tryExtend,1,attempts to extend the piston. returns false if impossible. func_31038_i,tryExtend,1,attempts to extend the piston. returns false if impossible.
func_31039_f,isIndirectlyPowered,1,returns true if a piston is powered. func_31039_f,isIndirectlyPowered,1,checks the block to that side to see if it is indirectly powered.
func_31040_a,canPushBlock,1,returns true if the piston can push the specified block func_31040_a,canPushBlock,1,returns true if the piston can push the specified block
func_31041_g,updatePistonState,1,handles attempts to extend or retract the piston. func_31041_g,updatePistonState,1,handles attempts to extend or retract the piston.
func_31042_c,getOrientation,1,returns an int which describes the direction the piston faces func_31042_c,getOrientation,1,returns an int which describes the direction the piston faces
@ -3454,7 +3502,7 @@ func_35060_c,getPosingIdByMetadata,1,Gets the blockID of the block this block is
func_35061_d,getMetadataForBlockType,1,Returns the metadata to use when a Silverfish hides in the block. Sets the block to BlockSilverfish with this metadata. It changes the displayed texture client side to look like a normal block. func_35061_d,getMetadataForBlockType,1,Returns the metadata to use when a Silverfish hides in the block. Sets the block to BlockSilverfish with this metadata. It changes the displayed texture client side to look like a normal block.
func_35063_c,canThisPaneConnectToThisBlockID,1,Gets passed in the blockID of the block adjacent and supposed to return true if its allowed to connect to the type of blockID passed in. Args: blockID func_35063_c,canThisPaneConnectToThisBlockID,1,Gets passed in the blockID of the block adjacent and supposed to return true if its allowed to connect to the type of blockID passed in. Args: blockID
func_35065_b,fertilizeMushroom,1,Fertilize the mushroom. func_35065_b,fertilizeMushroom,1,Fertilize the mushroom.
func_35066_f_,fertilizeStem,1,Fertilizes the stem. func_35066_f_,fertilizeStem,1,
func_35067_h,getGrowthModifier,1, func_35067_h,getGrowthModifier,1,
func_35070_c,isFenceGateOpen,1,Returns if the fence gate is open according to its metadata. func_35070_c,isFenceGateOpen,1,Returns if the fence gate is open according to its metadata.
func_35072_a,causeMobDamage,1, func_35072_a,causeMobDamage,1,
@ -3470,7 +3518,7 @@ func_35081_a,causeThrownDamage,1,
func_35082_a,causeFireballDamage,1,returns EntityDamageSourceIndirect of a fireball func_35082_a,causeFireballDamage,1,returns EntityDamageSourceIndirect of a fireball
func_35083_b,isUnblockable,1, func_35083_b,isUnblockable,1,
func_35084_g,setDamageAllowedInCreativeMode,1, func_35084_g,setDamageAllowedInCreativeMode,1,
func_350_b,removeEntity,1,removes entity usint its y chunk coordinate as its index func_350_b,removeEntity,1,removes entity using its y chunk coordinate as its index
func_35137_a,getBiomesToSpawnIn,1,Gets the list of valid biomes for the player to spawn in. func_35137_a,getBiomesToSpawnIn,1,Gets the list of valid biomes for the player to spawn in.
func_35138_b,cleanupCache,1,Calls the WorldChunkManager's biomeCache.cleanupCache() func_35138_b,cleanupCache,1,Calls the WorldChunkManager's biomeCache.cleanupCache()
func_35139_a,findBiomePosition,1,"Finds a valid position within a range, that is once of the listed biomes." func_35139_a,findBiomePosition,1,"Finds a valid position within a range, that is once of the listed biomes."
@ -3505,6 +3553,7 @@ func_35195_d,addExperience,1,Add experience points to player.
func_35196_E,stopUsingItem,1, func_35196_E,stopUsingItem,1,
func_35197_c,canEat,1, func_35197_c,canEat,1,
func_35198_b,addExhaustion,1,increases exhaustion level by supplied amount func_35198_b,addExhaustion,1,increases exhaustion level by supplied amount
func_35199_C,onItemUseFinish,1,"Used for when item use count runs out, ie: eating completed"
func_351_a,isAtLocation,1,Checks whether the chunk is at the X/Z location specified func_351_a,isAtLocation,1,Checks whether the chunk is at the X/Z location specified
func_35200_c,canPlayerEdit,1, func_35200_c,canPlayerEdit,1,
func_35201_a,setItemInUse,1,"sets the itemInUse when the use item button is clicked. Args: itemstack, int maxItemUseDuration" func_35201_a,setItemInUse,1,"sets the itemInUse when the use item button is clicked. Args: itemstack, int maxItemUseDuration"
@ -3514,6 +3563,7 @@ func_35204_o,getSwingSpeedModifier,1,Returns the swing speed modifier
func_35205_F,clearItemInUse,1, func_35205_F,clearItemInUse,1,
func_35206_W,shouldHeal,1,Checks if the player's health is not full and not zero. func_35206_W,shouldHeal,1,Checks if the player's health is not full and not zero.
func_35207_V,getFoodStats,1,Returns the player's FoodStats object. func_35207_V,getFoodStats,1,Returns the player's FoodStats object.
func_35208_b,updateItemUse,1,Plays sounds and makes particles for item in use state
func_35209_o_,isUsingItem,1,"checks if the entity is currently using an item (e.g., bow, food, sword) by holding down the useItemButton" func_35209_o_,isUsingItem,1,"checks if the entity is currently using an item (e.g., bow, food, sword) by holding down the useItemButton"
func_35224_c,attackEntityAsMob,1, func_35224_c,attackEntityAsMob,1,
func_35225_x,getCarried,1,Get the id of the block an enderman carries func_35225_x,getCarried,1,Get the id of the block an enderman carries
@ -3530,7 +3580,7 @@ func_35240_d,computeSkyLightValue,1,
func_35241_e,computeBlockLightValue,1, func_35241_e,computeBlockLightValue,1,
func_35242_p,updateAllLightTypes,1, func_35242_p,updateAllLightTypes,1,
func_35243_b,updateLightByType,1, func_35243_b,updateLightByType,1,
func_35253_a,generateOres,1,facilitates the replacement of stone with ores during worldgen func_35253_a,generateOres,1,Generates ores in the current chunk
func_35254_b,genStandardOre2,1,Standard ore generation helper. Generates Lapis Lazuli. func_35254_b,genStandardOre2,1,Standard ore generation helper. Generates Lapis Lazuli.
func_35255_a,decorate,1,Decorates the world. Calls code that was formerly (pre-1.8) in ChunkProviderGenerate.populate func_35255_a,decorate,1,Decorates the world. Calls code that was formerly (pre-1.8) in ChunkProviderGenerate.populate
func_35256_b,decorate,1,The method that does the work of actually decorating chunks func_35256_b,decorate,1,The method that does the work of actually decorating chunks
@ -3578,15 +3628,15 @@ func_35362_a,findValidPlacement,1,
func_35365_a,findValidPlacement,1,Trys to find a valid place to put this component. func_35365_a,findValidPlacement,1,Trys to find a valid place to put this component.
func_35366_a,canVillageGoDeeper,1, func_35366_a,canVillageGoDeeper,1,
func_35367_b,getAverageGroundLevel,1,Discover the y coordinate that will serve as the ground level of the supplied BoundingBox. (A median of all the levels in the BB's horizontal rectangle). func_35367_b,getAverageGroundLevel,1,Discover the y coordinate that will serve as the ground level of the supplied BoundingBox. (A median of all the levels in the BB's horizontal rectangle).
func_35368_a,getNextComponentNN,1,"Gets the next village component, with the bounding box shift -1 in the X and Z direction." func_35368_a,getNextComponentNN,1,"Gets the next village component, with the bounding box shifted -1 in the X and Z direction."
func_35369_b,getNextComponentPP,1,"Gets the next village component, with the bounding box shift +1 in the X and Z direction." func_35369_b,getNextComponentPP,1,"Gets the next village component, with the bounding box shifted +1 in the X and Z direction."
func_35370_a,findValidPlacement,1,Trys to find a valid place to put this component. func_35370_a,findValidPlacement,1,Trys to find a valid place to put this component.
func_35372_a,findValidPlacement,1,Trys to find a valid place to put this component. func_35372_a,findValidPlacement,1,Trys to find a valid place to put this component.
func_35374_a,findValidPlacement,1,Trys to find a valid place to put this component. func_35374_a,findValidPlacement,1,Trys to find a valid place to put this component.
func_35376_a,findValidPlacement,1, func_35376_a,findValidPlacement,1,
func_35380_a,findValidPlacement,1,Trys to find a valid place to put this component. func_35380_a,findValidPlacement,1,Trys to find a valid place to put this component.
func_35382_a,findValidPlacement,1,Trys to find a valid place to put this component. func_35382_a,findValidPlacement,1,Trys to find a valid place to put this component.
func_35386_a,getWorldChunkMngr,1, func_35386_a,getWorldChunkManager,1,
func_35393_a,findValidPlacement,1, func_35393_a,findValidPlacement,1,
func_35397_a,findValidPlacement,1,Trys to find a valid place to put this component. func_35397_a,findValidPlacement,1,Trys to find a valid place to put this component.
func_35399_a,findValidPlacement,1,Trys to find a valid place to put this component. func_35399_a,findValidPlacement,1,Trys to find a valid place to put this component.
@ -3681,7 +3731,7 @@ func_35631_c,getPrecipitationHeight,1,Gets the height to which rain/snow will fa
func_35632_a,populateChunk,1, func_35632_a,populateChunk,1,
func_35633_i,updateSkylight_do,1,Runs delayed skylight updates. func_35633_i,updateSkylight_do,1,Runs delayed skylight updates.
func_35634_d,updateSkylightNeighborHeight,1, func_35634_d,updateSkylightNeighborHeight,1,
func_35635_h,updateSkylight,1,"Checks whether skylight needs updated; if it does, calls updateSkylight_do (aka func_35839_k)." func_35635_h,updateSkylight,1,"Checks whether skylight needs updated; if it does, calls updateSkylight_do"
func_35639_a,getVillageComponentFromWeightedPiece,1, func_35639_a,getVillageComponentFromWeightedPiece,1,
func_35640_a,getNextStructureComponent,1,'attempts to find a next Structure Component to be spawned' func_35640_a,getNextStructureComponent,1,'attempts to find a next Structure Component to be spawned'
func_35641_d,getNextVillageStructureComponent,1,"'attempts to find a next Structure Component to be spawned, private Village function'" func_35641_d,getNextVillageStructureComponent,1,"'attempts to find a next Structure Component to be spawned, private Village function'"
@ -3792,7 +3842,7 @@ func_40026_q,getBannedIPsList,1,Returns the list of ban
func_4002_a,handleNamedEntitySpawn,1, func_4002_a,handleNamedEntitySpawn,1,
func_40033_ax,isImmuneToFire,1, func_40033_ax,isImmuneToFire,1,
func_40034_j,setFire,1,"Sets entity to burn for x amount of seconds, cannot lower amount of existing fire." func_40034_j,setFire,1,"Sets entity to burn for x amount of seconds, cannot lower amount of existing fire."
func_40035_z,isBurning,1,Returns true if the furnace is currently burning func_40035_z,isBurning,1,Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
func_40036_aw,extinguish,1,Removes fire from entity. func_40036_aw,extinguish,1,Removes fire from entity.
func_40037_aF,getParts,1,Return the Entity parts making up this Entity (currently only for dragons) func_40037_aF,getParts,1,Return the Entity parts making up this Entity (currently only for dragons)
func_4003_a,handleVehicleSpawn,1, func_4003_a,handleVehicleSpawn,1,
@ -3815,7 +3865,7 @@ func_40093_t,getCreatureAttribute,1,Get this Entity's EnumCreatureAttribute
func_40094_f,decreaseAirSupply,1,Decrements the entity's air supply when underwater func_40094_f,decreaseAirSupply,1,Decrements the entity's air supply when underwater
func_40095_c,getMaxHealth,1, func_40095_c,getMaxHealth,1,
func_40096_a,isPotionApplicable,1, func_40096_a,isPotionApplicable,1,
func_40097_ai,getEntityHealth,1, func_40097_ai,getHealth,1,
func_40098_a_,setPositionAndUpdate,1,Sets the position of the entity and updates the 'last' variables func_40098_a_,setPositionAndUpdate,1,Sets the position of the entity and updates the 'last' variables
func_40099_b,applyPotionDamageCalculations,1,"Reduces damage, depending on potions" func_40099_b,applyPotionDamageCalculations,1,"Reduces damage, depending on potions"
func_4009_a,handleKickDisconnect,1, func_4009_a,handleKickDisconnect,1,
@ -3886,7 +3936,7 @@ func_40274_l,getDamageType,1,Return the name of damage type.
func_40275_b,isProjectile,1,Returns true if the damage is projectile based. func_40275_b,isProjectile,1,Returns true if the damage is projectile based.
func_40276_j,setFireDamage,1,Define the damage type as fire based. func_40276_j,setFireDamage,1,Define the damage type as fire based.
func_40279_c,getHardcoreEnabled,1,"Returns true if hardcore mode is enabled, otherwise false" func_40279_c,getHardcoreEnabled,1,"Returns true if hardcore mode is enabled, otherwise false"
func_4027_a,onBlockPlacedBy,1,"Called when a block is using an item and passed in who placed it. Args: x, y, z, entityLiving" func_4027_a,onBlockPlacedBy,1,Called when the block is placed in the world.
func_40281_b_,getCenter,1, func_40281_b_,getCenter,1,
func_40282_a,getTotalWeight,1, func_40282_a,getTotalWeight,1,
func_40283_a,getNextComponent,1,Finds a random component to tack on to the bridge. Or builds the end. func_40283_a,getNextComponent,1,Finds a random component to tack on to the bridge. Or builds the end.
@ -3985,7 +4035,7 @@ func_40482_a,calculateModifier,1,Generic method use to calculate modifiers of of
func_40487_e,getEnchantability,1,Return the natural enchantability factor of the material. func_40487_e,getEnchantability,1,Return the natural enchantability factor of the material.
func_4048_a,displayGUIEditSign,1,Displays the GUI for editing a sign. Args: tileEntitySign func_4048_a,displayGUIEditSign,1,Displays the GUI for editing a sign. Args: tileEntitySign
func_40495_b,getDamageReductionAmount,1,"Return the damage reduction (each 1 point is a half a shield on gui) of the piece index passed (0 = helmet, 1 = plate, 2 = legs and 3 = boots)" func_40495_b,getDamageReductionAmount,1,"Return the damage reduction (each 1 point is a half a shield on gui) of the piece index passed (0 = helmet, 1 = plate, 2 = legs and 3 = boots)"
func_40496_a,getEnchantability,1,Return the enchantability factor of the material func_40496_a,getEnchantability,1,Return the enchantability factor of the material.
func_40497_a,getDurability,1,Returns the durability for a armor slot of for this type. func_40497_a,getDurability,1,Returns the durability for a armor slot of for this type.
func_4049_a,setIconIndex,1,Sets the icon index for this item. Returns the item. func_4049_a,setIconIndex,1,Sets the icon index for this item. Returns the item.
func_404_e,getLong,1,"Retrieves a long value using the specified key, or 0 if no such key was stored." func_404_e,getLong,1,"Retrieves a long value using the specified key, or 0 if no such key was stored."
@ -4168,7 +4218,7 @@ func_430_c,leafNodeNeedsBase,1,Indicates whether or not a leaf node requires add
func_431_a,layerSize,1,Gets the rough size of a layer of the tree. func_431_a,layerSize,1,Gets the rough size of a layer of the tree.
func_432_c,generateTrunk,1,Places the trunk for the big tree that is being generated. Able to generate double-sized trunks by changing a field that is always 1 to 2. func_432_c,generateTrunk,1,Places the trunk for the big tree that is being generated. Able to generate double-sized trunks by changing a field that is always 1 to 2.
func_433_b,pickMobSpawner,1,Randomly decides which spawner to use in a dungeon func_433_b,pickMobSpawner,1,Randomly decides which spawner to use in a dungeon
func_434_a,pickCheckLootItem,1,Picks potentially a random item to add to a dungeon chest func_434_a,pickCheckLootItem,1,Picks potentially a random item to add to a dungeon chest.
func_435_a,update,1,Public static accessor to call updateStats. func_435_a,update,1,Public static accessor to call updateStats.
func_436_a,updateStats,1,Updates the stat values and calls paint to redraw the component. func_436_a,updateStats,1,Updates the stat values and calls paint to redraw the component.
func_437_a,setLoadingProgress,1,Updates the progress bar on the loading screen to the specified amount. Args: loadProgress func_437_a,setLoadingProgress,1,Updates the progress bar on the loading screen to the specified amount. Args: loadProgress
@ -4180,7 +4230,7 @@ func_44006_ak,isClientWorld,1,Returns whether the entity is in a local (client)
func_44009_b,loadLanguageList,1, func_44009_b,loadLanguageList,1,
func_44010_a,setLanguage,1, func_44010_a,setLanguage,1,
func_44011_a,loadLanguage,1, func_44011_a,loadLanguage,1,
func_44014_a,createEntity,1,create a new instance of an entity by using an entityID func_44014_a,createEntityByID,1,Create a new instance of an entity in the world by using an entity ID.
func_443_c,getBlockMaterial,1,Returns the block's material. func_443_c,getBlockMaterial,1,Returns the block's material.
func_444_a,getBlockId,1,"Returns the block ID at coords x,y,z" func_444_a,getBlockId,1,"Returns the block ID at coords x,y,z"
func_445_d,isBlockNormalCube,1,"Returns true if the block at the specified coordinates is an opaque cube. Args: x, y, z" func_445_d,isBlockNormalCube,1,"Returns true if the block at the specified coordinates is an opaque cube. Args: x, y, z"
@ -4256,21 +4306,31 @@ func_477_b,getCelestialAngle,1,calls calculateCelestialAngle
func_478_h,saveLevel,1,Saves the global data associated with this World func_478_h,saveLevel,1,Saves the global data associated with this World
func_479_b,obtainEntitySkin,1,"Start the skin for this entity downloading, if necessary, and increment its reference counter" func_479_b,obtainEntitySkin,1,"Start the skin for this entity downloading, if necessary, and increment its reference counter"
func_47_d,getLogComponent,1,Returns a new JPanel with a new GuiStatsComponent inside. func_47_d,getLogComponent,1,Returns a new JPanel with a new GuiStatsComponent inside.
func_48071_a,handleTileEntityData,1,
func_48072_a,handleEntityHeadRotation,1,
func_48083_a,getPathEntityToEntity,1, func_48083_a,getPathEntityToEntity,1,
func_48085_a,findNearestEntityWithinAABB,1, func_48085_a,findNearestEntityWithinAABB,1,
func_48088_a,getEntityPathToXYZ,1, func_48088_a,getEntityPathToXYZ,1,
func_48095_y,getWorldHeight,1,Returns current world height func_48091_a,getBiomeGenForCoords,1,Gets the biome for a given set of x/z coordinates
func_48095_y,getHeight,1,Returns current world height.
func_48124_n,hasTileEntity,1,
func_48125_m,getTickRandomly,1,Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake. func_48125_m,getTickRandomly,1,Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
func_48126_g,isNormalCube,1, func_48126_g,isNormalCube,1,
func_48127_b,getBlocksMovement,1, func_48127_b,getBlocksMovement,1,
func_48132_b,getDirection,1,Returns the orentation value from the specified metadata
func_48133_a,tryToCatchBlockOnFire,1,
func_48134_e,getFullMetadata,1,Returns the full metadata value created by combining the metadata of both blocks the door takes up.
func_48136_c,getDoorOrientation,1,"Returns 0, 1, 2 or 3 depending on where the hinge is." func_48136_c,getDoorOrientation,1,"Returns 0, 1, 2 or 3 depending on where the hinge is."
func_48176_f,doRangedAttack,1,Performs a ranged attack according to the AI's rangedAttackID.
func_481_a,getCollidingBoundingBoxes,1,"Returns a list of bounding boxes that collide with aabb excluding the passed in entity's collision. Args: entity, aabb" func_481_a,getCollidingBoundingBoxes,1,"Returns a list of bounding boxes that collide with aabb excluding the passed in entity's collision. Args: entity, aabb"
func_48254_f,findPossibleShelter,1,
func_48305_f,checkSufficientDoorsPresentForNewVillager,1, func_48305_f,checkSufficientDoorsPresentForNewVillager,1,
func_48306_i,giveBirth,1, func_48306_i,giveBirth,1,
func_48307_a,spawnHeartParticles,1, func_48307_a,spawnHeartParticles,1,
func_48313_k_,canAttackWithItem,1,"If returns false, the item will not inflict any damage against entities." func_48313_k_,canAttackWithItem,1,"If returns false, the item will not inflict any damage against entities."
func_48315_b,getStackInSlotOnClosing,1,"When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI." func_48315_b,getStackInSlotOnClosing,1,"When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI."
func_48317_b,setHomeArea,1, func_48317_b,setHomeArea,1,
func_48319_z,eatGrassBonus,1,This function applies the benefits of growing back wool and faster growing up to the acting entity. (This function is used in the AIEatGrass)
func_48321_b,dropRareDrop,1, func_48321_b,dropRareDrop,1,
func_48322_aw,detachHome,1, func_48322_aw,detachHome,1,
func_48323_au,getHomePosition,1, func_48323_au,getHomePosition,1,
@ -4285,6 +4345,7 @@ func_48331_as,getAttackTarget,1,Gets the active target the Task system uses for
func_48333_ak,getNavigator,1, func_48333_ak,getNavigator,1,
func_48334_a,setRevengeTarget,1, func_48334_a,setRevengeTarget,1,
func_48335_g,setLastAttackingEntity,1, func_48335_g,setLastAttackingEntity,1,
func_48347_R,dropOneItem,1,Called when player presses the drop item key
func_48348_b,dropPlayerItem,1,Args: itemstack func_48348_b,dropPlayerItem,1,Args: itemstack
func_48349_a,dropPlayerItemWithRandomChoice,1,"Args: itemstack, flag" func_48349_a,dropPlayerItemWithRandomChoice,1,"Args: itemstack, flag"
func_48350_c,setGrowingAge,1,"The age value may be negative or positive or zero. If it's negative, it get's incremented on each tick, if it's positive, it get's decremented each tick. With a negative value the Entity is considered a child." func_48350_c,setGrowingAge,1,"The age value may be negative or positive or zero. If it's negative, it get's incremented on each tick, if it's positive, it get's decremented each tick. With a negative value the Entity is considered a child."
@ -4295,6 +4356,8 @@ func_48354_b,setIsPlayingFlag,1,
func_48355_A,getIsMatingFlag,1, func_48355_A,getIsMatingFlag,1,
func_48356_a,setIsMatingFlag,1, func_48356_a,setIsMatingFlag,1,
func_48357_f_,setProfession,1, func_48357_f_,setProfession,1,
func_48363_r_,isInLove,1,Returns if the entity is currently in 'love mode'.
func_48364_s_,resetInLove,1,
func_48366_b,setTamed,1, func_48366_b,setTamed,1,
func_48367_A,getOwnerName,1, func_48367_A,getOwnerName,1,
func_48368_w_,getOwner,1, func_48368_w_,getOwner,1,
@ -4302,15 +4365,22 @@ func_48371_v_,isSitting,1,
func_48372_a,setOwner,1, func_48372_a,setOwner,1,
func_48373_u_,isTamed,1, func_48373_u_,isTamed,1,
func_48380_l_,getVillage,1, func_48380_l_,getVillage,1,
func_48392_a,setTerrainType,1,
func_48409_a,isAllowedCharacter,1,
func_48414_b,markBlockNeedsUpdate2,1,As of mc 1.2.3 this method has exactly the same signature and does exactly the same as markBlockNeedsUpdate
func_48420_a,getPosition,1,returns the current PathEntity target node as Vec3D func_48420_a,getPosition,1,returns the current PathEntity target node as Vec3D
func_48421_b,setCurrentPathLength,1, func_48421_b,setCurrentPathLength,1,
func_48422_c,setCurrentPathIndex,1, func_48422_c,setCurrentPathIndex,1,
func_48423_e,getCurrentPathIndex,1, func_48423_e,getCurrentPathIndex,1,
func_48424_d,getCurrentPathLength,1, func_48424_d,getCurrentPathLength,1,
func_48425_c,getFinalPathPoint,1,returns the last PathPoint of the Array func_48425_c,getFinalPathPoint,1,returns the last PathPoint of the Array
func_48428_a,getVectorFromIndex,1,Gets the vector of the PathPoint associated with the given index.
func_48429_a,getPathPointFromIndex,1,"return the PathPoint located at the specified PathIndex, usually the current one" func_48429_a,getPathPointFromIndex,1,"return the PathPoint located at the specified PathIndex, usually the current one"
func_48436_b,getSpeed,1, func_48436_b,getSpeed,1,
func_48439_a,setMoveTo,1,Sets the speed and location to move to
func_48442_h,getFloatTemperature,1,Gets a floating point representation of this biome's temperature func_48442_h,getFloatTemperature,1,Gets a floating point representation of this biome's temperature
func_48450_a,setCanBeCreated,1,"Sets canBeCreated to the provided value, and returns this."
func_48452_b,getGeneratorVersion,1,Returns generatorVersion.
func_48473_c,getDistanceSquared,1,Returns the squared distance between this coordinates and the coordinates given as argument. func_48473_c,getDistanceSquared,1,Returns the squared distance between this coordinates and the coordinates given as argument.
func_48474_a,set,1, func_48474_a,set,1,
func_48478_d,resetDoorOpeningRestrictionCounter,1, func_48478_d,resetDoorOpeningRestrictionCounter,1,
@ -4347,13 +4417,29 @@ func_48533_b,findNearestDoor,1,
func_48534_b,findNearestVillageAggressor,1, func_48534_b,findNearestVillageAggressor,1,
func_48535_h,updateNumIronGolems,1, func_48535_h,updateNumIronGolems,1,
func_48546_a,canSee,1,"Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result." func_48546_a,canSee,1,"Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result."
func_48547_a,clearSensingCache,1,Returns the squared distance between this door and the given coordinate. func_48547_a,clearSensingCache,1,Clears canSeeCachePositive and canSeeCacheNegative.
func_48552_l,getBiomeArray,1,Returns an array containing a 16x16 mapping on the X/Z of block positions in this Chunk to biome IDs.
func_48553_h,getBlockStorageArray,1,Returns the ExtendedBlockStorage array for this Chunk.
func_48554_m,resetRelightChecks,1,Resets the relight check index to 0 for this Chunk.
func_48555_b,getBlockLightOpacity,1,
func_48556_c,getAreLevelsEmpty,1,Returns whether the ExtendedBlockStorages containing levels (in blocks) from arg 1 to arg 2 are fully empty (true) or not (false).
func_48557_n,enqueueRelightChecks,1,"Called once-per-chunk-per-tick, and advances the round-robin relight check index by up to 8 blocks at a time. In a worst-case scenario, can potentially take up to 25.6 seconds, calculated via (4096/8)/20, to re-check all blocks in a chunk, which may explain lagging light updates on initial world generation."
func_48558_a,setStorageArrays,1,
func_48559_a,setBiomeArray,1,Accepts a 256-entry array that contains a 16x16 mapping on the X/Z plane of block positions in this Chunk to biome IDs.
func_48561_g,getTopFilledSegment,1,Returns the topmost ExtendedBlockStorage instance for this Chunk that actually contains a block.
func_48582_a,getIDFromString,1,Finds the ID using stringToIDMapping
func_48584_a,onCrafting,1, func_48584_a,onCrafting,1,
func_48585_b,setExtBlockMetadata,1,Sets the metadata of the Block at the given coordinates in this ExtendedBlockStorage to the given metadata.
func_48586_b,setBlockMetadataArray,1,Sets the NibbleArray of block metadata (blockMetadataArray) for this ExtendedBlockStorage.
func_48588_a,setExtBlockID,1,"Sets the extended block ID for a location in a chunk, splitting bits 11..8 into a NibbleArray and bits 7..0 into a byte array. Also performs reference counting to determine whether or not to broadly cull this Chunk from the random-update tick list." func_48588_a,setExtBlockID,1,"Sets the extended block ID for a location in a chunk, splitting bits 11..8 into a NibbleArray and bits 7..0 into a byte array. Also performs reference counting to determine whether or not to broadly cull this Chunk from the random-update tick list."
func_48589_d,setSkylightArray,1,Sets the NibbleArray instance used for Sky-light values in this particular storage block. func_48589_d,setSkylightArray,1,Sets the NibbleArray instance used for Sky-light values in this particular storage block.
func_48591_a,getExtBlockID,1,"Returns the extended block ID for a location in a chunk, merged from a byte array and a NibbleArray to form a full 12-bit block ID." func_48591_a,getExtBlockID,1,"Returns the extended block ID for a location in a chunk, merged from a byte array and a NibbleArray to form a full 12-bit block ID."
func_48592_c,setExtSkylightValue,1,Sets the saved Sky-light value in the extended block storage structure. func_48592_c,setExtSkylightValue,1,Sets the saved Sky-light value in the extended block storage structure.
func_48593_a,setBlockMSBArray,1,Sets the array of blockID most significant bits (blockMSBArray) for this ExtendedBlockStorage.
func_48595_a,getIsEmpty,1,"Returns whether or not this block storage's Chunk is fully empty, based on its internal reference count." func_48595_a,getIsEmpty,1,"Returns whether or not this block storage's Chunk is fully empty, based on its internal reference count."
func_48596_a,setBlockLSBArray,1,Sets the array of block ID least significant bits for this ExtendedBlockStorage.
func_48597_c,getYLocation,1,Returns the Y location of this ExtendedBlockStorage.
func_48598_b,getExtBlockMetadata,1,Returns the metadata associated with the block at the given coordinates in this ExtendedBlockStorage.
func_485_a,saveWorld,1,"Saves the data for this World. If passed true, then only save up to 2 chunks, otherwise, save all chunks." func_485_a,saveWorld,1,"Saves the data for this World. If passed true, then only save up to 2 chunks, otherwise, save all chunks."
func_48600_j,getBlocklightArray,1,Returns the NibbleArray instance containing Block-light data. func_48600_j,getBlocklightArray,1,Returns the NibbleArray instance containing Block-light data.
func_48601_h,getBlockMSBArray,1,Returns the block ID MSB (bits 11..8) array for this storage array's Chunk. func_48601_h,getBlockMSBArray,1,Returns the block ID MSB (bits 11..8) array for this storage array's Chunk.
@ -4379,8 +4465,13 @@ func_48638_b,getVillageDoorAt,1,
func_48639_a,addVillagerPosition,1,"This is a black hole. You can add data to this list through a public interface, but you can't query that information in any way and it's not used internally either." func_48639_a,addVillagerPosition,1,"This is a black hole. You can add data to this list through a public interface, but you can't query that information in any way and it's not used internally either."
func_48647_a,setPath,1,"sets the active path data if path is 100% unique compared to old path, checks to adjust path for sun avoiding ents and stores end coords" func_48647_a,setPath,1,"sets the active path data if path is 100% unique compared to old path, checks to adjust path for sun avoiding ents and stores end coords"
func_48651_j,canNavigate,1,If on ground or swimming and can swim func_48651_j,canNavigate,1,If on ground or swimming and can swim
func_48659_i,getPathableYPos,1,Gets the safe pathing Y position for the entity depending on if it can path swim or not
func_48662_f,clearPathEntity,1,sets active PathEntity to null
func_48663_b,setBreakDoors,1,
func_48664_g,pathFollow,1, func_48664_g,pathFollow,1,
func_48665_h,getEntityPosition,1,
func_48667_l,removeSunnyPath,1,Trims path data from the end to the first sun covered block func_48667_l,removeSunnyPath,1,Trims path data from the end to the first sun covered block
func_48668_c,getPath,1,gets the actively used PathEntity
func_486_a,rayTraceBlocks,1,"ray traces all blocks, including non-collideable ones" func_486_a,rayTraceBlocks,1,"ray traces all blocks, including non-collideable ones"
func_487_a,countEntities,1,Counts how many entities of an entity class exist in the world. Args: entityClass func_487_a,countEntities,1,Counts how many entities of an entity class exist in the world. Args: entityClass
func_488_c,getHeightValue,1,"Returns the y coordinate with a block in it at this x, z coordinate" func_488_c,getHeightValue,1,"Returns the y coordinate with a block in it at this x, z coordinate"
@ -4450,10 +4541,10 @@ func_559_a,getHash,1,Returns the hash code for this entry
func_561_a,set,1,"Arguments are x, y, z, val. Sets the nibble of data at x << 11 | z << 7 | y to val." func_561_a,set,1,"Arguments are x, y, z, val. Sets the nibble of data at x << 11 | z << 7 | y to val."
func_562_a,get,1,"Returns the nibble of data corresponding to the passed in x, y, z. y is at most 6 bits, z is at most 4." func_562_a,get,1,"Returns the nibble of data corresponding to the passed in x, y, z. y is at most 6 bits, z is at most 4."
func_563_a,addMapping,1,adds a mapping between Entity classes and both a string representation and an ID func_563_a,addMapping,1,adds a mapping between Entity classes and both a string representation and an ID
func_564_b,getEntityString,1,gets the string representation of a specific entity func_564_b,getEntityString,1,Gets the string representation of a specific entity.
func_565_a,getEntityID,1,gets the entityID of a specific entity func_565_a,getEntityID,1,gets the entityID of a specific entity
func_566_a,createEntityFromNBT,1,create a new instance of an entity from NBT store func_566_a,createEntityFromNBT,1,create a new instance of an entity from NBT store
func_567_a,createEntityInWorld,1,Creates an entity of the given name in the world. func_567_a,createEntityByName,1,Create a new instance of an entity in the world by using the entity name.
func_569_a,getItem,1,Returns the object corresponding to the stack. func_569_a,getItem,1,Returns the object corresponding to the stack.
func_570_a,writeToNBT,1,Write the stack fields to a NBT object. Return the new NBT object. func_570_a,writeToNBT,1,Write the stack fields to a NBT object. Return the new NBT object.
func_571_c,getMaxDamage,1,Returns the max damage an item in the stack can take. func_571_c,getMaxDamage,1,Returns the max damage an item in the stack can take.
@ -4512,7 +4603,7 @@ func_607_a,updateTrackedEntities,1,
func_6091_h,removeLeaves,1, func_6091_h,removeLeaves,1,
func_6092_a,interact,1,"Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig." func_6092_a,interact,1,"Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig."
func_6093_b,onCollideWithPlayer,1,Called by a player entity when they collide with an entity func_6093_b,onCollideWithPlayer,1,Called by a player entity when they collide with an entity
func_6094_e,mountEntity,1,set entity to null to unmount func_6094_e,mountEntity,1,"Called when a player mounts an entity. e.g. mounts a pig, mounts a boat."
func_6095_b,setPositionAndRotation,1,"Sets the entity's position and rotation. Args: posX, posY, posZ, yaw, pitch" func_6095_b,setPositionAndRotation,1,"Sets the entity's position and rotation. Args: posX, posY, posZ, yaw, pitch"
func_6096_b,setRotation,1,Sets the rotation of the entity func_6096_b,setRotation,1,Sets the rotation of the entity
func_6097_d,getLivingSound,1,Returns the sound this mob makes while it's alive. func_6097_d,getLivingSound,1,Returns the sound this mob makes while it's alive.

1 searge name side desc
68 func_1076_b bindTexture 0
69 func_1077_b alphaBlend 0 Uses the alpha of the two colors passed in to determine the contributions of each color. If either of them has an alpha greater than 0 then the returned alpha is 255 otherwise its zero if they are both zero. Args: color1, color2
70 func_1078_a deleteTexture 0 Deletes a single GL texture
71 func_1079_a createEntityInWorld createEntityByName 0 Creates an entity of the given name in the world. Create a new instance of an entity in the world by using the entity name.
72 func_1080_a addMapping 0 adds a mapping between Entity classes and both a string representation and an ID
73 func_1081_a createEntityFromNBT 0 create a new instance of an entity from NBT store
74 func_1082_a getEntityID 0 gets the entityID of a specific entity
75 func_1083_b getEntityString 0 gets the string representation of a specific entity Gets the string representation of a specific entity.
76 func_1084_a createEntity createEntityByID 0 create a new instance of an entity by using an entityID Create a new instance of an entity in the world by using an entity ID.
77 func_1085_a splitStack 0 Remove the argument from the stack size. Return a new stack object with argument size.
78 func_1086_a writeToNBT 0 Write the stack fields to a NBT object. Return the new NBT object.
79 func_1088_b getIconIndex 0 Returns the icon index of the current stack.
117 func_1129_a addToPath 0 Adds a path from start to end and returns the whole path (args: unused, start, end, unused, maxDistance)
118 func_1130_a createEntityPathTo 0 Internal implementation of creating a path from an entity to a point
119 func_1131_a createEntityPathTo 0 Creates a path from an entity to a specified location within a minimum distance
120 func_1132_a getVerticalOffset 0 Given an x y z, returns a vertical offset needed to search to find a block to stand on Checks if an entity collides with blocks at a position. Returns 1 if clear, 0 for colliding with any solid block, -1 for water(if avoiding water) but otherwise clear, -2 for lava, -3 for fence, -4 for closed trapdoor, 2 if otherwise clear except for open trapdoor or water(if not avoiding)
121 func_1133_b findPathOptions 0 populates pathOptions with available points and returns the number of options found (args: unused1, currentPoint, unused2, targetPoint, maxDistance)
122 func_1134_a createEntityPath 0 Returns a new PathEntity for a given start and end point
123 func_1135_a getSafePoint 0 Returns a point that the entity can safely move to
332 func_20114_a updateCraftingResults 0 Updates crafting matrix; called from onCraftMatrixChanged. Args: none
333 func_20115_a putStacksInSlots 0 places itemstacks in first x slots, x being aitemstack.lenght
334 func_20117_a addSlot 0 adds the slot to the inventory it is in
335 func_20118_a getSlot 0 gets the nth slot
336 func_20119_a putStackInSlot 0 args: slotID, itemStack to put in slot
337 func_20120_b canInteractWith 0
338 func_20134_a onInventoryChanged 0 Called by InventoryBasic.onInventoryChanged() on a array that is never filled.
367 func_21024_a powerBlock 0
368 func_21025_b damageDropped 0 Determines the damage on the item the block drops. Used in cloth and wood.
369 func_21027_c_ fertilize 0 Apply bonemeal to the crops.
370 func_21028_c growTree 0 GrowSaplingIntoTree Attempts to grow a sapling into a tree Attempts to grow a sapling into a tree
371 func_21029_c eatCakeSlice 0 Heals the player and removes a slice from the cake. Args: world, x, y, z, entityPlayer Heals the player and removes a slice from the cake.
372 func_21030_a calculateCurrentChanges 0
373 func_21032_h setDispenserDefaultDirection 0 sets Dispenser block direction so that the front faces an non-opaque block; chooses west to be direction if all surrounding blocks are opaque.
374 func_21033_c dispenseItem 0 dispenses an item from a randomly selected item stack from the blocks inventory into the game world.
411 func_21114_a setAllowedSpawnTypes 0 Set which types of mobs are allowed to spawn (peaceful vs hostile).
412 func_21115_j markBlockAsNeedsUpdate 0 calls the 'MarkBlockAsNeedsUpdate' in all block accesses in this world
413 func_21116_c playNoteAt 0 plays a given note at x, y, z. args: x, y, z, instrument, note
414 func_21117_a doChunksNearChunkExist 0 Checks if the chunks within (argument 4) chunks of the given block exist Checks if any of the chunks within distance (argument 4) blocks of the given block exist
415 func_21118_q getChunkProvider 0 gets the IChunkProvider this world uses.
416 func_21119_g getProviderName 0 Returns the name of the current chunk provider, by calling chunkprovider.makeString()
417 func_21124_a addObject 0 adds a new object to dataWatcher to watch, to update an already existing object see updateObject. Arguments: data Value Id, Object to add
535 func_22148_a saveWorldInfoAndPlayer 0 saves level.dat and backs up the existing one to level.dat_old
536 func_22149_a getChunkLoader 0 Returns the chunk loader with the provided world provider
537 func_22150_b checkSessionLock 0 Checks the session lock to prevent save collisions
538 func_22151_c loadWorldInfo 0 Returns a freshly loaded worldInfo from the save Loads and returns the world info
539 func_22152_a saveWorldInfo 0 Saves the passed in world info.
540 func_22153_a getSaveDirectory 0 gets the File object corresponding to the base directory of this save (saves/404 for a save called 404 etc)
541 func_22154_d setSessionLock 0 Creates a session lock file for this process
616 func_22330_a renderStandardBlockWithAmbientOcclusion 0
617 func_22331_p renderBlockBed 0 render a bed at the given coordinates
618 func_22332_q renderBlockRepeater 0 render a redstone repeater at the given coordinates
619 func_22393_a compareChunkCoordinate 0 Compare the coordinate with another coordinate; Compare the coordinate with another coordinate
620 func_223_g canBlockStay 0 Can this block stay at this position. Similar to canPlaceBlockAt except gets checked often with plants.
621 func_224_a canCollideCheck 0 Returns whether this block is collideable based on the arguments passed in Args: blockMetaData, unknownFlag
622 func_225_a blockStrength 0 Defines whether or not a play can break the block with current tool.
642 func_246_f getSelectedBoundingBoxFromPool 0 Returns the bounding box of the wired rectangular prism to render.
643 func_247_b randomDisplayTick 0 A randomly called display update to be able to add particles or other items for display
644 func_249_b isVecInsideXZBounds 0 Checks if a vector is within the X and Z bounds of the block.
645 func_25004_a getTailRotation 0
646 func_25005_a renderWolf 0
647 func_25007_g isDamageable 0
648 func_25008_a onBlockDestroyed 0
660 func_25031_E hasPath 0 Returns true if entity has a path to follow
661 func_25032_c setTarget 0 Sets entities target to attack
662 func_25033_c getInterestedAngle 0
663 func_25037_z setTailRotation getTailRotation 0
664 func_25039_v getWolfShaking 0
665 func_25040_C isAngry 0 gets this wolf's angry state
666 func_25041_c setAngry 0 sets this wolf's angry state to true if the boolean argument is true
812 func_27162_g getRainStrength 0 Not sure about this actually. Reverting this one myself.
813 func_27163_E calculateInitialWeather 0 Called from World constructor to set rainingStrength and thunderingStrength
814 func_27164_F clearWeather 0 Stops all weather effects.
815 func_27165_m updateWeather 0 update's all weather states. Updates all weather states.
816 func_27166_f getWeightedThunderStrength 0
817 func_27167_r canLightningStrikeAt 0
818 func_27174_a windowClick 0
940 func_27464_d aJsonValue 0
941 func_274_i isWaterNearby 0 returns true if there's water nearby (x-4 to x+4, y to y+1, k-4 to k+4)
942 func_275_h isCropsNearby 0 returns true if there is at least one cropblock nearby (x-1 to x+1, y+1, z-1 to z+1)
943 func_279_b isPowerProviderOrWire 0 Calls canProvidePower() on the specified block and returns the result, but bypasses the wiresProvidePower flag Returns true if the block coordinate passed can provide power, or is a redstone wire.
944 func_28001_B startThreadCheckHasPaid 0
945 func_28002_e freeMemory 0
946 func_28003_b onMinecraftCrash 0
950 func_28012_a getMapData 0
951 func_28013_a getMPMapData 0
952 func_28014_c pushOutOfBlocks 0 Adds velocity to push the entity out of blocks at the specified x, y, z position Args: x, y, z
953 func_28018_c hasItemStack 0 Returns true if the specified itemstack exists in the inventory. Returns true if the specified ItemStack exists in the inventory.
954 func_28021_c getItemIcon 0 Gets the Icon Index of the item currently held
955 func_28022_b attackBlockedEntity 0 Used when an entity is close enough to attack but cannot be seen (Creeper de-fuse)
956 func_28027_d isBlockTranslucent 0
1057 func_31016_a getStoredBlockID 0
1058 func_31017_b getOffsetX 0
1059 func_31026_E updateWanderPath 0 Time remaining during which the Animal is sped up and flees.
1060 func_31027_a dropBlockAsItem_do 0 drops the block as an item. Does nothing if a multiplayer world? Spawns EntityItem in the world for the given ItemStack if the world is not remote.
1061 func_31028_l setBlockUnbreakable 0 This method will make the hardness of the block equals to -1, and the block is indestructible.
1062 func_31029_h getMobilityFlag 0 Returns the mobility information of the block, 0 = free, 1 = can't push but can move over, 2 = total immobility and stop pistons
1063 func_31030_b getRenderColor 0 Returns the color this block should be rendered. Used by leaves.
1064 func_31031_m getHardness 0 Returns the block hardness.
1065 func_31032_h canPlaceTorchOn 0 Gets if we can place a torch on a block.
1066 func_31034_c getTileEntityAtLocation 0 gets the piston tile entity at the specified location
1067 func_31035_a getAxisAlignedBB 0 gets the axis-alignedbb of this piston
1068 func_31036_a getTileEntity 0 gets a new TileEntityPiston created with the arguments provided.
1069 func_31039_c determineOrientation 0 gets the way this piston should face for that entity that placed it.
1070 func_31040_i getPistonExtensionTexture 0 Return the either 106 or 107 as the texture index depending on the isSticky flag. This will actually never get called by TileEntityRendererPiston.renderPiston() because TileEntityPiston.func_31012_k() will always return false.
1071 func_31041_f isIndirectlyPowered 0 checks the block to that side to see if it is indirectly powered.
1072 func_31042_a canPushBlock 0 Will determine if the block can be pushed by pistons returns true if the piston can push the specified block
1073 func_31043_h updatePistonState 0 handles attempts to extend or retract the piston.
1074 func_31044_d getOrientation 0 returns an int which describes the direction the piston faces
1075 func_31045_h canExtend 0 checks to see if this piston could push the blocks in front of it.
1076 func_31046_e isExtended 0 Determine if the metadata is related to something powered.
1077 func_31047_i tryExtend 0 pushes the blocks in front of the piston (if possible) attempts to extend the piston. returns false if impossible.
1078 func_31050_c getDirectionMeta 0
1079 func_31051_a clearHeadTexture 0
1080 func_31052_a_ setHeadTexture 0
1156 func_35027_a findValidPlacement 0 Trys to find a valid place to put this component.
1157 func_35028_a getNextComponentNormal 0 Gets the next component in any cardinal direction
1158 func_35029_c getNextComponentZ 0 Gets the next component in the +/- Z direction
1159 func_35030_a canStrongholdGoDeeper 0 'returns false if the Structure Bounding Box goes below 10' returns false if the Structure Bounding Box goes below 10
1160 func_35031_a getRandomDoor 0
1161 func_35032_b getNextComponentX 0 Gets the next component in the +/- X direction
1162 func_35033_a placeDoor 0 'builds a door of the enumerated types (empty opening is a door)'
1185 func_35099_a findValidPlacement 0 Trys to find a valid place to put this component.
1186 func_350_p updateRidden 0 Handles updating while being ridden by an entity
1187 func_35101_a findValidPlacement 0 Trys to find a valid place to put this component.
1188 func_35105_a getWorldChunkMngr getWorldChunkManager 0
1189 func_35112_o setInWeb 0 Sets isInWeb to true Sets the Entity inside a web block.
1190 func_35113_c setSprinting 0 Sets the player's sprinting state. Set sprinting switch for Entity.
1191 func_35114_R isEating 0
1192 func_35115_a getEntityBrightnessForRender getBrightnessForRender 0
1193 func_35116_d setEating 0
1194 func_35117_Q isSprinting 0 Get if the Entity is sprinting.
1195 func_35119_j_ getXpValue 0 Returns the XP value of this XP orb.
1200 func_35143_b onTileEntityPowered 0
1201 func_35144_b updateContainingBlockInfo 0 causes the TileEntity to reset all it's cached values for it's container block, blockID, metaData and in the case of chests, the adjcacent chest check
1202 func_35147_g checkForAdjacentChests 0 performs the check for adjacent chests to determine if this chest is double or not.
1203 func_35157_d hasItem 0 checks if item is in player inventory Get if a specifiied item id is inside the inventory.
1204 func_35158_d onFinishedPotionEffect 0
1205 func_35159_aC getRenderSizeModifier 0 Returns render size modifier
1206 func_35160_a isPotionActive 0
1233 func_35199_b setItemInUse 0 sets the itemInUse when the use item button is clicked. Args: itemstack, int maxItemUseDuration
1234 func_351_a moveFlying 0 Used in both water and by flying objects
1235 func_35200_b onCriticalHit 0 is called when the player performs a critical hit on the Entity. Args: entity that was hit critically
1236 func_35201_a updateItemUse 0 Plays sounds and makes particles for item in use state
1237 func_35202_aE getSwingSpeedModifier 0 Returns the swing speed modifier
1238 func_35203_aG increaseLevel 0 This method increases the player's experience level by one.
1239 func_35204_c addExperience 0 This method increases the player's current amount of experience.
1240 func_35205_Y getItemInUseCount 0 Returns the item in use count
1241 func_35206_ab stopUsingItem 0
1242 func_35207_ac clearItemInUse 0
1243 func_35208_ae onItemUseFinish 0 Used for when item use count runs out, ie: eating completed
1244 func_35219_c setXPStats 0 Sets the current XP, total XP, and level number.
1245 func_35220_u_ getFOVMultiplier 0 Gets the player's field of view multiplier. (ex. when flying)
1246 func_35265_a generateVines 0 Generates vines at the given position until it hits a block.
1251 func_35276_e getAmbientOcclusionLightValue 0 Returns the default ambient occlusion value based on block opacity
1252 func_35291_d isFenceGateOpen 0 Returns if the fence gate is open according to its metadata.
1253 func_35293_c fertilizeMushroom 0 Fertilize the mushroom.
1254 func_35294_i fertilizeStem 0 Fertilizes a stem.
1255 func_35295_j getGrowthModifier 0
1256 func_35298_d canThisPaneConnectToThisBlockID 0 Gets passed in the blockID of the block adjacent and supposed to return true if its allowed to connect to the type of blockID passed in. Args: blockID
1257 func_35299_s getSideTextureIndex 0 Returns the texture index of the thin side of the pane.
1271 func_35323_q saveServerList 0 Save the server list to servers.dat
1272 func_35324_p loadServerList 0 Load the server list from servers.dat
1273 func_35326_a setSelectedServer 0 Set index of the currently selected server
1274 func_35327_a setTooltipText 0 Sets a GUI's lag tooltip text.
1275 func_35328_b pollServer 0 Poll server for MOTD, lag, and player count/max
1276 func_35329_c getButtonSelect 0 Return buttonSelect GuiButton
1277 func_35330_a joinServer 0 Join server by ServerNBTStorage
1420 func_35714_b updateBoundingBox 0 Calculates total bounding box based on components' bounding boxes and saves it to boundingBox
1421 func_35715_c isSizeableStructure 0 'currently only defined for Villages, returns true if Village has more than 2 non-road components'
1422 func_35719_f getGameType 0
1423 func_35721_a getChunkManager 0 Gives WorldChunkManager passed into BiomeChunk constructor. Get the world chunk manager object for a biome list.
1424 func_35723_d getCachedBiomes 0 Returns the array of cached biome types in the BiomeCacheBlock at the given location.
1425 func_35724_a cleanupCache 0 Removes BiomeCacheBlocks from this cache that haven't been accessed in at least 30 seconds.
1426 func_35725_a getBiomeGenAt 0 Returns the BiomeGenBase related to the x, z position from the cache.
1481 func_35835_b setBrightness 0
1482 func_35839_k updateSkylight_do 0 Runs delayed skylight updates.
1483 func_35840_c getPrecipitationHeight 0 Gets the height to which rain/snow will fall. Calculates it if not already stored.
1484 func_35841_j updateSkylight 0 Checks whether skylight needs updated; if it does, calls updateSkylight_do ( aka func_35839_k() ). Checks whether skylight needs updated; if it does, calls updateSkylight_do
1485 func_35842_d updateSkylightNeighborHeight 0
1486 func_35843_a populateChunk 0
1487 func_35847_b getNextComponent 0
1543 func_374_q preparePlayerToSpawn 0 Keeps moving the entity up so it isn't colliding with blocks and other requirements for this entity to be spawned (only actually used on players though its also on Entity)
1544 func_375_a newDoubleNBTList 0 creates a NBT list from the array of doubles passed to this function
1545 func_376_c setRotation 0 Sets the rotation of the entity
1546 func_377_a newFloatNBTList 0 creates a NBT list from the array of floats passed to this function Returns a new NBTTagList filled with the specified floats
1547 func_378_a setPositionAndRotation2 0 Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, posY, posZ, yaw, pitch
1548 func_379_d getDistanceToEntity 0 Returns the distance to the entity. Args: entity
1549 func_380_f applyEntityCollision 0 Applies a velocity to each of the entities pushing them away from each other. Args: entity
1550 func_381_o isSneaking 0 Returns if this entity is sneaking.
1551 func_382_a getEntityBrightness getBrightness 0 Gets how bright this entity is.
1552 func_383_b_ getCollisionBox 0 Returns a boundingBox used to collide the entity with other entities and blocks. This enables the entity to be pushable on contact, like boats or minecarts.
1553 func_384_a isInRangeToRenderDist 0 Checks if the entity is in range to render by using the past in distance and comparing it to its average edge length * 64 * renderDistanceWeight Args: distance
1554 func_385_d_ canBePushed 0 Returns true if this entity should push and be pushed by other entities when colliding.
1560 func_392_h_ getShadowSize 0
1561 func_393_a isInsideOfMaterial 0 Checks if the current block the entity is within of the specified material type
1562 func_394_a dropItemWithOffset 0 Drops an item stack with a specified y offset. Args: itemID, count, yOffset
1563 func_395_F setEntityDead setDead 0 Will get destroyed next tick Will get destroyed next tick.
1564 func_396_a attackEntityFrom 0 Called when the entity is attacked.
1565 func_397_g_ handleWaterMovement 0 Returns if this entity is in water and will end up adding the waters velocity to the entity
1566 func_398_a setWorld 0 Sets the reference to the World object.
1613 func_40100_q getParticleTextureIndex 0
1614 func_40112_aN clearActivePotions 0
1615 func_40113_j setPositionAndUpdate 0 Move the entity to the coordinates informed, but keep yaw/pitch values.
1616 func_40114_aH getEntityHealth getHealth 0
1617 func_40115_d applyArmorCalculations 0 Reduces damage, depending on armor
1618 func_40116_f decreaseAirSupply 0 Decrements the entity's air supply when underwater
1619 func_40117_c getMaxHealth 0
1658 func_40195_b copy 0 Creates a clone of the tag.
1659 func_40196_b getTag 0 gets a generic tag with the specified name
1660 func_40198_a quantityDroppedWithBonus 0 Returns the usual quantity dropped by the block plus a bonus of 1 to 'i' (inclusive).
1661 func_4019_b useItemOnEntity 0 Called from ItemStack.useItemOnEntity Called when a player right clicks a entity with a item.
1662 func_401_c_ canBeCollidedWith 0 Returns true if other Entities should be prevented from moving through this Entity.
1663 func_4020_a getDamageVsEntity 0 Returns the damage against a given entity.
1664 func_40212_d isEnderEyeInserted 0 checks if an ender eye has been inserted into the frame block. parameters: metadata
1665 func_40218_g displayDebuffEffects 0 Displays debuff/potion effects that are currently being applied to the player
1666 func_4021_a hitEntity 0 Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack.
1667 func_4022_a setIconIndex 0 Sets the icon index for this item. Returns the item.
1668 func_40233_a enchantItem 0 enchants the item on the table using the specified slot; also deducts XP from player
1669 func_4023_b shouldRotateAroundWhenRendering 0 Returns true if this item should be rotated by 180 degrees around the Y axis when being held in an entities hands.
1670 func_40244_a calculateModifier 0 Generic method use to calculate modifiers of offensive or defensive enchantment values.
1671 func_40249_a generateRandomEnchantName 0 Generates a random enchant name.
1672 func_4024_a setStepSound 0 Sets the footstep sound for the block. Returns the object for convenience in constructing.
1673 func_40250_a setRandSeed 0 Sets the seed for the enchant name RNG.
1674 func_4025_d tickRate 0 How many world ticks before ticking
1675 func_4026_a onBlockPlacedBy 0 Called when a block is placed by using an ItemStack from inventory and passed in who placed it. Args: x,y,z,entityliving Called when the block is placed in the world.
1676 func_40270_a renderModel 0 Renders the model in RenderLiving
1677 func_40271_a doRenderSheep 0
1678 func_40274_a scaleMagmaCube 0
1679 func_40275_a renderMagmaCube 0
1680 func_40277_a renderBlaze 0
1715 func_40404_a addInformation 0 allows items to add custom lines of information to the mouseover description
1716 func_40405_m getPotionEffect 0 Returns a string representing what this item does to a potion.
1717 func_40406_n isPotionIngredient 0 Returns true if this item serves as a potion ingredient (its ingredient information is not null).
1718 func_40407_b setPotionEffect 0 gives this item the effects represented by the string for use in potion recipies Sets the string representing this item's effect on a potion when used as an ingredient.
1719 func_4042_a calculateVelocity 0
1720 func_40431_c_ getEffects 0 Returns a list of effects for the specified potion damage value.
1721 func_40432_e isEffectInstant 0
1735 func_40470_b getMoonPhase 0
1736 func_40471_p isBlockHydratedDirectly 0 Checks if the block is hydrating itself.
1737 func_40472_j getEntrancePortalLocation 0 Gets the hard-coded portal location to use when entering this dimension
1738 func_40473_b getClosestVulnerablePlayer 0 Returns the closest vulnerable player within the given radius, or null if none is found Returns the closest vulnerable player within the given radius, or null if none is found.
1739 func_40474_a getRandomMob 0 Gets a random mob for spawning in this world.
1740 func_40475_d getMoonPhase 0
1741 func_40476_b isBlockHydrated 0 (I think)
1841 func_4066_a renderGameOverlay 0 Render the ingame overlay with quick icon bar, ...
1842 func_40670_a render 0 Draw the six sided box defined by this ModelBox
1843 func_4067_a parseIntWithDefault 0
1844 func_40686_a renderItemIn2D 0 Renders an item held in hand as a 2D texture with thickness
1845 func_40687_b getSecondaryComponents 0
1846 func_40688_a createNextComponent 0
1847 func_40689_a getPrimaryComponents 0
1919 func_41033_a setBlockNames 0 sets the array of strings to be used for name lookups from item damage to metadata
1920 func_41039_c renderBossHealth 0 Renders dragon's (boss) health on the HUD
1921 func_4103_a onPickupFromSlot 0 Called when the player picks up an item from an inventory slot
1922 func_41041_e respawnPlayer 0 Respawns the player.
1923 func_41049_c_ createStackedBlock 0 Returns an item stack containing a single instance of the current block type. 'i' is the block's subtype/damage and is ignored for blocks which do not support subtypes. Blocks which cannot be harvested should return null.
1924 func_4104_e getSlotStackLimit 0 Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
1925 func_41052_f isValidSupportBlock 0 Checks if the block ID is a valid support block for the trap door to connect with. If it is not the trapdoor is dropped into the world.
1971 func_4147_a getGrassColor 0 Gets grass color from temperature and humidity. Args: temperature, humidity
1972 func_4148_a saveScreenshot 0 Takes a screenshot and saves it to the screenshots directory. Returns the filename of the screenshot.
1973 func_4149_a clearBoundingBoxPool 0 Sets the number of bounding boxes in use from the pool to 0 so they will be reused
1974 func_4150_a isVecInside 0 Checks if the specified vector is within bounds of the bounding box. Args: vec3D Returns if the supplied Vec3D is completely inside the bounding box
1975 func_4152_a renderStandardBlockWithColorMultiplier 0 Renders a standard cube block at the given coordinates, with a given color ratio. Args: block, x, y, z, r, g, b
1976 func_4153_a getRandomSpawningPointInChunk 0 Given a chunk, find a random position in it.
1977 func_4154_a performSpawning 0 The main spawning algorithm, spawns three random creatures of types in the subclass array
1981 func_418_b_ updateEntityActionState 0
1982 func_419_b onDeath 0 Called when the mob's health reaches 0.
1983 func_420_c canEntityBeSeen 0 returns true if the entity provided in the argument can be seen. (Raytrace)
1984 func_421_b getTalkInterval 0 Get number of ticks, at least during which the living entity will be silent Get number of ticks, at least during which the living entity will be silent.
1985 func_422_g getDropItemId 0 Returns the item ID for the item the mob drops on death.
1986 func_424_C jump 0 jump, Causes this entity to do an upwards motion (jumping)
1987 func_425_j onLivingUpdate 0 Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
2040 func_46051_a generate 0
2041 func_46059_i doesContainerItemLeaveCraftingGrid 0 If this returns true, after a recipe involving this item is crafted the container item will be added to the player's inventory instead of remaining in the crafting grid.
2042 func_46064_i getWorldHasNoSky 0 returns true if there should be no sky, false otherwise
2043 func_46065_j getVoidFogYFactor 0 Returns a double value representing the Y value relative to the top of the map at which void fog is at its maximum. The default factor of 0.03125 relative to 256, for example, means the void fog will be at its maximum at (256*0.03125), or 8.
2044 func_46066_g getAverageGroundLevel 0
2045 func_46068_G getSeaLevel 0 Gets sea level for use in rendering the horizen.
2046 func_46069_a onUpdateNavigation 0
2067 func_46130_b doJump 0 Called to actually make the entity jump if isJumping is true.
2068 func_46133_t getTerrainType 0
2069 func_46135_a parseWorldType 0
2070 func_46136_a getTranslateName 0 Gets the translation key for the name of this world type.
2071 func_46141_a setLookPositionWithEntity 0 Sets position to look at using entity
2072 func_46142_a onUpdateLook 0 Updates look
2073 func_46143_a setLookPosition 0 Sets position to look at
2103 func_48092_c setAttackTarget 0 Sets the active target the Task system uses for tracking
2104 func_48093_aT isWithinHomeDistanceCurrentPosition 0 Returns true if entity is within home distance from current position
2105 func_48094_aS getAttackTarget 0 Gets the active target the Task system uses for tracking
2106 func_48095_u eatGrassBonus 0 This function applies the benefits of growing back wool and faster growing up to the acting entity. (This function is used in the AIEatGrass)
2107 func_48096_f isWithinHomeDistance 0
2108 func_48097_s_ updateAITick 0 main AI tick function, replaces updateEntityActionState
2109 func_48099_aV getMaximumHomeDistance 0
2117 func_48127_b setIsPlayingFlag 0
2118 func_48128_a setIsMatingFlag 0
2119 func_48129_t getProfession 0
2120 func_48134_p_ resetInLove 0
2121 func_48136_o_ isInLove 0 Returns if the entity is currently in 'love mode'.
2122 func_48138_b setTamed 0
2123 func_48139_F_ isTamed 0
2124 func_48141_af isSitting 0
2126 func_48144_ah getOwner 0
2127 func_48145_ag getOwnerName 0
2128 func_48151_a dropPlayerItemWithRandomChoice 0 Args: itemstack, flag
2129 func_48153_a func_48152_as dropPlayerItem dropOneItem 0 Args: itemstack Called when player presses the drop item key
2130 func_48153_a dropPlayerItem 0 Args: itemstack - called when player drops an item stack that's not in his inventory (like items still placed in a workbench while the workbench'es GUI gets closed)
2131 func_48180_b markBlockNeedsUpdate2 0 As of mc 1.2.3 this method has exactly the same signature and does exactly the same as markBlockNeedsUpdate
2132 func_48184_b getSpeed 0
2133 func_48187_a setMoveTo 0 Sets the speed and location to move to
2134 func_481_b writeToNBT 0 Writes a tile entity to NBT.
2135 func_48203_o getTickRandomly 0 Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
2136 func_48204_b getBlocksMovement 0
2137 func_48205_p hasTileEntity 0
2138 func_48206_g isNormalCube 0
2139 func_48211_a tryToCatchBlockOnFire 0
2140 func_48212_i getFullMetadata 0 Returns the full metadata value created by combining the metadata of both blocks the door takes up.
2141 func_48214_g getDoorOrientation 0 Returns 0, 1, 2 or 3 depending on where the hinge is.
2142 func_48216_a getDirection 0 Returns the orentation value from the specified metadata
2143 func_48296_h findPossibleShelter 0
2144 func_482_a readFromNBT 0 Reads a tile entity from NBT.
2145 func_48337_h checkSufficientDoorsPresentForNewVillager 0
2146 func_48338_a spawnHeartParticles 0
2148 func_48366_h doRangedAttack 0 Performs a ranged attack according to the AI's rangedAttackID.
2149 func_483_c updateDelay 0 Sets the delay before a new spawn (base delay of 200 + random number up to 600).
2150 func_48411_i getFloatTemperature 0 Gets a floating point representation of this biome's temperature
2151 func_48412_k getBiomeFoliageColor 0 Provides the basic foliage color based on the biome temperature and rainfall
2152 func_48413_d isHighHumidity 0 Checks to see if the rainfall level of the biome is extremely high
2153 func_48414_h getFloatRainfall 0 Gets a floating point representation of this biome's rainfall
2154 func_48415_j getBiomeGrassColor 0 Provides the basic grass color based on the biome temperature and rainfall
2155 func_48442_a clamp_float 0 Returns the value of the first parameter, clamped to be within the lower and upper limits given by the second and third parameters
2156 func_48453_b getWorldHeight getHeight 0 Returns current world height Returns current world height.
2157 func_48454_a getBiomeGenForCoords 0 Gets the biome for a given set of x/z coordinates
2158 func_48455_z isBlockHighHumidity 0 Checks to see if the biome rainfall values for a given x,y,z coordinate set are extremely high
2159 func_48459_a findNearestEntityWithinAABB 0
2160 func_48460_a getEntityPathToXYZ 0
2161 func_48463_a getPathEntityToEntity 0
2162 func_48480_a canSee 0 Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result.
2163 func_48481_a clearSensingCache 0 Returns the squared distance between this door and the given coordinate. Clears canSeeCachePositive and canSeeCacheNegative.
2164 func_48485_a load 0
2165 func_48486_a convertToAnvilFormat 0
2166 func_48488_a handleEntityHeadRotation 0
2167 func_48489_a handleTileEntityData 0
2168 func_48491_o enqueueRelightChecks 0 Called once-per-chunk-per-tick, and advances the round-robin relight check index by up to 8 blocks at a time. In a worst-case scenario, can potentially take up to 25.6 seconds, calculated via (4096/8)/20, to re-check all blocks in a chunk, which may explain lagging light updates on initial world generation.
2169 func_48492_c getAreLevelsEmpty 0 Returns whether the ExtendedBlockStorages containing levels (in blocks) from arg 1 to arg 2 are fully empty (true) or not (false).
2170 func_48493_m getBiomeArray 0 Returns an array containing a 16x16 mapping on the X/Z of block positions in this Chunk to biome IDs.
2171 func_48495_i getBlockStorageArray 0 Returns the ExtendedBlockStorage array for this Chunk.
2172 func_48496_n resetRelightChecks 0 Resets the relight check index to 0 for this Chunk.
2173 func_48497_a setBiomeArray 0 Accepts a 256-entry array that contains a 16x16 mapping on the X/Z plane of block positions in this Chunk to biome IDs.
2174 func_48498_h getTopFilledSegment 0 Returns the topmost ExtendedBlockStorage instance for this Chunk that actually contains a block.
2175 func_48499_b getBlockLightOpacity 0
2176 func_484_a anyPlayerInRange 0 Returns true if there is a player in range (using World.getClosestPlayer)
2177 func_48500_a setStorageArrays 0
2178 func_48507_a onCrafting 0
2179 func_48508_a get 0
2180 func_48519_e isBlockDoor 0
2222 func_48592_b getInsidePosY 0
2223 func_48593_b getInsideDistanceSquare 0 Get the square of the distance from a location 2 blocks away from the door considered 'inside' and the given arguments
2224 func_485_a isBurning 0 Returns true if the furnace is currently burning
2225 func_48614_a isAllowedCharacter 0
2226 func_48619_a setTerrainType 0
2227 func_48625_a setCanBeCreated 0 Sets canBeCreated to the provided value, and returns this.
2228 func_48627_d getCanBeCreated 0 Gets whether this WorldType can be used to generate a new world.
2229 func_48630_c getGeneratorVersion 0 Returns generatorVersion.
2230 func_48640_a getCurrentNodeVec3d 0 returns the current PathEntity target node as Vec3D
2231 func_48641_b setCurrentPathLength 0
2232 func_48642_c setCurrentPathIndex 0
2233 func_48643_e getCurrentPathIndex 0
2234 func_48644_d getCurrentPathLength 0
2235 func_48645_c getFinalPathPoint 0 returns the last PathPoint of the Array
2236 func_48646_a getVectorFromIndex 0 Gets the vector of the PathPoint associated with the given index.
2237 func_48648_a getPathPointFromIndex 0 return the PathPoint located at the specified PathIndex, usually the current one
2238 func_48655_c getDistanceSquared 0 Returns the squared distance between this coordinates and the coordinates given as argument.
2239 func_48656_a set 0
2240 func_48659_j canNavigate 0 If on ground or swimming and can swim
2241 func_48660_a setSpeed 0 Sets the speed
2242 func_48661_h getEntityPosition 0
2243 func_48662_a isDirectPathBetweenPoints 0 Returns true when an entity of specified size could safely walk in a straight line between the two points. Args: pos1, pos2, entityXSize, entityYSize, entityZSize
2244 func_48668_i getPathableYPos 0 Gets the safe pathing Y position for the entity depending on if it can path swim or not
2245 func_48670_c getPath 0 gets the actively used PathEntity
2246 func_48671_a getPathToXYZ 0 Returns the path to the given coordinates
2247 func_48672_f clearPathEntity 0 sets active PathEntity to null
2248 func_48673_b setBreakDoors 0
2249 func_48674_g pathFollow 0
2250 func_48675_a isSafeToStandAt 0 Returns true when an entity could stand at a position, including solid blocks under the entire entity. Args: xOffset, yOffset, zOffset, entityXSize, entityYSize, entityZSize, originPosition, vecX, vecZ
2251 func_48676_b isPositionClear 0 Returns true if an entity does not collide with any solid blocks at the position. Args: xOffset, yOffset, zOffset, entityXSize, entityYSize, entityZSize, originPosition, vecX, vecZ
2252 func_48677_l removeSunnyPath 0 Trims path data from the end to the first sun covered block
2253 func_48678_a setPath 0 sets the active path data if path is 100% unique compared to old path, checks to adjust path for sun avoiding ents and stores end coords
2254 func_48690_b setExtBlockMetadata 0 Sets the metadata of the Block at the given coordinates in this ExtendedBlockStorage to the given metadata.
2315 func_535_a saveChunks 0 Two modes of operation: if passed true, save all Chunks in one go. If passed false, save up to two chunks. Return true if all chunks have been saved.
2316 func_536_b canSave 0 Returns if the IChunkProvider supports saving.
2317 func_537_a chunkExists 0 Checks to see if a chunk exists at x, y
2318 func_538_d loadChunk 0 Creates an empty chunk ready to put data from the server in loads or generates the chunk at the chunk location specified
2319 func_540_b saveChunk 0 Save a given Chunk, recording the time in lastSaveTime
2320 func_541_a saveExtraChunkData 0 Save extra data associated with this Chunk not normally saved during autosave, only during chunk unload. Currently unused.
2321 func_547_b drawString 0 Renders the specified text to the screen.
2437 func_6373_b addStreaming 0 Adds an audio file to the streaming SoundPool.
2438 func_6374_c addMusic 0 Adds an audio file to the music SoundPool.
2439 func_6375_a setVelocity 0 Sets the velocity to the args. Args: x, y, z
2440 func_6376_z getEntityTexture getTexture 0 returns the directory and filename as a String Returns the texture's file path as a String.
2441 func_6377_h mountEntity 0 Called when a player mounts an entity. e.g. mounts a pig, mounts a boat.
2442 func_6378_b onCollideWithPlayer 0 Called by a player entity when they collide with an entity
2443 func_6389_d getLivingSound 0 Returns the sound this mob makes while it's alive.
2688 func_902_b getScaledHeight 0
2689 func_903_a getScaledWidth 0
2690 func_904_a updateTimer 0 Updates all fields of the Timer using the current time
2691 func_905_b setupOverlayRendering 0 setup overlay rendering Setup orthogonal projection for rendering GUI screen overlays
2692 func_908_a setFogColorBuffer 0 Update and return fogColorBuffer with the RGBA values passed as arguments
2693 func_910_a getMouseOver 0 Finds what block or object the mouse is over at the specified partial tick time. Args: partialTickTime
2694 func_911_a updateRenderer 0 Updates the entity renderer
2763 func_981_a setTextureUV 0 Sets the texture coordinates.
2764 func_982_a draw 0 Draws the data set up in this tessellator and resets the state to prepare for new drawing.
2765 func_983_a addVertexWithUV 0 Adds a vertex specifying both x,y,z and the texture u,v for it.
2766 func_984_b setTranslationD setTranslation 0 Sets the translation for all vertices in the current draw call. (D suffix indicates double parameters) Sets the translation for all vertices in the current draw call.
2767 func_985_d reset 0 Clears the tessellator state in preparation for new drawing.
2768 func_986_a setColorRGBA_F 0 Sets the RGBA values for the color, converting from floats between 0 and 1 to integers from 0-255.
2769 func_987_a setColorOpaque_F 0 Sets the RGB values as specified, converting from floats between 0 and 1 to integers from 0-255.
2770 func_988_c setTranslationF addTranslation 0 Sets the translation for all vertices in the current draw call. (F suffix indicates float parameters) Offsets the translation for all vertices in the current draw call.
2771 func_989_c disableColor 0 Disables colors for the current draw call.
2772 func_990_b setColorOpaque_I 0 Sets the color to the given opaque value (stored as byte values packed in an integer).
2773 func_991_a addVertex 0 Adds a vertex with the specified x,y,z to the current draw call. It will trigger a draw() if the buffer gets full.
2786 func_104_p getEyeHeight 1
2787 func_106_b_ onUpdate 1 Called to update the entity's position/logic.
2788 func_107_c setLocationAndAngles 1 Sets the location and Yaw/Pitch of an entity in the world
2789 func_108_b getEntityBrightness getBrightness 1 Gets how bright this entity is.
2790 func_109_s getEntityString 1 Returns the string that identifies this Entity's class
2791 func_110_a isInsideOfMaterial 1 Checks if the current block the entity is within of the specified material type
2792 func_112_q handleLavaMovement 1 Whether or not the current entity is in lava
2794 func_114_a fall 1 Called when the mob is falling. Calculates and applies fall damage.
2795 func_115_v updateRidden 1 Handles updating while being ridden by an entity
2796 func_117_x getYOffset 1 Returns the Y Offset of this entity.
2797 func_118_j setEntityDead setDead 1 Will get destroyed next tick Will get destroyed next tick.
2798 func_119_o handleWaterMovement 1 Returns if this entity is in water and will end up adding the waters velocity to the entity
2799 func_11_a handleBlockItemSwitch 1
2800 func_12001_a handleExplosion 1
2917 func_20117_a copyItemStack 1 Creates a copy of a ItemStack, a null parameters will return a null.
2918 func_20118_a splitStack 1 Remove the argument from the stack size. Return a new stack object with argument size.
2919 func_20119_a areItemStacksEqual 1 compares ItemStack argument1 with ItemStack argument2; returns true if both ItemStacks are equal
2920 func_20120_a getSlot 1 retrieve the slot from the crafting inventory
2921 func_20121_a onCraftMatrixChanged 1 Callback for when the crafting matrix is changed.
2922 func_20122_a addSlot 1 adds the slot to the inventory it is in
2923 func_20124_c getCanCraft 1 gets whether or not the player can craft in this inventory or not
2924 func_20125_a updateCraftingResults 1 update the crafting matrix Updates crafting matrix; called from onCraftMatrixChanged. Args: none
2925 func_20126_b canInteractWith 1
2926 func_20128_a onCraftGuiOpened 1
2927 func_20129_a setCanCraft 1 sets whether the player can craft in this inventory or not
2948 func_21004_a handlePlayNoteBlock 1
2949 func_21024_a powerBlock 1
2950 func_21025_b damageDropped 1 Determines the damage on the item the block drops. Used in cloth and wood.
2951 func_21027_b growTree 1 grows a tree from a sapling block. Attempts to grow a sapling into a tree
2952 func_21028_c fertilize 1 Apply bonemeal to the crops.
2953 func_21030_c eatCakeSlice 1 Heals the player and removes a slice from the cake.
2954 func_21031_a calculateCurrentChanges 1
2958 func_21036_b dispenseItem 1 dispenses an item from a randomly selected item stack from the blocks inventory into the game world.
2959 func_21039_p getDataWatcher 1
2960 func_21040_a entityDropItem 1 Drops an item at the position of the entity.
2961 func_21041_a setFlag 1 Sets the specified flag to the specified value in DataWatcher byte object 0 Enable or disable a entity flag, see getEntityFlag to read the know flags.
2962 func_21042_c getFlag 1 Gets the specified flag from DataWatcher byte object 0 Returns true if the flag is active for the entity. Known flags: 0) is burning; 1) is sneaking; 2) is riding something; 3) is sprinting; 4) is eating
2963 func_21043_b setSneaking 1 Sets the sneaking flag.
2964 func_21044_a entityInit 1
2965 func_21046_d_ canBreatheUnderwater 1
2984 func_21084_a getStackInRowAndColumn 1 Returns the itemstack in the slot specified (Top left is 0, 0). Args: row, column
2985 func_21086_c setMaxStackSize 1
2986 func_21087_f getContainerItem 1
2987 func_21088_g hasContainerItem 1 returns wether the item has a containerItem True if this Item has a container item (a.k.a. crafting result)
2988 func_21089_a getMetadata 1 returns the argument if the item has metadata, 0 otherwise Returns the metadata of the block which this Item (ItemBlock) can place
2989 func_21090_d setMaxDamage 1 set max damage of an Item
2990 func_21091_a setHasSubtypes 1
2991 func_21092_c getHasSubtypes 1
2998 func_21114_a getRandomWorldGenForTrees 1 Gets a WorldGen appropriate for this biome.
2999 func_21116_a setAllowedSpawnTypes 1 first boolean for hostile mobs and second for peaceful mobs
3000 func_21117_c playNoteAt 1 plays a given note at x, y, z. args: x, y, z, instrument, note
3001 func_21118_a doChunksNearChunkExist 1 Checks if the chunks within (argument 4) chunks of the given block exist Checks if any of the chunks within distance (argument 4) blocks of the given block exist
3002 func_21119_h markBlockAsNeedsUpdate 1 calls the 'MarkBlockAsNeedsUpdate' in all block accesses in this world
3003 func_21125_h getItemDamage 1 gets the damage of an itemstack
3004 func_21126_d isItemStackDamageable 1 true if this itemStack is damageable
3080 func_22084_q isAllPlayersFullyAsleep 1 Returns whether or not all players in the world are fully asleep.
3081 func_22085_d setEntityDead 1 Dismounts the entity (and anything riding the entity), sets the dead flag, and removes the player entity from the player entity list. Called by the playerLoggedOut function.
3082 func_22086_b createChunkProvider 1 Creates the chunk provider for this world. Called in the constructor. Retrieves provider from worldProvider?
3083 func_22090_d getPlayerNBTManager 1 does exactly what it says on the tin
3084 func_22091_b checkSessionLock 1 Checks the session lock to prevent save collisions
3085 func_22092_a getChunkLoader 1 initializes and returns the chunk loader for the specified world provider
3086 func_22094_a saveWorldInfo 1 used to update level.dat from old format to MCRegion format
3087 func_22095_a saveWorldInfoAndPlayer 1 saves level.dat and backs up the existing one to level.dat_old
3088 func_22096_c loadWorldInfo 1 Attempts to load first level.dat, then level.dat_old from disk. Called when the server first starts. Loads and returns the world info
3089 func_22097_a getWorldDirectory 1 Gets the File object corresponding to the base directory of this world.
3090 func_22098_f setSessionLock 1 Creates a session lock file for this process
3091 func_220_f canBlockStay 1 Can this block stay at this position. Similar to canPlaceBlockAt except gets checked often with plants.
3157 func_231_a setTickRandomly 1 Sets whether this block type will receive random update ticks
3158 func_232_b setResistance 1 Sets the the blocks resistance to explosions. Returns the object for convenience in constructing.
3159 func_233_a setBlockBoundsBasedOnState 1 Updates the blocks bounds based on its current state. Args: world, x, y, z
3160 func_234_b onNeighborBlockChange 1 Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are their own) Args: x, y, z, blockID Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are their own) Args: x, y, z, neighbor blockID
3161 func_235_b onBlockClicked 1 Called when the block is clicked by a player. Args: x, y, z, entityPlayer
3162 func_236_c isVecInsideXYBounds 1 Checks if a vector is within the X and Y bounds of the block.
3163 func_237_c setHardness 1 Sets how many hits it takes to break a block.
3241 func_263_a onEntityCollidedWithBlock 1 Triggered whenever an entity collides with this block (enters into the block). Args: world, x, y, z, entity
3242 func_264_a getCollidingBoundingBoxes 1 Adds to the supplied array any colliding bounding boxes with the passed in bounding box. Args: world, x, y, z, axisAlignedBB, arrayList
3243 func_265_f getChanceToEncourageFire 1 Retrieves a specified block's chance to encourage their neighbors to burn and if the number is greater than the current number passed in it will return its number instead of the passed in one. Args: world, x, y, z, curChanceToEncourageFire
3244 func_267_a setBurnRate 1 Sets the burn rate for a block. The larger abilityToCatchFire the more easily it will catch on fire Args: blockID, unknown1, abilityToCatchFire Sets the burn rate for a block. The larger abilityToCatchFire the more easily it will catch. The larger chanceToEncourageFire the faster it will burn and spread to other blocks. Args: blockID, chanceToEncourageFire, abilityToCatchFire
3245 func_268_g canNeighborBurn 1 Returns true if at least one block next to this one can burn.
3246 func_269_b canBlockCatchFire 1 Checks the specified block coordinate to see if it can catch fire. Args: blockAccess, x, y, z
3247 func_26_a handleBlockDig 1
3252 func_27008_Y isWet 1 Checks if this entity is either in water or on an open air block in rain (used in wolves).
3253 func_27009_a onStruckByLightning 1 Called when a lightning bolt hits the entity.
3254 func_27010_a onKillEntity 1 This method gets called when the entity kills another one.
3255 func_27011_Z isInWater 1 Returns whether the entity is in water. Checks if this entity is inside water (if inWater field is true as a result of handleWaterMovement() returning true)
3256 func_27013_Q despawnEntity 1 Makes the entity despawn if requirements are reached
3257 func_27014_t getPowered 1 Returns true if the creeper is powered by a lightning bolt.
3258 func_27015_h addMountedMovementStat 1 Adds a value to a mounted movement statistic field - by minecart, boat, or pig.
3324 func_28022_b getUpdatePacket 1
3325 func_28023_a getMapData 1
3326 func_28024_a updateMapData 1
3327 func_28025_b renderAsNormalBlock 1 If this block doesn't render as an ordinary block it will return false (examples: signs, buttons, stairs, etc) If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
3328 func_28026_e canPlaceBlockOnSide 1 checks to see if you can place this block can be placed on that side of a block: BlockLever overrides
3329 func_28027_k setRequiresSelfNotify 1 Blocks with this attribute will not notify all near blocks when it's metadata change. The default behavior is always notify every neightbor block when anything changes.
3330 func_28028_f initializeBlock 1 called after adding all blocks, only implemented in BlockFire. Sets al the burn rates. This method is called on a block after all other blocks gets already created. You can use it to reference and configure something on the block that needs the others ones.
3331 func_28035_b_ ejectRecord 1 Ejects the current record inside of the jukebox.
3332 func_28038_d isTrapdoorOpen 1
3333 func_28039_c setBlockBoundsForBlockRender 1
3418 func_31011_k clearPistonTileEntity 1 removes a pistons tile entity (and if the piston is moving, stops it)
3419 func_31012_a getStoredBlockID 1
3420 func_31021_B updateWanderPath 1 Time remaining during which the Animal is sped up and flees.
3421 func_31024_a dropBlockAsItem_do 1 drops the block as an item. Does nothing if a singleplayer world? Spawns EntityItem in the world for the given ItemStack if the world is not remote.
3422 func_31025_e getMobilityFlag 1 returns the mobility flag of a block's material Returns the mobility information of the block, 0 = free, 1 = can't push but can move over, 2 = total immobility and stop pistons
3423 func_31026_j getHardness 1 returns the hardness of a block. Returns the block hardness.
3424 func_31027_i setBlockUnbreakable 1 This method will make the hardness of the block equals to -1, and the block is indestructible.
3425 func_31028_g canPlaceTorchOn 1 Gets if we can place a torch on a block.
3426 func_31030_a getTileEntity 1 creates and returns a tile entity for the piston gets a new TileEntityPiston created with the arguments provided.
3427 func_31031_b getTileEntityAtLocation 1 gets the piston tile entity at the specified location
3428 func_31032_a getAxisAlignedBB 1 gets the AxisAlignedBB of this piston
3429 func_31035_d isExtended 1 Determine if the metadata is related to something powered.
3430 func_31036_h canExtend 1 checks whether a piston can extend checks to see if this piston could push the blocks in front of it.
3431 func_31037_c determineOrientation 1 determines the orientation of a piston. called upon placement gets the way this piston should face for that entity that placed it.
3432 func_31038_i tryExtend 1 attempts to extend the piston. returns false if impossible.
3433 func_31039_f isIndirectlyPowered 1 returns true if a piston is powered. checks the block to that side to see if it is indirectly powered.
3434 func_31040_a canPushBlock 1 returns true if the piston can push the specified block
3435 func_31041_g updatePistonState 1 handles attempts to extend or retract the piston.
3436 func_31042_c getOrientation 1 returns an int which describes the direction the piston faces
3502 func_35061_d getMetadataForBlockType 1 Returns the metadata to use when a Silverfish hides in the block. Sets the block to BlockSilverfish with this metadata. It changes the displayed texture client side to look like a normal block.
3503 func_35063_c canThisPaneConnectToThisBlockID 1 Gets passed in the blockID of the block adjacent and supposed to return true if its allowed to connect to the type of blockID passed in. Args: blockID
3504 func_35065_b fertilizeMushroom 1 Fertilize the mushroom.
3505 func_35066_f_ fertilizeStem 1 Fertilizes the stem.
3506 func_35067_h getGrowthModifier 1
3507 func_35070_c isFenceGateOpen 1 Returns if the fence gate is open according to its metadata.
3508 func_35072_a causeMobDamage 1
3518 func_35082_a causeFireballDamage 1 returns EntityDamageSourceIndirect of a fireball
3519 func_35083_b isUnblockable 1
3520 func_35084_g setDamageAllowedInCreativeMode 1
3521 func_350_b removeEntity 1 removes entity usint its y chunk coordinate as its index removes entity using its y chunk coordinate as its index
3522 func_35137_a getBiomesToSpawnIn 1 Gets the list of valid biomes for the player to spawn in.
3523 func_35138_b cleanupCache 1 Calls the WorldChunkManager's biomeCache.cleanupCache()
3524 func_35139_a findBiomePosition 1 Finds a valid position within a range, that is once of the listed biomes.
3553 func_35196_E stopUsingItem 1
3554 func_35197_c canEat 1
3555 func_35198_b addExhaustion 1 increases exhaustion level by supplied amount
3556 func_35199_C onItemUseFinish 1 Used for when item use count runs out, ie: eating completed
3557 func_351_a isAtLocation 1 Checks whether the chunk is at the X/Z location specified
3558 func_35200_c canPlayerEdit 1
3559 func_35201_a setItemInUse 1 sets the itemInUse when the use item button is clicked. Args: itemstack, int maxItemUseDuration
3563 func_35205_F clearItemInUse 1
3564 func_35206_W shouldHeal 1 Checks if the player's health is not full and not zero.
3565 func_35207_V getFoodStats 1 Returns the player's FoodStats object.
3566 func_35208_b updateItemUse 1 Plays sounds and makes particles for item in use state
3567 func_35209_o_ isUsingItem 1 checks if the entity is currently using an item (e.g., bow, food, sword) by holding down the useItemButton
3568 func_35224_c attackEntityAsMob 1
3569 func_35225_x getCarried 1 Get the id of the block an enderman carries
3580 func_35241_e computeBlockLightValue 1
3581 func_35242_p updateAllLightTypes 1
3582 func_35243_b updateLightByType 1
3583 func_35253_a generateOres 1 facilitates the replacement of stone with ores during worldgen Generates ores in the current chunk
3584 func_35254_b genStandardOre2 1 Standard ore generation helper. Generates Lapis Lazuli.
3585 func_35255_a decorate 1 Decorates the world. Calls code that was formerly (pre-1.8) in ChunkProviderGenerate.populate
3586 func_35256_b decorate 1 The method that does the work of actually decorating chunks
3628 func_35365_a findValidPlacement 1 Trys to find a valid place to put this component.
3629 func_35366_a canVillageGoDeeper 1
3630 func_35367_b getAverageGroundLevel 1 Discover the y coordinate that will serve as the ground level of the supplied BoundingBox. (A median of all the levels in the BB's horizontal rectangle).
3631 func_35368_a getNextComponentNN 1 Gets the next village component, with the bounding box shift -1 in the X and Z direction. Gets the next village component, with the bounding box shifted -1 in the X and Z direction.
3632 func_35369_b getNextComponentPP 1 Gets the next village component, with the bounding box shift +1 in the X and Z direction. Gets the next village component, with the bounding box shifted +1 in the X and Z direction.
3633 func_35370_a findValidPlacement 1 Trys to find a valid place to put this component.
3634 func_35372_a findValidPlacement 1 Trys to find a valid place to put this component.
3635 func_35374_a findValidPlacement 1 Trys to find a valid place to put this component.
3636 func_35376_a findValidPlacement 1
3637 func_35380_a findValidPlacement 1 Trys to find a valid place to put this component.
3638 func_35382_a findValidPlacement 1 Trys to find a valid place to put this component.
3639 func_35386_a getWorldChunkMngr getWorldChunkManager 1
3640 func_35393_a findValidPlacement 1
3641 func_35397_a findValidPlacement 1 Trys to find a valid place to put this component.
3642 func_35399_a findValidPlacement 1 Trys to find a valid place to put this component.
3731 func_35632_a populateChunk 1
3732 func_35633_i updateSkylight_do 1 Runs delayed skylight updates.
3733 func_35634_d updateSkylightNeighborHeight 1
3734 func_35635_h updateSkylight 1 Checks whether skylight needs updated; if it does, calls updateSkylight_do (aka func_35839_k). Checks whether skylight needs updated; if it does, calls updateSkylight_do
3735 func_35639_a getVillageComponentFromWeightedPiece 1
3736 func_35640_a getNextStructureComponent 1 'attempts to find a next Structure Component to be spawned'
3737 func_35641_d getNextVillageStructureComponent 1 'attempts to find a next Structure Component to be spawned, private Village function'
3842 func_4002_a handleNamedEntitySpawn 1
3843 func_40033_ax isImmuneToFire 1
3844 func_40034_j setFire 1 Sets entity to burn for x amount of seconds, cannot lower amount of existing fire.
3845 func_40035_z isBurning 1 Returns true if the furnace is currently burning Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
3846 func_40036_aw extinguish 1 Removes fire from entity.
3847 func_40037_aF getParts 1 Return the Entity parts making up this Entity (currently only for dragons)
3848 func_4003_a handleVehicleSpawn 1
3865 func_40094_f decreaseAirSupply 1 Decrements the entity's air supply when underwater
3866 func_40095_c getMaxHealth 1
3867 func_40096_a isPotionApplicable 1
3868 func_40097_ai getEntityHealth getHealth 1
3869 func_40098_a_ setPositionAndUpdate 1 Sets the position of the entity and updates the 'last' variables
3870 func_40099_b applyPotionDamageCalculations 1 Reduces damage, depending on potions
3871 func_4009_a handleKickDisconnect 1
3936 func_40275_b isProjectile 1 Returns true if the damage is projectile based.
3937 func_40276_j setFireDamage 1 Define the damage type as fire based.
3938 func_40279_c getHardcoreEnabled 1 Returns true if hardcore mode is enabled, otherwise false
3939 func_4027_a onBlockPlacedBy 1 Called when a block is using an item and passed in who placed it. Args: x, y, z, entityLiving Called when the block is placed in the world.
3940 func_40281_b_ getCenter 1
3941 func_40282_a getTotalWeight 1
3942 func_40283_a getNextComponent 1 Finds a random component to tack on to the bridge. Or builds the end.
4035 func_40487_e getEnchantability 1 Return the natural enchantability factor of the material.
4036 func_4048_a displayGUIEditSign 1 Displays the GUI for editing a sign. Args: tileEntitySign
4037 func_40495_b getDamageReductionAmount 1 Return the damage reduction (each 1 point is a half a shield on gui) of the piece index passed (0 = helmet, 1 = plate, 2 = legs and 3 = boots)
4038 func_40496_a getEnchantability 1 Return the enchantability factor of the material Return the enchantability factor of the material.
4039 func_40497_a getDurability 1 Returns the durability for a armor slot of for this type.
4040 func_4049_a setIconIndex 1 Sets the icon index for this item. Returns the item.
4041 func_404_e getLong 1 Retrieves a long value using the specified key, or 0 if no such key was stored.
4218 func_431_a layerSize 1 Gets the rough size of a layer of the tree.
4219 func_432_c generateTrunk 1 Places the trunk for the big tree that is being generated. Able to generate double-sized trunks by changing a field that is always 1 to 2.
4220 func_433_b pickMobSpawner 1 Randomly decides which spawner to use in a dungeon
4221 func_434_a pickCheckLootItem 1 Picks potentially a random item to add to a dungeon chest Picks potentially a random item to add to a dungeon chest.
4222 func_435_a update 1 Public static accessor to call updateStats.
4223 func_436_a updateStats 1 Updates the stat values and calls paint to redraw the component.
4224 func_437_a setLoadingProgress 1 Updates the progress bar on the loading screen to the specified amount. Args: loadProgress
4230 func_44009_b loadLanguageList 1
4231 func_44010_a setLanguage 1
4232 func_44011_a loadLanguage 1
4233 func_44014_a createEntity createEntityByID 1 create a new instance of an entity by using an entityID Create a new instance of an entity in the world by using an entity ID.
4234 func_443_c getBlockMaterial 1 Returns the block's material.
4235 func_444_a getBlockId 1 Returns the block ID at coords x,y,z
4236 func_445_d isBlockNormalCube 1 Returns true if the block at the specified coordinates is an opaque cube. Args: x, y, z
4306 func_478_h saveLevel 1 Saves the global data associated with this World
4307 func_479_b obtainEntitySkin 1 Start the skin for this entity downloading, if necessary, and increment its reference counter
4308 func_47_d getLogComponent 1 Returns a new JPanel with a new GuiStatsComponent inside.
4309 func_48071_a handleTileEntityData 1
4310 func_48072_a handleEntityHeadRotation 1
4311 func_48083_a getPathEntityToEntity 1
4312 func_48085_a findNearestEntityWithinAABB 1
4313 func_48088_a getEntityPathToXYZ 1
4314 func_48095_y func_48091_a getWorldHeight getBiomeGenForCoords 1 Returns current world height Gets the biome for a given set of x/z coordinates
4315 func_48095_y getHeight 1 Returns current world height.
4316 func_48124_n hasTileEntity 1
4317 func_48125_m getTickRandomly 1 Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
4318 func_48126_g isNormalCube 1
4319 func_48127_b getBlocksMovement 1
4320 func_48132_b getDirection 1 Returns the orentation value from the specified metadata
4321 func_48133_a tryToCatchBlockOnFire 1
4322 func_48134_e getFullMetadata 1 Returns the full metadata value created by combining the metadata of both blocks the door takes up.
4323 func_48136_c getDoorOrientation 1 Returns 0, 1, 2 or 3 depending on where the hinge is.
4324 func_48176_f doRangedAttack 1 Performs a ranged attack according to the AI's rangedAttackID.
4325 func_481_a getCollidingBoundingBoxes 1 Returns a list of bounding boxes that collide with aabb excluding the passed in entity's collision. Args: entity, aabb
4326 func_48254_f findPossibleShelter 1
4327 func_48305_f checkSufficientDoorsPresentForNewVillager 1
4328 func_48306_i giveBirth 1
4329 func_48307_a spawnHeartParticles 1
4330 func_48313_k_ canAttackWithItem 1 If returns false, the item will not inflict any damage against entities.
4331 func_48315_b getStackInSlotOnClosing 1 When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
4332 func_48317_b setHomeArea 1
4333 func_48319_z eatGrassBonus 1 This function applies the benefits of growing back wool and faster growing up to the acting entity. (This function is used in the AIEatGrass)
4334 func_48321_b dropRareDrop 1
4335 func_48322_aw detachHome 1
4336 func_48323_au getHomePosition 1
4345 func_48333_ak getNavigator 1
4346 func_48334_a setRevengeTarget 1
4347 func_48335_g setLastAttackingEntity 1
4348 func_48347_R dropOneItem 1 Called when player presses the drop item key
4349 func_48348_b dropPlayerItem 1 Args: itemstack
4350 func_48349_a dropPlayerItemWithRandomChoice 1 Args: itemstack, flag
4351 func_48350_c setGrowingAge 1 The age value may be negative or positive or zero. If it's negative, it get's incremented on each tick, if it's positive, it get's decremented each tick. With a negative value the Entity is considered a child.
4356 func_48355_A getIsMatingFlag 1
4357 func_48356_a setIsMatingFlag 1
4358 func_48357_f_ setProfession 1
4359 func_48363_r_ isInLove 1 Returns if the entity is currently in 'love mode'.
4360 func_48364_s_ resetInLove 1
4361 func_48366_b setTamed 1
4362 func_48367_A getOwnerName 1
4363 func_48368_w_ getOwner 1
4365 func_48372_a setOwner 1
4366 func_48373_u_ isTamed 1
4367 func_48380_l_ getVillage 1
4368 func_48392_a setTerrainType 1
4369 func_48409_a isAllowedCharacter 1
4370 func_48414_b markBlockNeedsUpdate2 1 As of mc 1.2.3 this method has exactly the same signature and does exactly the same as markBlockNeedsUpdate
4371 func_48420_a getPosition 1 returns the current PathEntity target node as Vec3D
4372 func_48421_b setCurrentPathLength 1
4373 func_48422_c setCurrentPathIndex 1
4374 func_48423_e getCurrentPathIndex 1
4375 func_48424_d getCurrentPathLength 1
4376 func_48425_c getFinalPathPoint 1 returns the last PathPoint of the Array
4377 func_48428_a getVectorFromIndex 1 Gets the vector of the PathPoint associated with the given index.
4378 func_48429_a getPathPointFromIndex 1 return the PathPoint located at the specified PathIndex, usually the current one
4379 func_48436_b getSpeed 1
4380 func_48439_a setMoveTo 1 Sets the speed and location to move to
4381 func_48442_h getFloatTemperature 1 Gets a floating point representation of this biome's temperature
4382 func_48450_a setCanBeCreated 1 Sets canBeCreated to the provided value, and returns this.
4383 func_48452_b getGeneratorVersion 1 Returns generatorVersion.
4384 func_48473_c getDistanceSquared 1 Returns the squared distance between this coordinates and the coordinates given as argument.
4385 func_48474_a set 1
4386 func_48478_d resetDoorOpeningRestrictionCounter 1
4417 func_48534_b findNearestVillageAggressor 1
4418 func_48535_h updateNumIronGolems 1
4419 func_48546_a canSee 1 Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result.
4420 func_48547_a clearSensingCache 1 Returns the squared distance between this door and the given coordinate. Clears canSeeCachePositive and canSeeCacheNegative.
4421 func_48552_l getBiomeArray 1 Returns an array containing a 16x16 mapping on the X/Z of block positions in this Chunk to biome IDs.
4422 func_48553_h getBlockStorageArray 1 Returns the ExtendedBlockStorage array for this Chunk.
4423 func_48554_m resetRelightChecks 1 Resets the relight check index to 0 for this Chunk.
4424 func_48555_b getBlockLightOpacity 1
4425 func_48556_c getAreLevelsEmpty 1 Returns whether the ExtendedBlockStorages containing levels (in blocks) from arg 1 to arg 2 are fully empty (true) or not (false).
4426 func_48557_n enqueueRelightChecks 1 Called once-per-chunk-per-tick, and advances the round-robin relight check index by up to 8 blocks at a time. In a worst-case scenario, can potentially take up to 25.6 seconds, calculated via (4096/8)/20, to re-check all blocks in a chunk, which may explain lagging light updates on initial world generation.
4427 func_48558_a setStorageArrays 1
4428 func_48559_a setBiomeArray 1 Accepts a 256-entry array that contains a 16x16 mapping on the X/Z plane of block positions in this Chunk to biome IDs.
4429 func_48561_g getTopFilledSegment 1 Returns the topmost ExtendedBlockStorage instance for this Chunk that actually contains a block.
4430 func_48582_a getIDFromString 1 Finds the ID using stringToIDMapping
4431 func_48584_a onCrafting 1
4432 func_48585_b setExtBlockMetadata 1 Sets the metadata of the Block at the given coordinates in this ExtendedBlockStorage to the given metadata.
4433 func_48586_b setBlockMetadataArray 1 Sets the NibbleArray of block metadata (blockMetadataArray) for this ExtendedBlockStorage.
4434 func_48588_a setExtBlockID 1 Sets the extended block ID for a location in a chunk, splitting bits 11..8 into a NibbleArray and bits 7..0 into a byte array. Also performs reference counting to determine whether or not to broadly cull this Chunk from the random-update tick list.
4435 func_48589_d setSkylightArray 1 Sets the NibbleArray instance used for Sky-light values in this particular storage block.
4436 func_48591_a getExtBlockID 1 Returns the extended block ID for a location in a chunk, merged from a byte array and a NibbleArray to form a full 12-bit block ID.
4437 func_48592_c setExtSkylightValue 1 Sets the saved Sky-light value in the extended block storage structure.
4438 func_48593_a setBlockMSBArray 1 Sets the array of blockID most significant bits (blockMSBArray) for this ExtendedBlockStorage.
4439 func_48595_a getIsEmpty 1 Returns whether or not this block storage's Chunk is fully empty, based on its internal reference count.
4440 func_48596_a setBlockLSBArray 1 Sets the array of block ID least significant bits for this ExtendedBlockStorage.
4441 func_48597_c getYLocation 1 Returns the Y location of this ExtendedBlockStorage.
4442 func_48598_b getExtBlockMetadata 1 Returns the metadata associated with the block at the given coordinates in this ExtendedBlockStorage.
4443 func_485_a saveWorld 1 Saves the data for this World. If passed true, then only save up to 2 chunks, otherwise, save all chunks.
4444 func_48600_j getBlocklightArray 1 Returns the NibbleArray instance containing Block-light data.
4445 func_48601_h getBlockMSBArray 1 Returns the block ID MSB (bits 11..8) array for this storage array's Chunk.
4465 func_48639_a addVillagerPosition 1 This is a black hole. You can add data to this list through a public interface, but you can't query that information in any way and it's not used internally either.
4466 func_48647_a setPath 1 sets the active path data if path is 100% unique compared to old path, checks to adjust path for sun avoiding ents and stores end coords
4467 func_48651_j canNavigate 1 If on ground or swimming and can swim
4468 func_48659_i getPathableYPos 1 Gets the safe pathing Y position for the entity depending on if it can path swim or not
4469 func_48662_f clearPathEntity 1 sets active PathEntity to null
4470 func_48663_b setBreakDoors 1
4471 func_48664_g pathFollow 1
4472 func_48665_h getEntityPosition 1
4473 func_48667_l removeSunnyPath 1 Trims path data from the end to the first sun covered block
4474 func_48668_c getPath 1 gets the actively used PathEntity
4475 func_486_a rayTraceBlocks 1 ray traces all blocks, including non-collideable ones
4476 func_487_a countEntities 1 Counts how many entities of an entity class exist in the world. Args: entityClass
4477 func_488_c getHeightValue 1 Returns the y coordinate with a block in it at this x, z coordinate
4541 func_561_a set 1 Arguments are x, y, z, val. Sets the nibble of data at x << 11 | z << 7 | y to val.
4542 func_562_a get 1 Returns the nibble of data corresponding to the passed in x, y, z. y is at most 6 bits, z is at most 4.
4543 func_563_a addMapping 1 adds a mapping between Entity classes and both a string representation and an ID
4544 func_564_b getEntityString 1 gets the string representation of a specific entity Gets the string representation of a specific entity.
4545 func_565_a getEntityID 1 gets the entityID of a specific entity
4546 func_566_a createEntityFromNBT 1 create a new instance of an entity from NBT store
4547 func_567_a createEntityInWorld createEntityByName 1 Creates an entity of the given name in the world. Create a new instance of an entity in the world by using the entity name.
4548 func_569_a getItem 1 Returns the object corresponding to the stack.
4549 func_570_a writeToNBT 1 Write the stack fields to a NBT object. Return the new NBT object.
4550 func_571_c getMaxDamage 1 Returns the max damage an item in the stack can take.
4603 func_6091_h removeLeaves 1
4604 func_6092_a interact 1 Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.
4605 func_6093_b onCollideWithPlayer 1 Called by a player entity when they collide with an entity
4606 func_6094_e mountEntity 1 set entity to null to unmount Called when a player mounts an entity. e.g. mounts a pig, mounts a boat.
4607 func_6095_b setPositionAndRotation 1 Sets the entity's position and rotation. Args: posX, posY, posZ, yaw, pitch
4608 func_6096_b setRotation 1 Sets the rotation of the entity
4609 func_6097_d getLivingSound 1 Returns the sound this mob makes while it's alive.

View file

@ -117,7 +117,7 @@ public class ForgeHooksClient
{ {
renderTextures.add(key); renderTextures.add(key);
tess.startDrawingQuads(); tess.startDrawingQuads();
tess.setTranslationD(defaultTessellator.xOffset, defaultTessellator.yOffset, defaultTessellator.zOffset); tess.setTranslation(defaultTessellator.xOffset, defaultTessellator.yOffset, defaultTessellator.zOffset);
} }
Tessellator.instance = tess; Tessellator.instance = tess;
} }

View file

@ -7,16 +7,16 @@
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Random; import java.util.Random;
@@ -449,7 +450,7 @@ @@ -397,7 +398,7 @@
public boolean func_48205_p() public boolean hasTileEntity()
{ {
- return this.isBlockContainer; - return this.isBlockContainer;
+ return hasTileEntity(0); + return hasTileEntity(0);
} }
/** /**
@@ -470,7 +471,7 @@ @@ -418,7 +419,7 @@
*/ */
public float getBlockBrightness(IBlockAccess par1IBlockAccess, int par2, int par3, int par4) public float getBlockBrightness(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
{ {
@ -25,7 +25,7 @@
} }
/** /**
@@ -478,7 +479,7 @@ @@ -426,7 +427,7 @@
*/ */
public int getMixedBrightnessForBlock(IBlockAccess par1IBlockAccess, int par2, int par3, int par4) public int getMixedBrightnessForBlock(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
{ {
@ -34,7 +34,7 @@
} }
/** /**
@@ -635,11 +636,14 @@ @@ -583,11 +584,14 @@
} }
/** /**
@ -51,7 +51,7 @@
} }
/** /**
@@ -659,16 +663,12 @@ @@ -607,16 +611,12 @@
{ {
int var8 = this.quantityDroppedWithBonus(par7, par1World.rand); int var8 = this.quantityDroppedWithBonus(par7, par1World.rand);
@ -71,7 +71,7 @@
} }
} }
} }
@@ -981,7 +981,7 @@ @@ -929,7 +929,7 @@
par2EntityPlayer.addStat(StatList.mineBlockStatArray[this.blockID], 1); par2EntityPlayer.addStat(StatList.mineBlockStatArray[this.blockID], 1);
par2EntityPlayer.addExhaustion(0.025F); par2EntityPlayer.addExhaustion(0.025F);
@ -80,7 +80,7 @@
{ {
ItemStack var8 = this.createStackedBlock(par6); ItemStack var8 = this.createStackedBlock(par6);
@@ -1099,6 +1099,376 @@ @@ -1046,6 +1046,376 @@
*/ */
public void onFallenUpon(World par1World, int par2, int par3, int par4, Entity par5Entity, float par6) {} public void onFallenUpon(World par1World, int par2, int par3, int par4, Entity par5Entity, float par6) {}

View file

@ -1,6 +1,6 @@
--- ../src_base/minecraft/net/minecraft/src/BlockChest.java 0000-00-00 00:00:00.000000000 -0000 --- ../src_base/minecraft/net/minecraft/src/BlockChest.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft/net/minecraft/src/BlockChest.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/BlockChest.java 0000-00-00 00:00:00.000000000 -0000
@@ -497,23 +497,23 @@ @@ -496,23 +496,23 @@
{ {
return true; return true;
} }

View file

@ -57,12 +57,12 @@
var9 = -50; var9 = -50;
} }
- this.func_48211_a(par1World, par2 + 1, par3, par4, 300 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2 + 1, par3, par4, 300 + var9, par5Random, var7);
- this.func_48211_a(par1World, par2 - 1, par3, par4, 300 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2 - 1, par3, par4, 300 + var9, par5Random, var7);
- this.func_48211_a(par1World, par2, par3 - 1, par4, 250 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2, par3 - 1, par4, 250 + var9, par5Random, var7);
- this.func_48211_a(par1World, par2, par3 + 1, par4, 250 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2, par3 + 1, par4, 250 + var9, par5Random, var7);
- this.func_48211_a(par1World, par2, par3, par4 - 1, 300 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2, par3, par4 - 1, 300 + var9, par5Random, var7);
- this.func_48211_a(par1World, par2, par3, par4 + 1, 300 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2, par3, par4 + 1, 300 + var9, par5Random, var7);
+ this.tryToCatchBlockOnFire(par1World, par2 + 1, par3, par4, 300 + var9, par5Random, var7, 4); + this.tryToCatchBlockOnFire(par1World, par2 + 1, par3, par4, 300 + var9, par5Random, var7, 4);
+ this.tryToCatchBlockOnFire(par1World, par2 - 1, par3, par4, 300 + var9, par5Random, var7, 5); + this.tryToCatchBlockOnFire(par1World, par2 - 1, par3, par4, 300 + var9, par5Random, var7, 5);
+ this.tryToCatchBlockOnFire(par1World, par2, par3 - 1, par4, 250 + var9, par5Random, var7, 1); + this.tryToCatchBlockOnFire(par1World, par2, par3 - 1, par4, 250 + var9, par5Random, var7, 1);
@ -72,13 +72,15 @@
for (int var10 = par2 - 1; var10 <= par2 + 1; ++var10) for (int var10 = par2 - 1; var10 <= par2 + 1; ++var10)
{ {
@@ -204,9 +204,21 @@ @@ -203,10 +203,22 @@
} }
} }
}
-
+
+ /** Deprecated for a side-sensitive version */ + /** Deprecated for a side-sensitive version */
+ @Deprecated + @Deprecated
private void func_48211_a(World par1World, int par2, int par3, int par4, int par5, Random par6Random, int par7) private void tryToCatchBlockOnFire(World par1World, int par2, int par3, int par4, int par5, Random par6Random, int par7)
{ {
- int var8 = this.abilityToCatchFire[par1World.getBlockId(par2, par3, par4)]; - int var8 = this.abilityToCatchFire[par1World.getBlockId(par2, par3, par4)];
+ tryToCatchBlockOnFire(par1World, par2, par3, par4, par5, par6Random, par7, 0); + tryToCatchBlockOnFire(par1World, par2, par3, par4, par5, par6Random, par7, 0);

View file

@ -1,6 +1,6 @@
--- ../src_base/minecraft/net/minecraft/src/BlockPistonBase.java 0000-00-00 00:00:00.000000000 -0000 --- ../src_base/minecraft/net/minecraft/src/BlockPistonBase.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft/net/minecraft/src/BlockPistonBase.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/BlockPistonBase.java 0000-00-00 00:00:00.000000000 -0000
@@ -370,7 +370,7 @@ @@ -369,7 +369,7 @@
return false; return false;
} }

View file

@ -54,22 +54,24 @@
{ {
TileEntity var8 = this.getChunkBlockTileEntity(par1, par2, par3); TileEntity var8 = this.getChunkBlockTileEntity(par1, par2, par3);
@@ -830,33 +821,31 @@ @@ -829,34 +820,33 @@
{
ChunkPosition var4 = new ChunkPosition(par1, par2, par3); ChunkPosition var4 = new ChunkPosition(par1, par2, par3);
TileEntity var5 = (TileEntity)this.chunkTileEntityMap.get(var4); TileEntity var5 = (TileEntity)this.chunkTileEntityMap.get(var4);
+
+ if (var5 != null && var5.isInvalid()) + if (var5 != null && var5.isInvalid())
+ { + {
+ chunkTileEntityMap.remove(var4); + chunkTileEntityMap.remove(var4);
+ var5 = null; + var5 = null;
+ } + }
+
if (var5 == null) if (var5 == null)
{ {
int var6 = this.getBlockID(par1, par2, par3); int var6 = this.getBlockID(par1, par2, par3);
- -
- if (var6 <= 0 || !Block.blocksList[var6].func_48205_p()) - if (var6 <= 0 || !Block.blocksList[var6].hasTileEntity())
+ int meta = getBlockMetadata(par1, par2, par3); + int meta = getBlockMetadata(par1, par2, par3);
+
+ if (var6 <= 0 || Block.blocksList[var6] == null || !Block.blocksList[var6].hasTileEntity(meta)) + if (var6 <= 0 || Block.blocksList[var6] == null || !Block.blocksList[var6].hasTileEntity(meta))
{ {
return null; return null;
@ -98,7 +100,7 @@
} }
/** /**
@@ -871,7 +860,7 @@ @@ -871,7 +861,7 @@
if (this.isChunkLoaded) if (this.isChunkLoaded)
{ {
@ -107,7 +109,7 @@
} }
} }
@@ -886,8 +875,14 @@ @@ -886,8 +876,14 @@
par4TileEntity.yCoord = par2; par4TileEntity.yCoord = par2;
par4TileEntity.zCoord = this.zPosition * 16 + par3; par4TileEntity.zCoord = this.zPosition * 16 + par3;
@ -123,7 +125,7 @@
par4TileEntity.validate(); par4TileEntity.validate();
this.chunkTileEntityMap.put(var5, par4TileEntity); this.chunkTileEntityMap.put(var5, par4TileEntity);
} }
@@ -1201,6 +1196,16 @@ @@ -1205,6 +1201,16 @@
public void func_48494_a(byte[] par1ArrayOfByte, int par2, int par3, boolean par4) public void func_48494_a(byte[] par1ArrayOfByte, int par2, int par3, boolean par4)
{ {
@ -140,7 +142,7 @@
int var5 = 0; int var5 = 0;
int var6; int var6;
@@ -1304,6 +1309,29 @@ @@ -1308,6 +1314,29 @@
TileEntity var9 = (TileEntity)var10.next(); TileEntity var9 = (TileEntity)var10.next();
var9.updateContainingBlockInfo(); var9.updateContainingBlockInfo();
} }
@ -170,7 +172,7 @@
} }
public BiomeGenBase func_48490_a(int par1, int par2, WorldChunkManager par3WorldChunkManager) public BiomeGenBase func_48490_a(int par1, int par2, WorldChunkManager par3WorldChunkManager)
@@ -1407,4 +1435,18 @@ @@ -1411,4 +1440,18 @@
} }
} }
} }

View file

@ -50,7 +50,7 @@
+ { + {
+ continue; + continue;
+ } + }
var10.setBrightness(var12.getEntityBrightnessForRender(par2)); var10.setBrightness(var12.getBrightnessForRender(par2));
var12.renderParticle(var10, par2, var3, var7, var4, var5, var6); var12.renderParticle(var10, par2, var3, var7, var4, var5, var6);
} }
@ -65,7 +65,7 @@
+ for (int y = 0; y < entry.effects.size(); y++) + for (int y = 0; y < entry.effects.size(); y++)
+ { + {
+ EntityFX entryfx = (EntityFX)entry.effects.get(y); + EntityFX entryfx = (EntityFX)entry.effects.get(y);
+ tessallator.setBrightness(entryfx.getEntityBrightnessForRender(par2)); + tessallator.setBrightness(entryfx.getBrightnessForRender(par2));
+ entryfx.renderParticle(tessallator, par2, var3, var7, var4, var5, var6); + entryfx.renderParticle(tessallator, par2, var3, var7, var4, var5, var6);
+ } + }
+ tessallator.draw(); + tessallator.draw();

View file

@ -1,6 +1,6 @@
--- ../src_base/minecraft/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000 --- ../src_base/minecraft/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000
@@ -192,4 +192,14 @@ @@ -191,4 +191,14 @@
String var2 = StatCollector.translateToLocal(this.getName()); String var2 = StatCollector.translateToLocal(this.getName());
return var2 + " " + StatCollector.translateToLocal("enchantment.level." + par1); return var2 + " " + StatCollector.translateToLocal("enchantment.level." + par1);
} }

View file

@ -1,6 +1,6 @@
--- ../src_base/minecraft/net/minecraft/src/Entity.java 0000-00-00 00:00:00.000000000 -0000 --- ../src_base/minecraft/net/minecraft/src/Entity.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft/net/minecraft/src/Entity.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/Entity.java 0000-00-00 00:00:00.000000000 -0000
@@ -177,6 +177,9 @@ @@ -173,6 +173,9 @@
*/ */
public boolean ignoreFrustumCheck; public boolean ignoreFrustumCheck;
public boolean isAirBorne; public boolean isAirBorne;
@ -10,7 +10,7 @@
public Entity(World par1World) public Entity(World par1World)
{ {
@@ -218,6 +221,20 @@ @@ -214,6 +217,20 @@
} }
protected abstract void entityInit(); protected abstract void entityInit();
@ -31,7 +31,7 @@
public DataWatcher getDataWatcher() public DataWatcher getDataWatcher()
{ {
@@ -1290,6 +1307,10 @@ @@ -1286,6 +1303,10 @@
par1NBTTagCompound.setShort("Fire", (short)this.fire); par1NBTTagCompound.setShort("Fire", (short)this.fire);
par1NBTTagCompound.setShort("Air", (short)this.getAir()); par1NBTTagCompound.setShort("Air", (short)this.getAir());
par1NBTTagCompound.setBoolean("OnGround", this.onGround); par1NBTTagCompound.setBoolean("OnGround", this.onGround);
@ -42,7 +42,7 @@
this.writeEntityToNBT(par1NBTTagCompound); this.writeEntityToNBT(par1NBTTagCompound);
} }
@@ -1331,6 +1352,10 @@ @@ -1327,6 +1348,10 @@
this.onGround = par1NBTTagCompound.getBoolean("OnGround"); this.onGround = par1NBTTagCompound.getBoolean("OnGround");
this.setPosition(this.posX, this.posY, this.posZ); this.setPosition(this.posX, this.posY, this.posZ);
this.setRotation(this.rotationYaw, this.rotationPitch); this.setRotation(this.rotationYaw, this.rotationPitch);

View file

@ -21,7 +21,7 @@
+ par1EntityPlayer.onItemPickup(this, var2); + par1EntityPlayer.onItemPickup(this, var2);
+ if (item.stackSize <= 0) + if (item.stackSize <= 0)
+ { + {
+ setEntityDead(); + setDead();
+ } + }
+ return; + return;
+ } + }

View file

@ -1,6 +1,6 @@
--- ../src_base/minecraft/net/minecraft/src/EntityLiving.java 0000-00-00 00:00:00.000000000 -0000 --- ../src_base/minecraft/net/minecraft/src/EntityLiving.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft/net/minecraft/src/EntityLiving.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/EntityLiving.java 0000-00-00 00:00:00.000000000 -0000
@@ -55,7 +55,7 @@ @@ -59,7 +59,7 @@
* in each step in the damage calculations, this is set to the 'carryover' that would result if someone was damaged * in each step in the damage calculations, this is set to the 'carryover' that would result if someone was damaged
* .25 hearts (for example), and added to the damage in the next step * .25 hearts (for example), and added to the damage in the next step
*/ */
@ -9,7 +9,7 @@
/** Number of ticks since this EntityLiving last produced its sound */ /** Number of ticks since this EntityLiving last produced its sound */
private int livingSoundTime; private int livingSoundTime;
@@ -1320,7 +1320,7 @@ @@ -1330,7 +1330,7 @@
int var2 = MathHelper.floor_double(this.boundingBox.minY); int var2 = MathHelper.floor_double(this.boundingBox.minY);
int var3 = MathHelper.floor_double(this.posZ); int var3 = MathHelper.floor_double(this.posZ);
int var4 = this.worldObj.getBlockId(var1, var2, var3); int var4 = this.worldObj.getBlockId(var1, var2, var3);

View file

@ -117,7 +117,7 @@
@@ -120,48 +160,7 @@ @@ -120,48 +160,7 @@
} }
this.setEntityDead(); this.setDead();
- this.dropItemWithOffset(Item.minecartEmpty.shiftedIndex, 1, 0.0F); - this.dropItemWithOffset(Item.minecartEmpty.shiftedIndex, 1, 0.0F);
- -
- if (this.minecartType == 1) - if (this.minecartType == 1)

View file

@ -18,14 +18,14 @@
} }
- else if (var2 != null && var2.itemID == Item.shears.shiftedIndex && this.getGrowingAge() >= 0) - else if (var2 != null && var2.itemID == Item.shears.shiftedIndex && this.getGrowingAge() >= 0)
- { - {
- this.setEntityDead(); - this.setDead();
- this.worldObj.spawnParticle("largeexplode", this.posX, this.posY + (double)(this.height / 2.0F), this.posZ, 0.0D, 0.0D, 0.0D); - this.worldObj.spawnParticle("largeexplode", this.posX, this.posY + (double)(this.height / 2.0F), this.posZ, 0.0D, 0.0D, 0.0D);
- -
- if (!this.worldObj.isRemote) - if (!this.worldObj.isRemote)
- { - {
- EntityCow var3 = new EntityCow(this.worldObj); - EntityCow var3 = new EntityCow(this.worldObj);
- var3.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - var3.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch);
- var3.setEntityHealth(this.getEntityHealth()); - var3.setEntityHealth(this.getHealth());
- var3.renderYawOffset = this.renderYawOffset; - var3.renderYawOffset = this.renderYawOffset;
- this.worldObj.spawnEntityInWorld(var3); - this.worldObj.spawnEntityInWorld(var3);
- -
@ -54,10 +54,10 @@
+ @Override + @Override
+ public ArrayList<ItemStack> onSheared(ItemStack item, World world, int X, int Y, int Z, int fortune) + public ArrayList<ItemStack> onSheared(ItemStack item, World world, int X, int Y, int Z, int fortune)
+ { + {
+ setEntityDead(); + setDead();
+ EntityCow entitycow = new EntityCow(worldObj); + EntityCow entitycow = new EntityCow(worldObj);
+ entitycow.setLocationAndAngles(posX, posY, posZ, rotationYaw, rotationPitch); + entitycow.setLocationAndAngles(posX, posY, posZ, rotationYaw, rotationPitch);
+ entitycow.setEntityHealth(getEntityHealth()); + entitycow.setEntityHealth(getHealth());
+ entitycow.renderYawOffset = renderYawOffset; + entitycow.renderYawOffset = renderYawOffset;
+ worldObj.spawnEntityInWorld(entitycow); + worldObj.spawnEntityInWorld(entitycow);
+ worldObj.spawnParticle("largeexplode", posX, posY + (double)(height / 2.0F), posZ, 0.0D, 0.0D, 0.0D); + worldObj.spawnParticle("largeexplode", posX, posY + (double)(height / 2.0F), posZ, 0.0D, 0.0D, 0.0D);

View file

@ -16,10 +16,10 @@
+ itemInUse.getItem().onUsingItemTick(itemInUse, this, itemInUseCount); + itemInUse.getItem().onUsingItemTick(itemInUse, this, itemInUseCount);
if (this.itemInUseCount <= 25 && this.itemInUseCount % 4 == 0) if (this.itemInUseCount <= 25 && this.itemInUseCount % 4 == 0)
{ {
this.func_35201_a(var1, 5); this.updateItemUse(var1, 5);
@@ -609,7 +612,16 @@ @@ -618,7 +621,16 @@
*/
public EntityItem func_48152_as() public EntityItem dropOneItem()
{ {
- return this.dropPlayerItemWithRandomChoice(this.inventory.decrStackSize(this.inventory.currentItem, 1), false); - return this.dropPlayerItemWithRandomChoice(this.inventory.decrStackSize(this.inventory.currentItem, 1), false);
+ ItemStack stack = inventory.getCurrentItem(); + ItemStack stack = inventory.getCurrentItem();
@ -35,7 +35,7 @@
} }
/** /**
@@ -674,14 +686,22 @@ @@ -684,14 +696,22 @@
/** /**
* Returns how strong the player is against the specified block at this moment * Returns how strong the player is against the specified block at this moment
@ -60,7 +60,7 @@
{ {
var3 = var2 + (float)(var4 * var4 + 1); var3 = var2 + (float)(var4 * var4 + 1);
} }
@@ -973,7 +993,11 @@ @@ -983,7 +1003,11 @@
par2 = 1 + par2 >> 1; par2 = 1 + par2 >> 1;
} }
@ -73,7 +73,7 @@
par2 = this.applyPotionDamageCalculations(par1DamageSource, par2); par2 = this.applyPotionDamageCalculations(par1DamageSource, par2);
this.addExhaustion(par1DamageSource.getHungerDamage()); this.addExhaustion(par1DamageSource.getHungerDamage());
this.health -= par2; this.health -= par2;
@@ -1004,6 +1028,10 @@ @@ -1014,6 +1038,10 @@
*/ */
public void useCurrentItemOnEntity(Entity par1Entity) public void useCurrentItemOnEntity(Entity par1Entity)
{ {
@ -84,7 +84,7 @@
if (!par1Entity.interact(this)) if (!par1Entity.interact(this))
{ {
ItemStack var2 = this.getCurrentEquippedItem(); ItemStack var2 = this.getCurrentEquippedItem();
@@ -1034,7 +1062,9 @@ @@ -1044,7 +1072,9 @@
*/ */
public void destroyCurrentEquippedItem() public void destroyCurrentEquippedItem()
{ {
@ -94,7 +94,7 @@
} }
/** /**
@@ -1063,6 +1093,15 @@ @@ -1073,6 +1103,15 @@
*/ */
public void attackTargetEntityWithCurrentItem(Entity par1Entity) public void attackTargetEntityWithCurrentItem(Entity par1Entity)
{ {
@ -110,7 +110,7 @@
if (par1Entity.canAttackWithItem()) if (par1Entity.canAttackWithItem())
{ {
int var2 = this.inventory.getDamageVsEntity(par1Entity); int var2 = this.inventory.getDamageVsEntity(par1Entity);
@@ -1205,6 +1244,12 @@ @@ -1215,6 +1254,12 @@
*/ */
public EnumStatus sleepInBedAt(int par1, int par2, int par3) public EnumStatus sleepInBedAt(int par1, int par2, int par3)
{ {
@ -123,7 +123,7 @@
if (!this.worldObj.isRemote) if (!this.worldObj.isRemote)
{ {
if (this.isPlayerSleeping() || !this.isEntityAlive()) if (this.isPlayerSleeping() || !this.isEntityAlive())
@@ -1687,6 +1732,7 @@ @@ -1697,6 +1742,7 @@
return 101; return 101;
} }
} }
@ -131,7 +131,7 @@
} }
return var3; return var3;
@@ -1857,4 +1903,30 @@ @@ -1867,4 +1913,30 @@
{ {
return !this.capabilities.isFlying; return !this.capabilities.isFlying;
} }

View file

@ -13,7 +13,7 @@
{ {
/** /**
* Holds the RGB table of the sheep colors - in OpenGL glColor3f values - used to render the sheep colored fleece. * Holds the RGB table of the sheep colors - in OpenGL glColor3f values - used to render the sheep colored fleece.
@@ -127,27 +130,6 @@ @@ -129,27 +132,6 @@
*/ */
public boolean interact(EntityPlayer par1EntityPlayer) public boolean interact(EntityPlayer par1EntityPlayer)
{ {
@ -41,7 +41,7 @@
return super.interact(par1EntityPlayer); return super.interact(par1EntityPlayer);
} }
@@ -276,4 +258,23 @@ @@ -282,4 +264,23 @@
this.setGrowingAge(var1); this.setGrowingAge(var1);
} }
} }

View file

@ -7,7 +7,7 @@
import java.util.List; import java.util.List;
import java.util.Random; import java.util.Random;
@@ -196,7 +197,10 @@ @@ -188,7 +189,10 @@
/** full name of item from language file */ /** full name of item from language file */
private String itemName; private String itemName;
@ -19,7 +19,7 @@
protected Item(int par1) protected Item(int par1)
{ {
this.shiftedIndex = 256 + par1; this.shiftedIndex = 256 + par1;
@@ -559,7 +563,7 @@ @@ -551,7 +555,7 @@
float var17 = MathHelper.sin(-var5 * 0.017453292F); float var17 = MathHelper.sin(-var5 * 0.017453292F);
float var18 = var15 * var16; float var18 = var15 * var16;
float var20 = var14 * var16; float var20 = var14 * var16;
@ -28,7 +28,7 @@
Vec3D var23 = var13.addVector((double)var18 * var21, (double)var17 * var21, (double)var20 * var21); Vec3D var23 = var13.addVector((double)var18 * var21, (double)var17 * var21, (double)var20 * var21);
MovingObjectPosition var24 = par1World.rayTraceBlocks_do_do(var13, var23, par3, !par3); MovingObjectPosition var24 = par1World.rayTraceBlocks_do_do(var13, var23, par3, !par3);
return var24; return var24;
@@ -587,4 +591,149 @@ @@ -579,4 +583,149 @@
{ {
StatList.initStats(); StatList.initStats();
} }

View file

@ -17,7 +17,7 @@
+ return; + return;
+ } + }
+ +
boolean var5 = par3EntityPlayer.capabilities.depleteBuckets || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, par1ItemStack) > 0; boolean var5 = par3EntityPlayer.capabilities.isCreativeMode || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, par1ItemStack) > 0;
if (var5 || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex)) if (var5 || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex))
@@ -103,6 +110,12 @@ @@ -103,6 +110,12 @@
@ -30,6 +30,6 @@
+ return stack; + return stack;
+ } + }
+ +
if (par3EntityPlayer.capabilities.depleteBuckets || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex)) if (par3EntityPlayer.capabilities.isCreativeMode || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex))
{ {
par3EntityPlayer.setItemInUse(par1ItemStack, this.getMaxItemUseDuration(par1ItemStack)); par3EntityPlayer.setItemInUse(par1ItemStack, this.getMaxItemUseDuration(par1ItemStack));

View file

@ -13,7 +13,7 @@
import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12; import org.lwjgl.opengl.GL12;
@@ -33,21 +39,35 @@ @@ -35,21 +41,35 @@
public void renderItem(EntityLiving par1EntityLiving, ItemStack par2ItemStack, int par3) public void renderItem(EntityLiving par1EntityLiving, ItemStack par2ItemStack, int par3)
{ {
GL11.glPushMatrix(); GL11.glPushMatrix();
@ -30,7 +30,7 @@
+ else if (customRendererOld != null) + else if (customRendererOld != null)
+ { + {
+ GL11.glBindTexture(GL11.GL_TEXTURE_2D, this.mc.renderEngine.getTexture(ForgeHooksClient.getTexture("/terrain.png", par2ItemStack.getItem()))); + GL11.glBindTexture(GL11.GL_TEXTURE_2D, this.mc.renderEngine.getTexture(ForgeHooksClient.getTexture("/terrain.png", par2ItemStack.getItem())));
+ ForgeHooksClient.renderCustomItem(customRendererOld, renderBlocksInstance, par2ItemStack.itemID, par2ItemStack.getItemDamage(), par1EntityLiving.getEntityBrightness(1.0F)); + ForgeHooksClient.renderCustomItem(customRendererOld, renderBlocksInstance, par2ItemStack.itemID, par2ItemStack.getItemDamage(), par1EntityLiving.getBrightness(1.0F));
+ } + }
+ //Deprecation End + //Deprecation End
+ else if (par2ItemStack.itemID < 256 && RenderBlocks.renderItemIn3d(Block.blocksList[par2ItemStack.itemID].getRenderType())) + else if (par2ItemStack.itemID < 256 && RenderBlocks.renderItemIn3d(Block.blocksList[par2ItemStack.itemID].getRenderType()))

View file

@ -84,7 +84,7 @@
+ ((random.nextFloat() * 2.0F - 1.0F) * 0.2F) / 0.5F, + ((random.nextFloat() * 2.0F - 1.0F) * 0.2F) / 0.5F,
+ ((random.nextFloat() * 2.0F - 1.0F) * 0.2F) / 0.5F); + ((random.nextFloat() * 2.0F - 1.0F) * 0.2F) / 0.5F);
+ } + }
+ ForgeHooksClient.renderCustomItem(customRendererOld, renderBlocks, var10.itemID, var10.getItemDamage(), par1EntityItem.getEntityBrightness(par9)); + ForgeHooksClient.renderCustomItem(customRendererOld, renderBlocks, var10.itemID, var10.getItemDamage(), par1EntityItem.getBrightness(par9));
+ GL11.glPopMatrix(); + GL11.glPopMatrix();
+ } + }
+ } + }

View file

@ -16,11 +16,11 @@
- -
+ ForgeHooksClient.beforeBlockRender(var9, blockRenderer); + ForgeHooksClient.beforeBlockRender(var9, blockRenderer);
var10.startDrawingQuads(); var10.startDrawingQuads();
var10.setTranslationD((double)((float)par2 - (float)par1TileEntityPiston.xCoord + par1TileEntityPiston.getOffsetX(par8)), (double)((float)par4 - (float)par1TileEntityPiston.yCoord + par1TileEntityPiston.getOffsetY(par8)), (double)((float)par6 - (float)par1TileEntityPiston.zCoord + par1TileEntityPiston.getOffsetZ(par8))); var10.setTranslation((double)((float)par2 - (float)par1TileEntityPiston.xCoord + par1TileEntityPiston.getOffsetX(par8)), (double)((float)par4 - (float)par1TileEntityPiston.yCoord + par1TileEntityPiston.getOffsetY(par8)), (double)((float)par6 - (float)par1TileEntityPiston.zCoord + par1TileEntityPiston.getOffsetZ(par8)));
var10.setColorOpaque(1, 1, 1); var10.setColorOpaque(1, 1, 1);
@@ -53,6 +55,7 @@ @@ -53,6 +55,7 @@
var10.setTranslationD(0.0D, 0.0D, 0.0D); var10.setTranslation(0.0D, 0.0D, 0.0D);
var10.draw(); var10.draw();
+ ForgeHooksClient.afterBlockRender(var9, blockRenderer); + ForgeHooksClient.afterBlockRender(var9, blockRenderer);
RenderHelper.enableStandardItemLighting(); RenderHelper.enableStandardItemLighting();

View file

@ -18,7 +18,7 @@
/** Option > Difficulty setting (0 - 3) */ /** Option > Difficulty setting (0 - 3) */
public int difficultySetting; public int difficultySetting;
@@ -556,7 +558,8 @@ @@ -559,7 +561,8 @@
*/ */
public boolean isAirBlock(int par1, int par2, int par3) public boolean isAirBlock(int par1, int par2, int par3)
{ {
@ -28,7 +28,7 @@
} }
/** /**
@@ -2063,7 +2066,7 @@ @@ -2066,7 +2069,7 @@
if (var7 != null) if (var7 != null)
{ {
@ -37,7 +37,7 @@
} }
} }
} }
@@ -2093,18 +2096,18 @@ @@ -2096,18 +2099,18 @@
{ {
this.loadedTileEntityList.add(var8); this.loadedTileEntityList.add(var8);
} }
@ -60,7 +60,7 @@
} }
} }
@@ -2117,13 +2120,13 @@ @@ -2120,13 +2123,13 @@
public void addTileEntity(Collection par1Collection) public void addTileEntity(Collection par1Collection)
{ {
@ -80,7 +80,7 @@
} }
} }
@@ -2322,7 +2325,14 @@ @@ -2325,7 +2328,14 @@
if (var11 == Block.fire.blockID || var11 == Block.lavaMoving.blockID || var11 == Block.lavaStill.blockID) if (var11 == Block.fire.blockID || var11 == Block.lavaMoving.blockID || var11 == Block.lavaStill.blockID)
{ {
return true; return true;
@ -96,7 +96,7 @@
} }
} }
} }
@@ -2626,25 +2636,19 @@ @@ -2629,25 +2639,19 @@
*/ */
public void setBlockTileEntity(int par1, int par2, int par3, TileEntity par4TileEntity) public void setBlockTileEntity(int par1, int par2, int par3, TileEntity par4TileEntity)
{ {
@ -134,7 +134,7 @@
} }
} }
@@ -2653,27 +2657,10 @@ @@ -2656,27 +2660,10 @@
*/ */
public void removeBlockTileEntity(int par1, int par2, int par3) public void removeBlockTileEntity(int par1, int par2, int par3)
{ {
@ -165,7 +165,7 @@
} }
} }
@@ -2699,7 +2686,8 @@ @@ -2702,7 +2689,8 @@
*/ */
public boolean isBlockNormalCube(int par1, int par2, int par3) public boolean isBlockNormalCube(int par1, int par2, int par3)
{ {
@ -175,7 +175,7 @@
} }
/** /**
@@ -2980,6 +2968,7 @@ @@ -2983,6 +2971,7 @@
} }
} }
} }
@ -183,7 +183,7 @@
Profiler.endSection(); Profiler.endSection();
@@ -3302,7 +3291,7 @@ @@ -3305,7 +3294,7 @@
private int computeBlockLightValue(int par1, int par2, int par3, int par4, int par5, int par6) private int computeBlockLightValue(int par1, int par2, int par3, int par4, int par5, int par6)
{ {
@ -192,7 +192,7 @@
int var8 = this.getSavedLightValue(EnumSkyBlock.Block, par2 - 1, par3, par4) - par6; int var8 = this.getSavedLightValue(EnumSkyBlock.Block, par2 - 1, par3, par4) - par6;
int var9 = this.getSavedLightValue(EnumSkyBlock.Block, par2 + 1, par3, par4) - par6; int var9 = this.getSavedLightValue(EnumSkyBlock.Block, par2 + 1, par3, par4) - par6;
int var10 = this.getSavedLightValue(EnumSkyBlock.Block, par2, par3 - 1, par4) - par6; int var10 = this.getSavedLightValue(EnumSkyBlock.Block, par2, par3 - 1, par4) - par6;
@@ -3834,7 +3823,10 @@ @@ -3837,7 +3826,10 @@
{ {
var8 = null; var8 = null;
} }
@ -204,9 +204,9 @@
return par1 > 0 && var8 == null && var9.canPlaceBlockOnSide(this, par2, par3, par4, par6); return par1 > 0 && var8 == null && var9.canPlaceBlockOnSide(this, par2, par3, par4, par6);
} }
} }
@@ -4435,4 +4427,39 @@ @@ -4441,4 +4433,39 @@
{ {
return this.worldInfo.getTerrainType() == WorldType.field_48636_c ? 0.0D : 63.0D; return this.worldInfo.getTerrainType() == WorldType.FLAT ? 0.0D : 63.0D;
} }
+ +
+ +

View file

@ -17,7 +17,7 @@
} }
/** /**
@@ -227,4 +229,36 @@ @@ -232,4 +234,36 @@
{ {
return false; return false;
} }

View file

@ -23,13 +23,13 @@
GL11.glScalef(var19, var19, var19); GL11.glScalef(var19, var19, var19);
GL11.glTranslatef(8.0F, 8.0F, 8.0F); GL11.glTranslatef(8.0F, 8.0F, 8.0F);
- tessellator.startDrawingQuads(); - tessellator.startDrawingQuads();
- tessellator.setTranslationD((double)(-this.posX), (double)(-this.posY), (double)(-this.posZ)); - tessellator.setTranslation((double)(-this.posX), (double)(-this.posY), (double)(-this.posZ));
+ ForgeHooksClient.beforeRenderPass(var11); + ForgeHooksClient.beforeRenderPass(var11);
+ Tessellator.instance.startDrawingQuads(); + Tessellator.instance.startDrawingQuads();
+ Tessellator.instance.setTranslationD((double)(-this.posX), (double)(-this.posY), (double)(-this.posZ)); + Tessellator.instance.setTranslation((double)(-this.posX), (double)(-this.posY), (double)(-this.posZ));
} }
- if (var11 == 0 && Block.blocksList[var18].func_48205_p()) - if (var11 == 0 && Block.blocksList[var18].hasTileEntity())
+ if (var11 == 0 && Block.blocksList[var18] != null && Block.blocksList[var18].hasTileEntity(var9.getBlockMetadata(var17, var15, var16))) + if (var11 == 0 && Block.blocksList[var18] != null && Block.blocksList[var18].hasTileEntity(var9.getBlockMetadata(var17, var15, var16)))
{ {
TileEntity var23 = var9.getBlockTileEntity(var17, var15, var16); TileEntity var23 = var9.getBlockTileEntity(var17, var15, var16);
@ -64,8 +64,8 @@
+ this.bytesDrawn += Tessellator.instance.draw(); + this.bytesDrawn += Tessellator.instance.draw();
GL11.glPopMatrix(); GL11.glPopMatrix();
GL11.glEndList(); GL11.glEndList();
- tessellator.setTranslationD(0.0D, 0.0D, 0.0D); - tessellator.setTranslation(0.0D, 0.0D, 0.0D);
+ Tessellator.instance.setTranslationD(0.0D, 0.0D, 0.0D); + Tessellator.instance.setTranslation(0.0D, 0.0D, 0.0D);
} }
else else
{ {

View file

@ -9,16 +9,16 @@
public class Block public class Block
{ {
public static final StepSound soundPowderFootstep = new StepSound("stone", 1.0F, 1.0F); public static final StepSound soundPowderFootstep = new StepSound("stone", 1.0F, 1.0F);
@@ -446,7 +448,7 @@ @@ -397,7 +399,7 @@
public boolean func_48124_n() public boolean hasTileEntity()
{ {
- return this.isBlockContainer; - return this.isBlockContainer;
+ return hasTileEntity(0); + return hasTileEntity(0);
} }
/** /**
@@ -585,12 +587,16 @@ @@ -536,12 +538,16 @@
return this.blockID; return this.blockID;
} }
@ -37,7 +37,7 @@
} }
/** /**
@@ -609,17 +615,13 @@ @@ -560,17 +566,13 @@
if (!par1World.isRemote) if (!par1World.isRemote)
{ {
int var8 = this.quantityDroppedWithBonus(par7, par1World.rand); int var8 = this.quantityDroppedWithBonus(par7, par1World.rand);
@ -59,7 +59,7 @@
} }
} }
} }
@@ -902,7 +904,7 @@ @@ -853,7 +855,7 @@
par2EntityPlayer.addStat(StatList.mineBlockStatArray[this.blockID], 1); par2EntityPlayer.addStat(StatList.mineBlockStatArray[this.blockID], 1);
par2EntityPlayer.addExhaustion(0.025F); par2EntityPlayer.addExhaustion(0.025F);
@ -68,7 +68,7 @@
{ {
ItemStack var8 = this.createStackedBlock(par6); ItemStack var8 = this.createStackedBlock(par6);
@@ -1010,6 +1012,376 @@ @@ -962,6 +964,376 @@
*/ */
public void onFallenUpon(World par1World, int par2, int par3, int par4, Entity par5Entity, float par6) {} public void onFallenUpon(World par1World, int par2, int par3, int par4, Entity par5Entity, float par6) {}

View file

@ -16,7 +16,7 @@
protected BlockFire(int par1, int par2) protected BlockFire(int par1, int par2)
{ {
@@ -42,8 +42,7 @@ @@ -44,8 +44,7 @@
*/ */
private void setBurnRate(int par1, int par2, int par3) private void setBurnRate(int par1, int par2, int par3)
{ {
@ -26,7 +26,7 @@
} }
/** /**
@@ -101,7 +100,8 @@ @@ -103,7 +102,8 @@
*/ */
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
{ {
@ -36,7 +36,7 @@
if (par1World.worldProvider instanceof WorldProviderEnd && par1World.getBlockId(par2, par3 - 1, par4) == Block.bedrock.blockID) if (par1World.worldProvider instanceof WorldProviderEnd && par1World.getBlockId(par2, par3 - 1, par4) == Block.bedrock.blockID)
{ {
@@ -130,12 +130,12 @@ @@ -132,12 +132,12 @@
if (!var6 && !this.canNeighborBurn(par1World, par2, par3, par4)) if (!var6 && !this.canNeighborBurn(par1World, par2, par3, par4))
{ {
@ -51,16 +51,16 @@
{ {
par1World.setBlockWithNotify(par2, par3, par4, 0); par1World.setBlockWithNotify(par2, par3, par4, 0);
} }
@@ -149,12 +149,12 @@ @@ -151,12 +151,12 @@
var9 = -50; var9 = -50;
} }
- this.func_48133_a(par1World, par2 + 1, par3, par4, 300 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2 + 1, par3, par4, 300 + var9, par5Random, var7);
- this.func_48133_a(par1World, par2 - 1, par3, par4, 300 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2 - 1, par3, par4, 300 + var9, par5Random, var7);
- this.func_48133_a(par1World, par2, par3 - 1, par4, 250 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2, par3 - 1, par4, 250 + var9, par5Random, var7);
- this.func_48133_a(par1World, par2, par3 + 1, par4, 250 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2, par3 + 1, par4, 250 + var9, par5Random, var7);
- this.func_48133_a(par1World, par2, par3, par4 - 1, 300 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2, par3, par4 - 1, 300 + var9, par5Random, var7);
- this.func_48133_a(par1World, par2, par3, par4 + 1, 300 + var9, par5Random, var7); - this.tryToCatchBlockOnFire(par1World, par2, par3, par4 + 1, 300 + var9, par5Random, var7);
+ this.tryToCatchBlockOnFire(par1World, par2 + 1, par3, par4, 300 + var9, par5Random, var7, 4); + this.tryToCatchBlockOnFire(par1World, par2 + 1, par3, par4, 300 + var9, par5Random, var7, 4);
+ this.tryToCatchBlockOnFire(par1World, par2 - 1, par3, par4, 300 + var9, par5Random, var7, 5); + this.tryToCatchBlockOnFire(par1World, par2 - 1, par3, par4, 300 + var9, par5Random, var7, 5);
+ this.tryToCatchBlockOnFire(par1World, par2, par3 - 1, par4, 250 + var9, par5Random, var7, 1); + this.tryToCatchBlockOnFire(par1World, par2, par3 - 1, par4, 250 + var9, par5Random, var7, 1);
@ -70,13 +70,13 @@
for (int var10 = par2 - 1; var10 <= par2 + 1; ++var10) for (int var10 = par2 - 1; var10 <= par2 + 1; ++var10)
{ {
@@ -202,9 +202,21 @@ @@ -204,9 +204,21 @@
} }
} }
+ /** Deprecated for a side-sensitive version */ + /** Deprecated for a side-sensitive version */
+ @Deprecated + @Deprecated
private void func_48133_a(World par1World, int par2, int par3, int par4, int par5, Random par6Random, int par7) private void tryToCatchBlockOnFire(World par1World, int par2, int par3, int par4, int par5, Random par6Random, int par7)
{ {
- int var8 = this.abilityToCatchFire[par1World.getBlockId(par2, par3, par4)]; - int var8 = this.abilityToCatchFire[par1World.getBlockId(par2, par3, par4)];
+ tryToCatchBlockOnFire(par1World, par2, par3, par4, par5, par6Random, par7, 0); + tryToCatchBlockOnFire(par1World, par2, par3, par4, par5, par6Random, par7, 0);
@ -93,7 +93,7 @@
if (par6Random.nextInt(par5) < var8) if (par6Random.nextInt(par5) < var8)
{ {
@@ -238,7 +250,12 @@ @@ -240,7 +252,12 @@
*/ */
private boolean canNeighborBurn(World par1World, int par2, int par3, int par4) private boolean canNeighborBurn(World par1World, int par2, int par3, int par4)
{ {
@ -107,7 +107,7 @@
} }
/** /**
@@ -254,15 +271,15 @@ @@ -256,15 +273,15 @@
} }
else else
{ {
@ -130,7 +130,7 @@
/** /**
* Returns if this block is collidable (only used by Fire). Args: x, y, z * Returns if this block is collidable (only used by Fire). Args: x, y, z
@@ -274,21 +291,24 @@ @@ -276,21 +293,24 @@
/** /**
* Checks the specified block coordinate to see if it can catch fire. Args: blockAccess, x, y, z * Checks the specified block coordinate to see if it can catch fire. Args: blockAccess, x, y, z
@ -158,7 +158,7 @@
} }
/** /**
@@ -296,7 +316,7 @@ @@ -298,7 +318,7 @@
*/ */
public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4)
{ {
@ -167,7 +167,7 @@
} }
/** /**
@@ -305,7 +325,7 @@ @@ -307,7 +327,7 @@
*/ */
public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5) public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5)
{ {
@ -176,7 +176,7 @@
{ {
par1World.setBlockWithNotify(par2, par3, par4, 0); par1World.setBlockWithNotify(par2, par3, par4, 0);
} }
@@ -318,7 +338,7 @@ @@ -320,7 +340,7 @@
{ {
if (par1World.worldProvider.worldType > 0 || par1World.getBlockId(par2, par3 - 1, par4) != Block.obsidian.blockID || !Block.portal.tryToCreatePortal(par1World, par2, par3, par4)) if (par1World.worldProvider.worldType > 0 || par1World.getBlockId(par2, par3 - 1, par4) != Block.obsidian.blockID || !Block.portal.tryToCreatePortal(par1World, par2, par3, par4))
{ {
@ -185,7 +185,7 @@
{ {
par1World.setBlockWithNotify(par2, par3, par4, 0); par1World.setBlockWithNotify(par2, par3, par4, 0);
} }
@@ -328,4 +348,46 @@ @@ -330,4 +350,46 @@
} }
} }
} }

View file

@ -88,7 +88,7 @@
{ {
var8 = true; var8 = true;
} }
@@ -395,10 +408,120 @@ @@ -396,10 +409,120 @@
} }
/** /**

View file

@ -1,6 +1,6 @@
--- ../src_base/minecraft_server/net/minecraft/src/Chunk.java 0000-00-00 00:00:00.000000000 -0000 --- ../src_base/minecraft_server/net/minecraft/src/Chunk.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft_server/net/minecraft/src/Chunk.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/Chunk.java 0000-00-00 00:00:00.000000000 -0000
@@ -511,7 +511,7 @@ @@ -529,7 +529,7 @@
{ {
Block.blocksList[var8].onBlockRemoval(this.worldObj, var11, par2, var12); Block.blocksList[var8].onBlockRemoval(this.worldObj, var11, par2, var12);
} }
@ -9,7 +9,7 @@
{ {
this.worldObj.removeBlockTileEntity(var11, par2, var12); this.worldObj.removeBlockTileEntity(var11, par2, var12);
} }
@@ -549,31 +549,23 @@ @@ -567,31 +567,23 @@
Block.blocksList[par4].onBlockAdded(this.worldObj, var11, par2, var12); Block.blocksList[par4].onBlockAdded(this.worldObj, var11, par2, var12);
} }
@ -44,30 +44,31 @@
this.isModified = true; this.isModified = true;
return true; return true;
@@ -605,7 +597,7 @@ @@ -623,7 +615,7 @@
var5.func_48585_b(par1, par2 & 15, par3, par4); var5.setExtBlockMetadata(par1, par2 & 15, par3, par4);
int var7 = var5.getExtBlockID(par1, par2 & 15, par3); int var7 = var5.getExtBlockID(par1, par2 & 15, par3);
- if (var7 > 0 && Block.blocksList[var7] instanceof BlockContainer) - if (var7 > 0 && Block.blocksList[var7] instanceof BlockContainer)
+ if (var7 > 0 && Block.blocksList[var7] != null && Block.blocksList[var7].hasTileEntity(var5.func_48598_b(par1, par2 & 15, par3))) + if (var7 > 0 && Block.blocksList[var7] != null && Block.blocksList[var7].hasTileEntity(var5.getExtBlockMetadata(par1, par2 & 15, par3)))
{ {
TileEntity var8 = this.getChunkBlockTileEntity(par1, par2, par3); TileEntity var8 = this.getChunkBlockTileEntity(par1, par2, par3);
@@ -772,33 +764,30 @@ @@ -789,34 +781,31 @@
{
ChunkPosition var4 = new ChunkPosition(par1, par2, par3); ChunkPosition var4 = new ChunkPosition(par1, par2, par3);
TileEntity var5 = (TileEntity)this.chunkTileEntityMap.get(var4); TileEntity var5 = (TileEntity)this.chunkTileEntityMap.get(var4);
+
+ if (var5 != null && var5.isInvalid()) + if (var5 != null && var5.isInvalid())
+ { + {
+ chunkTileEntityMap.remove(var4); + chunkTileEntityMap.remove(var4);
+ var5 = null; + var5 = null;
+ } + }
+
if (var5 == null) if (var5 == null)
{ {
int var6 = this.getBlockID(par1, par2, par3); int var6 = this.getBlockID(par1, par2, par3);
- -
- if (var6 <= 0 || !Block.blocksList[var6].func_48124_n()) - if (var6 <= 0 || !Block.blocksList[var6].hasTileEntity())
+ int meta = getBlockMetadata(par1, par2, par3); + int meta = getBlockMetadata(par1, par2, par3);
+ if (var6 <= 0 || Block.blocksList[var6] == null || !Block.blocksList[var6].hasTileEntity(meta)) + if (var6 <= 0 || Block.blocksList[var6] == null || !Block.blocksList[var6].hasTileEntity(meta))
{ {
@ -97,7 +98,7 @@
} }
/** /**
@@ -813,7 +802,7 @@ @@ -831,7 +820,7 @@
if (this.isChunkLoaded) if (this.isChunkLoaded)
{ {
@ -106,7 +107,7 @@
} }
} }
@@ -828,8 +817,14 @@ @@ -846,8 +835,14 @@
par4TileEntity.yCoord = par2; par4TileEntity.yCoord = par2;
par4TileEntity.zCoord = this.zPosition * 16 + par3; par4TileEntity.zCoord = this.zPosition * 16 + par3;
@ -122,7 +123,7 @@
par4TileEntity.validate(); par4TileEntity.validate();
this.chunkTileEntityMap.put(var5, par4TileEntity); this.chunkTileEntityMap.put(var5, par4TileEntity);
} }
@@ -1227,4 +1222,18 @@ @@ -1264,4 +1259,18 @@
} }
} }
} }

View file

@ -1,6 +1,6 @@
--- ../src_base/minecraft_server/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000 --- ../src_base/minecraft_server/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft_server/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000
@@ -175,4 +175,14 @@ @@ -174,4 +174,14 @@
this.name = par1Str; this.name = par1Str;
return this; return this;
} }

View file

@ -1,6 +1,6 @@
--- ../src_base/minecraft_server/net/minecraft/src/Entity.java 0000-00-00 00:00:00.000000000 -0000 --- ../src_base/minecraft_server/net/minecraft/src/Entity.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft_server/net/minecraft/src/Entity.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/Entity.java 0000-00-00 00:00:00.000000000 -0000
@@ -171,6 +171,9 @@ @@ -165,6 +165,9 @@
public boolean ignoreFrustumCheck; public boolean ignoreFrustumCheck;
public boolean isAirBorne; public boolean isAirBorne;
@ -10,7 +10,7 @@
public Entity(World par1World) public Entity(World par1World)
{ {
this.entityId = nextEntityID++; this.entityId = nextEntityID++;
@@ -212,6 +215,20 @@ @@ -206,6 +209,20 @@
protected abstract void entityInit(); protected abstract void entityInit();
@ -31,7 +31,7 @@
public DataWatcher getDataWatcher() public DataWatcher getDataWatcher()
{ {
return this.dataWatcher; return this.dataWatcher;
@@ -1188,6 +1205,10 @@ @@ -1183,6 +1200,10 @@
par1NBTTagCompound.setShort("Fire", (short)this.fire); par1NBTTagCompound.setShort("Fire", (short)this.fire);
par1NBTTagCompound.setShort("Air", (short)this.getAir()); par1NBTTagCompound.setShort("Air", (short)this.getAir());
par1NBTTagCompound.setBoolean("OnGround", this.onGround); par1NBTTagCompound.setBoolean("OnGround", this.onGround);
@ -42,7 +42,7 @@
this.writeEntityToNBT(par1NBTTagCompound); this.writeEntityToNBT(par1NBTTagCompound);
} }
@@ -1229,6 +1250,10 @@ @@ -1224,6 +1245,10 @@
this.onGround = par1NBTTagCompound.getBoolean("OnGround"); this.onGround = par1NBTTagCompound.getBoolean("OnGround");
this.setPosition(this.posX, this.posY, this.posZ); this.setPosition(this.posX, this.posY, this.posZ);
this.setRotation(this.rotationYaw, this.rotationPitch); this.setRotation(this.rotationYaw, this.rotationPitch);

View file

@ -20,7 +20,7 @@
+ par1EntityPlayer.onItemPickup(this, var2); + par1EntityPlayer.onItemPickup(this, var2);
+ if (item.stackSize <= 0) + if (item.stackSize <= 0)
+ { + {
+ setEntityDead(); + setDead();
+ } + }
+ return; + return;
+ } + }

View file

@ -1,6 +1,6 @@
--- ../src_base/minecraft_server/net/minecraft/src/EntityLiving.java 0000-00-00 00:00:00.000000000 -0000 --- ../src_base/minecraft_server/net/minecraft/src/EntityLiving.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft_server/net/minecraft/src/EntityLiving.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/EntityLiving.java 0000-00-00 00:00:00.000000000 -0000
@@ -55,7 +55,7 @@ @@ -59,7 +59,7 @@
* in each step in the damage calculations, this is set to the 'carryover' that would result if someone was damaged * in each step in the damage calculations, this is set to the 'carryover' that would result if someone was damaged
* .25 hearts (for example), and added to the damage in the next step * .25 hearts (for example), and added to the damage in the next step
*/ */
@ -9,7 +9,7 @@
/** Number of ticks since this EntityLiving last produced its sound */ /** Number of ticks since this EntityLiving last produced its sound */
private int livingSoundTime; private int livingSoundTime;
@@ -1288,7 +1288,7 @@ @@ -1298,7 +1298,7 @@
int var2 = MathHelper.floor_double(this.boundingBox.minY); int var2 = MathHelper.floor_double(this.boundingBox.minY);
int var3 = MathHelper.floor_double(this.posZ); int var3 = MathHelper.floor_double(this.posZ);
int var4 = this.worldObj.getBlockId(var1, var2, var3); int var4 = this.worldObj.getBlockId(var1, var2, var3);

View file

@ -113,10 +113,10 @@
} }
public EntityMinecart(World par1World, double par2, double par4, double par6, int par8) public EntityMinecart(World par1World, double par2, double par4, double par6, int par8)
@@ -117,48 +162,8 @@ @@ -117,48 +162,7 @@
} }
this.setEntityDead(); this.setDead();
- this.dropItemWithOffset(Item.minecartEmpty.shiftedIndex, 1, 0.0F); - this.dropItemWithOffset(Item.minecartEmpty.shiftedIndex, 1, 0.0F);
- -
- if (this.minecartType == 1) - if (this.minecartType == 1)
@ -159,12 +159,11 @@
- { - {
- this.dropItemWithOffset(Block.stoneOvenIdle.blockID, 1, 0.0F); - this.dropItemWithOffset(Block.stoneOvenIdle.blockID, 1, 0.0F);
- } - }
+
+ dropCartAsItem(); + dropCartAsItem();
} }
return true; return true;
@@ -230,7 +235,7 @@ @@ -230,7 +234,7 @@
this.func_41018_e_(this.func_41020_o() - 1); this.func_41018_e_(this.func_41020_o() - 1);
} }
@ -173,7 +172,7 @@
{ {
this.worldObj.spawnParticle("largesmoke", this.posX, this.posY + 0.8D, this.posZ, 0.0D, 0.0D, 0.0D); this.worldObj.spawnParticle("largesmoke", this.posX, this.posY + 0.8D, this.posZ, 0.0D, 0.0D, 0.0D);
} }
@@ -285,25 +290,20 @@ @@ -285,25 +289,20 @@
double var6 = 0.0078125D; double var6 = 0.0078125D;
int var8 = this.worldObj.getBlockId(var1, var2, var3); int var8 = this.worldObj.getBlockId(var1, var2, var3);
@ -202,7 +201,7 @@
if (var10 >= 2 && var10 <= 5) if (var10 >= 2 && var10 <= 5)
{ {
this.posY = (double)(var2 + 1); this.posY = (double)(var2 + 1);
@@ -346,7 +346,7 @@ @@ -346,7 +345,7 @@
this.motionZ = var22 * var16 / var18; this.motionZ = var22 * var16 / var18;
double var24; double var24;
@ -211,7 +210,7 @@
{ {
var24 = Math.sqrt(this.motionX * this.motionX + this.motionZ * this.motionZ); var24 = Math.sqrt(this.motionX * this.motionX + this.motionZ * this.motionZ);
@@ -396,36 +396,8 @@ @@ -396,36 +395,8 @@
this.posX = var26 + var14 * var24; this.posX = var26 + var14 * var24;
this.posZ = var28 + var16 * var24; this.posZ = var28 + var16 * var24;
this.setPosition(this.posX, this.posY + (double)this.yOffset, this.posZ); this.setPosition(this.posX, this.posY + (double)this.yOffset, this.posZ);
@ -250,7 +249,7 @@
if (var13[0][1] != 0 && MathHelper.floor_double(this.posX) - var1 == var13[0][0] && MathHelper.floor_double(this.posZ) - var3 == var13[0][2]) if (var13[0][1] != 0 && MathHelper.floor_double(this.posX) - var1 == var13[0][0] && MathHelper.floor_double(this.posZ) - var3 == var13[0][2])
{ {
@@ -436,41 +408,7 @@ @@ -436,41 +407,7 @@
this.setPosition(this.posX, this.posY + (double)var13[1][1], this.posZ); this.setPosition(this.posX, this.posY + (double)var13[1][1], this.posZ);
} }
@ -293,7 +292,7 @@
Vec3D var52 = this.func_182_g(this.posX, this.posY, this.posZ); Vec3D var52 = this.func_182_g(this.posX, this.posY, this.posZ);
@@ -499,30 +437,15 @@ @@ -499,30 +436,15 @@
} }
double var41; double var41;
@ -330,7 +329,7 @@
{ {
var41 = Math.sqrt(this.motionX * this.motionX + this.motionZ * this.motionZ); var41 = Math.sqrt(this.motionX * this.motionX + this.motionZ * this.motionZ);
@@ -558,41 +481,7 @@ @@ -558,41 +480,7 @@
} }
else else
{ {
@ -373,7 +372,7 @@
} }
this.rotationPitch = 0.0F; this.rotationPitch = 0.0F;
@@ -628,7 +517,18 @@ @@ -628,7 +516,18 @@
} }
this.setRotation(this.rotationYaw, this.rotationPitch); this.setRotation(this.rotationYaw, this.rotationPitch);
@ -393,7 +392,7 @@
if (var15 != null && var15.size() > 0) if (var15 != null && var15.size() > 0)
{ {
@@ -653,17 +553,8 @@ @@ -653,17 +552,8 @@
this.riddenByEntity = null; this.riddenByEntity = null;
} }
@ -413,7 +412,7 @@
} }
} }
@@ -682,14 +573,9 @@ @@ -682,14 +572,9 @@
if (BlockRail.isRailBlock(var10)) if (BlockRail.isRailBlock(var10))
{ {
@ -429,7 +428,7 @@
if (var11 >= 2 && var11 <= 5) if (var11 >= 2 && var11 <= 5)
{ {
par3 = (double)(var8 + 1); par3 = (double)(var8 + 1);
@@ -754,13 +640,13 @@ @@ -754,13 +639,13 @@
{ {
par1NBTTagCompound.setInteger("Type", this.minecartType); par1NBTTagCompound.setInteger("Type", this.minecartType);
@ -446,7 +445,7 @@
{ {
NBTTagList var2 = new NBTTagList(); NBTTagList var2 = new NBTTagList();
@@ -786,13 +672,13 @@ @@ -786,13 +671,13 @@
{ {
this.minecartType = par1NBTTagCompound.getInteger("Type"); this.minecartType = par1NBTTagCompound.getInteger("Type");
@ -463,7 +462,7 @@
{ {
NBTTagList var2 = par1NBTTagCompound.getTagList("Items"); NBTTagList var2 = par1NBTTagCompound.getTagList("Items");
this.cargoItems = new ItemStack[this.getSizeInventory()]; this.cargoItems = new ItemStack[this.getSizeInventory()];
@@ -815,11 +701,18 @@ @@ -815,11 +700,18 @@
*/ */
public void applyEntityCollision(Entity par1Entity) public void applyEntityCollision(Entity par1Entity)
{ {
@ -483,7 +482,7 @@
{ {
par1Entity.mountEntity(this); par1Entity.mountEntity(this);
} }
@@ -865,7 +758,7 @@ @@ -865,7 +757,7 @@
double var18 = par1Entity.motionX + this.motionX; double var18 = par1Entity.motionX + this.motionX;
double var20 = par1Entity.motionZ + this.motionZ; double var20 = par1Entity.motionZ + this.motionZ;
@ -492,7 +491,7 @@
{ {
this.motionX *= 0.20000000298023224D; this.motionX *= 0.20000000298023224D;
this.motionZ *= 0.20000000298023224D; this.motionZ *= 0.20000000298023224D;
@@ -873,7 +766,7 @@ @@ -873,7 +765,7 @@
par1Entity.motionX *= 0.949999988079071D; par1Entity.motionX *= 0.949999988079071D;
par1Entity.motionZ *= 0.949999988079071D; par1Entity.motionZ *= 0.949999988079071D;
} }
@ -501,7 +500,7 @@
{ {
par1Entity.motionX *= 0.20000000298023224D; par1Entity.motionX *= 0.20000000298023224D;
par1Entity.motionZ *= 0.20000000298023224D; par1Entity.motionZ *= 0.20000000298023224D;
@@ -908,7 +801,7 @@ @@ -908,7 +800,7 @@
*/ */
public int getSizeInventory() public int getSizeInventory()
{ {
@ -510,7 +509,7 @@
} }
/** /**
@@ -1011,7 +904,12 @@ @@ -1011,7 +903,12 @@
*/ */
public boolean interact(EntityPlayer par1EntityPlayer) public boolean interact(EntityPlayer par1EntityPlayer)
{ {
@ -524,7 +523,7 @@
{ {
if (this.riddenByEntity != null && this.riddenByEntity instanceof EntityPlayer && this.riddenByEntity != par1EntityPlayer) if (this.riddenByEntity != null && this.riddenByEntity instanceof EntityPlayer && this.riddenByEntity != par1EntityPlayer)
{ {
@@ -1023,14 +921,14 @@ @@ -1023,14 +920,14 @@
par1EntityPlayer.mountEntity(this); par1EntityPlayer.mountEntity(this);
} }
} }
@ -541,7 +540,7 @@
{ {
ItemStack var2 = par1EntityPlayer.inventory.getCurrentItem(); ItemStack var2 = par1EntityPlayer.inventory.getCurrentItem();
@@ -1062,7 +960,7 @@ @@ -1062,7 +959,7 @@
/** /**
* Is this minecart powered (Fuel > 0) * Is this minecart powered (Fuel > 0)
*/ */
@ -550,7 +549,7 @@
{ {
return (this.dataWatcher.getWatchableObjectByte(16) & 1) != 0; return (this.dataWatcher.getWatchableObjectByte(16) & 1) != 0;
} }
@@ -1115,4 +1013,348 @@ @@ -1115,4 +1012,348 @@
{ {
return this.dataWatcher.getWatchableObjectInt(18); return this.dataWatcher.getWatchableObjectInt(18);
} }

View file

@ -18,14 +18,14 @@
} }
- else if (var2 != null && var2.itemID == Item.shears.shiftedIndex && this.getGrowingAge() >= 0) - else if (var2 != null && var2.itemID == Item.shears.shiftedIndex && this.getGrowingAge() >= 0)
- { - {
- this.setEntityDead(); - this.setDead();
- this.worldObj.spawnParticle("largeexplode", this.posX, this.posY + (double)(this.height / 2.0F), this.posZ, 0.0D, 0.0D, 0.0D); - this.worldObj.spawnParticle("largeexplode", this.posX, this.posY + (double)(this.height / 2.0F), this.posZ, 0.0D, 0.0D, 0.0D);
- -
- if (!this.worldObj.isRemote) - if (!this.worldObj.isRemote)
- { - {
- EntityCow var3 = new EntityCow(this.worldObj); - EntityCow var3 = new EntityCow(this.worldObj);
- var3.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - var3.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch);
- var3.setEntityHealth(this.getEntityHealth()); - var3.setEntityHealth(this.getHealth());
- var3.renderYawOffset = this.renderYawOffset; - var3.renderYawOffset = this.renderYawOffset;
- this.worldObj.spawnEntityInWorld(var3); - this.worldObj.spawnEntityInWorld(var3);
- -
@ -54,10 +54,10 @@
+ @Override + @Override
+ public ArrayList<ItemStack> onSheared(ItemStack item, World world, int X, int Y, int Z, int fortune) + public ArrayList<ItemStack> onSheared(ItemStack item, World world, int X, int Y, int Z, int fortune)
+ { + {
+ setEntityDead(); + setDead();
+ EntityCow entitycow = new EntityCow(worldObj); + EntityCow entitycow = new EntityCow(worldObj);
+ entitycow.setLocationAndAngles(posX, posY, posZ, rotationYaw, rotationPitch); + entitycow.setLocationAndAngles(posX, posY, posZ, rotationYaw, rotationPitch);
+ entitycow.setEntityHealth(getEntityHealth()); + entitycow.setEntityHealth(getHealth());
+ entitycow.renderYawOffset = renderYawOffset; + entitycow.renderYawOffset = renderYawOffset;
+ worldObj.spawnEntityInWorld(entitycow); + worldObj.spawnEntityInWorld(entitycow);
+ worldObj.spawnParticle("largeexplode", posX, posY + (double)(height / 2.0F), posZ, 0.0D, 0.0D, 0.0D); + worldObj.spawnParticle("largeexplode", posX, posY + (double)(height / 2.0F), posZ, 0.0D, 0.0D, 0.0D);

View file

@ -18,8 +18,8 @@
+ itemInUse.getItem().onUsingItemTick(itemInUse, this, itemInUseCount); + itemInUse.getItem().onUsingItemTick(itemInUse, this, itemInUseCount);
if (this.itemInUseCount <= 25 && this.itemInUseCount % 4 == 0) if (this.itemInUseCount <= 25 && this.itemInUseCount % 4 == 0)
{ {
this.func_35208_b(var1, 5); this.updateItemUse(var1, 5);
@@ -355,6 +360,10 @@ @@ -361,6 +366,10 @@
*/ */
protected void closeScreen() protected void closeScreen()
{ {
@ -30,9 +30,9 @@
this.craftingInventory = this.inventorySlots; this.craftingInventory = this.inventorySlots;
} }
@@ -535,7 +544,16 @@ @@ -544,7 +553,16 @@
*/
public EntityItem func_48347_R() public EntityItem dropOneItem()
{ {
- return this.dropPlayerItemWithRandomChoice(this.inventory.decrStackSize(this.inventory.currentItem, 1), false); - return this.dropPlayerItemWithRandomChoice(this.inventory.decrStackSize(this.inventory.currentItem, 1), false);
+ ItemStack stack = inventory.getCurrentItem(); + ItemStack stack = inventory.getCurrentItem();
@ -48,7 +48,7 @@
} }
/** /**
@@ -600,10 +618,18 @@ @@ -609,10 +627,18 @@
/** /**
* Returns how strong the player is against the specified block at this moment * Returns how strong the player is against the specified block at this moment
@ -68,7 +68,7 @@
float var3 = var2; float var3 = var2;
int var4 = EnchantmentHelper.getEfficiencyModifier(this.inventory); int var4 = EnchantmentHelper.getEfficiencyModifier(this.inventory);
@@ -899,7 +925,11 @@ @@ -908,7 +934,11 @@
par2 = 1 + par2 >> 1; par2 = 1 + par2 >> 1;
} }
@ -81,7 +81,7 @@
par2 = this.applyPotionDamageCalculations(par1DamageSource, par2); par2 = this.applyPotionDamageCalculations(par1DamageSource, par2);
this.addExhaustion(par1DamageSource.getHungerDamage()); this.addExhaustion(par1DamageSource.getHungerDamage());
this.health -= par2; this.health -= par2;
@@ -930,6 +960,10 @@ @@ -939,6 +969,10 @@
*/ */
public void useCurrentItemOnEntity(Entity par1Entity) public void useCurrentItemOnEntity(Entity par1Entity)
{ {
@ -92,7 +92,7 @@
if (!par1Entity.interact(this)) if (!par1Entity.interact(this))
{ {
ItemStack var2 = this.getCurrentEquippedItem(); ItemStack var2 = this.getCurrentEquippedItem();
@@ -960,7 +994,9 @@ @@ -969,7 +1003,9 @@
*/ */
public void destroyCurrentEquippedItem() public void destroyCurrentEquippedItem()
{ {
@ -102,7 +102,7 @@
} }
/** /**
@@ -989,6 +1025,16 @@ @@ -998,6 +1034,16 @@
*/ */
public void attackTargetEntityWithCurrentItem(Entity par1Entity) public void attackTargetEntityWithCurrentItem(Entity par1Entity)
{ {
@ -119,7 +119,7 @@
if (par1Entity.canAttackWithItem()) if (par1Entity.canAttackWithItem())
{ {
int var2 = this.inventory.getDamageVsEntity(par1Entity); int var2 = this.inventory.getDamageVsEntity(par1Entity);
@@ -1127,6 +1173,12 @@ @@ -1136,6 +1182,12 @@
*/ */
public EnumStatus sleepInBedAt(int par1, int par2, int par3) public EnumStatus sleepInBedAt(int par1, int par2, int par3)
{ {
@ -132,7 +132,7 @@
if (!this.worldObj.isRemote) if (!this.worldObj.isRemote)
{ {
if (this.isPlayerSleeping() || !this.isEntityAlive()) if (this.isPlayerSleeping() || !this.isEntityAlive())
@@ -1708,4 +1760,16 @@ @@ -1717,4 +1769,16 @@
{ {
return !this.capabilities.isFlying; return !this.capabilities.isFlying;
} }

View file

@ -59,7 +59,7 @@
this.playerNetServerHandler.sendPacket(new Packet100OpenWindow(this.currentWindowId, 5, par1TileEntityBrewingStand.getInvName(), par1TileEntityBrewingStand.getSizeInventory())); this.playerNetServerHandler.sendPacket(new Packet100OpenWindow(this.currentWindowId, 5, par1TileEntityBrewingStand.getInvName(), par1TileEntityBrewingStand.getSizeInventory()));
this.craftingInventory = new ContainerBrewingStand(this.inventory, par1TileEntityBrewingStand); this.craftingInventory = new ContainerBrewingStand(this.inventory, par1TileEntityBrewingStand);
this.craftingInventory.windowId = this.currentWindowId; this.craftingInventory.windowId = this.currentWindowId;
@@ -794,4 +804,38 @@ @@ -797,4 +807,38 @@
EntityTracker var2 = this.mcServer.getEntityTracker(this.dimension); EntityTracker var2 = this.mcServer.getEntityTracker(this.dimension);
var2.sendPacketToTrackedPlayersAndTrackedEntity(this, new Packet18Animation(par1Entity, 7)); var2.sendPacketToTrackedPlayersAndTrackedEntity(this, new Packet18Animation(par1Entity, 7));
} }

View file

@ -13,7 +13,7 @@
{ {
/** /**
* Holds the RGB table of the sheep colors - in OpenGL glColor3f values - used to render the sheep colored fleece. * Holds the RGB table of the sheep colors - in OpenGL glColor3f values - used to render the sheep colored fleece.
@@ -97,27 +100,6 @@ @@ -99,27 +102,6 @@
*/ */
public boolean interact(EntityPlayer par1EntityPlayer) public boolean interact(EntityPlayer par1EntityPlayer)
{ {
@ -41,7 +41,7 @@
return super.interact(par1EntityPlayer); return super.interact(par1EntityPlayer);
} }
@@ -246,4 +228,23 @@ @@ -252,4 +234,23 @@
this.setGrowingAge(var1); this.setGrowingAge(var1);
} }
} }

View file

@ -7,7 +7,7 @@
import java.util.Random; import java.util.Random;
public class Item public class Item
@@ -199,6 +200,9 @@ @@ -191,6 +192,9 @@
/** full name of item from language file */ /** full name of item from language file */
private String itemName; private String itemName;
@ -17,7 +17,7 @@
protected Item(int par1) protected Item(int par1)
{ {
@@ -500,6 +504,10 @@ @@ -492,6 +496,10 @@
float var18 = var15 * var16; float var18 = var15 * var16;
float var20 = var14 * var16; float var20 = var14 * var16;
double var21 = 5.0D; double var21 = 5.0D;
@ -28,7 +28,7 @@
Vec3D var23 = var13.addVector((double)var18 * var21, (double)var17 * var21, (double)var20 * var21); Vec3D var23 = var13.addVector((double)var18 * var21, (double)var17 * var21, (double)var20 * var21);
MovingObjectPosition var24 = par1World.rayTraceBlocks_do_do(var13, var23, par3, !par3); MovingObjectPosition var24 = par1World.rayTraceBlocks_do_do(var13, var23, par3, !par3);
return var24; return var24;
@@ -517,4 +525,149 @@ @@ -509,4 +517,149 @@
{ {
StatList.initStats(); StatList.initStats();
} }

View file

@ -8,7 +8,7 @@
public class ItemBow extends Item public class ItemBow extends Item
{ {
public ItemBow(int par1) public ItemBow(int par1)
@@ -14,6 +16,10 @@ @@ -14,6 +16,11 @@
*/ */
public void onPlayerStoppedUsing(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, int par4) public void onPlayerStoppedUsing(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, int par4)
{ {
@ -16,10 +16,11 @@
+ { + {
+ return; + return;
+ } + }
boolean var5 = par3EntityPlayer.capabilities.depleteBuckets || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, par1ItemStack) > 0; +
boolean var5 = par3EntityPlayer.capabilities.isCreativeMode || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, par1ItemStack) > 0;
if (var5 || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex)) if (var5 || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex))
@@ -103,6 +109,12 @@ @@ -103,6 +110,12 @@
*/ */
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
{ {
@ -29,6 +30,6 @@
+ return stack; + return stack;
+ } + }
+ +
if (par3EntityPlayer.capabilities.depleteBuckets || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex)) if (par3EntityPlayer.capabilities.isCreativeMode || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex))
{ {
par3EntityPlayer.setItemInUse(par1ItemStack, this.getMaxItemUseDuration(par1ItemStack)); par3EntityPlayer.setItemInUse(par1ItemStack, this.getMaxItemUseDuration(par1ItemStack));

View file

@ -74,7 +74,7 @@
WorldServer var4 = this.mcServer.getWorldManager(par1EntityPlayerMP.dimension); WorldServer var4 = this.mcServer.getWorldManager(par1EntityPlayerMP.dimension);
par1EntityPlayerMP.dimension = par2; par1EntityPlayerMP.dimension = par2;
@@ -292,33 +301,14 @@ @@ -292,33 +301,14 @@
par1EntityPlayerMP.playerNetServerHandler.sendPacket(new Packet9Respawn(par1EntityPlayerMP.dimension, (byte)par1EntityPlayerMP.worldObj.difficultySetting, var5.getWorldInfo().getTerrainType(), var5.getWorldHeight(), par1EntityPlayerMP.itemInWorldManager.getGameType())); par1EntityPlayerMP.playerNetServerHandler.sendPacket(new Packet9Respawn(par1EntityPlayerMP.dimension, (byte)par1EntityPlayerMP.worldObj.difficultySetting, var5.getWorldInfo().getTerrainType(), var5.getHeight(), par1EntityPlayerMP.itemInWorldManager.getGameType()));
var4.removePlayer(par1EntityPlayerMP); var4.removePlayer(par1EntityPlayerMP);
par1EntityPlayerMP.isDead = false; par1EntityPlayerMP.isDead = false;
- double var6 = par1EntityPlayerMP.posX; - double var6 = par1EntityPlayerMP.posX;

View file

@ -18,7 +18,7 @@
/** Whether monsters are enabled or not. (1 = on, 0 = off) */ /** Whether monsters are enabled or not. (1 = on, 0 = off) */
public int difficultySetting; public int difficultySetting;
@@ -349,7 +351,8 @@ @@ -352,7 +354,8 @@
*/ */
public boolean isAirBlock(int par1, int par2, int par3) public boolean isAirBlock(int par1, int par2, int par3)
{ {
@ -28,7 +28,7 @@
} }
public boolean func_48084_h(int par1, int par2, int par3) public boolean func_48084_h(int par1, int par2, int par3)
@@ -1595,7 +1598,7 @@ @@ -1598,7 +1601,7 @@
if (var7 != null) if (var7 != null)
{ {
@ -37,7 +37,7 @@
} }
} }
} }
@@ -1625,14 +1628,16 @@ @@ -1628,14 +1631,16 @@
{ {
this.loadedTileEntityList.add(var8); this.loadedTileEntityList.add(var8);
} }
@ -56,7 +56,7 @@
} }
} }
@@ -1649,13 +1654,13 @@ @@ -1652,13 +1657,13 @@
public void addTileEntity(Collection par1Collection) public void addTileEntity(Collection par1Collection)
{ {
@ -76,7 +76,7 @@
} }
} }
@@ -1900,6 +1905,13 @@ @@ -1903,6 +1908,13 @@
if (var11 == Block.fire.blockID || var11 == Block.lavaMoving.blockID || var11 == Block.lavaStill.blockID) if (var11 == Block.fire.blockID || var11 == Block.lavaMoving.blockID || var11 == Block.lavaStill.blockID)
{ {
return true; return true;
@ -90,7 +90,7 @@
} }
} }
} }
@@ -2183,25 +2195,21 @@ @@ -2186,25 +2198,21 @@
*/ */
public void setBlockTileEntity(int par1, int par2, int par3, TileEntity par4TileEntity) public void setBlockTileEntity(int par1, int par2, int par3, TileEntity par4TileEntity)
{ {
@ -129,7 +129,7 @@
} }
} }
@@ -2210,27 +2218,10 @@ @@ -2213,27 +2221,10 @@
*/ */
public void removeBlockTileEntity(int par1, int par2, int par3) public void removeBlockTileEntity(int par1, int par2, int par3)
{ {
@ -160,7 +160,7 @@
} }
} }
@@ -2256,7 +2247,8 @@ @@ -2259,7 +2250,8 @@
*/ */
public boolean isBlockNormalCube(int par1, int par2, int par3) public boolean isBlockNormalCube(int par1, int par2, int par3)
{ {
@ -170,7 +170,7 @@
} }
/** /**
@@ -2531,6 +2523,7 @@ @@ -2534,6 +2526,7 @@
} }
} }
} }
@ -178,7 +178,7 @@
Profiler.endSection(); Profiler.endSection();
@@ -2853,7 +2846,7 @@ @@ -2856,7 +2849,7 @@
private int computeBlockLightValue(int par1, int par2, int par3, int par4, int par5, int par6) private int computeBlockLightValue(int par1, int par2, int par3, int par4, int par5, int par6)
{ {
@ -187,7 +187,7 @@
int var8 = this.getSavedLightValue(EnumSkyBlock.Block, par2 - 1, par3, par4) - par6; int var8 = this.getSavedLightValue(EnumSkyBlock.Block, par2 - 1, par3, par4) - par6;
int var9 = this.getSavedLightValue(EnumSkyBlock.Block, par2 + 1, par3, par4) - par6; int var9 = this.getSavedLightValue(EnumSkyBlock.Block, par2 + 1, par3, par4) - par6;
int var10 = this.getSavedLightValue(EnumSkyBlock.Block, par2, par3 - 1, par4) - par6; int var10 = this.getSavedLightValue(EnumSkyBlock.Block, par2, par3 - 1, par4) - par6;
@@ -3339,6 +3332,11 @@ @@ -3342,6 +3335,11 @@
{ {
var8 = null; var8 = null;
} }
@ -199,7 +199,7 @@
return par1 > 0 && var8 == null && var9.canPlaceBlockOnSide(this, par2, par3, par4, par6); return par1 > 0 && var8 == null && var9.canPlaceBlockOnSide(this, par2, par3, par4, par6);
} }
@@ -3846,4 +3844,38 @@ @@ -3849,4 +3847,38 @@
{ {
return this.getChunkProvider().findClosestStructure(this, par1Str, par2, par3, par4); return this.getChunkProvider().findClosestStructure(this, par1Str, par2, par3, par4);
} }

View file

@ -19,7 +19,7 @@
/** /**
@@ -139,4 +141,36 @@ @@ -139,4 +141,36 @@
{ {
return this.terrainType == WorldType.field_48458_c ? 4 : 64; return this.terrainType == WorldType.FLAT ? 4 : 64;
} }
+ +
+ /** + /**