From 340eede26ca6ecd357b3a725a1a0ce13c5dee687 Mon Sep 17 00:00:00 2001 From: Eloraam Date: Mon, 12 Mar 2012 15:38:09 -0400 Subject: [PATCH] MCP Update. Fixed a few small bugs in the linux scripts. --- forge/conf/fields.csv | 919 ++++++++++-------- forge/conf/methods.csv | 918 +++++++++-------- .../net/minecraft/src/Block.java.patch | 24 +- .../net/minecraft/src/BlockButton.java.patch | 12 +- .../net/minecraft/src/BlockChest.java.patch | 2 +- .../net/minecraft/src/BlockLever.java.patch | 10 +- .../minecraft/src/BlockPistonBase.java.patch | 2 +- .../minecraft/src/BlockTrapDoor.java.patch | 8 +- .../net/minecraft/src/BlockVine.java.patch | 2 +- .../net/minecraft/src/Chunk.java.patch | 22 +- .../minecraft/src/ChunkProvider.java.patch | 4 +- .../net/minecraft/src/Entity.java.patch | 2 +- .../net/minecraft/src/EntityLiving.java.patch | 4 +- .../minecraft/src/EntityMinecart.java.patch | 72 +- .../net/minecraft/src/EntityPlayer.java.patch | 24 +- .../net/minecraft/src/Explosion.java.patch | 4 +- .../net/minecraft/src/Item.java.patch | 6 +- .../net/minecraft/src/ItemBow.java.patch | 2 +- .../net/minecraft/src/ItemTool.java.patch | 8 +- .../minecraft/src/NetClientHandler.java.patch | 6 +- .../minecraft/src/NetworkManager.java.patch | 2 +- .../net/minecraft/src/TileEntity.java.patch | 2 +- .../src/TileEntityBrewingStand.java.patch | 2 +- .../src/TileEntityFurnace.java.patch | 8 +- .../net/minecraft/src/World.java.patch | 26 +- .../net/minecraft/src/Block.java.patch | 18 +- .../net/minecraft/src/BlockDoor.java.patch | 6 +- .../minecraft/src/BlockPistonBase.java.patch | 2 +- .../net/minecraft/src/BlockRail.java.patch | 31 +- .../src/BlockRedstoneRepeater.java.patch | 4 +- .../net/minecraft/src/BlockVine.java.patch | 2 +- .../net/minecraft/src/Chunk.java.patch | 16 +- .../minecraft/src/ChunkProvider.java.patch | 4 +- .../net/minecraft/src/Enchantment.java.patch | 2 +- .../src/EnchantmentHelper.java.patch | 2 +- .../net/minecraft/src/Entity.java.patch | 10 +- .../net/minecraft/src/EntityItem.java.patch | 4 +- .../net/minecraft/src/EntityLiving.java.patch | 2 +- .../minecraft/src/EntityMinecart.java.patch | 70 +- .../net/minecraft/src/EntityPlayer.java.patch | 26 +- .../minecraft/src/EntityPlayerMP.java.patch | 14 +- .../net/minecraft/src/EntitySheep.java.patch | 8 +- .../net/minecraft/src/Item.java.patch | 6 +- .../net/minecraft/src/ItemBow.java.patch | 6 +- .../net/minecraft/src/ItemTool.java.patch | 2 +- .../minecraft/src/NetServerHandler.java.patch | 3 +- .../minecraft/src/NetworkManager.java.patch | 4 +- .../net/minecraft/src/RailLogic.java.patch | 14 +- .../net/minecraft/src/SlotCrafting.java.patch | 2 +- .../minecraft/src/SpawnerAnimals.java.patch | 2 +- .../net/minecraft/src/TileEntity.java.patch | 2 +- .../src/TileEntityBrewingStand.java.patch | 2 +- .../src/TileEntityFurnace.java.patch | 8 +- .../net/minecraft/src/World.java.patch | 26 +- .../minecraft/src/WorldProvider.java.patch | 6 +- .../minecraft/src/WorldProviderEnd.java.patch | 2 +- .../src/WorldProviderHell.java.patch | 2 +- .../net/minecraft/src/WorldServer.java.patch | 4 +- forge/setup.sh | 1 - forge/update_patches.sh | 2 +- 60 files changed, 1290 insertions(+), 1116 deletions(-) diff --git a/forge/conf/fields.csv b/forge/conf/fields.csv index 206ecd943..a8f3c8230 100644 --- a/forge/conf/fields.csv +++ b/forge/conf/fields.csv @@ -24,9 +24,9 @@ field_1052_A,sendQueue,0,The packets that need to be sent to the server. field_1053_F,entitySpawnQueue,0,Contains all entities for this client that were not spawned due to a non-present chunk. The game will attempt to spawn up to 10 pending entities with each subsequent tick until the spawn queue is empty. field_1054_E,lockTimestamp,0,Contains a timestamp from when the World object was created. Is used in the session.lock file field_1055_D,entityHashSet,0,The hash set of entities handled by this client. Uses the entity's ID as the hash set's key. -field_1056_C,scheduledTickSet,0, +field_1056_C,scheduledTickSet,0,Set of scheduled ticks (used for checking if a tick already exists) field_1057_z,blocksToReceive,0,"Contains a list of blocks to to receive and process after they've been 'accepted' by the client (i.e., not invalidated)." -field_1058_B,scheduledTickTreeSet,0, +field_1058_B,scheduledTickTreeSet,0,TreeSet of scheduled ticks which is used as a priority queue for the ticks field_1059_b,chunkZ,0, field_1060_a,chunkX,0, field_1061_d,worldObj,0,Reference to the World object. @@ -157,7 +157,7 @@ field_12253_e,exploder,0, field_12254_d,explosionZ,0, field_12255_c,explosionY,0, field_12256_b,explosionX,0, -field_12257_a,isFlaming,0, +field_12257_a,isFlaming,0,whether or not the explosion sets fire to blocks around it field_12258_e,networkSocket,0,The socket used by this network manager. field_12259_z,lastServer,0,The lastServer string. field_1225_i,playerViewY,0, @@ -336,7 +336,7 @@ field_1445_n,sortedWorldRenderers,0, field_1446_m,worldRenderersToUpdate,0, field_1447_l,renderEngine,0,The RenderEngine instance used by RenderGlobal field_1448_k,worldObj,0,A reference to the World object. -field_1449_j,frustrumCheckOffset,0,The offset used to determine if a renderer is one of the sixteenth that are being updated this frame +field_1449_j,frustumCheckOffset,0,The offset used to determine if a renderer is one of the sixteenth that are being updated this frame field_1450_i,damagePartialTime,0,Damage partial time field_1451_h,prevSortZ,0,Previous Z position when the renderers were sorted. (Once the distance moves more than 4 units they will be resorted) field_1452_g,prevSortY,0,Previous y position when the renderers were sorted. (Once the distance moves more than 4 units they will be resorted) @@ -470,7 +470,7 @@ field_1620_a,craftMatrix,0,The crafting matrix inventory. field_1621_b,craftResult,0,"The crafting result, size 1." field_1622_a,craftMatrix,0,The crafting matrix inventory (3x3). field_1623_z,sizeX,0, -field_1624_y,title,0, +field_1624_y,title,0,Painting Title. field_1632_C,offsetY,0, field_1634_B,offsetX,0, field_1636_A,sizeY,0, @@ -602,7 +602,7 @@ field_198_d,modelBoat,0,instance of ModelBoat for rendering field_199_d,rand,0,RNG. field_20003_a,itemIconIndex,0,"Have the icon index (in items.png) that will be used to render the image. Currently, eggs and snowballs uses this classes." field_20006_b,xDisplayPosition,0,display position of the inventory slot on the screen x axis -field_20007_a,slotNumber,0, +field_20007_a,slotNumber,0,the id of the slot(also the index in the inventory arraylist) field_20008_c,yDisplayPosition,0,display position of the inventory slot on the screen y axis field_20017_a,adjacentTreeBlocks,0, field_20018_j,creationTimeMillis,0,the system time in milliseconds when this packet was created. @@ -634,8 +634,8 @@ field_20043_c,myItemStack,0,Item stack field_20044_c,itemDamage,0,The health of the item. field_20047_bv,skinUrl,0,downloadable location of player's skin field_20067_q,playerCloakUrl,0, -field_20068_h,craftingInventory,0, -field_20069_g,inventorySlots,0, +field_20068_h,craftingInventory,0,the crafting inventory you are currently using +field_20069_g,inventorySlots,0,the crafting inventory in you get when opening your inventory field_20071_b,slotsCount,0, field_20072_a,inventoryTitle,0, field_20074_c,inventoryContents,0, @@ -647,9 +647,9 @@ field_20098_h,bipedEars,0, field_200_e,random,0,The RNG used in RenderItem (for bobbing itemstacks on the ground) field_20105_z,RENDER_DISTANCES,0, field_20106_A,DIFFICULTIES,0, -field_20121_g,crafters,0, -field_20122_e,inventorySlots,0, -field_20123_d,inventoryItemStacks,0, +field_20121_g,crafters,0,list of all people that need to be notified when this craftinventory changes +field_20122_e,inventorySlots,0,the list of all slots in the inventory +field_20123_d,inventoryItemStacks,0,the list of all items(stacks) for the corresponding slot field_20124_c,isLocalWorld,0,Determines if inventory manipulation should be handled. field_20125_a,lowerChestInventory,0, field_20126_b,lastCookTime,0, @@ -679,6 +679,7 @@ field_20901_a,courseChangeCooldown,0, field_20902_c,waypointY,0, field_20913_d,minecartType,0,"The type of minecart, 2 for powered, 1 for storage." field_20914_E,entityList,0,"Contains all entities for this client, both spawned and non-spawned." +field_20917_a,transactionID,0, field_20919_a,mcFrame,0,Reference to the main frame. field_20920_e,mainModel,0, field_20921_a,healAmount,0,The amount this food item heals the player. @@ -788,7 +789,7 @@ field_22023_b,repeaterState,0,The states in which the redstone repeater blocks c field_22024_a,repeaterTorchOffset,0,The offsets for the two torches in redstone repeater blocks. field_22025_c,isRepeaterPowered,0,Tells whether the repeater is powered or not field_22033_a,headBlockToFootBlockMap,0,Maps the head-of-bed block to the foot-of-bed block. -field_22037_a,blockStepTypes,0, +field_22037_a,blockStepTypes,0,The list of the types of step blocks. field_22044_b,bedX,0, field_22045_a,entityID,0, field_22047_d,bedZ,0, @@ -835,7 +836,7 @@ field_22145_q,worldInfo,0,"holds information about a world (size on disk, time, field_22146_A,allPlayersSleeping,0,A flag indicating whether or not all players in the world are sleeping. field_22147_p,saveHandler,0, field_22155_b,saveDirectory,0,The path to the current savegame directory -field_22156_a,logger,0, +field_22156_a,logger,0,Reference to the logger. field_22157_d,initializationTime,0,The time in milliseconds when this field was initialized. Stored in the session lock file. field_22158_c,playersDirectory,0,The directory in which to save player information field_22165_b,displayName,0,the displayed name of this save file @@ -850,7 +851,7 @@ field_221_o,swordSteel,0, field_22212_b,fileName,0, field_22213_a,emptySector,0, field_22214_h,lastModified,0, -field_22215_g,sizeDelta,0, +field_22215_g,sizeDelta,0,McRegion sizeDelta field_22216_f,sectorFree,0, field_22217_e,chunkTimestamps,0, field_22218_d,offsets,0, @@ -971,9 +972,9 @@ field_22383_g,aoLightValueXNeg,0,Light value one block less in x axis field_22384_f,lightValueOwn,0,Light value of the block itself field_22385_e,enableAO,0,Whether ambient occlusion is enabled or not field_22391_a,nightSpawnEntities,0,An array of entity classes that spawn at night. -field_22394_b,posY,0, +field_22394_b,posY,0,the y coordinate field_22395_a,posX,0, -field_22396_c,posZ,0, +field_22396_c,posZ,0,the z coordinate field_223_m,ingotIron,0, field_224_l,diamond,0, field_225_k,coal,0, @@ -1012,7 +1013,7 @@ field_25022_a,particleScaleOverTime,0, field_25049_a,looksWithInterest,0,"This flag is set when the wolf is looking at a player with interest, i.e. with tilted head. This happens when tamed wolf is wound and player holds porkchop (raw or cooked), or when wild wolf sees bone in player's hands." field_25050_i,prevTimeWolfIsShaking,0, field_25051_h,timeWolfIsShaking,0,This time increases while wolf is shaking and emitting water particles. -field_25053_f,isShaking,0, +field_25053_f,isShaking,0,true is the wolf is wet else false field_25062_c,isEditable,0, field_25064_t,spawnableWaterCreatureList,0,Holds the classes of any aquatic creature that can be spawned in the water of the biome. field_25065_s,spawnableCreatureList,0,Holds the classes of any creature that can be spawned in the biome as friendly creature. @@ -1069,30 +1070,30 @@ field_25148_H,guiScale,0,GUI scale field_25158_z,objectCraftStats,0,Tracks the number of items a given block or item has been crafted. field_25159_y,mineBlockStatArray,0, field_25160_x,fishCaughtStat,0, -field_25161_w,playerKillsStat,0, -field_25162_v,mobKillsStat,0, -field_25163_u,deathsStat,0, +field_25161_w,playerKillsStat,0,counts the number of times you've killed a player +field_25162_v,mobKillsStat,0,the number of mobs you have killed +field_25163_u,deathsStat,0,the number of times you have died field_25164_E,itemStatsInitialized,0, -field_25165_t,damageTakenStat,0, +field_25165_t,damageTakenStat,0,the amount of damage you have taken field_25166_D,blockStatsInitialized,0, -field_25167_s,damageDealtStat,0, -field_25168_r,dropStat,0, +field_25167_s,damageDealtStat,0,the amount of damage you've dealt +field_25168_r,dropStat,0,the distance you've dropped (or times you've fallen?) field_25169_C,oneShotStats,0,Tracks one-off stats. field_25170_B,objectBreakStats,0,Tracks the number of times a given block or item has been broken. -field_25171_q,jumpStat,0, +field_25171_q,jumpStat,0,the times you've jumped field_25172_A,objectUseStats,0,Tracks the number of times a given block or item has been used. -field_25173_p,distanceDoveStat,0, -field_25174_o,distanceFlownStat,0, -field_25175_n,distanceClimbedStat,0, -field_25176_m,distanceFallenStat,0, -field_25177_l,distanceSwumStat,0, -field_25178_k,distanceWalkedStat,0, -field_25179_j,minutesPlayedStat,0, -field_25180_i,leaveGameStat,0, -field_25181_h,joinMultiplayerStat,0, -field_25182_g,loadWorldStat,0, -field_25183_f,createWorldStat,0, -field_25184_e,startGameStat,0, +field_25173_p,distanceDoveStat,0,the distance you've dived +field_25174_o,distanceFlownStat,0,the distance you've flown +field_25175_n,distanceClimbedStat,0,the distance you've climbed +field_25176_m,distanceFallenStat,0,the distance you have fallen +field_25177_l,distanceSwumStat,0,distance you have swam +field_25178_k,distanceWalkedStat,0,distance you've walked +field_25179_j,minutesPlayedStat,0,number of minutes you have played +field_25180_i,leaveGameStat,0,number of times you've left a game +field_25181_h,joinMultiplayerStat,0,number of times you've joined a multiplayer world +field_25182_g,loadWorldStat,0,the number of times you have loaded a world +field_25183_f,createWorldStat,0,times a world has been created +field_25184_e,startGameStat,0,times the game has been started field_25185_d,objectMineStats,0,Tracks the number of times a given block or item has been mined. field_25186_c,itemStats,0, field_25187_b,generalStats,0, @@ -1192,7 +1193,7 @@ field_27169_E,thunderingStrength,0, field_27170_D,prevThunderingStrength,0, field_27171_C,rainingStrength,0, field_27172_i,lightningFlash,0,"If > 0, the sky and skylight colors are illuminated by a lightning flash" -field_27173_e,weatherEffects,0, +field_27173_e,weatherEffects,0,a list of all the lightning entities field_27188_d,statsSyncher,0, field_27190_b,row,0, field_27191_a,column,0, @@ -1239,9 +1240,9 @@ field_27341_a,enumJsonNodeTypeMappingArray,0,A mapping helper array for EnumJson field_27342_h,advancedOpengl,0,Advanced OpenGL field_27344_a,mc,0,Minecraft instance field_27359_a,valueGetter,0, -field_27362_t,distanceByPigStat,0, -field_27363_s,distanceByBoatStat,0, -field_27364_r,distanceByMinecartStat,0, +field_27362_t,distanceByPigStat,0,the distance you've traveled by pig +field_27363_s,distanceByBoatStat,0,the distance you've traveled by boat +field_27364_r,distanceByMinecartStat,0,the distance you've traveled by minecart field_27365_z,maxArtTitleLength,0,Holds the maximum length of paintings art title. field_27372_b,slotStatsItemGUI,0, field_27373_a,statsGUI,0, @@ -1287,7 +1288,7 @@ field_279_ah,legsDiamond,0, field_28004_R,hasCrashed,0, field_28005_H,hasPaidCheckTime,0,time in milliseconds when TheadCheckHasPaid determined you have not paid. 0 if you have paid. Used in GuiAchievement whether to display the nag text. field_28010_bb,map,0,ItemMap -field_28016_bK,ignoreFrustrumCheck,0,Render entity even if it is outside the camera frustum. Only true in EntityFish for now. Used in RenderGlobal: render if ignoreFrustumCheck or in frustum +field_28016_bK,ignoreFrustumCheck,0,Render entity even if it is outside the camera frustum. Only true in EntityFish for now. Used in RenderGlobal: render if ignoreFrustumCheck or in frustum. field_28017_a,record,0,ID of record which is in Jukebox field_28019_h,inData,0, field_28020_a,doesArrowBelongToPlayer,0, @@ -1344,7 +1345,7 @@ field_28159_a,intArray,0, field_28160_d,fontRenderer,0, field_28161_c,gameSettings,0, field_28167_b,dirty,0,Whether this MapDataBase needs saving to disk. -field_28168_a,mapName,0, +field_28168_a,mapName,0,The name of the map data nbt field_28173_i,playersVisibleOnMap,0, field_28176_f,colors,0,colours field_28177_e,scale,0, @@ -1443,7 +1444,7 @@ field_318_a,blockType,0,the type of block this seed turns into (wheat or pumpkin field_319_a,weaponDamage,0, field_320_a,spawnID,0,The ID of the block the reed will spawn when used from inventory bar. field_321_a,doorMaterial,0, -field_323_aZ,damageVsEntity,0, +field_323_aZ,damageVsEntity,0,Damage versus entities. field_324_aY,efficiencyOnProperMaterial,0, field_325_aX,blocksEffectiveAgainst,0,Array of blocks the tool has extra effect against. field_326_aX,blocksEffectiveAgainst,0,an array of the blocks this spade is effective against @@ -1477,7 +1478,9 @@ field_35026_i,componentType,0,The type ID of this component. field_35035_b,doorType,0,'randomly chosen opening type to use' field_35044_a,doorType,0, field_35046_a,doorType,0, +field_35054_a,doorType,0, field_35062_a,doorType,0, +field_35064_a,doorType,0, field_35065_a,chidStructures,0, field_35067_d,sectionCount,0,A count of the different sections of this mine. The space between ceiling supports. field_35068_b,hasSpiders,0, @@ -1525,8 +1528,8 @@ field_35156_h,numUsingPlayers,0,the number of players currently using this chest field_35168_bw,jumpMovementFactor,0,A factor used to determine how far this entity will move each tick if it is jumping or falling. field_35169_bv,landMovementFactor,0,"A factor used to determine how far this entity will move each tick if it is walking on land. Adjusted by speed, and slipperiness of the current block." field_35170_bR,activePotionsMap,0, -field_35171_bJ,experienceValue,0, -field_35172_bP,arrowHitTempCounter,0, +field_35171_bJ,experienceValue,0,The experience points the Entity gives. +field_35172_bP,arrowHitTempCounter,0,"Set to 60 when hit by the player or the player's wolf, then decrements. Used to determine whether the entity should drop items on death." field_35173_bQ,arrowHitTimer,0, field_35174_at,fleeingTick,0,Used to make a creature speed up and wander away when hit. field_35184_d,teleportDelay,0,Counter to delay the teleportation of an enderman towards the currently attacked target @@ -1560,7 +1563,7 @@ field_35237_d,posZ,0, field_35238_e,xpValue,0,The Orbs Experience points value. field_35239_b,posX,0, field_35240_c,posY,0, -field_35241_a,entityId,0, +field_35241_a,entityId,0,Entity ID for the XP Orb field_35242_d,worldHeight,0,Defaults to 128 field_35243_e,creativeMode,0,"0 for survival, 1 for creative" field_35244_b,respawnDimension,0, @@ -1572,9 +1575,9 @@ field_35251_h,maxPlayers,0,The maximum players. field_35252_b,effectId,0,The ID of the effect which is being removed from an entity. field_35253_a,entityId,0,The ID of the entity which an effect is being removed from. field_35254_a,randomId,0, -field_35255_b,isConnected,0, +field_35255_b,isConnected,0,Byte that tells whether the player is connected. field_35256_c,ping,0, -field_35257_a,playerName,0, +field_35257_a,playerName,0,The player's name. field_35258_d,duration,0, field_35259_b,effectId,0, field_35260_c,effectAmp,0,amplifier @@ -1703,7 +1706,7 @@ field_35503_c,chunkSeed,0,"final part of the LCG prng that uses the chunk X, Z c field_35504_a,parent,0,parent GenLayer that was provided via the constructor field_35509_b,allowedBiomes,0,this sets all the biomes that are allowed to appear in the overworld field_35521_b,gameType,0,"The game mode, 1 for creative, 0 for survival." -field_35522_c,mapFeaturesEnabled,0, +field_35522_c,mapFeaturesEnabled,0,"Switch for the map features. 'true' for enabled, 'false' for disabled." field_35523_a,seed,0,The seed for the map. field_35536_f,starve,0, field_35537_g,cactus,0, @@ -1727,8 +1730,8 @@ field_35563_f,biomeCache,0,The BiomeCache object for this world. field_35564_g,biomesToSpawnIn,0,A list of biomes that the player can spawn in. field_35580_d,percentUseable,0,percent of the hasharray that can be used without hash colliding probably field_35581_e,modCount,0,count of times elements have been added/removed -field_35582_b,numHashElements,0, -field_35583_c,capacity,0, +field_35582_b,numHashElements,0,the number of elements in the hash array +field_35583_c,capacity,0,the maximum amount of elements in the hash (probably 3/4 the size due to meh hashing function) field_35584_a,hashArray,0,the array of all elements in the hash field_35589_a,lootArray,0,'Contains stuff you might find in chests' field_35590_d,itemWeight,0,The Weight is how often the item is chosen(higher number is higher chance(lower is lower)) @@ -1744,8 +1747,8 @@ field_35601_a,server,0,The server getting checked field_35604_d,villagePiecesLimit,0, field_35605_b,villagePieceWeight,0, field_35606_c,villagePiecesSpawned,0, -field_35607_a,villagePieceClass,0, -field_35608_v,snipeSkeleton,0, +field_35607_a,villagePieceClass,0,The Class object for the represantation of this village piece. +field_35608_v,snipeSkeleton,0,The achievement for killing a Skeleton from 50 meters aways. field_35611_a,instance,0,The static instance of ChestItemRenderHelper. field_35615_d,instancesLimit,0,'How many Structure Pieces of this type may spawn in a structure' field_35616_b,pieceWeight,0,"'This basically keeps track of the 'epicness' of a structure. Epic structure components have a higher 'weight', and Structures may only grow up to a certain 'weight' before generation is stopped'" @@ -1754,7 +1757,7 @@ field_35618_a,pieceClass,0, field_35619_a,doorEnum,0, field_35623_b,responseTime,0,Player response time to server in milliseconds field_35624_a,name,0,The string value of the object -field_35625_d,worldObj,0, +field_35625_d,worldObj,0,This world object. field_35631_e,coordMap,0, field_35632_f,ranBiomeCheck,0,is spawned false and set true once the defined BiomeGenBases were compared with the present ones field_35633_g,structureCoords,0, @@ -1768,28 +1771,28 @@ field_35656_e,zPosition,0,The z coordinate of the BiomeCacheBlock. field_35657_b,rainfallValues,0,An array of chunk rainfall values saved by this cache. field_35658_c,biomes,0,The array of biome types stored in this BiomeCacheBlock. field_35659_a,temperatureValues,0,An array of chunk temperatures saved by this cache. -field_35670_H,id,0, -field_35671_I,name,0, +field_35670_H,id,0,The Id of a Potion object. +field_35671_I,name,0,The name of the Potion. field_35672_f,digSlowdown,0, field_35673_g,damageBoost,0, field_35674_d,moveSlowdown,0, field_35675_e,digSpeed,0, field_35677_c,moveSpeed,0, -field_35678_a,potionTypes,0, -field_35679_n,fireResistance,0, -field_35680_o,waterBreathing,0, -field_35681_l,regeneration,0, +field_35678_a,potionTypes,0,The array of potion types. +field_35679_n,fireResistance,0,The fire resistance Potion object. +field_35680_o,waterBreathing,0,The water breathing Potion object. +field_35681_l,regeneration,0,The regeneration Potion object. field_35682_m,resistance,0, field_35683_j,jump,0, field_35684_k,confusion,0, field_35685_h,heal,0, field_35686_i,harm,0, -field_35689_u,poison,0, -field_35690_t,weakness,0, -field_35691_s,hunger,0, -field_35692_r,nightVision,0, -field_35693_q,blindness,0, -field_35694_p,invisibility,0, +field_35689_u,poison,0,The poison Potion object. +field_35690_t,weakness,0,The weakness Potion object. +field_35691_s,hunger,0,The hunger Potion object. +field_35692_r,nightVision,0,The night vision Potion object. +field_35693_q,blindness,0,The blindness Potion object. +field_35694_p,invisibility,0,The invisibility Potion object. field_356_bn,blockMaterial,0,Block material definition. field_35709_b,selectedBlockMetaData,0, field_35710_a,selectedBlockId,0, @@ -1801,23 +1804,23 @@ field_35728_d,cache,0,The list of cached BiomeCacheBlocks field_35729_b,lastCleanupTime,0,"The last time this BiomeCache was cleaned, in milliseconds." field_35730_c,cacheMap,0,"The map of keys to BiomeCacheBlocks. Keys are based on the chunk x, z coordinates as (x | z << 32)." field_35731_a,chunkManager,0,Reference to the WorldChunkManager -field_35748_f,maxZ,0, -field_35749_d,maxX,0, -field_35750_e,maxY,0, -field_35751_b,minY,0, -field_35752_c,minZ,0, -field_35753_a,minX,0, +field_35748_f,maxZ,0,The second z coordinate of a bounding box. +field_35749_d,maxX,0,The second x coordinate of a bounding box. +field_35750_e,maxY,0,The second y coordinate of a bounding box. +field_35751_b,minY,0,The first y coordinate of a bounding box. +field_35752_c,minZ,0,The first z coordinate of a bounding box. +field_35753_a,minX,0,The first x coordinate of a bounding box. field_35754_b,depthBits,0,Log base 2 of the chunk height (128); applied as a shift on Z coordinate field_35755_c,depthBitsPlusFour,0,Log base 2 of the chunk height (128) * width (16); applied as a shift on X coordinate field_35756_d,depleteBuckets,0,Used by ItemBucket to say if it should empty when used or not. field_35757_b,isFlying,0,Sets/indicates whether the player is flying. field_35758_c,allowFlying,0,whether or not to allow the player to fly when they double jump. field_35759_a,disableDamage,0,Disables player damage. -field_35772_d,foodTimer,0, +field_35772_d,foodTimer,0,The player's food timer value. field_35773_e,prevFoodLevel,0, -field_35774_b,foodSaturationLevel,0, -field_35775_c,foodExhaustionLevel,0, -field_35776_a,foodLevel,0, +field_35774_b,foodSaturationLevel,0,The player's food saturation. +field_35775_c,foodExhaustionLevel,0,The player's food exhaustion. +field_35776_a,foodLevel,0,The player's food level. field_35785_d,currentServerMaxPlayers,0, field_35786_c,playerNames,0,An ArrayList of all the player names on the current server field_35787_k,playerInfoMap,0,A HashMap of all player names and their player information objects @@ -1870,11 +1873,11 @@ field_35889_B,currentWorld,0,The world the BiomeDecorator is currently decoratin field_35890_C,randomGenerator,0,The Biome Decorator's random number generator. field_35891_f,coalGen,0, field_35892_g,ironGen,0, -field_35893_d,dirtGen,0, +field_35893_d,dirtGen,0,The dirt generator. field_35894_e,gravelGen,0, -field_35895_b,sandGen,0, -field_35896_c,gravelAsSandGen,0, -field_35897_a,clayGen,0, +field_35895_b,sandGen,0,The sand generator. +field_35896_c,gravelAsSandGen,0,The gravel generator. +field_35897_a,clayGen,0,The clay generator. field_35898_n,mushroomBrownGen,0,Field that holds mushroomBrown WorldGenFlowers field_35899_o,mushroomRedGen,0,Field that holds mushroomRed WorldGenFlowers field_358_bl,stepSound,0,Sound of stepping on the block @@ -1896,7 +1899,7 @@ field_35914_z,sandPerChunk2,0,The number of sand patches to generate per chunk. field_35915_y,sandPerChunk,0,The number of sand patches to generate per chunk. Sand patches only generate when part of it is underwater. field_35916_x,cactiPerChunk,0,The number of cactus plants to generate per chunk. Cacti only work on sand. field_35919_q,mapFeaturesEnabled,0,are map structures going to be generated (e.g. strongholds) -field_35920_p,gameType,0, +field_35920_p,gameType,0,"Indicates the type of the game. 0 for survival, 1 for creative." field_35931_U,aoBrightnessXYZPNN,0,Ambient occlusion brightness XYZPNN field_35932_T,aoBrightnessYZNP,0,Ambient occlusion brightness YZNP field_35933_W,aoBrightnessXYZPNP,0,Ambient occlusion brightness XYZPNP @@ -1966,7 +1969,9 @@ field_40004_N,debugUpdateTime,0,Approximate time (in ms) of last update to debug field_40005_O,fpsCounter,0,holds the current fps field_40006_ak,debugProfilerName,0,Profiler currently displayed in the debug screen pie chart field_40007_r,standardGalacticFontRenderer,0, +field_40009_b,portalRoom,0, field_40011_b,doorType,0, +field_40015_a,hasSpawner,0, field_40024_a,fillSeed,0, field_40027_a,hasSpawner,0, field_40055_d,ingredientID,0, @@ -2295,7 +2300,7 @@ field_4083_a,portalParticleScale,0, field_4084_r,portalPosZ,0, field_4085_q,portalPosY,0, field_4086_p,portalPosX,0, -field_4088_k,ticksCatchable,0, +field_4088_k,ticksCatchable,0,the number of ticks remaining until this fish can no longer be caught field_4089_j,ticksInAir,0, field_408_an,tnt,0, field_4090_i,ticksInGround,0, @@ -2359,12 +2364,18 @@ field_4157_a,liquidBlockId,0,The ID of the liquid block used in this liquid gene field_4158_a,hellLavaID,0,Stores ID for WorldGenHellLava field_4159_s,netherCaveGenerator,0, field_415_ag,mushroomBrown,0,Was mushroomKingBolete +field_4160_r,netherrackExclusivityNoise,0,Holds the noise used to determine whether something other than netherrack can be generated at a location field_4161_q,gravelNoise,0, +field_4162_p,slowsandNoise,0,Holds the noise used to determine whether slowsand can be generated at a location field_4164_n,worldObj,0,Is the world that the nether is getting generated. +field_4165_m,netherrackExculsivityNoiseGen,0,Determines whether something other than nettherack can be generated at a location +field_4166_l,slowsandGravelNoiseGen,0,Determines whether slowsand or gravel can be generated at a location +field_4169_i,netherNoiseGen1,0,A NoiseGeneratorOctaves used in generating nether terrain field_416_af,plantRed,0,Was rose field_4170_h,hellRNG,0, field_4179_v,biomesForGeneration,0,The biomes that are used to generate the chunk field_417_ae,plantYellow,0,Was dandelion +field_4180_q,noiseArray,0,Holds the overall noise array used in chunk generation field_4181_h,noise6,0,A double array that holds terrain noise from noiseGen6 field_4182_g,noise5,0,A double array that hold terrain noise from noiseGen5 field_4183_f,noise2,0,A double array that hold terrain noise from noiseGen2 @@ -2497,6 +2508,8 @@ field_46062_c,secondaryColor,0,Color of the egg spots field_46063_a,spawnedID,0,The entityID of the spawned mob field_46067_b,terrainType,0, field_46085_a,mutexBits,0,"A bitmask telling which other tasks may not run concurrently. The test is a simple bitwise AND - if it yields zero, the two tasks may run concurrently, if not - they must run exclusively from each other." +field_46086_d,idleTime,0,A decrementing tick that stops the entity from being idle once it reaches 0. +field_46089_a,idleEntity,0,The entity that is looking idle. field_46094_c,entityTarget,0, field_46095_a,worldObj,0, field_460_a,numAdjacentSources,0,Number of horizontally adjacent liquid source blocks. Diagonal doesn't count. Only source blocks of the same liquid as the block using the field are counted. @@ -2531,10 +2544,12 @@ field_472_j,isChunkDataPacket,0,"Only true for Packet51MapChunk, Packet52MultiBl field_478_b,zPosition,0,Chunk Z position. field_479_a,xPosition,0,Chunk X position. field_480_f,size,0,The size of the arrays. +field_48102_d,lastAttackingEntity,0, field_48103_c,revengeTimer,0, field_48105_bU,targetTasks,0, -field_48106_as,aiTarget,0,The active target the Task system uses for tracking +field_48106_as,attackTarget,0,The active target the Task system uses for tracking field_48107_ar,navigator,0, +field_48108_aq,bodyHelper,0, field_48109_aw,maximumHomeDistance,0,If -1 there is no maximum distance field_48110_av,homePosition,0, field_48121_a,villageObj,0, @@ -2543,9 +2558,26 @@ field_48131_b,randomTickDivider,0, field_48132_c,isMatingFlag,0, field_48133_a,villageObj,0, field_48146_a,aiSit,0, +field_48193_b,woodMetadata,0,Sets the metadata for the wood blocks used +field_48194_c,leavesMetadata,0,Sets the metadata for the leaves used in huge trees field_481_e,metadataArray,0,The metadata for each block changed. +field_48207_bU,isBlockContainer,0,true if the Block contains a Tile Entity field_48208_bT,needsRandomTick,0,Flags whether or not this block is of a type that needs random ticking. Ref-counted by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake. +field_48209_bL,redstoneLampU,0,Redstone Lamp (unpowered state) +field_48210_bM,redstoneLampP,0,Redstone Lamp (powered state) +field_48236_b,creeperAttackTarget,0,The creeper's attack target. This is used for the changing of the creeper's state. +field_48237_a,swellingCreeper,0,The creeper that is swelling. +field_48249_a,childAnimal,0,The child that is following its parent. +field_48250_b,leapTarget,0,The entity that the leaper is leaping towards. +field_48251_c,leapMotionY,0,The entity's motionY after leaping. +field_48252_a,leaper,0,The entity that is leaping. field_48256_a,entityObj,0, +field_48277_a,temptedEntity,0,The entity using this AI that is tempted by the player. +field_48278_l,scaredByPlayerMovement,0,Whether the entity using this AI will be scared by the tempter's sudden movement. +field_48281_k,breedingFood,0,This field saves the ID of the items that can be used to breed entities with this behaviour. +field_48282_h,temptingPlayer,0,The player that is tempting the entity that is using this AI. +field_48283_i,delayTemptCounter,0,A counter that is decremented each time the shouldExecute method is called. The shouldExecute method will always return false if delayTemptCounter is greater than 0. +field_48295_b,closestEntity,0,The closest entity which is being watched by this one. field_48340_d,worldObj,0, field_48341_e,matingTimeout,0, field_48342_b,villagerObj,0, @@ -2555,16 +2587,31 @@ field_48357_b,targetVillager,0, field_48359_a,villagerObj,0, field_48364_b,frontDoor,0, field_48365_a,entityObj,0, +field_48368_g,rangedAttackID,0,The ID of this ranged attack AI. This chooses which entity is to be used as a ranged attack. +field_48369_d,rangedAttackTime,0,A decrementing tick that spawns a ranged attack once this value reaches 0. It is then set back to the maxRangedAttackTime. field_48371_b,entityHost,0,The entity the AI instance has been applied to field_48372_c,attackTarget,0, +field_48374_h,maxRangedAttackTime,0,The maximum time the AI has to wait before peforming another ranged attack. +field_48382_c,taskOwner,0,The entity that this task belongs to +field_48384_b,villageAgressorTarget,0,The aggressor of the iron golem's village which is now the golem's attack target. field_48385_a,irongolem,0, +field_48399_a,eatGrassTick,0,A decrementing tick used for the sheep's head offset and animation. +field_48416_w,jungle,0, +field_48417_x,jungleHills,0,Jungle Hills biome +field_48438_bD,expBottle,0,Bottle o' Enchanting. Drops between 1 and 3 experience orbs when thrown. +field_48439_bE,fireballCharge,0,Fire Charge. When used in a dispenser it fires a fireball similiar to a Ghast's. +field_48448_d,chunkSaveLocation,0,Save directory for chunks using the Anvil format field_48465_A,villageCollectionObj,0, field_48466_O,villageSiegeObj,0, field_48482_b,canSeeCachePositive,0, field_48483_c,canSeeCacheNegative,0, field_48484_a,entityObj,0, field_484_b,xPosition,0,The X axis relative movement. +field_48502_j,entityLists,0,Array of Lists containing the entities in this Chunk. Each List represents a 16 block subchunk. +field_48503_s,queuedLightChecks,0,"Contains the current round-robin relight check index, and is implied as the relight check location as well." +field_48504_q,blockBiomeArray,0,Contains a 16x16 mapping on the X/Z plane of the biome ID to which each colum belongs. field_48505_p,storageArrays,0,"Used to store block IDs, block MSBs, Sky-light maps, Block-light maps, and metadata. Each entry corresponds to a logical segment of 16x16x16 blocks, stacked vertically." +field_48506_f,stringToIDMapping,0,Maps entity names to their numeric identifiers field_48509_b,depthBits,0, field_48510_c,depthBitsPlusFour,0, field_48511_a,data,0, @@ -2599,6 +2646,7 @@ field_48602_f,data,0, field_48603_g,blocks,0, field_48604_d,blockLight,0, field_48605_e,skyLight,0, +field_48606_b,terrainPopulated,0, field_48607_c,heightmap,0, field_48608_a,lastUpdated,0, field_48609_l,z,0, @@ -2611,12 +2659,15 @@ field_48616_g,isPathingInWater,0, field_48617_e,isWoddenDoorAllowed,0,should the PathFinder go through wodden door blocks field_48618_h,canEntityDrown,0,tells the FathFinder to not stop pathing underwater field_48649_b,currentPathIndex,0,PathEntity Array Index the Entity is currently targeting +field_48681_f,noSunPathfind,0, field_486_g,rotating,0,Boolean set to true if the entity is rotating. +field_48716_f,blockMetadataArray,0,Stores the metadata associated with blocks in this ExtendedBlockStorage. field_48717_g,blocklightArray,0,The NibbleArray containing a block of Block-light data. field_48718_d,blockLSBArray,0,Contains the least significant 8 bits of each block ID belonging to this block storage's parent Chunk. field_48719_e,blockMSBArray,0,Contains the most significant 4 bits of each block ID belonging to this block storage's parent Chunk. field_48720_b,blockRefCount,0,A total count of the number of non-air blocks in this block storage's Chunk. field_48721_c,tickRefCount,0,Contains the number of blocks in this block storage's parent chunk that require random ticking. Used to cull the Chunk from random tick updates for performance reasons. +field_48722_a,yBase,0,Contains the bottom-most Y block represented by this ExtendedBlockStorage. Typically a multiple of 16. field_48723_h,skylightArray,0,The NibbleArray containing a block of Sky-light data. field_487_f,pitch,0,The Y axis rotation. field_488_e,yaw,0,The X axis rotation. @@ -2696,8 +2747,8 @@ field_566_a,xPosition,0, field_567_e,itemStack,0, field_568_d,direction,0,The offset to use for block/item placement. field_569_c,zPosition,0, -field_570_b,itemID,0, -field_571_a,entityID,0, +field_570_b,itemID,0,Equipped item (-1 for empty slot). +field_571_a,entityID,0,Entity ID of the object. field_580_b,collectorEntityId,0,The entity that picked up the one from the ground. field_581_a,collectedEntityId,0,The entity on the ground that was picked up. field_582_a,reason,0,Displayed to the client when the connection terminates. @@ -2861,8 +2912,11 @@ field_671_a,smokeParticleScale,0, field_672_a,flameScale,0,the scale of the flame FX field_673_a,reddustParticleScale,0, field_674_a,lavaParticleScale,0, +field_675_a,entityToPickUp,0, +field_676_r,yOffset,0, field_677_q,maxAge,0, field_678_p,age,0, +field_679_o,entityPickingUp,0, field_680_i,ticksInAir,0,the amount of time an arrow has been in the air field_681_h,ticksInGround,0,the time until an arrow dies field_682_g,shootingEntity,0,The owner of this arrow. @@ -2951,7 +3005,7 @@ field_877_f,height,0, field_878_e,heightLimit,0, field_879_d,basePos,0, field_880_c,worldObj,0,Reference to the World object. -field_881_b,rand,0, +field_881_b,rand,0,random seed for GenBigTree field_882_a,otherCoordPairs,0,"Contains three sets of two values that provide complimentary indices for a given 'major' index - 1 and 2 for 0, 0 and 2 for 1, and 0 and 1 for 2." field_883_b,numberOfBlocks,0,The number of blocks to generate. field_884_a,minableBlockId,0,The block ID of the ore to be placed using this generator. @@ -3078,15 +3132,15 @@ field_9340_ai,moveForward,0, field_9341_H,prevSwingProgress,0, field_9342_ah,moveStrafing,0, field_9344_ag,entityAge,0,"Holds the living entity age, used to control the despawn." -field_9346_af,naturalArmorRating,0, +field_9346_af,naturalArmorRating,0,intrinsic armor level for entity field_9347_E,scoreValue,0,"The score value of the Mob, the amount of points the mob is worth." field_934_b,height,0,The height of this control. field_9350_ad,newRotationPitch,0,The new yaw rotation to be applied to the entity. -field_9351_C,entityType,0, +field_9351_C,entityType,0,a string holding the type of entity it is currently only implemented in entityPlayer(as 'humanoid') field_9352_ac,newRotationYaw,0,The new yaw rotation to be applied to the entity. field_9354_ab,newPosZ,0,The new Z position to be applied to the entity. field_9356_aa,newPosY,0,The new Y position to be applied to the entity. -field_9357_z,texture,0, +field_9357_z,texture,0,the path for the texture of this entityLiving field_935_a,width,0,The width of this control. field_9366_o,heartsHalvesLife,0, field_9368_k,swingProgressInt,0, @@ -3134,7 +3188,7 @@ field_9411_o,minecartYaw,0, field_9412_n,minecartZ,0, field_9413_m,minecartY,0, field_9414_l,minecartX,0, -field_9415_k,turnProgress,0, +field_9415_k,turnProgress,0,appears to be the progress of the turn field_9416_g,pushZ,0, field_9417_f,pushX,0, field_9418_e,fuel,0, @@ -3144,14 +3198,14 @@ field_9420_i,recordPlaying,0,The string specifying which record music is playing field_9421_h,updateCounter,0, field_9422_g,mc,0, field_9423_f,rand,0, -field_9426_L,ambientTickCountdown,0, +field_9426_L,ambientTickCountdown,0,number of ticks until the next random ambients play field_9427_K,activeChunkSet,0,Positions to update field_9428_I,collidingBoundingBoxes,0, field_942_l,idFloat,0,Additional ID for this slider control. field_9430_x,findingSpawnPoint,0,Boolean that is set to true when trying to find a spawn point field_9434_r,worldAccesses,0, field_9435_j,autosavePeriod,0, -field_9436_h,DIST_HASH_MAGIC,0, +field_9436_h,DIST_HASH_MAGIC,0,magic number used to generate fast random numbers for 3d distribution within a chunk field_9437_g,updateLCG,0,"Contains the current Linear Congruential Generator seed for block updates. Used with an A value of 3 and a C value of 0x3c6ef35f, producing a highly planar series of values ill-suited for choosing random blocks in a 16x128x16 field." field_9438_k,netClientHandler,0, field_9439_j,isHittingBlock,0,Tells if the player is hitting a block @@ -3335,8 +3389,8 @@ field_149_c,xPosition,1,The player's X position. field_15004_bw,ticksOfInvuln,1,how many ticks of invulnerability(spawn protection) this player has field_15005_a,blockIndex,1, field_150_a,message,1,The message being sent. -field_151_b,chunkZPos,1, -field_152_a,chunkXPos,1, +field_151_b,chunkZPos,1,The Z position of this Chunk Coordinate Pair +field_152_a,chunkXPos,1,The X position of this Chunk Coordinate Pair field_166_m,ingotIron,1, field_167_l,diamond,1, field_168_k,coal,1, @@ -3393,17 +3447,18 @@ field_20071_a,stackResult,1,A list of one item containing the result of the craf field_20074_f,itemStack,1, field_20076_a,stackList,1,List of the stacks in the crafting matrix. field_20077_c,eventHandler,1,Class containing the callbacks for the events on_GUIClosed and on_CraftMaxtrixChanged. -field_20096_b,inventory,1, +field_20096_b,inventory,1,The inventory we want to extract a slot from. field_20097_a,slotIndex,1,The index of the slot in the inventory. field_20098_e,yDisplayPosition,1,display position of the inventory slot on the screen y axis field_20099_d,xDisplayPosition,1,display position of the inventory slot on the screen x axis field_20100_c,slotNumber,1,the id of the slot(also the index in the inventory arraylist) -field_20101_b,inventory,1, -field_20102_a,armorType,1, +field_20101_b,inventory,1,The inventory we want to extract a slot from. +field_20102_a,armorType,1,"The armor type that can be placed on that slot, it uses the same values of armorType field on ItemArmor." field_20103_a,craftMatrix,1,The craft matrix inventory linked to this result slot. field_20108_a,craftingManager,1, field_20113_b,recipeItems,1, field_20114_a,recipePatterns,1, +field_20132_a,transactionID,1, field_20133_g,crafters,1,list of all people that need to be notified when this craftinventory changes field_20134_f,windowId,1, field_20135_e,inventorySlots,1,the list of all slots in the inventory @@ -3476,12 +3531,12 @@ field_21052_ar,randomMotionVecX,1, field_21055_ao,randomMotionSpeed,1, field_21056_an,lastTentacleAngle,1,the last calculated angle of the tentacles in radians field_21057_am,tentacleAngle,1,angle of the tentacles in radians -field_21071_a,fleeceColorTable,1, +field_21071_a,fleeceColorTable,1,Holds the RGB table of the sheep colors - in OpenGL glColor3f values - used to render the sheep colored fleece. field_21076_f,previousRedstoneState,1,stores the latest redstone state field_21077_e,note,1,Note to play -field_21080_f,dispenserRandom,1, +field_21080_f,dispenserRandom,1,random number generator for instance. Used in random item stack selection. field_21081_e,dispenserContents,1, -field_21085_b,inventoryWidth,1, +field_21085_b,inventoryWidth,1,the width of the crafting inventory field_21094_bf,hasSubtypes,1,"Some items (like dyes) have multiple subtypes on same item, this is field define this behavior" field_21095_aW,sugar,1, field_21096_aV,bone,1, @@ -3489,20 +3544,20 @@ field_21097_aU,dyePowder,1, field_21098_aX,cake,1, field_21099_a,dyeColorNames,1,List of dye color names field_21100_y,cake,1,"Cake's material, see BlockCake" -field_21106_g,isPeacefulCreature,1, +field_21106_g,isPeacefulCreature,1,A flag indicating whether this creature type is peaceful. field_21107_f,creatureMaterial,1, field_21108_e,maxNumberOfCreature,1, field_21109_d,creatureClass,1,"The root class of creatures associated with this EnumCreatureType (IMobs for aggressive creatures, EntityAnimals for friendly ones)" -field_21120_L,spawnPeacefulMobs,1, +field_21120_L,spawnPeacefulMobs,1,A flag indicating whether we should spawn peaceful mobs. field_21121_K,spawnHostileMobs,1,indicates if enemies are spawned or not field_21133_a,tileEntityDispenser,1, -field_21137_b,recipeItems,1, -field_21138_a,recipeOutput,1, -field_21140_b,recipeWidth,1, -field_21141_a,recipeOutputItemID,1, -field_21142_e,recipeOutput,1, -field_21143_d,recipeItems,1, -field_21144_c,recipeHeight,1, +field_21137_b,recipeItems,1,Is a List of ItemStack that composes the recipe. +field_21138_a,recipeOutput,1,Is the ItemStack that you get when craft the recipe. +field_21140_b,recipeWidth,1,How many horizontal slots this recipe is wide. +field_21141_a,recipeOutputItemID,1,Is the itemID of the output item that you get when craft the recipe. +field_21142_e,recipeOutput,1,Is the ItemStack that you get when craft the recipe. +field_21143_d,recipeItems,1,Is a array of ItemStack that composes the recipe. +field_21144_c,recipeHeight,1,How many vertical slots this recipe uses. field_21157_b,watchedObjects,1, field_21158_a,dataTypes,1, field_21159_c,objectChanged,1,true if one or more object was changed @@ -3520,19 +3575,19 @@ field_212_ar,appleGold,1, field_213_aq,painting,1, field_215_ao,porkRaw,1, field_216_an,flint,1, -field_21900_a,sleeping,1, +field_21900_a,sleeping,1,Boolean value indicating weather a player is sleeping or not field_21901_b,playerLocation,1,the current location of the player field_21902_c,sleepTimer,1, field_21_b,mcServer,1,Reference to the MinecraftServer object. field_22005_o,commandHandler,1, -field_22007_aZ,redstoneRepeater,1, +field_22007_aZ,redstoneRepeater,1,Is the redstone repeater (diode) in item form. field_22008_aY,bed,1,The bed as an inventory item. field_22010_bi,redstoneRepeaterActive,1,The redstone repeater (diode) block when powered. field_22011_bh,redstoneRepeaterIdle,1,The redstone repeater (diode) block when isn't powered. -field_22013_b,repeaterState,1, -field_22014_a,repeaterTorchOffset,1, -field_22015_c,isRepeaterPowered,1, -field_22023_a,headBlockToFootBlockMap,1, +field_22013_b,repeaterState,1,The states in which the redstone repeater blocks can be. +field_22014_a,repeaterTorchOffset,1,The offsets for the two torches in redstone repeater blocks. +field_22015_c,isRepeaterPowered,1,Tells whether the repeater is powered or not +field_22023_a,headBlockToFootBlockMap,1,Maps the head-of-bed block to the foot-of-bed block. field_22040_b,bedX,1, field_22041_a,entityID,1, field_22043_d,bedZ,1, @@ -3544,7 +3599,7 @@ field_22054_g,curBlockX,1, field_22055_d,initialDamage,1, field_22071_b,lastTimeMillis,1,lastTimeMillis field_22072_a,mcServer,1,Reference to the MinecraftServer object. -field_22087_A,allPlayersSleeping,1, +field_22087_A,allPlayersSleeping,1,A flag indicating whether or not all players in the world are sleeping. field_22089_e,xzDirectionsConst,1,"x, z direction vectors: east, south, west, north" field_22099_b,worldDirectory,1,The path to the current world directory field_22100_d,initializationTime,1,The time in milliseconds when this field was initialized. Stored in the session lock file. @@ -3570,17 +3625,17 @@ field_22173_m,whitelistPlayersFile,1,File containing list of whitelisted players field_22174_i,whiteListedIPs,1,the set of all white listed IP addresses field_22175_b,allowedCharactersArray,1, field_22192_k,saveVersion,1,"Introduced in beta 1.3, is the save version for future control." -field_22193_j,levelName,1, +field_22193_j,levelName,1,The name of the save defined at world creation. field_22194_i,dimension,1, field_22195_h,playerTag,1, -field_22196_g,sizeOnDisk,1, +field_22196_g,sizeOnDisk,1,"The size of entire save of current world on the disk, isn't exactly." field_22197_f,lastTimePlayed,1,The last time the player was in this world. field_22198_e,worldTime,1,The world time (in ticks) field_22199_d,spawnZ,1,The spawn zone position (Z) field_22200_c,spawnY,1,The spawn zone position (Y) field_22201_b,spawnX,1,The spawn zone position (X) -field_22202_a,randomSeed,1, -field_22213_a,nightSpawnEntities,1, +field_22202_a,randomSeed,1,Holds the seed of the currently world. +field_22213_a,nightSpawnEntities,1,An array of entity classes that spawn at night. field_22216_a,posX,1, field_22_a,logger,1,Reference to the logger. field_230_aW,bFull3D,1,"If true, render the object in full 3D, like weapons and tools." @@ -3593,29 +3648,29 @@ field_242_aK,slimeBall,1, field_246_aG,clay,1, field_24900_d,spawnChunk,1,holds the spawn chunk of the player field_249_aD,leather,1, -field_25004_e,thePlayer,1, +field_25004_e,thePlayer,1,The player that is using the GUI where this slot resides. field_25008_ba,cookie,1,The cookie inventory item. -field_25011_bi,isWolfsFavoriteMeat,1, +field_25011_bi,isWolfsFavoriteMeat,1,Whether wolves like this food (true for raw and cooked porkchop). field_25013_bj,lockedChest,1,"April fools secret locked chest, only spawns on new chunks on 1st April." -field_25015_b,bedState,1, +field_25015_b,bedState,1,"Either 1 or 2. 1 indicates to begin raining, 2 indicates to stop raining." field_25016_a,bedChat,1, -field_25039_a,looksWithInterest,1, +field_25039_a,looksWithInterest,1,"This flag is set when the wolf is looking at a player with interest, i.e. with tilted head. This happens when tamed wolf is wound and player holds porkchop (raw or cooked), or when wild wolf sees bone in player's hands." field_25040_i,prevTimeWolfIsShaking,1, -field_25041_h,timeWolfIsShaking,1, +field_25041_h,timeWolfIsShaking,1,This time increases while wolf is shaking and emitting water particles. field_25043_f,isShaking,1,true is the wolf is wet else false field_25053_c,isEditable,1, -field_25056_t,spawnableWaterCreatureList,1, -field_25057_s,spawnableCreatureList,1, -field_25058_r,spawnableMonsterList,1, -field_25062_e,statName,1, -field_25063_d,statId,1, +field_25056_t,spawnableWaterCreatureList,1,Holds the classes of any aquatic creature that can be spawned in the water of the biome. +field_25057_s,spawnableCreatureList,1,Holds the classes of any creature that can be spawned in the biome as friendly creature. +field_25058_r,spawnableMonsterList,1,Holds the classes of IMobs (hostile mobs) that can be spawned in the biome. +field_25062_e,statName,1,The Stat name +field_25063_d,statId,1,The Stat ID field_25065_a,type,1, field_25066_b,numberFormat,1, -field_25067_a,displayColumn,1, +field_25067_a,displayColumn,1,"Is the column (related to center of achievement gui, in 24 pixels unit) that the achievement will be displayed." field_25068_c,decimalFormat,1, -field_25081_b,translateTable,1, -field_25082_a,instance,1, -field_25093_z,objectCraftStats,1, +field_25081_b,translateTable,1,Contains all key/value pairs to be translated - is loaded from '/lang/en_US.lang' when the StringTranslate is created. +field_25082_a,instance,1,Is the private singleton instance of StringTranslate. +field_25093_z,objectCraftStats,1,Tracks the number of items a given block or item has been crafted. field_25094_y,mineBlockStatArray,1, field_25095_x,fishCaughtStat,1, field_25096_w,playerKillsStat,1,counts the number of times you've killed a player @@ -3626,10 +3681,10 @@ field_25100_t,damageTakenStat,1,the amount of damage you have taken field_25101_D,blockStatsInitialized,1, field_25102_s,damageDealtStat,1,the amount of damage you've dealt field_25103_r,dropStat,1,the distance you've dropped (or times you've fallen?) -field_25104_C,oneShotStats,1, -field_25105_B,objectBreakStats,1, +field_25104_C,oneShotStats,1,Tracks one-off stats. +field_25105_B,objectBreakStats,1,Tracks the number of times a given block or item has been broken. field_25106_q,jumpStat,1,the times you've jumped -field_25107_A,objectUseStats,1, +field_25107_A,objectUseStats,1,Tracks the number of times a given block or item has been used. field_25108_p,distanceDoveStat,1,the distance you've dived field_25109_o,distanceFlownStat,1,the distance you've flown field_25110_n,distanceClimbedStat,1,the distance you've climbed @@ -3642,21 +3697,21 @@ field_25116_h,joinMultiplayerStat,1,number of times you've joined a multiplayer field_25117_g,loadWorldStat,1,the number of times you have loaded a world field_25118_f,createWorldStat,1,times a world has been created field_25119_e,startGameStat,1,times the game has been started -field_25120_d,objectMineStats,1, +field_25120_d,objectMineStats,1,Tracks the number of times a given block or item has been mined. field_25121_c,itemStats,1, field_25122_b,generalStats,1, field_25123_a,allStats,1, field_25128_b,openInventory,1,The open inventory achievement field_25129_a,achievementList,1,The list holding all achievements -field_25130_d,buildWorkBench,1, +field_25130_d,buildWorkBench,1,Is the 'benchmarking' achievement. field_25131_c,mineWood,1,The get wood achievement -field_25133_b,guidMap,1, -field_25134_a,instance,1, +field_25133_b,guidMap,1,Maps a achievement id with it's unique GUID. +field_25134_a,instance,1,Holds the singleton instance of AchievementMap. field_25137_a,localizedName,1, -field_25145_a,entityClass,1, +field_25145_a,entityClass,1,Holds the class of the entity to be spawned. field_251_aB,snowball,1, field_252_aA,redstone,1, -field_253_a,spawnID,1, +field_253_a,spawnID,1,The ID of the block the reed will spawn when used from inventory bar. field_256_aY,damageReduceAmount,1,Holds the amount of damage that the armor reduces at full durability. field_257_aX,armorType,1,"Stores the armor type: 0 is helmet, 1 is plate, 2 is legs and 3 is boots" field_258_bb,maxDamageArray,1,Holds the 'base' maxDamage that each armorType have. @@ -3667,14 +3722,14 @@ field_264_aY,efficiencyOnProperMaterial,1, field_265_aX,blocksEffectiveAgainst,1,Array of blocks the tool has extra effect against. field_27004_h,playerInAirTime,1,holds the amount of tick the player is floating field_27005_o,allowFlight,1,Determines if flight is Allowed or not -field_27007_d,thePlayer,1, +field_27007_d,thePlayer,1,The player that is using the GUI where this slot resides. field_27012_bb,isInWeb,1, -field_27018_b,lightningState,1, -field_27019_a,boltVertex,1, -field_27020_c,boltLivingTime,1, -field_27023_bp,enableStats,1, +field_27018_b,lightningState,1,"Declares which state the lightning bolt is in. Whether it's in the air, hit the ground, etc." +field_27019_a,boltVertex,1,A random long that is used to change the vertex of the lightning rendered in RenderLightningBolt +field_27020_c,boltLivingTime,1,Determines the time before the EntityLightningBolt is destroyed. It is a random integer decremented over time. +field_27023_bp,enableStats,1,"If this field is true, the block is counted for statistics (mined or placed)" field_27024_bo,blockConstructorCalled,1,set to true when Block's constructor is called through the chain of super()'s. Note: Never used -field_27034_a,isPowered,1, +field_27034_a,isPowered,1,Power related rails have this field at true. field_27039_f,holdingShift,1, field_27040_b,amount,1, field_27041_a,statisticId,1, @@ -3683,50 +3738,50 @@ field_27043_a,entityID,1, field_27044_e,isLightningBolt,1, field_27045_d,posZ,1, field_27046_c,posY,1, -field_27050_v,enableRain,1, -field_27051_u,enableSnow,1, +field_27050_v,enableRain,1,Is true (default) if the biome support rain (desert and nether can't have rain) +field_27051_u,enableSnow,1,"If the biome have snowfall instead a rain, this field is true (tundra or taiga)" field_27054_k,distanceStatType,1, field_27055_j,timeStatType,1, field_27056_i,simpleStatType,1, -field_27057_h,statGuid,1, +field_27057_h,statGuid,1,Holds the GUID of the stat. field_27058_g,isIndependent,1, -field_27062_m,isSpecial,1, -field_27063_l,achievementDescription,1, -field_27064_d,theItemStack,1, -field_27075_F,lastLightningBolt,1, +field_27062_m,isSpecial,1,"Special achievements have a 'spiked' (on normal texture pack) frame, special achievements are the hardest ones to achieve." +field_27063_l,achievementDescription,1,"Holds the description of the achievement, ready to be formatted and/or displayed." +field_27064_d,theItemStack,1,Holds the ItemStack that will be used to draw the achievement into the GUI. +field_27075_F,lastLightningBolt,1,Set to 2 whenever a lightning bolt is generated in SSP. Decrements if > 0 in updateWeather(). Value appears to be unused. field_27076_E,thunderingStrength,1, field_27077_D,prevThunderingStrength,1, field_27078_C,rainingStrength,1, field_27079_B,prevRainingStrength,1, -field_27080_i,lightningFlash,1, +field_27080_i,lightningFlash,1,"If > 0, the sky and skylight colors are illuminated by a lightning flash" field_27081_e,weatherEffects,1,a list of all the lightning entities -field_27084_f,isPoweredRail,1, +field_27084_f,isPoweredRail,1,"A boolean value that is true if the rail is powered, and false if its not." field_27088_b,numRows,1, -field_27091_A,groundCover,1, +field_27091_A,groundCover,1,"Indicates if the material is a form of ground cover, e.g. Snow" field_27093_t,distanceByPigStat,1,the distance you've traveled by pig field_27094_s,distanceByBoatStat,1,the distance you've traveled by boat field_27095_r,distanceByMinecartStat,1,the distance you've traveled by minecart -field_27096_z,maxArtTitleLength,1, -field_27098_u,flyPig,1, -field_27099_t,killCow,1, +field_27096_z,maxArtTitleLength,1,Holds the maximum length of paintings art title. +field_27098_u,flyPig,1,Is the 'when pig fly' achievement. +field_27099_t,killCow,1,is the 'cow tipper' achievement. field_270_a,minecartType,1, -field_27100_s,killEnemy,1, -field_27101_r,buildSword,1, -field_27102_q,onARail,1, -field_27103_p,cookFish,1, -field_27104_o,buildBetterPickaxe,1, -field_27105_n,bakeCake,1, -field_27106_m,makeBread,1, -field_27107_l,buildHoe,1, -field_27108_k,acquireIron,1, -field_27109_j,buildFurnace,1, -field_27110_i,buildPickaxe,1, -field_27111_d,maxDisplayRow,1, -field_27112_c,maxDisplayColumn,1, -field_27113_b,minDisplayRow,1, -field_27114_a,minDisplayColumn,1, +field_27100_s,killEnemy,1,Is the 'monster hunter' achievement. +field_27101_r,buildSword,1,Is the 'time to strike' achievement. +field_27102_q,onARail,1,Is the 'on a rail' achievement +field_27103_p,cookFish,1,Is the 'delicious fish' achievement. +field_27104_o,buildBetterPickaxe,1,Is the 'getting a upgrade' achievement. +field_27105_n,bakeCake,1,Is the 'the lie' achievement. +field_27106_m,makeBread,1,Is the 'bake bread' achievement. +field_27107_l,buildHoe,1,Is the 'time to farm' achievement. +field_27108_k,acquireIron,1,Is the 'acquire hardware' achievement. +field_27109_j,buildFurnace,1,Is the 'hot topic' achievement. +field_27110_i,buildPickaxe,1,Is the 'time to mine' achievement. +field_27111_d,maxDisplayRow,1,Is the biggest row used to display a achievement on the GUI. +field_27112_c,maxDisplayColumn,1,Is the biggest column used to display a achievement on the GUI. +field_27113_b,minDisplayRow,1,Is the smallest row used to display a achievement on the GUI. +field_27114_a,minDisplayColumn,1,Is the smallest column used to display a achievement on the GUI. field_27123_o,thunderTime,1,hold the during of the thunder -field_27124_n,thundering,1, +field_27124_n,thundering,1,Is thunderbolts failing now? field_27125_m,rainTime,1,holds the time of the rain field_27126_l,raining,1,hold the boolean if its raining or not field_271_a,blockType,1,The type of block this seed turns into (wheat or pumpkin stems for instance) @@ -3735,24 +3790,24 @@ field_274_a,isFull,1,field for checking if the bucket has been filled. field_275_a,itemName,1,full name of item from language file field_276_Z,addedToChunk,1,Has this entity been added to the chunk its within field_27990_a,itemID,1, -field_27991_b,displayRow,1, -field_27992_c,parentAchievement,1, +field_27991_b,displayRow,1,"Is the row (related to center of achievement gui, in 24 pixels unit) that the achievement will be displayed." +field_27992_c,parentAchievement,1,"Holds the parent achievement, that must be taken before this achievement is avaiable." field_27993_d,serverPacketIdList,1,list of the servers packets id field_27994_c,clientPacketIdList,1,list of the clients packets id -field_27995_d,startMinecartRidingCoordinate,1, -field_28008_bI,ignoreFrustrumCheck,1, -field_28009_a,record,1, +field_27995_d,startMinecartRidingCoordinate,1,Holds the coordinate of the player when enter a minecraft to ride. +field_28008_bI,ignoreFrustumCheck,1,Render entity even if it is outside the camera frustum. Only true in EntityFish for now. Used in RenderGlobal: render if ignoreFrustumCheck or in frustum. +field_28009_a,record,1,ID of record which is in Jukebox field_28011_h,inData,1, field_28012_a,doesArrowBelongToPlayer,1, -field_28014_E,timeInPortal,1, -field_28015_D,inPortal,1, +field_28014_E,timeInPortal,1,The amount of time an entity has been in a Portal +field_28015_D,inPortal,1,Whether the entity is inside a Portal field_28016_C,timeUntilPortal,1, field_28021_bb,map,1,The map item field_28029_t,requiresSelfNotify,1, -field_28030_bl,trapdoor,1, +field_28030_bl,trapdoor,1,Trapdoor block. field_28032_a,random,1, -field_28033_a,furnaceRand,1, -field_28034_c,keepFurnaceInventory,1, +field_28033_a,furnaceRand,1,Is the random generator used by furnace to drop the inventory contents in random directions. +field_28034_c,keepFurnaceInventory,1,"This flag is used to prevent the furnace inventory to be dropped upon block removal, is used internally when the furnace block changes from idle to active and vice-versa." field_28041_i,throwerEntityId,1,"0 if not a fireball. Otherwise, this is the Entity ID of the thrower." field_28042_g,speedZ,1,Not sent if the thrower entity ID is 0. The speed of this fireball along the Z axis. field_28043_f,speedY,1,Not sent if the thrower entity ID is 0. The speed of this fireball along the Y axis. @@ -3763,18 +3818,18 @@ field_28047_a,sfxID,1, field_28048_e,posZ,1, field_28049_d,posY,1, field_28050_c,posX,1, -field_28051_b,uniqueID,1, +field_28051_b,uniqueID,1,Contains a unique ID for the item that this packet will be populating. field_28052_a,itemID,1, -field_28053_c,itemData,1, -field_28054_m,sky,1, +field_28053_c,itemData,1,Contains a buffer of arbitrary data with which to populate an individual item in the world. +field_28054_m,sky,1,Is the biome used for sky world. field_28055_a,deadBushID,1,stores the ID for WorldGenDeadBush field_28056_b,tallGrassMetadata,1, field_28057_a,tallGrassID,1,Stores ID for WorldGenTallGrass field_28061_b,emptyChunk,1,Just an empty chunk to start fresh. -field_28062_a,droppedChunksSet,1, -field_28063_g,worldObj,1, -field_28064_f,chunkList,1, -field_28065_e,chunkMap,1, +field_28062_a,droppedChunksSet,1,A set of dropped chunks. Currently not used in single player. +field_28063_g,worldObj,1,The World object which this ChunkProvider was constructed with +field_28064_f,chunkList,1,A list of all the currently loaded chunks. +field_28065_e,chunkMap,1,"A map of all the currently loaded chunks, uses the chunk id as the key." field_28066_d,chunkLoader,1, field_28067_c,chunkProvider,1,ChunkProvider object. field_28068_a,chunkLoadOverride,1,"if set, this flag forces a request to load a chunk to load the chunk rather than defaulting to the dummy if possible" @@ -3782,42 +3837,42 @@ field_28105_z,mapStorage,1, field_28109_f,playerViewRadius,1,Number of chunks the server sends to the client. Valid 3<=x<=15. In server.properties. field_28110_e,playerDimension,1,"Holds the player dimension object. 0 is the surface, -1 is the Nether." field_28112_d,mapDataDir,1, -field_28117_a,random,1, -field_28120_a,entityplayerObj,1, -field_28124_d,mapDataObj,1, -field_28130_D,isTranslucent,1, -field_28131_A,materialMapColor,1, -field_28132_b,grass,1, +field_28117_a,random,1,A private Random() function in Teleporter +field_28120_a,entityplayerObj,1,Reference for EntityPlayer object in MapInfo +field_28124_d,mapDataObj,1,reference in MapInfo to MapData object +field_28130_D,isTranslucent,1,Indicates if the material is translucent +field_28131_A,materialMapColor,1,The color index used to draw the blocks of this material on maps. +field_28132_b,grass,1,The material used by BlockGrass field_28134_b,world,1,The world itself. -field_28151_b,dirty,1, +field_28151_b,dirty,1,Whether this MapDataBase needs saving to disk. field_28152_a,mapName,1,The name of the map data nbt field_28157_i,playersVisibleOnMap,1, -field_28160_f,colors,1, +field_28160_f,colors,1,colours field_28161_e,scale,1, field_28162_d,dimension,1, field_28163_c,zCenter,1, field_28164_b,xCenter,1, -field_28179_b,loadedDataMap,1, +field_28179_b,loadedDataMap,1,Map of item data String id to loaded MapDataBases field_28180_a,saveHandler,1, -field_28181_d,idCounts,1, -field_28182_c,loadedDataList,1, -field_28184_q,colorIndex,1, -field_28185_p,colorValue,1, -field_28186_o,woodColor,1, -field_28187_n,waterColor,1, -field_28188_m,stoneColor,1, -field_28189_l,dirtColor,1, -field_28190_k,clayColor,1, -field_28191_j,snowColor,1, -field_28192_i,foliageColor,1, -field_28193_h,ironColor,1, -field_28194_g,iceColor,1, -field_28195_f,tntColor,1, -field_28196_e,clothColor,1, -field_28197_d,sandColor,1, -field_28198_c,grassColor,1, -field_28199_b,airColor,1, -field_28200_a,mapColorArray,1, +field_28181_d,idCounts,1,Map of MapDataBase id String prefixes ('map' etc) to max known unique Short id (the 0 part etc) for that prefix +field_28182_c,loadedDataList,1,List of loaded MapDataBases. +field_28184_q,colorIndex,1,Holds the index of the color used on map. +field_28185_p,colorValue,1,Holds the color in RGB value that will be rendered on maps. +field_28186_o,woodColor,1,The map color for Wood blocks +field_28187_n,waterColor,1,The map color for Water blocks +field_28188_m,stoneColor,1,The map color for Stone blocks +field_28189_l,dirtColor,1,The map color for Dirt blocks +field_28190_k,clayColor,1,The map color for Clay blocks +field_28191_j,snowColor,1,The map color for Snow Cover and Snow blocks +field_28192_i,foliageColor,1,"The map color for Leaf, Plant, Cactus, and Pumpkin blocks." +field_28193_h,ironColor,1,The map color for Iron blocks +field_28194_g,iceColor,1,The map color for Ice blocks +field_28195_f,tntColor,1,The map color for TNT blocks +field_28196_e,clothColor,1,The map color for Cloth and Sponge blocks +field_28197_d,sandColor,1,This is the color of the sand +field_28198_c,grassColor,1,this is the grass color in html format +field_28199_b,airColor,1,The map color for Air blocks +field_28200_a,mapColorArray,1,"Holds all the 16 colors used on maps, very similar of a pallete system." field_28201_b,centerX,1, field_28203_e,data,1, field_28204_d,iconRotation,1, @@ -3826,32 +3881,32 @@ field_286_P,entityCollisionReduction,1,Reduces the velocity applied by entity co field_298_E,height,1,How high this entity is considered to be field_300_D,width,1,How wide this entity is considered to be field_303_ac,chunkCoordZ,1, -field_304_B,isDead,1, +field_304_B,isDead,1,"gets set by setEntityDead, so this must be the flag whether an Entity is dead (inactive may be better term)" field_305_ab,chunkCoordY,1, field_307_aa,chunkCoordX,1, field_31006_h,tileEntityInvalid,1, field_31013_m,pushedObjects,1, field_31014_b,storedMetadata,1, -field_31015_l,lastProgress,1, +field_31015_l,lastProgress,1,the progress in (de)extending field_31016_a,storedBlockID,1, field_31017_k,progress,1, field_31018_j,shouldHeadBeRendered,1, -field_31019_i,extending,1, -field_31020_c,storedOrientation,1, -field_31022_bc,shears,1, +field_31019_i,extending,1,if this piston is extending or not +field_31020_c,storedOrientation,1,the side the front of the piston is on +field_31022_bc,shears,1,"Item introduced on 1.7 version, is a shear to cut leaves (you can keep the block) or get wool from sheeps." field_31023_bk,dyeColors,1, field_31043_b,ignoreUpdates,1, -field_31044_a,isSticky,1, +field_31044_a,isSticky,1,This pistons is the sticky one? field_31046_a,headTexture,1,The texture for the 'head' of the piston. Sticky or normal. field_31048_L,scanningTileEntities,1, -field_31051_b,offsetsXForSide,1, +field_31051_b,offsetsXForSide,1,gives the offset required for this axis to get the block at that side. field_31052_a,faceToSide,1,Converts a face to a side. -field_31053_d,offsetsZForSide,1, -field_31054_c,offsetsYForSide,1, +field_31053_d,offsetsZForSide,1,gives the offset required for this axis to get the block at that side. +field_31054_c,offsetsYForSide,1,gives the offset required for this axis to get the block at that side. field_31060_H,mobilityFlag,1,"0 indicates normal, 1 indicates this block can't push other blocks, 2 indicates this block cant be pushed" -field_31061_G,canHarvest,1, -field_31062_B,piston,1, -field_31063_A,web,1, +field_31061_G,canHarvest,1,Determines if the materials is one that can be collected by the player. +field_31062_B,piston,1,Pistons' material. +field_31063_A,web,1,Web's material. field_312_v,boundingBox,1,Axis aligned bounding box. field_315_s,rotationPitch,1,Entity rotation Pitch field_316_r,rotationYaw,1,Entity rotation Yaw @@ -3861,8 +3916,8 @@ field_319_o,motionX,1,Entity motion X field_320_n,posZ,1,Entity position Z field_321_m,posY,1,Entity position Y field_322_l,posX,1,Entity position X -field_327_g,ridingEntity,1, -field_328_f,riddenByEntity,1, +field_327_g,ridingEntity,1,The entity we are currently riding +field_328_f,riddenByEntity,1,The entity that is riding this entity field_329_e,preventEntitySpawning,1,Blocks entities from spawning when they do their AABB check to make sure the spot is clear of entities that can prevent spawning. field_331_c,entityId,1, field_34900_Q,entityRemoval,1,Entities marked for removal. @@ -3876,10 +3931,10 @@ field_34908_d,itemInUse,1,"This is the item that is in use when the player is ho field_34909_e,itemInUseCount,1,This field starts off equal to getMaxItemUseDuration and is decremented on each tick field_35012_k,rndmObj,1,The Java Random object. field_35014_p,motd,1,The server MOTD string. -field_35020_d,baseSeed,1, +field_35020_d,baseSeed,1,base seed to the LCG prng provided via the constructor field_35021_b,worldGenSeed,1,seed from World#getWorldSeed that is used in the LCG prng -field_35022_c,chunkSeed,1, -field_35023_a,parent,1, +field_35022_c,chunkSeed,1,"final part of the LCG prng that uses the chunk X, Z coords along with the other two seeds to generate pseudorandom numbers" +field_35023_a,parent,1,parent GenLayer that was provided via the constructor field_35029_b,allowedBiomes,1,this sets all the biomes that are allowed to appear in the overworld field_35041_b,gameType,1,"The type of the map. 0 is survival, 1 is creative." field_35042_c,mapFeaturesEnabled,1,"Switch for the map features. 'true' for enabled, 'false' for disabled." @@ -3898,7 +3953,7 @@ field_35054_bp,mushroomCapRed,1, field_35055_bq,fenceIron,1, field_35056_bm,silverfish,1, field_35062_a,blockStepTypes,1,The list of the types of step blocks. -field_35064_a,sideTextureIndex,1, +field_35064_a,sideTextureIndex,1,Holds the texture index of the side of the pane (the thin lateral side) field_35068_a,fruitType,1,Defines if it is a Melon or a Pumpkin that the stem is producing. field_35069_a,mushroomType,1,"The mushroom type. 0 for brown, 1 for red." field_35085_f,starve,1, @@ -3908,7 +3963,7 @@ field_35088_e,drown,1, field_35089_b,onFire,1, field_35090_c,lava,1, field_35091_a,inFire,1, -field_35092_n,isUnblockable,1, +field_35092_n,isUnblockable,1,This kind of damage can be blocked or not. field_35093_o,isDamageAllowedInCreativeMode,1, field_35094_l,magic,1, field_35095_m,damageType,1, @@ -3947,13 +4002,13 @@ field_35131_d,serverMode,1,"0 for survival, 1 for creative" field_35133_h,maxPlayers,1,The maximum players. field_35134_b,experienceTotal,1,The total experience points. field_35135_c,experienceLevel,1,The experience level. -field_35143_f,biomesToSpawnIn,1, +field_35143_f,biomesToSpawnIn,1,A list of biomes that the player can spawn in. field_35145_e,biomeCache,1,The biome list. field_35151_ca,isAirBorne,1, field_35154_f,xpValue,1,This is how much XP this orb has. field_35156_e,xpOrbHealth,1,The health of this XP orb. field_35157_b,xpOrbAge,1,The age of the XP orb in ticks. -field_35159_a,xpColor,1, +field_35159_a,xpColor,1,A constantly increasing value that RenderXPOrb uses to control the colour shifting (Green / yellow) field_35160_d,arrowCritical,1,Is this arrow a critical hit? (Controls particles and damage) field_35165_n,blockMetadata,1, field_35166_o,blockType,1,the Block type that this TileEntity is contained within @@ -3976,7 +4031,7 @@ field_35210_L,experience,1,The player's experience score. field_35211_M,experienceLevel,1,The player's experience level. field_35212_N,experienceTotal,1,The player's experience total score. field_35213_O,speedOnGround,1, -field_35214_K,capabilities,1, +field_35214_K,capabilities,1,The player's capabilities. (See class PlayerCapabilities) field_35215_P,speedInAir,1, field_35216_n,flyToggleTimer,1,"Used to tell if the player pressed jump twice. If this is at 0 and it's pressed (And they are allowed to fly, as defined in the player's movementInput) it sets this to 7. If it's pressed and it's greater than 0 enable fly." field_35217_m,foodStats,1,"The food object of the player, the general hunger logic." @@ -3984,15 +4039,15 @@ field_35218_w,xpCooldown,1,Used by EntityPlayer to prevent too many xp orbs from field_35219_i,ping,1, field_35220_ce,lastExperience,1,Amount of experience the client was last set to field_35223_f,fleeingTick,1,Used to make a creature speed up and wander away when hit. -field_35233_g,teleportDelay,1, +field_35233_g,teleportDelay,1,Counter to delay the teleportation of an enderman towards the currently attacked target field_35234_b,canCarryBlocks,1, -field_35235_a,isAttacking,1, +field_35235_a,isAttacking,1,Is the enderman attacking another entity? field_35237_a,allySummonCooldown,1,A cooldown before this entity will search for another Silverfish to join them in battle. field_35245_H,lightUpdateBlockList,1,"is a temporary list of blocks and light values used when updating light levels. Holds up to 32x32x32 blocks (the maximum influence of a light source.) Every element is a packed bit value: 0000000000LLLLzzzzzzyyyyyyxxxxxx. The 4-bit L is a light level used when darkening blocks. 6-bit numbers x, y and z represent the block's offset from the original block, plus 32 (i.e. value of 31 would mean a -1 offset" -field_35258_D,chunk_X,1, -field_35259_E,chunk_Z,1, +field_35258_D,chunk_X,1,The X-coordinate of the chunk currently being decorated +field_35259_E,chunk_Z,1,The Z-coordinate of the chunk currently being decorated field_35260_F,biome,1,The biome generator object. -field_35261_A,clayPerChunk,1, +field_35261_A,clayPerChunk,1,The number of clay patches to generate per chunk. Only generates when part of it is underwater. field_35262_B,currentWorld,1,The current world object. field_35263_C,randomGenerator,1,The Biome Decorator's random number generator. field_35264_f,coalGen,1, @@ -4002,33 +4057,35 @@ field_35267_e,gravelGen,1, field_35268_b,sandGen,1,The sand generator. field_35269_c,gravelAsSandGen,1,The gravel generator. field_35270_a,clayGen,1,The clay generator. -field_35271_n,mushroomBrownGen,1, -field_35272_o,mushroomRedGen,1, -field_35273_l,plantYellowGen,1, -field_35274_m,plantRedGen,1, -field_35275_j,diamondGen,1, -field_35276_k,lapisGen,1, -field_35277_h,goldGen,1, -field_35278_i,redstoneGen,1, -field_35279_w,reedsPerChunk,1, -field_35280_v,mushroomsPerChunk,1, -field_35281_u,deadBushPerChunk,1, -field_35282_t,grassPerChunk,1, -field_35283_s,flowersPerChunk,1, -field_35284_r,treesPerChunk,1, -field_35285_q,cactusGen,1, -field_35286_p,reedGen,1, +field_35271_n,mushroomBrownGen,1,Field that holds mushroomBrown WorldGenFlowers +field_35272_o,mushroomRedGen,1,Field that holds mushroomRed WorldGenFlowers +field_35273_l,plantYellowGen,1,Field that holds one of the plantYellow WorldGenFlowers +field_35274_m,plantRedGen,1,Field that holds one of the plantRed WorldGenFlowers +field_35275_j,diamondGen,1,Field that holds diamond WorldGenMinable +field_35276_k,lapisGen,1,Field that holds Lapis WorldGenMinable +field_35277_h,goldGen,1,Field that holds gold WorldGenMinable +field_35278_i,redstoneGen,1,Field that holds redstone WorldGenMinable +field_35279_w,reedsPerChunk,1,The number of reeds to generate per chunk. Reeds won't generate if the randomly selected placement is unsuitable. +field_35280_v,mushroomsPerChunk,1,"The number of extra mushroom patches per chunk. It generates 1/4 this number in brown mushroom patches, and 1/8 this number in red mushroom patches. These mushrooms go beyond the default base number of mushrooms." +field_35281_u,deadBushPerChunk,1,The number of dead bushes to generate per chunk. Used in deserts and swamps. +field_35282_t,grassPerChunk,1,The amount of tall grass to generate per chunk. +field_35283_s,flowersPerChunk,1,"The number of yellow flower patches to generate per chunk. The game generates much less than this number, since it attempts to generate them at a random altitude." +field_35284_r,treesPerChunk,1,"The number of trees to attempt to generate per chunk. Up to 10 in forests, none in deserts." +field_35285_q,cactusGen,1,Field that holds WorldGenCactus +field_35286_p,reedGen,1,Field that holds WorldGenReed field_35287_z,sandPerChunk2,1,The number of sand patches to generate per chunk. Sand patches only generate when part of it is underwater. There appear to be two separate fields for this. field_35288_y,sandPerChunk,1,The number of sand patches to generate per chunk. Sand patches only generate when part of it is underwater. -field_35289_x,cactiPerChunk,1, +field_35289_x,cactiPerChunk,1,The number of cactus plants to generate per chunk. Cacti only work on sand. field_35290_b,radius,1,The maximum radius used when generating a patch of blocks. field_35291_a,sandID,1,Stores ID for WorldGenSand field_35293_a,mushroomType,1,"The mushroom type. 0 for brown, 1 for red." field_35316_g,boundingBox,1, -field_35317_h,coordBaseMode,1, +field_35317_h,coordBaseMode,1,'switches the Coordinate System base off the Bounding Box' field_35318_i,componentType,1,The type ID of this component. field_35326_b,doorType,1,randomly chosen opening type to use field_35331_a,doorType,1, +field_35333_a,doorType,1, +field_35345_a,doorType,1, field_35349_a,doorType,1, field_35355_a,doorType,1, field_35356_a,chidStructures,1, @@ -4117,12 +4174,12 @@ field_35520_c,plains,1,The plains biome generator. field_35521_a,biomeList,1,"An array of all the biomes, indexed by biome id." field_35522_i,river,1,The river biome generator. field_35523_u,biomeDecorator,1,The biome decorator. -field_35524_t,rainfall,1, -field_35525_s,temperature,1, -field_35526_r,maxHeight,1, -field_35527_q,minHeight,1, +field_35524_t,rainfall,1,The rainfall in this biome. +field_35525_s,temperature,1,The temperature of this biome. +field_35526_r,maxHeight,1,The maximum height of this biome. Default 0.3. +field_35527_q,minHeight,1,The minimum height of this biome. Default 0.1. field_35528_z,worldGenTrees,1,The tree generator. -field_35529_y,biomeID,1, +field_35529_y,biomeID,1,"The id number to this biome, and its index in the biomeList array." field_35530_d,worldObj,1,This world object. field_35534_e,coordMap,1, field_35535_f,ranBiomeCheck,1,is spawned false and set true once the defined BiomeGenBases were compared with the present ones @@ -4130,24 +4187,24 @@ field_35536_g,structureCoords,1, field_35537_a,allowedBiomeGenBases,1, field_35538_a,villageSpawnBiomes,1,A list of all the biomes villages can spawn in. field_35546_b,boundingBox,1, -field_35547_a,components,1, -field_35548_c,hasMoreThanTwoComponents,1, +field_35547_a,components,1,List of all StructureComponents that are part of this structure +field_35548_c,hasMoreThanTwoComponents,1,'well ... thats what it does' field_35551_d,freeLargeArrays,1,A list of pre-allocated int[cacheSize] arrays that are currently unused and can be returned by getIntCache() field_35552_e,inUseLargeArrays,1,A list of pre-allocated int[cacheSize] arrays that were previously returned by getIntCache() and which will not be re-used again until resetIntCache() is called. field_35553_b,freeSmallArrays,1,A list of pre-allocated int[256] arrays that are currently unused and can be returned by getIntCache() field_35554_c,inUseSmallArrays,1,A list of pre-allocated int[256] arrays that were previously returned by getIntCache() and which will not be re-used again until resetIntCache() is called. field_35555_a,intCacheSize,1, -field_35558_f,mineshaftGenerator,1, -field_35559_d,strongholdGenerator,1, -field_35560_e,villageGenerator,1, +field_35558_f,mineshaftGenerator,1,Holds Mineshaft Generator +field_35559_d,strongholdGenerator,1,Holds Stronghold Generator +field_35560_e,villageGenerator,1,Holds Village Generator field_35562_v,stoneNoise,1, -field_35563_t,mapFeaturesEnabled,1, -field_35564_x,ravineGenerator,1, +field_35563_t,mapFeaturesEnabled,1,are map structures going to be generated (e.g. strongholds) +field_35564_x,ravineGenerator,1,Holds ravine generator field_35568_b,selectedBlockMetaData,1, field_35569_a,selectedBlockId,1, field_35574_k,vine,1, -field_35577_d,instancesLimit,1, -field_35578_b,pieceWeight,1, +field_35577_d,instancesLimit,1,'How many Structure Pieces of this type may spawn in a structure' +field_35578_b,pieceWeight,1,"'This basically keeps track of the 'epicness' of a structure. Epic structure components have a higher 'weight', and Structures may only grow up to a certain 'weight' before generation is stopped'" field_35579_c,instancesSpawned,1, field_35580_a,pieceClass,1, field_35581_a,doorEnum,1, @@ -4161,19 +4218,19 @@ field_35609_d,vineGrowth,1, field_35610_b,offsetZ,1, field_35611_c,headInvisibleFace,1, field_35612_a,offsetX,1, -field_35619_f,keySet,1, +field_35619_f,keySet,1,The set of all the keys stored in this MCHash object field_35627_d,strongholdStones,1, field_35628_b,pieceWeightArray,1, field_35629_c,structurePieceList,1, field_35630_a,totalWeight,1, -field_35636_d,updateSkylightColumns,1, -field_35637_c,precipitationHeightMap,1, -field_35654_b,duration,1, -field_35655_c,amplifier,1, -field_35656_a,potionID,1, -field_35657_d,depleteBuckets,1, +field_35636_d,updateSkylightColumns,1,Which columns need their skylightMaps updated. +field_35637_c,precipitationHeightMap,1,"A map, similar to heightMap, that tracks how far down precipitation can fall." +field_35654_b,duration,1,The duration of the potion effect +field_35655_c,amplifier,1,The amplifier of the potion effect +field_35656_a,potionID,1,ID value of the potion this effect matches. +field_35657_d,depleteBuckets,1,Used by ItemBucket to say if it should empty when used or not. field_35658_b,isFlying,1,Sets/indicates whether the player is flying. -field_35659_c,allowFlying,1, +field_35659_c,allowFlying,1,whether or not to allow the player to fly when they double jump. field_35660_a,disableDamage,1,Disables player damage. field_35661_b,depthBits,1,Log base 2 of the chunk height (128); applied as a shift on Z coordinate field_35662_c,depthBitsPlusFour,1,Log base 2 of the chunk height (128) * width (16); applied as a shift on X coordinate @@ -4183,18 +4240,18 @@ field_35675_e,maxY,1,The second y coordinate of a bounding box. field_35676_b,minY,1,The first y coordinate of a bounding box. field_35677_c,minZ,1,The first z coordinate of a bounding box. field_35678_a,minX,1,The first x coordinate of a bounding box. -field_35684_d,cache,1, -field_35685_b,lastCleanupTime,1, -field_35686_c,cacheMap,1, +field_35684_d,cache,1,The list of cached BiomeCacheBlocks +field_35685_b,lastCleanupTime,1,"The last time this BiomeCache was cleaned, in milliseconds." +field_35686_c,cacheMap,1,"The map of keys to BiomeCacheBlocks. Keys are based on the chunk x, z coordinates as (x | z << 32)." field_35687_a,chunkManager,1,The world chunk manager object. field_35699_c,gameType,1,"The game mode, 1 for creative, 0 for survival." -field_35701_f,lastAccessTime,1, +field_35701_f,lastAccessTime,1,"The last time this BiomeCacheBlock was accessed, in milliseconds." field_35702_g,biomeCache,1,The BiomeCache object that contains this BiomeCacheBlock -field_35703_d,xPosition,1, -field_35704_e,zPosition,1, -field_35705_b,rainfallValues,1, -field_35706_c,biomes,1, -field_35707_a,temperatureValues,1, +field_35703_d,xPosition,1,The x coordinate of the BiomeCacheBlock. +field_35704_e,zPosition,1,The z coordinate of the BiomeCacheBlock. +field_35705_b,rainfallValues,1,An array of chunk rainfall values saved by this cache. +field_35706_c,biomes,1,The array of biome types stored in this BiomeCacheBlock. +field_35707_a,temperatureValues,1,An array of chunk temperatures saved by this cache. field_384_a,nextEntityID,1, field_387_ah,hasAttacked,1,returns true if a creature has attacked recently only used for creepers and skeletons field_388_a,pathToEntity,1, @@ -4202,8 +4259,8 @@ field_389_ag,entityToAttack,1,The Player this EntityCreature will attack next. field_38_b,packetClassToIdMap,1,Maps packet class to packet id field_39000_a,inLove,1, field_39001_b,breeding,1,This is representation of a counter for reproduction progress. (Note that this is different from the inLove which represent being in Love-Mode) -field_39002_b,potionsNeedUpdate,1, -field_39004_d,jumpTicks,1, +field_39002_b,potionsNeedUpdate,1,Whether the DataWatcher needs to be updated with the active potions +field_39004_d,jumpTicks,1,Number of ticks since last jump field_39005_a,villagersSpawned,1,The number of villagers that have been spawned in this component. field_39006_bR,potionEffect,1,The string representing this item's effect on a potion when used as an ingredient. field_395_ad,destPos,1, @@ -4248,8 +4305,8 @@ field_40086_c,inventoryContents,1, field_40087_a,inventoryTitle,1, field_40088_a,container,1,The brewing stand this slot belongs to. field_40105_ap,carryoverDamage,1,"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" -field_40129_b,heightOffsetUpdateTime,1, -field_40130_a,heightOffset,1, +field_40129_b,heightOffsetUpdateTime,1,ticks until heightOffset is randomized +field_40130_a,heightOffset,1,Random offset used in floating behaviour field_40138_s,maxHealth,1,The maximum health of the Entity. field_40142_f,dragonPartArray,1,An array containing all body parts of this dragon field_40143_g,dragonPartHead,1,The head bounding box of a dragon @@ -4271,16 +4328,16 @@ field_40168_bK,whiteStone,1, field_40169_bD,stairsNetherBrick,1, field_40170_bE,netherStalk,1, field_40171_bB,netherBrick,1, -field_40172_bC,netherFence,1, +field_40172_bC,netherFence,1,The Block ID that the generator is allowed to replace while generating the terrain. field_40173_bH,cauldron,1, field_40174_bI,endPortal,1, field_40175_bF,enchantmentTable,1, field_40176_bG,brewingStand,1, -field_40178_b,canDropItself,1, +field_40178_b,canDropItself,1,"If this field is true, the pane block drops itself when destroyed (like the iron fences), otherwise, it's just destroyed (like glass panes)" field_40180_a,rand,1, field_40183_c,genNetherBridge,1, field_40194_n,densities,1, -field_40195_o,biomesForGeneration,1, +field_40195_o,biomesForGeneration,1,The biomes that are used to generate the chunk field_40197_m,endWorld,1, field_40201_i,endRNG,1, field_40206_a,spawnList,1, @@ -4330,11 +4387,13 @@ field_402_ae,slimeJumpDelay,1,ticks until this slime jumps again field_40302_a,fillSeed,1, field_40305_a,hasSpawner,1, field_40312_b,doorType,1, +field_40316_a,hasSpawner,1, +field_40317_b,portalRoom,1, field_40318_J,bigMushroomsPerChunk,1,Amount of big mushrooms per chunk -field_40319_K,generateLakes,1, +field_40319_K,generateLakes,1,True if decorator should generate surface lava & water field_40320_u,bigMushroomGen,1,Field that holds big mushroom generator -field_40321_y,waterlilyPerChunk,1, -field_40322_x,waterlilyGen,1, +field_40321_y,waterlilyPerChunk,1,Amount of waterlilys per chunk. +field_40322_x,waterlilyGen,1,The water lily generation! field_40323_L,spikeGen,1, field_40332_b,nameSeed,1,used as seed for EnchantmentNameParts (see GuiEnchantment) field_40333_c,enchantLevels,1,3-member array storing the enchantment levels of each slot @@ -4368,16 +4427,16 @@ field_40369_s,fortune,1,Can multiply the drop rate of items from blocks field_40370_r,unbreaking,1,"Sometimes, the tool's durability will not be spent when the tool is used" field_40371_q,silkTouch,1,"Blocks mined will drop themselves, even if it should drop something else (e.g. stone will drop stone, not cobblestone)" field_40372_p,efficiency,1,Faster resource gathering while in use -field_40373_w,protectionName,1, -field_40374_a,damageType,1, -field_40375_z,thresholdEnchantability,1, -field_40376_y,levelEnchantability,1, -field_40377_x,baseEnchantability,1, -field_40378_w,protectionName,1, -field_40379_a,protectionType,1, -field_40380_z,thresholdEnchantability,1, -field_40381_y,levelEnchantability,1, -field_40382_x,baseEnchantability,1, +field_40373_w,protectionName,1,Holds the name to be translated of each protection type. +field_40374_a,damageType,1,"Defines the type of damage of the enchantment, 0 = all, 1 = undead, 3 = arthropods" +field_40375_z,thresholdEnchantability,1,"Used on the formula of base enchantability, this is the 'window' factor of values to be able to use thing enchant." +field_40376_y,levelEnchantability,1,Holds how much each level increased the enchantability factor to be able to use this enchant. +field_40377_x,baseEnchantability,1,Holds the base factor of enchantability needed to be able to use the enchant. +field_40378_w,protectionName,1,Holds the name to be translated of each protection type. +field_40379_a,protectionType,1,"Defines the type of protection of the enchantment, 0 = all, 1 = fire, 2 = fall (feather fall), 3 = explosion and 4 = projectile." +field_40380_z,thresholdEnchantability,1,"Used on the formula of base enchantability, this is the 'window' factor of values to be able to use thing enchant." +field_40381_y,levelEnchantability,1,Holds how much each level increased the enchantability factor to be able to use this enchant. +field_40382_x,baseEnchantability,1,Holds the base factor of enchantability needed to be able to use the enchant. field_40387_f,requestIDstring,1,The request ID stored as a String field_40388_d,requestID,1,A client-provided request ID associated with this query field_40389_e,challengeValue,1,A unique string of bytes used to verify client auth @@ -4435,10 +4494,10 @@ field_40479_z,blazeRod,1,Is the 'Into Fire' achievement field_40480_y,ghast,1,Is the 'Return to Sender' achievement field_40481_x,portal,1,Is the 'We Need to Go Deeper' achievement field_40483_b,damageSource,1, -field_40484_a,damageModifier,1, +field_40484_a,damageModifier,1,Used to calculate the damage modifier (extra armor) on enchantments that the player have on equipped armors. field_40485_b,entityLiving,1, -field_40486_a,livingModifier,1, -field_40488_j,enchantability,1, +field_40486_a,livingModifier,1,Used to calculate the (magic) extra damage based on enchantments of current equipped player item. +field_40488_j,enchantability,1,Defines the natural enchantability factor of the material. field_4048_bd,slowSand,1, field_40493_b,enchantmentLevel,1,Enchantment level associated with this EnchantmentData field_40494_a,enchantmentobj,1,Enchantment object associated with this EnchantmentData @@ -4446,17 +4505,17 @@ field_40498_f,maxDamageFactor,1,"Holds the maximum damage factor (each piece mul field_40499_g,damageReductionAmountArray,1,"Holds the damage reduction (each 1 points is half a shield on gui) of each piece of armor (helmet, plate, legs and boots)" field_404_af,attackStrength,1,How much damage this mob's attacks deal field_40505_h,enchantability,1,Return the enchantability factor of the material -field_4050_bc,netherrack,1, +field_4050_bc,netherrack,1,"Red block, main part of the nether" field_40510_d,savedIOCounter,1, field_40511_e,isThreadWaiting,1, field_40512_b,threadedIOQueue,1, field_40513_c,writeQueuedCounter,1, field_40514_a,threadedIOInstance,1,Instance of ThreadedFileIOBase -field_40520_d,profilingSection,1, -field_40521_e,profilingMap,1, -field_40522_b,sectionList,1, -field_40523_c,timestampList,1, -field_40524_a,profilingEnabled,1, +field_40520_d,profilingSection,1,Current profiling section +field_40521_e,profilingMap,1,Profiling map +field_40522_b,sectionList,1,List of parent sections +field_40523_c,timestampList,1,List of timestamps (System.nanoTime) +field_40524_a,profilingEnabled,1,Flag profiling enabled field_4052_bb,pumpkin,1,A pumpkin field_40539_b,secondaryComponents,1, field_40540_a,primaryComponents,1, @@ -4467,7 +4526,7 @@ field_40558_d,spiderEyeEffect,1, field_40559_e,fermentedSpiderEyeEffect,1, field_40560_b,sugarEffect,1, field_40561_c,ghastTearEffect,1, -field_40564_o,potionPrefixes,1, +field_40564_o,potionPrefixes,1,"An array of possible potion prefix names, as translation IDs." field_40565_l,potionRequirements,1, field_40567_j,glowstoneEffect,1, field_40568_k,gunpowderEffect,1, @@ -4483,7 +4542,7 @@ field_40600_N,liquidColor,1,Is the color of the liquid for this potion. field_40601_J,statusIconIndex,1,The index for the icon displayed when the potion effect is active. field_40602_K,isBadEffect,1,This field indicated if the effect is 'bad' - negative - for the entity. field_4060_ay,blockDiamond,1, -field_40611_d,stackTagCompound,1, +field_40611_d,stackTagCompound,1,A NBTTagMap containing data about an ItemStack. Can only be used for non stackable items field_40616_d,lock,1,Used to make threads queue to add packets field_40617_b,packetCountForID,1,A count of the total number of each packet sent grouped by IDs. field_40618_c,sizeCountForID,1,A count of the total size of each packet sent grouped by IDs. @@ -4558,7 +4617,7 @@ field_4150_g,flintAndSteel,1, field_4151_f,axeSteel,1, field_4152_e,pickaxeSteel,1, field_4153_d,shovelSteel,1, -field_4154_b,itemRand,1, +field_4154_b,itemRand,1,The RNG used by the Item subclasses. field_4155_Z,legsChain,1, field_4156_Y,plateChain,1, field_4157_X,helmetChain,1, @@ -4618,22 +4677,28 @@ field_4209_bb,blocksEffectiveAgainst,1,an array of the blocks this pickaxe is ef field_420_ah,listeningChunks,1,"set of ChunkCoordIntPair, represents blocks that the player will receive block updates from" field_4210_a,weaponDamage,1, field_4211_y,canBurn,1,Bool defining if the block can burn or not. -field_4212_x,portal,1, -field_4213_w,pumpkin,1, +field_4212_x,portal,1,Material used for portals +field_4213_w,pumpkin,1,pumpkin field_4214_u,cactus,1, field_4216_o,glass,1, field_4217_k,cloth,1, field_4218_h,leaves,1, field_4223_v,biomesForGeneration,1,The biomes that are used to generate the chunk -field_4225_h,noise6,1, -field_4226_g,noise5,1, -field_4227_f,noise2,1, -field_4228_e,noise1,1, -field_4229_d,noise3,1, +field_4224_q,noiseArray,1, +field_4225_h,noise6,1,A double array that holds terrain noise from noiseGen6 +field_4226_g,noise5,1,A double array that hold terrain noise from noiseGen5 +field_4227_f,noise2,1,A double array that hold terrain noise from noiseGen2 +field_4228_e,noise1,1,A double array that hold terrain noise +field_4229_d,noise3,1,A double array that hold terrain noise from noiseGen3 field_422_ag,loadedChunks,1,LinkedList that holds loaded chunks field_4230_s,netherCaveGenerator,1, +field_4231_r,netherrackExclusivityNoise,1, field_4232_q,gravelNoise,1, -field_4235_n,worldObj,1, +field_4233_p,slowsandNoise,1, +field_4235_n,worldObj,1,Is the world that the nether is getting generated. +field_4236_m,netherrackExculsivityNoiseGen,1, +field_4237_l,slowsandGravelNoiseGen,1, +field_4240_i,netherNoiseGen1,1, field_4241_h,hellRNG,1, field_4249_a,liquidBlockId,1,The ID of the liquid block used in this liquid generator. field_4250_a,hellLavaID,1,Stores the ID for WorldGenHellLava @@ -4658,13 +4723,13 @@ field_4294_g,taiga,1, field_4297_d,forest,1, field_4299_b,swampland,1, field_429_a,item,1,The item stack of this EntityItem. -field_4301_b,worldChunkMgr,1, -field_4302_a,worldObj,1, +field_4301_b,worldChunkMgr,1,World chunk manager being used to generate chunks +field_4302_a,worldObj,1,world object being used field_4305_d,lightBrightnessTable,1,Light to brightness conversion table -field_4306_c,hasNoSky,1, +field_4306_c,hasNoSky,1,A boolean that tells if a world does not have a sky. Used in calculating weather and skylight field_430_ag,health,1,"The health of this EntityItem. (For example, damage for tools)" field_4310_a,worldObj,1, -field_4311_a,eligibleChunksForSpawning,1, +field_4311_a,eligibleChunksForSpawning,1,The 17x17 area around the player where mobs can spawn field_433_ad,delayBeforeCanPickup,1, field_437_aj,ticksInAir,1,cant hit stuff first 5 ticks after you shoot it field_438_ai,ticksInGround,1,after so long in ground entity dies @@ -4676,7 +4741,7 @@ field_44007_b,sheepTimer,1,Used to control movement as well as wool regrowth. Se field_44008_bB,monsterPlacer,1, field_44012_d,currentLanguage,1, field_44013_c,languageList,1, -field_44015_a,entityEggs,1, +field_44015_a,entityEggs,1,This is a HashMap of the Creative Entity Eggs/Spawners. field_446_a,fuse,1,How long the fuse is field_448_a,direction,1,the direction the painting faces field_452_ad,tickCounter1,1, @@ -4715,22 +4780,24 @@ field_46081_u,taigaHills,1,Taiga Hills biome. field_46082_t,forestHills,1,Forest Hills biome. field_46083_s,desertHills,1,Desert Hills biome. field_46084_r,beach,1,Beach biome. -field_46093_a,mutexBits,1, +field_46093_a,mutexBits,1,"A bitmask telling which other tasks may not run concurrently. The test is a simple bitwise AND - if it yields zero, the two tasks may run concurrently, if not - they must run exclusively from each other." field_46098_c,entityTarget,1, field_46099_a,worldObj,1, field_46104_a,entity,1, +field_46111_d,idleTime,1, +field_46114_a,idleEntity,1, field_46117_b,isJumping,1, field_46118_a,entity,1, field_46120_b,terrainType,1, field_46121_e,isUnicode,1, -field_46125_b,primaryColor,1, -field_46126_c,secondaryColor,1, -field_46127_a,spawnedID,1, +field_46125_b,primaryColor,1,Base color of the egg +field_46126_c,secondaryColor,1,Color of the egg spots +field_46127_a,spawnedID,1,The entityID of the spawned mob field_46129_e,terrainType,1, field_46130_b,priority,1,Priority of the EntityAIBase field_46131_c,tasks,1,The EntityAITasks object of which this is an entry. field_46132_a,action,1,The EntityAIBase object. -field_46137_b,executingTasks,1, +field_46137_b,executingTasks,1,Tasks currently being executed field_46138_a,tasksToDo,1, field_470_ai,cargoItems,1,Array of item stacks stored in minecart (for storage minecarts). field_476_ae,minecartType,1,"The type of minecart, 2 for powered, 1 for storage." @@ -4741,12 +4808,25 @@ field_48081_t,buildLimit,1,Maximum build height field_48096_A,villageCollectionObj,1, field_48097_O,villageSiegeObj,1, field_480_f,classToNameMap,1,A HashMap storing the classes and mapping to the string names (reverse of nameToClassMap). +field_48128_bU,isBlockContainer,1, +field_48129_bT,needsRandomTick,1,Flags whether or not this block is of a type that needs random ticking. Ref-counted by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake. +field_48130_bL,redstoneLampU,1,Redstone Lamp (unpowered state) +field_48131_bM,redstoneLampP,1,Redstone Lamp (powered state) +field_48141_a,childAnimal,1, field_48159_b,frontDoor,1, field_48160_a,entityObj,1, +field_48161_b,leapTarget,1, +field_48162_c,leapMotionY,1, +field_48163_a,leaper,1, field_48165_b,targetVillager,1, field_48167_a,villagerObj,1, field_48175_a,entityObj,1, +field_48181_b,entityHost,1,The entity the AI instance has been applied to +field_48182_c,attackTarget,1, field_481_e,nameToClassMap,1,A HashMap storing string names of classes mapping to the actual java.lang.Class type. +field_48268_a,temptedEntity,1, +field_48269_l,scaredByPlayerMovement,1, +field_48291_c,taskOwner,1,The entity that this task belongs to field_482_d,zCoord,1,The z coordinate of the tile entity. field_48302_a,irongolem,1, field_48308_d,worldObj,1, @@ -4755,18 +4835,29 @@ field_48310_b,villagerObj,1, field_48311_c,mate,1, field_48312_a,villageObj,1, field_48337_aM,targetTasks,1, +field_48338_d,lastAttackingEntity,1, field_48339_c,revengeTimer,1, field_48341_o,homePosition,1, -field_48342_l,aiTarget,1,The active target the Task system uses for tracking +field_48342_l,attackTarget,1,The active target the Task system uses for tracking +field_48344_j,bodyHelper,1, field_48345_k,navigator,1, -field_48346_p,maximumHomeDistance,1, +field_48346_p,maximumHomeDistance,1,If -1 there is no maximum distance field_48358_g,isPlayingFlag,1, field_48359_b,randomTickDivider,1, field_48360_c,isMatingFlag,1, field_48361_a,villageObj,1, field_48374_a,aiSit,1, field_48387_a,villageObj,1, +field_48388_bD,fireballCharge,1,Fire Charge. When used in a dispenser it fires a fireball similiar to a Ghast's. +field_48389_bC,expBottle,1,Bottle o' Enchanting. Drops between 1 and 3 experience orbs when thrown. field_483_c,yCoord,1,The y coordinate of the tile entity. +field_48404_b,woodMetadata,1,Sets the metadata for the wood blocks used +field_48405_c,leavesMetadata,1,Sets the metadata for the leaves used in huge trees +field_48410_f,isMovementBlockAllowed,1,should the PathFinder disregard BlockMovement type materials in its path +field_48411_g,isPathingInWater,1, +field_48412_e,isWoddenDoorAllowed,1,should the PathFinder go through wodden door blocks +field_48413_h,canEntityDrown,1,tells the FathFinder to not stop pathing underwater +field_48430_b,currentPathIndex,1,PathEntity Array Index the Entity is currently targeting field_48487_f,lastActivityTimestamp,1, field_48488_g,isDetachedFromVillageFlag,1, field_48489_d,insideDirectionX,1, @@ -4778,14 +4869,18 @@ field_48494_h,doorOpeningRestrictionCounter,1, field_484_f,lineBeingEdited,1,"The index of the line currently being edited. Only used on client side, but defined on both. Note this is only really used when the > < are going to be visible." field_48536_f,lastAddDoorTimestamp,1, field_48537_g,tickCounter,1, -field_48538_d,center,1, +field_48538_d,center,1,This is the actual village center. field_48539_e,villageRadius,1, -field_48540_b,villageDoorInfoList,1, -field_48541_c,centerHelper,1, +field_48540_b,villageDoorInfoList,1,list of VillageDoorInfo objects +field_48541_c,centerHelper,1,This is the sum of all door coordinates and used to calculate the actual village center by dividing by the number of doors. field_48542_a,worldObj,1, field_48543_j,numIronGolems,1, field_48544_h,numVillagers,1, field_48545_i,villageAgressors,1, +field_48548_b,canSeeCachePositive,1, +field_48549_c,canSeeCacheNegative,1, +field_48550_a,entityObj,1, +field_48566_p,storageArrays,1,"Used to store block IDs, block MSBs, Sky-light maps, Block-light maps, and metadata. Each entry corresponds to a logical segment of 16x16x16 blocks, stacked vertically." field_48568_f,data,1, field_48569_g,blocks,1, field_48570_d,blockLight,1, @@ -4797,7 +4892,14 @@ field_48576_j,tileTicks,1, field_48577_k,x,1, field_48578_h,entities,1, field_48579_i,tileEntities,1, +field_48583_f,stringToIDMapping,1,Maps entity names to their numeric identifiers field_485_e,signText,1,An array of four strings storing the lines of text on the sign. +field_48610_g,blocklightArray,1,The NibbleArray containing a block of Block-light data. +field_48611_d,blockLSBArray,1,Contains the least significant 8 bits of each block ID belonging to this block storage's parent Chunk. +field_48612_e,blockMSBArray,1,Contains the most significant 4 bits of each block ID belonging to this block storage's parent Chunk. +field_48613_b,blockRefCount,1,A total count of the number of non-air blocks in this block storage's Chunk. +field_48614_c,tickRefCount,1,Contains the number of blocks in this block storage's parent chunk that require random ticking. Used to cull the Chunk from random tick updates for performance reasons. +field_48616_h,skylightArray,1,The NibbleArray containing a block of Sky-light data. field_48619_b,depthBits,1, field_48620_c,depthBitsPlusFour,1, field_48621_a,data,1, @@ -4806,9 +4908,10 @@ field_48626_c,villageObj,1, field_48627_a,agressor,1, field_48640_d,villageList,1, field_48641_e,tickCounter,1, -field_48642_b,villagerPositionsList,1, +field_48642_b,villagerPositionsList,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." field_48643_c,newDoors,1, field_48644_a,worldObj,1, +field_48670_f,noSunPathfind,1, field_486_h,furnaceCookTime,1,The number of ticks that the current item has been cooking for field_487_g,currentItemBurnTime,1,The number of ticks that a fresh copy of the currently-burning item would keep the furnace burning for field_488_f,furnaceBurnTime,1,The number of ticks that the furnace will keep burning @@ -4829,7 +4932,7 @@ field_501_b,upperChest,1,Inventory object corresponding to double chest upper pa field_502_a,name,1,Name of the chest. field_503_c,lowerChest,1,Inventory object corresponding to double chest lower part field_505_v,clay,1, -field_507_t,craftedSnow,1, +field_507_t,craftedSnow,1,The material for crafted snow. field_508_s,snow,1, field_509_r,ice,1, field_50_e,metadataArray,1,The metadata for each block changed. @@ -4855,10 +4958,10 @@ field_533_w,dirt,1, field_534_v,grass,1, field_535_u,stone,1, field_536_t,lightValue,1,Amount of light emitted -field_537_s,canBlockGrass,1, +field_537_s,canBlockGrass,1,Array of booleans that tells if a block can grass field_538_r,lightOpacity,1,How much light is subtracted for going through this block field_53_b,yPosition,1,Block Y position. -field_540_p,opaqueCubeLookup,1, +field_540_p,opaqueCubeLookup,1,An array of 256 booleans corresponding to the result of the isOpaqueCube() method for each block ID field_542_n,blocksList,1,List of ly/ff (BlockType) containing the already registered blocks. field_54_a,xPosition,1,Block X position. field_551_e,soundPowderFootstep,1, @@ -4917,13 +5020,13 @@ field_6044_a,entityId,1, field_6047_y,sapling,1, field_604_ao,bookShelf,1, field_605_an,tnt,1, -field_6065_bd,glowStone,1, +field_6065_bd,glowStone,1,a brittle glass like substance found only in the nether field_607_al,stairSingle,1, field_6084_a,localFlag,1, field_6088_a,graphicsLevel,1,"Used to determine how to display leaves based on the graphics level. May also be used in rendering for transparency, not sure." field_608_ak,stairDouble,1, field_60_g,pitch,1,The pitch of the entity. -field_6124_at,fishEntity,1, +field_6124_at,fishEntity,1,"An instance of a fishing rod's hook. If this isn't null, the icon image of the fishing rod is slightly different" field_6144_as,fishPitch,1, field_6145_ar,fishYaw,1, field_6146_aq,fishZ,1, @@ -4937,7 +5040,7 @@ field_6159_E,cloudColour,1, field_6160_D,mcServer,1, field_6162_n,color,1, field_6163_m,biomeName,1, -field_6164_h,colorsSunriseSunset,1, +field_6164_h,colorsSunriseSunset,1,Array for sunrise/sunset colors (RGBA) field_6165_g,worldType,1,0 for normal world -1 for hell field_6166_d,isHellWorld,1,States whether the Hell world provider is used(true) or if the normal world provider is used(false) field_616_ac,cloth,1, @@ -4973,10 +5076,10 @@ field_653_b,isFreestanding,1,Whether this is a freestanding sign or a wall-mount field_654_a,signEntityClass,1, field_655_a,isActive,1,"True if this is an active furnace, false if idle" field_656_a,random,1, -field_658_b,isOptimalFlowDirection,1, -field_659_a,numAdjacentSources,1, +field_658_b,isOptimalFlowDirection,1,Indicates whether the flow direction is optimal. Each array index corresponds to one of the four cardinal directions. +field_659_a,numAdjacentSources,1,Number of horizontally adjacent liquid source blocks. Diagonal doesn't count. Only source blocks of the same liquid as the block using the field are counted. field_65_i,rotating,1,Boolean set to true if the player is rotating. -field_660_c,flowCost,1, +field_660_c,flowCost,1,The estimated cost to flow in a given direction from the current point. Each array index corresponds to one of the four cardinal directions. field_663_c,baseIndexInPNG,1,The base index in terrain.png corresponding to the fancy version of the leaf texture. This is stored so we can switch the displayed version between fancy and fast graphics (fast is this index + 1). field_664_a,triggerMobType,1,The mob type that can trigger this pressure plate. field_665_a,glowing,1, @@ -4984,31 +5087,31 @@ field_666_a,blockName,1, field_66_h,moving,1,Boolean set to true if the player is moving. field_674_b,thisWorld,1,The world object that this object is connected to. field_675_a,thisPlayer,1,The player that this object references. -field_676_s,lastSaveTime,1, -field_677_r,hasEntities,1, +field_676_s,lastSaveTime,1,The time according to World.worldTime when this chunk was last saved +field_677_r,hasEntities,1,Whether this Chunk has any Entities and thus requires saving on every tick field_67_g,onGround,1,True if the client is on the ground. field_680_o,isModified,1,Set to true if the chunk has been modified and needs to be updated internally. field_681_n,isTerrainPopulated,1,Boolean value indicating if the terrain is populated. -field_683_l,chunkTileEntityMap,1, +field_683_l,chunkTileEntityMap,1,A Map of ChunkPositions to TileEntities in this chunk field_684_k,zPosition,1,The z coordinate of the chunk. field_685_j,xPosition,1,The x coordinate of the chunk. field_68_f,pitch,1,The player's pitch rotation. field_691_d,worldObj,1,Reference to the World object. -field_692_c,isChunkLoaded,1, +field_692_c,isChunkLoaded,1,Whether or not this Chunk is currently loaded into the World field_694_a,isLit,1,Determines if the chunk is lit or not at a light value greater than 0. field_695_u,caveGenerator,1, field_69_e,yaw,1,The player's yaw rotation. field_6_d,rand,1,The Random object used to generate serverId hex strings. field_700_p,worldObj,1,Reference to the World object. -field_702_n,noiseGen4,1, -field_703_m,noiseGen3,1, -field_704_l,noiseGen2,1, -field_705_k,noiseGen1,1, +field_702_n,noiseGen4,1,A NoiseGeneratorOctaves used in generating terrain +field_703_m,noiseGen3,1,A NoiseGeneratorOctaves used in generating terrain +field_704_l,noiseGen2,1,A NoiseGeneratorOctaves used in generating terrain +field_705_k,noiseGen1,1,A NoiseGeneratorOctaves used in generating terrain field_706_j,rand,1,RNG. field_70_d,stance,1,The player's stance. (boundingBox.minY) field_713_c,mobSpawnerNoise,1, -field_714_b,noiseGen6,1, -field_715_a,noiseGen5,1, +field_714_b,noiseGen6,1,A NoiseGeneratorOctaves used in generating terrain +field_715_a,noiseGen5,1,A NoiseGeneratorOctaves used in generating terrain field_71_c,zPosition,1,The player's Z position. field_724_b,dummyChunk,1,"a dummy chunk, returned in place of an actual chunk." field_725_a,droppedChunksSet,1, @@ -5032,10 +5135,10 @@ field_741_a,data,1,The byte value for the tag. field_742_a,data,1,The integer value for the tag. field_743_b,count,1,The number of points in this path field_744_a,pathPoints,1,Contains the points in this path -field_746_o,leafNodes,1, -field_747_n,leafDistanceLimit,1, -field_748_m,heightLimitLimit,1, -field_749_l,trunkSize,1, +field_746_o,leafNodes,1,Contains a list of a points at which to generate groups of leaves. +field_747_n,leafDistanceLimit,1,Sets the distance limit for how far away the generator will populate leaves from the base leaf node. +field_748_m,heightLimitLimit,1,Sets the limit of the random value used to initialize the height limit. +field_749_l,trunkSize,1,"Currently always 1, can be set to 2 in the class constructor to generate a double-sized tree trunk for big trees." field_74_b,id,1,The block/item id to be equipped. field_750_k,leafDensity,1, field_751_j,scaleWidth,1, @@ -5047,7 +5150,7 @@ field_756_e,heightLimit,1, field_757_d,basePos,1, field_758_c,worldObj,1,Reference to the World object. field_759_b,rand,1,random seed for GenBigTree -field_760_a,otherCoordPairs,1, +field_760_a,otherCoordPairs,1,"Contains three sets of two values that provide complimentary indices for a given 'major' index - 1 and 2 for 0, 0 and 2 for 1, and 0 and 1 for 2." field_761_b,numberOfBlocks,1,The number of blocks to generate. field_762_a,minableBlockId,1,The block ID of the ore to be placed using this generator. field_763_b,numberOfBlocks,1,The number of blocks to generate. @@ -5080,8 +5183,8 @@ field_805_k,playerEntities,1,Array list of players in the world. field_808_h,editingBlocks,1,true while the server is editing blocks field_80_d,direction,1,The offset to use for block/item placement. field_811_e,skylightSubtracted,1,How much light is subtracted from full daylight -field_814_b,loadedTileEntityList,1, -field_815_a,loadedEntityList,1, +field_814_b,loadedTileEntityList,1,A list of all TileEntities in all currently-loaded chunks +field_815_a,loadedEntityList,1,A list of all Entities in all currently-loaded chunks field_816_A,levelSaving,1,Whether or not level saving is enabled field_819_z,disableSpawnProtection,1,Set to true when an op is building or this dimension != 0 field_81_c,zPosition,1, @@ -5103,14 +5206,14 @@ field_837_d,growFactor,1,The scale factor used to determine when to grow the tab field_838_c,threshold,1,The grow threshold field_839_a,dateFormat,1,The date format to use in the console log. field_83_a,entityId,1,The ID of this entity. -field_840_b,valueEntry,1, -field_841_a,hashEntry,1, -field_842_d,slotHash,1, -field_843_c,nextEntry,1, +field_840_b,valueEntry,1,The object stored in this entry +field_841_a,hashEntry,1,The hash code of this entry +field_842_d,slotHash,1,The id of the hash slot computed from the hash +field_843_c,nextEntry,1,The next entry in this slot field_844_a,data,1,Byte array of data stored in this holder. Possibly a light map or some chunk data. Data is accessed in 4-bit pieces. -field_845_b,y,1, -field_846_a,x,1, -field_847_c,z,1, +field_845_b,y,1,The y coordinate of this ChunkPosition +field_846_a,x,1,The x coordinate of this ChunkPosition +field_847_c,z,1,The z coordinate of this ChunkPosition field_848_b,classToStringMapping,1,Provides a mapping between a string and an entity classes field_849_a,stringToClassMapping,1,Provides a mapping between entity classes and a string field_84_g,rotating,1,Boolean set to true if the entity is rotating. @@ -5166,13 +5269,13 @@ field_9025_h,soundStoneFootstep,1, field_9026_g,soundGrassFootstep,1, field_9027_f,soundGravelFootstep,1, field_9028_e,soundWoodFootstep,1, -field_9029_Z,pistonBase,1, -field_9030_Y,deadBush,1, -field_9031_X,tallGrass,1, +field_9029_Z,pistonBase,1,Is the normal piston block. +field_9030_Y,deadBush,1,BlockDeadBush +field_9031_X,tallGrass,1,BlockTallGrass field_9032_W,web,1,Slows entities on collision. -field_9033_V,pistonStickyBase,1, +field_9033_V,pistonStickyBase,1,Is the sticky piston block. field_9034_U,railDetector,1,Minecart detector rail track. -field_9035_bf,pumpkinLantern,1, +field_9035_bf,pumpkinLantern,1,The Jack-O-Lantern field_9036_T,railPowered,1,Powered rail track. field_9037_S,bed,1,the bed block's id field_9038_R,music,1, @@ -5200,9 +5303,9 @@ field_9064_W,rand,1, field_9066_T,noClip,1,Whether this entity won't clip with collision or not (make note it won't disable gravity) field_9067_S,stepHeight,1,How high this entity can step up when running into a block to try to get over it (currently make note the entity will always step up this amount and not just the amount needed) field_9068_R,ySize,1, -field_9069_Q,lastTickPosZ,1, -field_9070_P,lastTickPosY,1, -field_9071_O,lastTickPosX,1, +field_9069_Q,lastTickPosZ,1,"The entity's Z coordinate at the previous tick, used to calculate position during rendering routines" +field_9070_P,lastTickPosY,1,"The entity's Y coordinate at the previous tick, used to calculate position during rendering routines" +field_9071_O,lastTickPosX,1,"The entity's X coordinate at the previous tick, used to calculate position during rendering routines" field_9072_N,fallDistance,1, field_9074_L,distanceWalkedModified,1,The distance walked multiplied by 0.6 field_9075_K,prevDistanceWalkedModified,1,The previous ticks distance walked multiplied by 0.6 @@ -5212,7 +5315,7 @@ field_9079_ae,isImmuneToFire,1, field_9080_D,isCollided,1,True if after a move this entity has collided with something either vertically or horizontally field_9082_C,isCollidedVertically,1,True if after a move this entity has collided with something on Y-axis field_9083_ac,heartsLife,1, -field_9084_B,isCollidedHorizontally,1, +field_9084_B,isCollidedHorizontally,1,True if after a move this entity has collided with something on X- or Z-axis field_9085_ab,inWater,1,Whether this entity is currently inside of water (if it handles water movement that is) field_9086_A,onGround,1, field_9088_y,prevRotationPitch,1, @@ -5220,7 +5323,7 @@ field_9089_x,prevRotationYaw,1, field_9090_o,prevPosZ,1, field_9091_n,prevPosY,1, field_9092_m,prevPosX,1, -field_9093_l,worldObj,1, +field_9093_l,worldObj,1,Reference to the World object. field_9094_h,renderDistanceWeight,1, field_9095_az,renderYawOffset,1, field_9099_av,heartsHalvesLife,1, @@ -5230,10 +5333,10 @@ field_9100_aZ,dead,1,"This gets set on entity death, but never used. Looks like field_9101_aY,cameraPitch,1, field_9102_aX,prevCameraPitch,1, field_9103_aW,attackTime,1, -field_9104_aV,deathTime,1, +field_9104_aV,deathTime,1,"The amount of time remaining this entity should act 'dead', i.e. have a corpse in the world." field_9105_aU,attackedAtYaw,1,The yaw at which this entity was last attacked from. -field_9106_aT,maxHurtTime,1, -field_9107_aS,hurtTime,1, +field_9106_aT,maxHurtTime,1,What the hurt time was max set to last. +field_9107_aS,hurtTime,1,The amount of time remaining this entity should act 'hurt'. (Visual appearance of red tint) field_9108_aR,prevHealth,1, field_9109_aQ,health,1, field_910_b,trackedEntityHashTable,1,Used for identity lookup of tracked entities. @@ -5246,20 +5349,20 @@ field_911_a,trackedEntitySet,1,"List of tracked entities, used for iteration ope field_9125_aA,prevRenderYawOffset,1, field_9126_bt,moveSpeed,1, field_9127_bs,defaultPitch,1, -field_9128_br,isJumping,1, +field_9128_br,isJumping,1,used to check whether entity is jumping. field_9129_bq,randomYawVelocity,1, field_912_d,maxTrackingDistanceThreshold,1, field_9130_bp,moveForward,1, field_9131_bo,moveStrafing,1, field_9132_bn,entityAge,1,The age of this EntityLiving (used to determine when it dies) field_9133_bm,naturalArmorRating,1,intrinsic armor level for entity -field_9135_bk,newRotationPitch,1, -field_9136_bj,newRotationYaw,1, -field_9137_bi,newPosZ,1, -field_9138_bh,newPosY,1, -field_9139_bg,newPosX,1, +field_9135_bk,newRotationPitch,1,The new yaw rotation to be applied to the entity. +field_9136_bj,newRotationYaw,1,The new yaw rotation to be applied to the entity. +field_9137_bi,newPosZ,1,The new Z position to be applied to the entity. +field_9138_bh,newPosY,1,The new Y position to be applied to the entity. +field_9139_bg,newPosX,1,The new X position to be applied to the entity. field_913_c,mcServer,1,Reference to the MinecraftServer object. -field_9140_bf,newPosRotationIncrements,1, +field_9140_bf,newPosRotationIncrements,1,The number of updates over which the new position and rotation are to be applied to the entity. field_9147_ar,swingProgressInt,1, field_9148_aq,isSwinging,1,Whether the player is swinging the current item in their hand. field_9149_ap,cameraYaw,1, diff --git a/forge/conf/methods.csv b/forge/conf/methods.csv index 85a8823c6..16cd4d165 100644 --- a/forge/conf/methods.csv +++ b/forge/conf/methods.csv @@ -13,7 +13,7 @@ func_1011_a,setLightValue,0,"Sets the light value at the coordinate. If enumskyb func_1012_a,needsSaving,0,Returns true if this Chunk needs to be saved func_1013_a,getEntitiesOfTypeWithinAAAB,0,"Gets all entities that can be assigned to the specified class. Args: entityClass, aabb, listToFill" func_1015_b,removeEntity,0,removes entity using its y chunk coordinate as its index -func_1016_a,removeEntityAtIndex,0,removes entity at index i from entity array +func_1016_a,removeEntityAtIndex,0,Removes entity at the specified index from the entity array. func_1017_a,isAtLocation,0,Checks whether the chunk is at the X/Z location specified func_1018_b,generateHeightMap,0,Generates the height map for a chunk from scratch func_1019_c,getBlockLightValue,0,Gets the amount of light on a block taking into account sunlight @@ -173,7 +173,7 @@ func_1195_b,setDontDraw,0,When called this renderer won't draw anymore until its func_1196_e,skipAllRenderPasses,0,Checks if all render passes are to be skipped. Returns false if the renderer is not initialized func_1197_a,setPosition,0,Sets a new position for the renderer and setting it up so it can be reloaded with the new data for that position func_1198_a,updateRenderer,0,Will update this chunk renderer -func_1199_a,updateInFrustrum,0, +func_1199_a,updateInFrustum,0, func_1200_a,getGLCallListForPass,0,Takes in the pass the call list is being requested for. Args: renderPass func_1201_d,callOcclusionQueryList,0,Renders the occlusion query GL List func_1202_a,distanceToEntitySquared,0,"Returns the distance of this chunk renderer to the entity without performing the final normalizing square root, for performance reasons." @@ -191,7 +191,7 @@ func_1214_n,renderBlockStairs,0,Renders a stair block at the given coordinates func_1216_f,renderBlockMinecartTrack,0,Renders a minecart track block at the given coordinates func_1217_b,renderTopFace,0,"Renders the given texture to the top face of the block. Args: block, x, y, z, texture" func_1218_o,renderBlockDoor,0,Renders a door block at the given coordinates -func_1219_a,renderItemIn3d,0,checks if int i (the items getRenderType() number) should be rendered as a regular block or not +func_1219_a,renderItemIn3d,0,Checks to see if the item's render type indicates that it should be rendered as a regular block or not. func_1220_c,renderEastFace,0,"Renders the given texture to the east (z-negative) face of the block. Args: block, x, y, z, texture" func_1221_g,renderBlockLadder,0,Renders a ladder block at the given coordinates func_1222_j,renderBlockFluids,0,Renders a block based on the BlockFluids class at the given coordinates @@ -301,7 +301,7 @@ func_20010_a,setIconCoord,0, func_20011_a,setItemName,0,set name of item from language file func_20012_a,setBlockName,0,set name of block from language file func_20013_i,getBlockName,0, -func_20045_c,outfitWithItem,0,"args: if j >= 0 a new item will be generated with j as itemid and; k as damage - ignored if j < 0; i 0 for held item, 1-4 for armor slots 0-3, o;" +func_20045_c,outfitWithItem,0,"Parameters: item slot, item ID, item damage. If slot >= 0 a new item will be generated with the specified item ID damage." func_20046_s,updateCloak,0, func_20058_b,onItemStackChanged,0, func_20059_m,closeScreen,0,sets current screen to null (used on escape buttons of GUIs) @@ -331,7 +331,7 @@ func_20111_a,getNextTransactionID,0,Gets a unique transaction ID. Parameter is u func_20112_a,updateProgressBar,0, 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_20117_a,addSlot,0, +func_20117_a,addSlot,0,adds the slot to the inventory it is in func_20118_a,getSlot,0,gets the nth slot func_20119_a,putStackInSlot,0,"args: slotID, itemStack to put in slot" func_20120_b,canInteractWith,0, @@ -342,8 +342,8 @@ func_20137_a,getEnumOptions,0, func_20138_d,getEnumString,0, func_20140_b,getEnumBoolean,0, func_20156_a,getAllowedCharacters,0,"Load the font.txt resource file, that is on UTF-8 format. This file contains the characters that minecraft can render Strings on screen." -func_20158_a,updateCraftingInventoryInfo,0, -func_20159_a,updateCraftingInventorySlot,0, +func_20158_a,updateCraftingInventoryInfo,0,send information about the crafting inventory to the client(currently only for furnace times) +func_20159_a,updateCraftingInventorySlot,0,inform the player of a change in a single slot func_20160_a,translateKeyFormat,0,Translate a key to current language applying String.format() func_20161_b,translateNamedKey,0,"Translate a key with a extra '.name' at end added, is used by blocks and items." func_20162_a,getInstance,0,Return the StringTranslate singleton instance @@ -393,7 +393,7 @@ func_21072_p,getSheared,0,returns true if a sheeps wool has been sheared func_21073_a,setSheared,0,make a sheep sheared if set to true func_21074_p_,getFleeceColor,0, func_21090_e,setCreeperState,0,"Sets the state of creeper, -1 to idle and 1 to be 'in fuse'" -func_21091_q,getCreeperState,0,"Returns the current state of crepper, -1 is idle, 1 is 'in fuse'" +func_21091_q,getCreeperState,0,"Returns the current state of creeper, -1 is idle, 1 is 'in fuse'" func_21092_a,displayGUIDispenser,0,Displays the dipsenser GUI for the passed in dispenser entity. Args: TileEntityDispenser func_21094_a,triggerNote,0,plays the stored note func_21095_a,changePitch,0,change pitch by -> (currentPitch + 1) % 25 @@ -490,7 +490,7 @@ func_22031_a,setBedOccupied,0,Sets whether or not the bed is occupied. func_22032_d,isBlockFootOfBed,0,Returns whether or not this bed block is the foot of the bed. func_22036_h,getOrientation,0,Get side which this button is facing. func_22049_v,isMovementBlocked,0,Dead and sleeping entities cannot move -func_22050_O,playLivingSound,0, +func_22050_O,playLivingSound,0,Plays living's sound at its position func_22051_K,isPlayerSleeping,0,Returns whether player is sleeping or not func_22053_b,sleepInBedAt,0,Attempts to have the player sleep in a bed at the specified location. func_22054_L,isPlayerFullyAsleep,0,Returns whether or not the player is asleep and the screen has fully faded. @@ -532,9 +532,9 @@ func_22141_x,wakeUpAllPlayers,0,Wakes up all players in the world. func_22142_y,isAllPlayersFullyAsleep,0,Returns whether or not all players in the world are fully asleep. func_22143_a,setSpawnPoint,0, func_22144_v,getWorldInfo,0,Gets the World's WorldInfo instance -func_22148_a,saveWorldInfoAndPlayer,0, +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_22150_b,checkSessionLock,0, +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_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) @@ -547,7 +547,7 @@ func_22164_a,getFileName,0,return the file name func_22170_a,renameWorld,0,@args: Takes two arguments - first the name of the directory containing the world and second the new name for that world. @desc: Renames the world by storing the new name in level.dat. It does *not* rename the directory containing the world data. func_22171_a,convertMapFormat,0,"Converts the specified map to the new map format. Args: worldName, loadingScreen" func_22172_c,deleteWorldDirectory,0,@args: Takes one argument - the name of the directory of the world to delete. @desc: Delete the world by deleting the associated directory recursively. -func_22173_b,getWorldInfo,0, +func_22173_b,getWorldInfo,0,gets the world info func_22174_a,getSaveLoader,0,Returns back a loader for the specified save directory func_22175_a,isOldMapFormat,0,Checks if the save directory uses the old map format func_22176_b,getSaveList,0, @@ -560,21 +560,21 @@ func_22190_d,getChunkOutputStream,0,"Returns an output stream for the specified func_22192_a,clearRegionFileReferences,0,Saves the current Chunk Map Cache func_22193_a,createOrLoadRegionFile,0, func_22194_c,getChunkInputStream,0,"Returns an input stream for the specified chunk. Args: worldDir, chunkX, chunkZ" -func_22196_b,close,0, +func_22196_b,close,0,close this RegionFile and prevent further writes func_22197_a,debug,0, -func_22198_a,setOffset,0, +func_22198_a,setOffset,0,"args: x, z, offset - sets the chunk's offset in the region file" func_22199_a,debug,0, func_221_d,getCollisionBoundingBoxFromPool,0,Returns a bounding box from the pool of bounding boxes (this means this box can change after the pool has been cleared to be reused) -func_22200_a,write,0, +func_22200_a,write,0,"args: sectorNumber, data, length - write the chunk data to this RegionFile" func_22201_b,debugln,0, -func_22202_c,isChunkSaved,0, -func_22203_a,write,0, +func_22202_c,isChunkSaved,0,"args: x, z, - true if chunk has been saved / converted" +func_22203_a,write,0,"args: x, z, data, length - write chunk data at (x, z) to disk" func_22204_b,debugln,0, -func_22205_b,getChunkDataOutputStream,0, -func_22206_d,outOfBounds,0, -func_22207_e,getOffset,0, -func_22208_b,setChunkTimestamp,0, -func_22210_a,getChunkDataInputStream,0, +func_22205_b,getChunkDataOutputStream,0,"args: x, z - get an output stream used to write chunk data, data is on disk when the returned stream is closed" +func_22206_d,outOfBounds,0,"args: x, z - check region bounds" +func_22207_e,getOffset,0,"args: x, y - get chunk's offset in region file" +func_22208_b,setChunkTimestamp,0,"args: x, z, timestamp - sets the chunk's write timestamp" +func_22210_a,getChunkDataInputStream,0,"args: x, y - get uncompressed chunk stream from the region file" func_22211_a,debug,0, func_22239_a,overlayBackground,0,Overlays the background to hide scrolled items func_22240_a,registerScrollButtons,0,Registers the IDs that can be used for the scrollbar's buttons. @@ -648,7 +648,7 @@ func_25008_a,onBlockDestroyed,0, func_25009_k,getStatName,0, func_25011_l,getHealAmount,0, func_25012_m,isWolfsFavoriteMeat,0,Whether wolves like this food (true for raw and cooked porkchop). -func_25016_i,translateBlockName,0, +func_25016_i,translateBlockName,0,gets the localized version of the name of this block using StatCollector.translateToLocal. Used for the statistic page. func_25021_m,canTriggerWalking,0,returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to prevent them from trampling crops func_25023_u,canDespawn,0,"Determines if an entity can be despawned, used on idle far away entities" func_25026_x,getVerticalFaceSpeed,0,The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently use in wolves. @@ -684,8 +684,8 @@ func_25099_a,getPlayerEntityByName,0,Find a player by name in this world. func_250_a,blockActivated,0,"Called upon block activation (left or right click on the block.). The three integers represent x,y,z of the block." func_25100_a,readStat,0, func_25103_a,setLivingAnimations,0,Used for easily adding entity-dependent animations. The second and third float params here are the same second and third as in the setRotationAngles method. -func_25115_b,getWatchableObjectInt,0, -func_25116_c,getWatchableObjectString,0, +func_25115_b,getWatchableObjectInt,0,gets a watchable object and returns it as a Integer +func_25116_c,getWatchableObjectString,0,gets a watchable object and returns it as a String func_25117_b,getRecipeOutput,0, func_25118_a,handleBed,0, func_25122_b,renderWithRotation,0, @@ -703,7 +703,7 @@ func_25156_a,replaceSimilarBlocks,0,"Forces stats for one block to add to anothe func_25157_c,initCraftableStats,0,Initializes statistics related to craftable items. Is only called after both block and item stats have been initialized. func_25190_a,damageItem,0,Damages the item in the ItemStack func_25191_a,onDestroyBlock,0, -func_25193_b,getRecipeList,0, +func_25193_b,getRecipeList,0,returns the List<> of all recipes func_25194_b,getSmeltingList,0, func_25199_a,translateToLocalFormatted,0,Translates a Stat name with format args func_251_c,isVecInsideXYBounds,0,Checks if a vector is within the X and Y bounds of the block. @@ -737,9 +737,9 @@ func_27014_a,onStruckByLightning,0,Called when a lightning bolt hits the entity. func_27015_a,onKillEntity,0,This method gets called when the entity kills another one. func_27021_X,despawnEntity,0,Makes the entity despawn if requirements are reached func_27022_s,getPowered,0,Returns true if the creeper is powered by a lightning bolt. -func_27023_a,isCourseTraversable,0, +func_27023_a,isCourseTraversable,0,True if the ghast has an unobstructed line of travel to the waypoint. func_27024_i,addMountedMovementStat,0,"Adds a value to a mounted movement statistic field - by minecart, boat, or pig." -func_27025_G,isPVPEnabled,0, +func_27025_G,isPVPEnabled,0,returns if pvp is enabled or not func_27026_a,triggerAchievement,0,Will trigger the specified trigger. func_27027_b,incrementStat,0,Used by NetClientHandler.handleStatistic func_27032_l,disableStats,0,"Disable statistics for the block, the block will no count for mined or placed." @@ -805,13 +805,13 @@ func_27147_a,drawButtonBackground,0,Draws a gray box that serves as a button bac func_27148_a,drawItemSprite,0,Draws the item sprite on top of the background sprite. func_27149_g,getMinecraft2,0,exactly the same as 27141 and 27143 func_27158_h,setRainStrength,0, -func_27159_a,addWeatherEffect,0, +func_27159_a,addWeatherEffect,0,adds a lightning bolt to the list of lightning bolts in this world. func_27160_B,isThundering,0,Returns true if the current thunder strength (weighted with the rain strength) is greater than 0.9 func_27161_C,isRaining,0,Returns true if the current rain strength is greater than 0.2 -func_27162_g,getRainStrength,0, +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_27164_F,clearWeather,0,Stops all weather effects. -func_27165_m,updateWeather,0, +func_27165_m,updateWeather,0,update's all weather states. func_27166_f,getWeightedThunderStrength,0, func_27167_r,canLightningStrikeAt,0, func_27174_a,windowClick,0, @@ -955,7 +955,7 @@ func_28022_b,attackBlockedEntity,0,Used when an entity is close enough to attack func_28027_d,isBlockTranslucent,0, func_28028_i,initializeBlock,0,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_28029_d,isBlockSolid,0,"Returns Returns true if the given side of this block type should be rendered (if it's solid or not), if the adjacent block is at the given coordinates. Args: blockAccess, x, y, z, side" -func_28030_e,canPlaceBlockOnSide,0, +func_28030_e,canPlaceBlockOnSide,0,checks to see if you can place this block can be placed on that side of a block: BlockLever overrides func_28031_n,setRequiresSelfNotify,0,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_28038_b_,ejectRecord,0,Ejects the current record inside of the jukebox. func_28041_d,isTrapdoorOpen,0, @@ -986,7 +986,7 @@ func_28125_a,mergeItemStack,0,merges provided ItemStack with the first avaliable func_28126_h,isOpaque,0,Indicates if the material is translucent func_28127_i,setTranslucent,0,Marks the material as translucent func_28136_a,playAuxSFX,0,"Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc)." -func_28138_e,isTerminating,0, +func_28138_e,isTerminating,0,Gets whether the Network manager is terminating. func_28139_a,wakeThreads,0,Wakes reader and writer threads func_28140_f,getOutputStream,0, func_28142_c,serverShutdown,0,Shuts down the server. (Only actually used on the server) @@ -1013,7 +1013,7 @@ func_28187_b,loadIdCounts,0,Loads the idCounts Map from the 'idcounts' file. func_28188_a,saveAllData,0,Saves all dirty loaded MapDataBases to disk. func_28189_a,saveData,0,Saves the given MapDataBase to disk. func_28194_b,deleteDisplayLists,0, -func_28195_e,contract,0, +func_28195_e,contract,0,Returns a bounding box that is inset by the specified amounts func_28196_a,clearBoundingBoxes,0, func_281_g,getMaxCurrentStrength,0,"Returns the current strength at the specified block if it is greater than the passed value, or the passed value otherwise. Signature: (world, x, y, z, strength)" func_28215_a,clearVectorList,0,Clears the vector list. @@ -1041,14 +1041,14 @@ func_30010_b,copyItemStack,0,"Creates a copy of a ItemStack, a null parameters w func_300_a,calculateFlowCost,0,"calculateFlowCost(World world, int x, int y, int z, int accumulatedCost, int previousDirectionOfFlow) - Used to determine the path of least resistance, this method returns the lowest possible flow cost for the direction of flow indicated. Each necessary horizontal flow adds to the flow cost." func_301_k,isFlammable,0,Checks to see if the block is flammable. func_303_h,checkBlockCoordValid,0,"Checks if current block pos is valid, if not, breaks the block as dropable item. Used for reed and cactus." -func_305_h,redundantCanPlaceBlockAt,0, -func_31004_j,validate,0, -func_31005_i,invalidate,0, -func_31006_g,isInvalid,0, +func_305_h,redundantCanPlaceBlockAt,0,"This method is redundant, check it out..." +func_31004_j,validate,0,validates a tile entity +func_31005_i,invalidate,0,invalidates a tile entity +func_31006_g,isInvalid,0,"returns true if tile entity is invalid, false otherwise" func_31008_a,getProgress,0,Get interpolated progress value (between lastProgress and progress) given the fractional time between ticks as an argument. func_31009_d,getPistonOrientation,0,Returns the orientation of the piston as an int func_31010_a,updatePushedObjects,0, -func_31011_l,clearPistonTileEntity,0, +func_31011_l,clearPistonTileEntity,0,"removes a pistons tile entity (and if the piston is moving, stops it)" func_31012_k,shouldRenderHead,0, func_31013_d,getOffsetZ,0, func_31014_c,getOffsetY,0, @@ -1062,15 +1062,15 @@ func_31029_h,getMobilityFlag,0,"Returns the mobility information of the block, 0 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_31032_h,canPlaceTorchOn,0,Gets if we can place a torch on a block. -func_31034_c,getTileEntityAtLocation,0, +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_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_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_31042_a,canPushBlock,0,Will determine if the block can be pushed by pistons -func_31043_h,updatePistonState,0, -func_31044_d,getOrientation,0, +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_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_31047_i,tryExtend,0,pushes the blocks in front of the piston (if possible) @@ -1148,7 +1148,7 @@ func_35016_b,clearCurrentPositionBlocksUpwards,0,'deletes all continuous Blocks func_35017_a,getXWithOffset,0, func_35018_a,placeBlockAtCurrentPosition,0,"'current Position depends on currently set Coordinates mode, is computed here'" func_35019_a,fillTreasureChestWithLoot,0, -func_35020_a,findIntersecting,0, +func_35020_a,findIntersecting,0,Discover if bounding box can fit within the current bounding box object. func_35021_b,getBoundingBox,0, func_35022_a,fillWithRandomizedBlocks,0,"'arguments: World worldObj, StructureBoundingBox structBB, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean alwaysreplace, Random rand, StructurePieceBlockSelector blockselector'" func_35023_a,addComponentParts,0,"'second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes Mineshafts at the end, it adds Fences...'" @@ -1170,9 +1170,9 @@ func_35063_a,findValidPlacement,0, func_35066_a,findValidPlacement,0, func_35071_a,findValidPlacement,0, func_35074_a,canVillageGoDeeper,0, -func_35075_b,getAverageGroundLevel,0, -func_35076_b,getNextComponenetPP,0,"Gets the next village component, with the bounding box shift +1 in the X and Z direction." -func_35077_a,getNextComponenetNN,0,"Gets the next village component, with the bounding box shift -1 in the X and Z direction." +func_35075_b,getAverageGroundLevel,0,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_35076_b,getNextComponentPP,0,"Gets the next village component, with the bounding box shifted +1 in the X and Z direction." +func_35077_a,getNextComponentNN,0,"Gets the next village component, with the bounding box shifted -1 in the X and Z direction." func_35078_a,findValidPlacement,0,Trys to find a valid place to put this component. func_35080_a,findValidPlacement,0,Trys to find a valid place to put this component. func_35082_a,findValidPlacement,0, @@ -1190,7 +1190,7 @@ func_35113_c,setSprinting,0,Sets the player's sprinting state. func_35114_R,isEating,0, func_35115_a,getEntityBrightnessForRender,0, func_35116_d,setEating,0, -func_35117_Q,isSprinting,0, +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_35120_i,getTextureByXP,0,Returns a number from 1 to 10 based on how much XP this orb is worth. This is used by RenderXPOrb to determine what texture to use. func_35121_b,getXPSplit,0,Get xp split rate (Is called until the xp drop code in EntityLiving.onEntityUpdate is complete) @@ -1258,7 +1258,7 @@ func_35302_d,canBePlacedOn,0,returns true if a vine can be placed on that block func_35303_f,canConnectFenceTo,0,Returns true if the specified block can be connected by a fence func_35304_f,getMetadataForBlockType,0,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_35305_d,getPosingIdByMetadata,0,Gets the blockID of the block this block is pretending to be according to this block's metadata. -func_35306_h,unifyAdjacentChests,0, +func_35306_h,unifyAdjacentChests,0,Turns the adjacent chests to a double chest. func_35309_a,handleMouseClick,0, func_35310_g,getInventory,0,Returns the creative inventory func_35315_i,getLocalizedGameMode,0,Gets the localized GameMode @@ -1286,11 +1286,11 @@ func_35356_c,renderSkybox,0,Renders the skybox in the main menu func_35373_b,retrySlotClick,0, func_35374_a,scrollTo,0,Updates the gui slots ItemStack's based on scroll position. func_35376_a,renderTileEntityChestAt,0,Renders the TileEntity for the chest at a position. -func_35391_d,dropChunk,0, +func_35391_d,dropChunk,0,Drops the specified chunk. func_353_a,interact,0,"Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig." func_35402_a,renderAll,0,This method renders out all parts of the chest model. -func_35411_c,getMaxItemUseDuration,0, -func_35412_b,getItemUseAction,0, +func_35411_c,getMaxItemUseDuration,0,How long it takes to use or consume an item +func_35412_b,getItemUseAction,0,returns the action that specifies what animation to play when the items is being used func_35413_b,onFoodEaten,0, func_35414_a,onPlayerStoppedUsing,0,"called when the player releases the use item button. Args: itemstack, world, entityplayer, itemInUseCount" func_35424_o,setAlwaysEdible,0,"Set the field 'alwaysEdible' to true, and make the food edible even if the player don't need to eat." @@ -1307,10 +1307,10 @@ func_35448_a,renderSilverfish,0,Renders the silverfish. func_35449_a,shouldSilverfishRenderPass,0,Disallows the silverfish to render the renderPassModel. func_35451_b,getLightBrightnessForSkyBlocks,0,'Any Light rendered on a 1.8 Block goes through here' func_35453_b,getSpecialBlockBrightness,0,'is only used on stairs and tilled fields' -func_35454_a,getSkyBlockTypeBrightness,0,'Brightness for SkyBlock.Sky is clear white and (through color computing i assume) DEPENDANT ON DAYTIME. Brightness for SkyBlock.Block is yellowish and independant' +func_35454_a,getSkyBlockTypeBrightness,0,Brightness for SkyBlock.Sky is clear white and (through color computing it is assumed) DEPENDENT ON DAYTIME. Brightness for SkyBlock.Block is yellowish and independent. func_35455_a,markTileEntityForDespawn,0,adds tile entity to despawn list (renamed from markEntityForDespawn) func_35456_d,getCelestialAngleRadians,0,Return getCelestialAngle()*2*PI -func_35457_a,getSkyBlockTypeBrightness,0,'Brightness for SkyBlock.Sky is clear white and (through color computing i assume) DEPENDANT ON DAYTIME. Brightness for SkyBlock.Block is yellowish and independant' +func_35457_a,getSkyBlockTypeBrightness,0,Brightness for SkyBlock.Sky is clear white and (through color computing it is assumed) DEPENDENT ON DAYTIME. Brightness for SkyBlock.Block is yellowish and independent. func_35458_d,computeBlockLightValue,0, func_35459_c,updateLightByType,0, func_35460_a,computeSkyLightValue,0, @@ -1353,12 +1353,12 @@ func_35559_a,getBiomesToSpawnIn,0,Gets the list of valid biomes for the player t func_35560_b,getRainfall,0,"Returns a list of rainfall values for the specified blocks. Args: listToReuse, x, z, width, length." func_35561_b,cleanupCache,0,Calls the WorldChunkManager's biomeCache.cleanupCache() func_35562_a,areBiomesViable,0,checks given Chunk's Biomes against List of allowed ones -func_35566_f,getHashCode,0, +func_35566_f,getHashCode,0,public method to get the hashed key(hashCode) func_35567_b,resizeTable,0,resizes the table func_35568_g,getHashedKey,0,returns the hashed key given the original key func_35569_c,getEntry,0, func_35570_a,createKey,0,creates the key in the hash table -func_35571_a,hash,0, +func_35571_a,hash,0,the hash function func_35572_e,removeKey,0,removes the key from the hash linked list func_35573_a,getHashIndex,0,gets the index in the hash given the array length and the hashed key func_35574_d,remove,0,calls the removeKey method and returns removed object @@ -1397,7 +1397,7 @@ func_35646_d,enableAbilities,0,Enables creative abilities to the player func_35648_a,setCreative,0, func_35651_a,getBiomeGenAt,0,"Returns the BiomeGenBase related to the x, z position from the cache block." func_35660_a,isReady,0,checks if Potion effect is ready to be applied this tick. -func_35661_a,setPotionName,0, +func_35661_a,setPotionName,0,Set the potion name. func_35662_a,performEffect,0, func_35698_e,getNextComponentVillagePath,0, func_35699_a,getVillageComponentFromWeightedPiece,0, @@ -1427,7 +1427,7 @@ func_35734_a,getRandomItem,0,"Returns a random choice from the input items, with func_35735_a,getRandomItem,0,Returns a random choice from the input items. func_35736_a,getTotalWeight,0,Returns the total weight of all items in a collection. func_35737_a,getTotalWeight,0,Returns the total weight of all items in a array. -func_35738_b,expandTo,0, +func_35738_b,expandTo,0,Expands a bounding box's dimensions to include the supplied bounding box. func_35739_d,getZSize,0,Returns length of a bounding box func_35740_a,intersectsWith,0,Returns whether the given bounding box intersects with this one. Args: structureboundingbox func_35741_a,getNewBoundingBox,0,'returns a new StructureBoundingBox with MAX values' @@ -1435,28 +1435,28 @@ func_35742_b,isVecInside,0,Returns true if block is inside bounding box func_35743_c,getYSize,0,Returns height of a bounding box func_35744_b,getXSize,0,Returns width of a bounding box func_35745_a,offset,0,"Offsets the current bounding box by the specified coordinates. Args: x, y, z" -func_35746_a,intersectsWith,0, +func_35746_a,intersectsWith,0,Discover if a coordinate is inside the bounding box area. func_35747_a,getComponentToAddBoundingBox,0,'used to project a possible new component Bounding Box - to check if it would cut anything already spawned' -func_35760_d,getSaturationLevel,0, -func_35761_a,addStats,0, +func_35760_d,getSaturationLevel,0,Get the player's food saturation level. +func_35761_a,addStats,0,Eat some food. func_35762_a,addExhaustion,0,adds input to foodExhaustionLevel to a max of 40 func_35763_b,writeNBT,0,Writes food stats to an NBT object. func_35764_a,setFoodLevel,0, -func_35765_a,getFoodLevel,0, +func_35765_a,getFoodLevel,0,Get the player's food level. func_35766_a,readNBT,0,Reads food stats from an NBT object. func_35767_b,setFoodSaturationLevel,0, -func_35768_a,onUpdate,0, +func_35768_a,onUpdate,0,Handles the food game logic. func_35769_b,getPrevFoodLevel,0, func_35770_c,needFood,0,If foodLevel is not max. func_35771_a,addStats,0,"Args: int foodLevel, float foodSaturationModifier" -func_35777_a,handleExperience,0, -func_35778_a,handleEntityExpOrb,0, -func_35779_a,handlePlayerInfo,0, -func_35780_a,handleEntityEffect,0, -func_35781_a,handleCreativeSetSlot,0, -func_35782_a,handleServerPing,0, -func_35783_a,handleRemoveEntityEffect,0, -func_35784_a,handleKeepAlive,0, +func_35777_a,handleExperience,0,Handle an experience packet. +func_35778_a,handleEntityExpOrb,0,Handle a entity experience orb packet. +func_35779_a,handlePlayerInfo,0,Handle a player information packet. +func_35780_a,handleEntityEffect,0,Handle an entity effect packet. +func_35781_a,handleCreativeSetSlot,0,Handle a creative slot packet. +func_35782_a,handleServerPing,0,Handle a server ping packet. +func_35783_a,handleRemoveEntityEffect,0,Handle a remove entity effect packet. +func_35784_a,handleKeepAlive,0,Handle a keep alive packet. func_35788_a,createServerNBTStorage,0,Factory method to create ServerNBTStorage object from a NBTTagCompound func_35789_a,getCompoundTag,0,Return a new NBTTagCompound representation of this ServerNBTStorage func_35796_a,combine,0,merges the input PotionEffect into this one if this.amplifier <= tomerge.amplifier. The duration in the supplied potion effect is assumed to be greater. @@ -1502,7 +1502,7 @@ func_35883_b,genStandardOre2,0,Standard ore generation helper. Generates Lapis L func_35884_a,genStandardOre1,0,Standard ore generation helper. Generates most ores. func_358_c,addEntityID,0,adds the ID of this entity to the NBT given func_35917_r,isMapFeaturesEnabled,0,are map structures going to be generated (e.g. strongholds) -func_35918_q,getGameType,0, +func_35918_q,getGameType,0,"Get the game type, 0 for survival, 1 for creative." func_35922_a,renderBlockPane,0, func_35923_a,renderBlockFenceGate,0,Render block fence gate func_35924_c,getAoBrightness,0,Get ambient occlusion brightness @@ -1522,7 +1522,7 @@ func_35968_a,setTextureSize,0,Returns the model renderer with the new texture pa func_35969_a,addChild,0,Sets the current box's rotation points and rotation angles to another box. func_359_G,handleLavaMovement,0,Whether or not the current entity is in lava func_36000_g,updatePotionEffects,0, -func_36001_a,getExperiencePoints,0, +func_36001_a,getExperiencePoints,0,Get the experience points the entity currently has. func_36002_f,removePotionEffect,0,input is the potion id to remove from the current active potion effects func_360_d,getDistanceSq,0,"Gets the squared distance to the position. Args: x, y, z" func_361_e,getDistance,0,"Gets the distance to the position. Args: x, y, z" @@ -1574,7 +1574,7 @@ func_40019_b,getNextComponentX,0,Gets the next component in the +/- X direction func_40020_a,getNextComponent,0, func_40021_a,isAboveGround,0,Checks if the bounding box's minY is > 10 func_40022_a,getNextComponentNormal,0,Gets the next component in any cardinal direction -func_40025_a,createValidComponent,0, +func_40025_a,createValidComponent,0,Creates and returns a new component piece. Or null if it could not find enough room to place it. func_40026_a,createValidComponent,0,Creates and returns a new component piece. Or null if it could not find enough room to place it. func_40028_a,createValidComponent,0,Creates and returns a new component piece. Or null if it could not find enough room to place it. func_40029_a,createValidComponent,0,Creates and returns a new component piece. Or null if it could not find enough room to place it. @@ -1595,7 +1595,7 @@ func_40047_D,isImmuneToFire,0, func_40048_X,getParts,0,Return the Entity parts making up this Entity (currently only for dragons) func_40049_b,setBrewTime,0, func_40050_o,canBrew,0, -func_40051_b,getPotionResult,0,the result of brewing a potion of damage value i with an ingredient itemstack +func_40051_b,getPotionResult,0,The result of brewing a potion of the specified damage value with an ingredient itemstack. func_40052_p,brewPotions,0, func_40053_g,getBrewTime,0, func_40054_n,getFilledSlots,0,returns an integer with each bit specifying wether that slot of the stand contains a potion @@ -1622,17 +1622,17 @@ func_40122_aP,isEntityUndead,0,Returns true if this entity is undead. func_40123_ac,getSoundPitch,0,Gets the pitch of living sounds in living entities. func_40124_t,getCreatureAttribute,0,Get this Entity's EnumCreatureAttribute func_40125_g,damageArmor,0, -func_40126_a,isPotionAplicable,0, +func_40126_a,isPotionApplicable,0, func_40127_l,isChild,0,"If Animal, checks if the age timer is negative" func_40128_b,applyPotionDamageCalculations,0,"Reduces damage, depending on potions" func_4012_a,doRenderFireball,0, func_40132_ae,createInstance,0, func_40135_ac,getSlimeParticle,0,Returns the name of a particle effect that may be randomly created by EntitySlime.onUpdate() func_4013_a,setRenderPassModel,0,Sets the model to be used in the current render pass (the first render pass is done after the primary model is rendered) Args: model -func_40140_ac,setTextureByProfession,0,[This is the function which sets a Villager's skin based on its villagerProfession value] +func_40140_ac,setTextureByProfession,0,This is the function which sets a Villager's skin based on its villagerProfession value func_40143_a,isWheat,0,Checks if the parameter is an wheat item. func_40144_b,procreate,0,Creates a baby animal according to the animal type of the target at the actual position and spawns 'love' particles. -func_40145_a,spawnBabyAnimal,0,[This function is used when two same-species animals in 'love mode' breed to generate the new baby animal.] +func_40145_a,spawnBabyAnimal,0,This function is used when two same-species animals in 'love mode' breed to generate the new baby animal. func_40147_Y,isValidLightLevel,0,Checks to make sure the light is not too bright where the mob is spawning func_40155_e,superAttackFrom,0,"Returns a super of attackEntityFrom in EntityDragonBase, because the normal attackEntityFrom is overriden" func_40156_a,attackEntityFromPart,0, @@ -1705,11 +1705,11 @@ func_40401_i,isItemTool,0,Checks isDamagable and if it cannot be stacked func_40402_a,getMovingObjectPositionFromPlayer,0, func_40403_e,hasEffect,0, func_40404_a,addInformation,0,allows items to add custom lines of information to the mouseover description -func_40405_m,getPotionEffect,0, +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_40407_b,setPotionEffect,0,gives this item the effects represented by the string for use in potion recipies func_4042_a,calculateVelocity,0, -func_40431_c_,getEffects,0, +func_40431_c_,getEffects,0,Returns a list of effects for the specified potion damage value. func_40432_e,isEffectInstant,0, func_40433_c,isSplash,0,returns wether or not a potion is a throwable splash potion based on damage value func_40434_a_,getEffects,0,Returns a list of potion effects for the specified itemstack. @@ -1730,7 +1730,7 @@ func_40472_j,getEntrancePortalLocation,0,Gets the hard-coded portal location to 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_40475_d,getMoonPhase,0, -func_40476_b,isBlockHydrated,0, +func_40476_b,isBlockHydrated,0,(I think) func_40477_b,findClosestStructure,0,Returns the location of the closest structure of the specified type. If not found returns null. func_40478_r,canSnowAt,0,Tests whether or not snow can be placed at a given location func_40479_y,getSaveHandler,0,Returns this world's current save handler @@ -1768,7 +1768,7 @@ func_40561_a,countPacket,0, func_40566_a,waitForFinish,0, func_40567_a,queueIO,0,threaded io func_40568_b,processQueue,0,Process the items that are in the queue -func_4056_N,onUpdate2,0, +func_4056_N,sendMotionUpdates,0,Send updated motion and position information to the server func_40574_b,getDamageReductionAmount,0,"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_40575_a,getEnchantability,0,Return the enchantability factor of the material. func_40576_a,getDurability,0,Returns the durability for a armor slot of for this type. @@ -1869,8 +1869,8 @@ func_4075_a,getWorldChunkManager,0, func_4076_b,setSpawnLocation,0,"Sets a new spawn location by finding an uncovered block at a random (x,z) location in the chunk." func_4079_a,getSkyColor,0,Calculates the color for the skybox func_407_b,multiplyVelocity,0, -func_4080_j,tickBlocksAndAmbiance,0, -func_4081_a,createChunkProvider,0, +func_4080_j,tickBlocksAndAmbiance,0,plays random cave ambient sounds and runs updateTick on random blocks within each chunk in the vacinity of a player +func_4081_a,createChunkProvider,0,Creates the chunk provider for this world. Called in the constructor. Retrieves provider from worldProvider? func_4082_d,getFogColor,0,Returns vector(ish) with R/G/B for fog func_4083_e,getTopSolidOrLiquidBlock,0,"Finds the highest block on the x, z coordinate that is solid and returns its y coord. Args x, z" func_4084_a,updateEntityWithOptionalForce,0,"Will update the entity in the world if the chunk the entity is in is currently loaded or its forced to update. Args: entity, forceUpdate" @@ -1933,7 +1933,7 @@ func_41088_a,renderBlockDragonEgg,0, func_41089_c,enableGUIStandardItemLighting,0,Sets OpenGL lighting for rendering blocks as items inside GUI screens (such as containers). func_4108_c,createPortal,0,Create a new portal near an entity. func_4109_a,generateNoiseOctaves,0,Bouncer function to the main one with some default arguments. -func_410_i,onValidSurface,0, +func_410_i,onValidSurface,0,checks to make sure painting can be placed there func_4113_a,handleChat,0, func_4114_b,registerPacket,0, func_4115_a,handleLogin,0, @@ -2076,16 +2076,21 @@ func_476_a,addMapping,0,Adds a new two-way mapping between the class and its str func_477_c,createAndLoadEntity,0,Creates a new entity and loads its data from the specified NBT. func_478_g,getBlockType,0,Gets the block type at the location of this entity (client-only). func_479_f,getBlockMetadata,0,Returns block data at the location of this entity (client-only). -func_48078_c,setSneaking,0, +func_48078_c,setSneaking,0,Sets the sneaking flag. func_48080_j,canAttackWithItem,0,"If returns false, the item will not inflict any damage against entities." -func_48081_b,getStackInSlotOnClosing,0,"works exactly like getStackInSlot, is only used upon closing GUIs" +func_48081_b,getStackInSlotOnClosing,0,"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_48082_b,setHomeArea,0, func_48083_aW,detachHome,0, func_48084_aL,getNavigator,0, func_48085_j_,dropRareDrop,0, func_48086_a,setRevengeTarget,0, func_48087_aX,hasHome,0, +func_48088_aP,getLastAttackingEntity,0, +func_48089_l,setLastAttackingEntity,0, func_48091_aU,getHomePosition,0, +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_48094_aS,getAttackTarget,0,Gets the active target the Task system uses for tracking func_48096_f,isWithinHomeDistance,0, func_48097_s_,updateAITick,0,"main AI tick function, replaces updateEntityActionState" func_48099_aV,getMaximumHomeDistance,0, @@ -2101,9 +2106,13 @@ func_48128_a,setIsMatingFlag,0, func_48129_t,getProfession,0, func_48138_b,setTamed,0, func_48139_F_,isTamed,0, +func_48141_af,isSitting,0, func_48143_a,setOwner,0, func_48144_ah,getOwner,0, func_48145_ag,getOwnerName,0, +func_48151_a,dropPlayerItemWithRandomChoice,0,"Args: itemstack, flag" +func_48153_a,dropPlayerItem,0,Args: itemstack +func_48184_b,getSpeed,0, 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_48204_b,getBlocksMovement,0, @@ -2113,6 +2122,7 @@ func_482_a,readFromNBT,0,Reads a tile entity from NBT. func_48337_h,checkSufficientDoorsPresentForNewVillager,0, func_48338_a,spawnHeartParticles,0, func_48339_i,giveBirth,0, +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_48411_i,getFloatTemperature,0,Gets a floating point representation of this biome's temperature func_48414_h,getFloatRainfall,0,Gets a floating point representation of this biome's rainfall @@ -2125,7 +2135,14 @@ func_48480_a,canSee,0,"Checks, whether 'our' entity can see the entity given as func_48481_a,clearSensingCache,0,Returns the squared distance between this door and the given coordinate. func_48485_a,load,0, func_48486_a,convertToAnvilFormat,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_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_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_48498_h,getTopFilledSegment,0,Returns the topmost ExtendedBlockStorage instance for this Chunk that actually contains a block. func_484_a,anyPlayerInRange,0,Returns true if there is a player in range (using World.getClosestPlayer) +func_48507_a,onCrafting,0, func_48508_a,get,0, func_48519_e,isBlockDoor,0, func_48520_k,removeDeadAndOutOfRangeDoors,0, @@ -2170,8 +2187,9 @@ func_48589_e,incrementDoorOpeningRestrictionCounter,0, func_48590_a,getInsidePosX,0, func_48591_c,getInsidePosZ,0, func_48592_b,getInsidePosY,0, -func_48593_b,getInsideDistanceSquared,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_48619_a,setTerrainType,0, func_48640_a,getCurrentNodeVec3d,0,returns the current PathEntity target node as Vec3D func_48641_b,setCurrentPathLength,0, func_48642_c,setCurrentPathIndex,0, @@ -2180,20 +2198,28 @@ func_48644_d,getCurrentPathLength,0, func_48645_c,getFinalPathPoint,0,returns the last PathPoint of the Array 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_48656_a,setChunkCoordinates,0, +func_48656_a,set,0, func_48659_j,canNavigate,0,If on ground or swimming and can swim func_48674_g,pathFollow,0, +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_48690_b,setExtBlockMetadata,0,Sets the metadata of the Block at the given coordinates in this ExtendedBlockStorage to the given metadata. func_48691_a,setExtBlockID,0,"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_48693_a,getIsEmpty,0,"Returns whether or not this block storage's Chunk is fully empty, based on its internal reference count." +func_48694_b,getExtBlockMetadata,0,Returns the metadata associated with the block at the given coordinates in this ExtendedBlockStorage. func_48695_c,setBlocklightArray,0,Sets the NibbleArray instance used for Block-light values in this particular storage block. func_48696_m,createBlockMSBArray,0,Called by a Chunk to initialize the MSB array if getBlockMSBArray returns null. Returns the newly-created NibbleArray instance. func_48698_b,getNeedsRandomTick,0,"Returns whether or not this block storage's Chunk will require random ticking, used to avoid looping through random block ticks when there are no blocks that would randomly tick." func_48699_d,setExtBlocklightValue,0,Sets the saved Block-light value in the extended block storage structure. +func_48701_b,setBlockMetadataArray,0,Sets the NibbleArray of block metadata (blockMetadataArray) for this ExtendedBlockStorage. func_48702_c,setExtSkylightValue,0,Sets the saved Sky-light value in the extended block storage structure. func_48703_a,getExtBlockID,0,"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_48704_i,getBlockMSBArray,0,Returns the block ID MSB (bits 11..8) array for this storage array's Chunk. func_48705_k,getBlocklightArray,0,Returns the NibbleArray instance containing Block-light data. +func_48706_a,setBlockLSBArray,0,Sets the array of block ID least significant bits for this ExtendedBlockStorage. +func_48707_c,getYLocation,0,Returns the Y location of this ExtendedBlockStorage. func_48709_c,getExtSkylightValue,0,Gets the saved Sky-light value in the extended block storage structure. +func_48710_a,setBlockMSBArray,0,Sets the array of blockID most significant bits (blockMSBArray) for this ExtendedBlockStorage. func_48712_d,getExtBlocklightValue,0,Gets the saved Block-light value in the extended block storage structure. func_48713_d,setSkylightArray,0,Sets the NibbleArray instance used for Sky-light values in this particular storage block. func_48714_l,getSkylightArray,0,Returns the NibbleArray instance containing Sky-light data. @@ -2282,7 +2308,7 @@ func_588_a,getSlotAtPosition,0,Returns the slot at the given coordinates or null func_589_a,drawGuiContainerBackgroundLayer,0,Draw the background layer for the GuiContainer (everything behind the items) func_590_a,drawSlotInventory,0,Draws an inventory slot func_593_a,setLoadingProgress,0,Updates the progress bar on the loading screen to the specified amount. Args: loadProgress -func_594_b,displaySavingString,0, +func_594_b,displaySavingString,0,Shows the 'Saving level' string. func_595_d,displayLoadingString,0,Displays a string on the loading screen supposed to indicate what is being done currently. func_596_a,printText,0, func_598_c,getLightBrightness,0,"Returns how bright the block is shown as which is the block's light value looked up in a lookup table (light values aren't linear for brightness). Args: x, y, z" @@ -2354,11 +2380,11 @@ func_6329_a,getFontRendererFromRenderManager,0,Returns the font renderer from th func_632_b,unloadEntities,0,Adds a list of entities to be unloaded on the next pass of World.updateEntities() func_6330_a,preRenderCallback,0,"Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime" func_6331_b,renderEquippedItems,0, -func_633_c,updateEntities,0, +func_633_c,updateEntities,0,Updates (and cleans up) entities and tile entities func_634_a,setBlock,0,"Sets the block to the specified blockID at the block coordinates Args x, y, z, blockID" func_635_c,setBlockMetadata,0,Set the metadata of a block in global coordinates func_6360_i,removeLeaves,0, -func_636_a,addLoadedEntities,0, +func_636_a,addLoadedEntities,0,"adds entities to the loaded entities list, and loads thier skins." func_6372_a,addSound,0,"Adds a sounds with the name from the file. Args: name, file" 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. @@ -2385,9 +2411,9 @@ func_6448_a,initGui,0,Adds the buttons (and other controls) to the screen in que func_6449_h,onGuiClosed,0,Called when the screen is unloaded. Used to disable keyboard repeat events func_644_f,calculateInitialSkylight,0,Called on construction of the World class to setup the initial skylight values func_6450_b,doesGuiPauseGame,0,Returns true if this GUI should pause the game when it is displayed in single-player -func_645_a,rayTraceBlocks,0, +func_645_a,rayTraceBlocks,0,"ray traces all blocks, including non-collideable ones" func_6465_g,updatingLighting,0,Updates lighting. Returns true if there are more lighting updates to update -func_6466_a,canMineBlock,0, +func_6466_a,canMineBlock,0,Called when checking if a certain block can be mined or not. The 'spawn safe zone' check is located here. func_6467_a,setPartialTime,0, func_6468_a,resetBlockRemoving,0,Resets current block damage and field_9439_j func_6469_d,shouldDrawHUD,0, @@ -2453,14 +2479,14 @@ func_683_a,getClosestPlayer,0,"Gets the closest player to the point within the s func_684_a,playSoundEffect,0,"Play a sound effect. Many many parameters for this function. Not sure what they do, but a classic call is : (double)i + 0.5D, (double)j + 0.5D, (double)k + 0.5D, 'random.door_open', 1.0F, world.rand.nextFloat() * 0.1F + 0.9F with i,j,k position of the block." func_687_d,getDebugLoadedEntities,0,This string is 'All: (number of loaded entities)' Viewable by press ing F3 func_688_b,setBlockAndMetadataWithNotify,0,"Sets the block ID and metadata, then notifies neighboring blocks of the change Params: x, y, z, BlockID, Metadata" -func_689_a,isMaterialInBB,0, +func_689_a,isMaterialInBB,0,Returns true if the given bounding box contains the given material func_690_d,setBlockWithNotify,0,"Sets a block and notifies relevant systems with the block change Args: x, y, z, blockID" func_691_b,setBlockMetadataWithNotify,0,"Sets the blocks metadata and if set will then notify blocks that this block changed. Args: x, y, z, metadata" func_692_l,removeBlockTileEntity,0,"Removes the TileEntity for a given block in X,Y,Z coordinates" func_694_a,spawnParticle,0,"Spawns a particle. Args particleName, x, y, z, velX, velY, velZ" func_695_a,canBlockBePlacedAt,0,"Returns true if the specified block can be placed at the given coordinates, optionally making sure there are no entities in the way. Args: blockID, x, y, z, ignoreEntities" func_697_a,getCollidingBoundingBoxes,0,"Returns a list of bounding boxes that collide with aabb excluding the passed in entity's collision. Args: entity, aabb" -func_698_b,updateTileEntityChunkAndDoNothing,0, +func_698_b,updateTileEntityChunkAndDoNothing,0,marks the chunk that contains this tilentity as modified and then calls worldAccesses.doNothingWithTileEntity func_699_a,getBlockLightValue_do,0,"Gets the light value of a block location. This is the actual function that gets the value and has a bool flag that indicates if its a half step block to get the maximum light value of a direct neighboring block (left, right, forward, back, and up)" func_700_a,tickUpdates,0,Runs through the list of updates to run and ticks them func_701_b,markBlocksDirty,0, @@ -2647,12 +2673,12 @@ func_939_a,spawnParticle,0,"Spawns a particle. Arg: particleType, x, y, z, velX, func_940_a,playSound,0,"Plays the specified sound. Arg: x, y, z, soundName, unknown1, unknown2" func_941_a,obtainEntitySkin,0,"Start the skin for this entity downloading, if necessary, and increment its reference counter" func_9424_o,updateEntityList,0, -func_9425_a,setEntityState,0, +func_9425_a,setEntityState,0,sends a Packet 38 (Entity Status) to all tracked players of that entity func_942_a,drawOutlinedBoundingBox,0,Draws lines for the edges of the bounding box. func_943_a,sortAndRender,0,"Sorts all renderers based on the passed in entity. Args: entityLiving, renderPass, partialTickTime" func_9446_a,handleUpdateHealth,0,Recieves player health from the server and then proceeds to set it locally on the client. func_9447_a,handleEntityStatus,0,Packet handler -func_9448_a,handleRespawn,0, +func_9448_a,handleRespawn,0,respawns the player func_944_a,renderAllRenderLists,0,Render all render lists func_945_d,updateClouds,0, func_946_a,changeWorld,0,Changes the world reference in RenderGlobal @@ -2667,7 +2693,7 @@ func_956_b,markRenderersForNewPosition,0,Goes through all the renderers setting func_957_c,getDebugInfoEntities,0,Gets the entities info for use on the Debug screen func_958_a,loadRenderers,0,Loads all the renderers and sets up the basic settings usage func_959_a,drawBlockBreaking,0, -func_960_a,clipRenderersByFrustrum,0,"Checks all renderers that previously weren't in the frustrum and 1/16th of those that previously were in the frustrum for frustrum clipping Args: frustrum, partialTickTime" +func_960_a,clipRenderersByFrustum,0,"Checks all renderers that previously weren't in the frustum and 1/16th of those that previously were in the frustum for frustum clipping Args: frustum, partialTickTime" func_962_a,checkOcclusionQueryResult,0, func_963_f,getWriteThread,0,Returns the write thread. func_964_b,sendPacket,0,"Sends a data packet if there is one to send, or sends a chunk data packet if there is one and the counter is up, or does nothing. If it sends a packet, it sleeps for 10ms." @@ -2711,11 +2737,11 @@ func_102_b,getDistanceSqToEntity,1,Returns the squared distance to the entity. A func_103_e,getDistance,1,"Gets the distance to the position. Args: x, y, z" func_104_p,getEyeHeight,1, func_106_b_,onUpdate,1,Called to update the entity's position/logic. -func_107_c,setLocationAndAngles,1, +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_109_s,getEntityString,1, +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_112_q,handleLavaMovement,1, +func_112_q,handleLavaMovement,1,Whether or not the current entity is in lava func_113_a,setSize,1,"Sets the width and height of the entity. Args: width, height" 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 @@ -2725,26 +2751,26 @@ func_119_o,handleWaterMovement,1,Returns if this entity is in water and will end func_11_a,handleBlockItemSwitch,1, func_12001_a,handleExplosion,1, func_12007_g,harvestBlock,1,"Called when the player destroys a block with an item that can harvest it. (i, j, k) are the coordinates of the block and l is the block's subtype/damage." -func_12013_a,createExplosion,1, +func_12013_a,createExplosion,1,"Creates an explosion. Args: entity, x, y, z, strength" func_12015_a,newExplosion,1,returns a new explosion. Does initiation (at time of writing Explosion is not finished) func_12018_b,sendPacketToTrackedPlayersAndTrackedEntity,1, func_12019_a,removeFromTrackedPlayers,1, func_12021_a,sendPacketToTrackedPlayers,1, func_12022_a,sendPacketToPlayersAroundPoint,1,"sends a packet to players within d3 of point (x,y,z)" func_12023_a,doExplosionA,1,Does the first part of the explosion (destroy blocks) -func_120_t,isEntityAlive,1, +func_120_t,isEntityAlive,1,Checks whether target entity is alive. func_121_a,attackEntityFrom,1,Called when the entity is attacked. func_122_m,updateFallState,1,"Takes in the distance the entity has fallen this tick and whether its on the ground to update the fall distance and deal fall damage if landing on the ground. Args: distanceFallenThisTick, onGround" func_123_a,dropItemWithOffset,1,"Drops an item stack with a specified y offset. Args: itemID, count, yOffset" -func_124_r,canBePushed,1, +func_124_r,canBePushed,1,Returns true if this entity should push and be pushed by other entities when colliding. func_125_b,dealFireDamage,1,Will deal the specified amount of damage to the entity if the entity isn't immune to fire damage. Args: amountDamage func_127_w,updateRiderPosition,1, func_128_a,dropItem,1,"Drops an item stack at the entity's position. Args: itemID, count" -func_129_c_,canBeCollidedWith,1, +func_129_c_,canBeCollidedWith,1,Returns true if other Entities should be prevented from moving through this Entity. func_12_a,handleBlockChange,1, func_130_h,getMountedYOffset,1,Returns the Y offset from the entity's position for any entity riding this one. func_132_a,newDoubleNBTList,1,creates a NBT list from the array of doubles passed to this function -func_133_b,isOffsetPositionInLiquid,1, +func_133_b,isOffsetPositionInLiquid,1,"Checks if the offset position from the entity's current position is inside of liquid. Args: x, y, z" func_137_a,heal,1,Heal living entity (param: amount of half-hearts) func_13_a,handleMultiBlockChange,1, func_140_b,updateRotation,1,"Arguments: current rotation, intended rotation, max increment." @@ -2752,7 +2778,7 @@ func_141_d,getLook,1,interpolated look vector func_142_f,onDeath,1,Called when the mob's health reaches 0. func_143_a,knockBack,1,knocks back this entity func_144_E,isOnLadder,1,"returns true if this entity is by a ladder, false otherwise" -func_145_g,canEntityBeSeen,1, +func_145_g,canEntityBeSeen,1,returns true if the entity provided in the argument can be seen. (Raytrace) func_146_b,getTalkInterval,1,"Get number of ticks, at least during which the living entity will be silent." func_147_b,faceEntity,1,changes pitch and yaw so that the entity calling the function is facing the entity provided as an argumen func_148_c,moveEntityWithHeading,1,"Moves the entity based on the specified heading. Args: strafe, forward" @@ -2761,7 +2787,7 @@ func_152_d_,updateEntityActionState,1, func_153_y,onLivingUpdate,1,"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_154_F,jump,1,causes this entity to jump (or at least move upwards) func_155_a,getCanSpawnHere,1,Checks if the entity's current position is a valid location to spawn this entity. -func_156_D,spawnExplosionParticle,1, +func_156_D,spawnExplosionParticle,1,Spawns an explosion particle around the Entity's location func_157_a,attackEntity,1,Basic mob attack. Default to touch of death in EntityCreature. Overridden by each mob to define their attack. func_158_i,findPlayerToAttack,1,"Finds the closest player within 16 blocks to attack, or null if this Entity isn't interested in attacking (Animals, Spiders at day, peaceful PigZombies)." func_159_a,getBlockPathWeight,1,"Takes a coordinate in and returns a weight to determine how likely this creature will try to path to the block. Args: x, y, z" @@ -2801,7 +2827,7 @@ func_20001_a,handleWindowItems,1, func_20002_a,handleUpdateProgressbar,1, func_20003_a,handleSetSlot,1, func_20004_a,handleOpenWindow,1, -func_20005_a,handleUpdateSign,1, +func_20005_a,handleUpdateSign,1,Updates Client side signs func_20006_a,handleCloseWindow,1, func_20007_a,handleWindowClick,1, func_20008_a,handleTransaction,1, @@ -2840,7 +2866,7 @@ func_20111_e,isAirBlock,1,Returns true if the block at the specified coordinates func_20112_a,addRecipes,1,Adds weapon recipes to the CraftingManager func_20115_a,addRecipes,1,Adds crafting recipes to the CraftingManager func_20116_b,isItemStackEqual,1,compares ItemStack argument to the instance ItemStack; returns true if both ItemStacks are equal -func_20117_a,copyItemStack,1, +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_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 @@ -2868,9 +2894,9 @@ func_205_g,getFirstEmptyStack,1,Returns the first item stack that is empty. func_206_a,setInventorySlotContents,1,Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections). func_207_b,canHarvestBlock,1,Returns whether the current item (tool) can harvest from the specified block (actually get a result). func_208_a,getStrVsBlock,1,"Gets the strength of the current item (tool) against the specified block, 1.0f if not holding anything." -func_21001_a,handleEntityAction,1, -func_21002_a,handleEntityMetadata,1, -func_21003_a,handleEntityPainting,1, +func_21001_a,handleEntityAction,1,runs registerPacket on the given Packet19EntityAction +func_21002_a,handleEntityMetadata,1,Packet handler +func_21003_a,handleEntityPainting,1,Packet handler func_21004_a,handlePlayNoteBlock,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. @@ -2890,14 +2916,14 @@ func_21043_b,setSneaking,1,Sets the sneaking flag. func_21044_a,entityInit,1, func_21046_d_,canBreatheUnderwater,1, func_21047_g_,dropFewItems,1,Drop 0-2 items of this living's type -func_21048_K,getCreeperState,1, -func_21049_a,setCreeperState,1, +func_21048_K,getCreeperState,1,"Returns the current state of creeper, -1 is idle, 1 is 'in fuse'" +func_21049_a,setCreeperState,1,"Sets the state of creeper, -1 to idle and 1 to be 'in fuse'" func_21064_a,setSaddled,1,Set or remove the saddle of the pig. func_21065_K,getSaddled,1,Returns true if the pig is saddled. -func_21066_a,getRandomFleeceColor,1, +func_21066_a,getRandomFleeceColor,1,This method is called when a sheep spawns in the world to select the color of sheep fleece. func_21067_a,setSheared,1,make a sheep sheared if set to true func_21068_e_,getFleeceColor,1, -func_21069_f_,getSheared,1, +func_21069_f_,getSheared,1,returns true if a sheeps wool has been sheared func_21070_a,setFleeceColor,1, func_21072_a,displayGUIDispenser,1,Displays the dipsenser GUI for the passed in dispenser entity. Args: TileEntityDispenser func_21073_a,getEquipmentInSlot,1,0: Tool in Hand; 1-4: Armor @@ -2905,9 +2931,9 @@ func_21074_a,triggerNote,1,plays the stored note func_21075_a,changePitch,1,change pitch by -> (currentPitch + 1) % 25 func_21078_a,setMobID,1, func_21079_e,getRandomStackFromInventory,1,gets stack of one item extracted from a stack chosen at random from the block inventory -func_21082_c,storeItemStack,1, -func_21083_d,storePartialItemStack,1, -func_21084_a,getStackInRowAndColumn,1, +func_21082_c,storeItemStack,1,stores an itemstack in the users inventory +func_21083_d,storePartialItemStack,1,This function stores as many items of an ItemStack as possible in a matching slot and returns the quantity of left over items. +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_21087_f,getContainerItem,1, func_21088_g,hasContainerItem,1,returns wether the item has a containerItem @@ -2918,7 +2944,7 @@ func_21092_c,getHasSubtypes,1, func_21093_a,setContainerItem,1, func_210_c,decrementAnimations,1,Decrement the number of animations remaining. Only called on client side. This is used to handle the animation of receiving a block. func_21102_c,getCreatureMaterial,1, -func_21103_d,getPeacefulCreature,1, +func_21103_d,getPeacefulCreature,1,Gets whether or not this creature type is peaceful. func_21104_b,getMaxNumberOfCreature,1, func_21105_a,getCreatureClass,1, func_21114_a,getRandomWorldGenForTrees,1,Gets a WorldGen appropriate for this biome. @@ -2926,16 +2952,16 @@ func_21116_a,setAllowedSpawnTypes,1,first boolean for hostile mobs and second fo 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_21119_h,markBlockAsNeedsUpdate,1,calls the 'MarkBlockAsNeedsUpdate' in all block accesses in this world -func_21125_h,getItemDamage,1, +func_21125_h,getItemDamage,1,gets the damage of an itemstack func_21126_d,isItemStackDamageable,1,true if this itemStack is damageable func_21127_a,isItemEqual,1,compares ItemStack argument to the instance ItemStack; returns true if the Items contained in both ItemStacks are equal func_21128_e,getHasSubtypes,1, func_21129_b,useItemOnEntity,1,Uses the stack on the entity. func_21130_f,isItemDamaged,1,returns true when a damageable item is damaged func_21131_g,getItemDamageForDisplay,1,"gets the damage of an itemstack, for displaying purposes" -func_21132_c,isStackable,1, -func_21134_a,matches,1, -func_21136_b,getCraftingResult,1, +func_21132_c,isStackable,1,Returns true if the ItemStack can hold 2 or more units of the item. +func_21134_a,matches,1,Used to check if a recipe matches current crafting inventory +func_21136_b,getCraftingResult,1,Returns an Item that is the result of this recipe func_21139_a,checkMatch,1,Checks if the region of a crafting inventory is match for the recipe. func_21146_b,addShapelessRecipe,1, func_21147_a,findMatchingRecipe,1, @@ -2953,7 +2979,7 @@ func_21161_a,getSmeltingResult,1,Returns the smelting result of an item. func_21162_a,smelting,1,Used to call methods addSmelting and getSmeltingResult. func_21165_a,addRecipes,1,Adds the dye recipes to the CraftingManager. func_21166_a,creatureSpecificInit,1,"determines if a skeleton spawns on a spider, and if a sheep is a different color" -func_21167_a,canCreatureTypeSpawnAtLocation,1, +func_21167_a,canCreatureTypeSpawnAtLocation,1,Returns whether or not the specified creature type can spawn at the specified location. func_21168_b,getObject,1, func_21169_c,getObjectType,1, func_21170_d,getWatching,1, @@ -2976,34 +3002,34 @@ func_22006_a,chunkXZ2Int,1,converts a chunk coordinate pair to an integer (suita func_22009_a,getBlockTextureFromSideAndMetadata,1,"From the specified side and block metadata retrieves the blocks texture. Args: side, metadata" func_22012_g,ignoreTick,1, func_22017_f,setBounds,1,Set the bounds of the bed block. -func_22018_f,isBedOccupied,1, -func_22020_d,isBlockFootOfBed,1, -func_22021_g,getNearestEmptyChunkCoordinates,1, -func_22022_a,setBedOccupied,1, +func_22018_f,isBedOccupied,1,Return whether or not the bed is occupied. +func_22020_d,isBlockFootOfBed,1,Returns whether or not this bed block is the foot of the bed. +func_22021_g,getNearestEmptyChunkCoordinates,1,Gets the nearest empty chunk coordinates for the player to wake up from a bed into. +func_22022_a,setBedOccupied,1,Sets whether or not the bed is occupied. func_22026_g,getOrientation,1,Get side which this button is facing. func_22045_b,blockRemoving,1, func_22056_G,playLivingSound,1,Plays living's sound at its position -func_22057_E,isPlayerSleeping,1, +func_22057_E,isPlayerSleeping,1,Returns whether player is sleeping or not func_22058_w,isMovementBlocked,1,Dead and sleeping entities cannot move func_22060_a,sleepInBedAt,1,puts player to sleep on specified bed if possible -func_22061_a,addChatMessage,1, -func_22062_a,wakeUpPlayer,1, +func_22061_a,addChatMessage,1,Add a chat message to the player +func_22062_a,wakeUpPlayer,1,Wake up the player if they're sleeping. func_22063_l,isInBed,1,Checks if the player is currently in a bed func_22064_l_,resetHeight,1,sets the players height back to normal after doing things like sleeping and dieing -func_22065_F,isPlayerFullyAsleep,1, +func_22065_F,isPlayerFullyAsleep,1,Returns whether or not the player is asleep and the screen has fully faded. func_22070_a,onUpdateEntity,1,"updates the player, also has a flag to tell the server if it should update chunks or not(wanted onUpdate(because this calls super.onUpdate) but already one in this class)" func_22073_e,removePlayer,1,remove dat player from dem servers func_22074_c,scheduleBlockUpdate,1,Used to schedule a call to the updateTick method on the specified block. func_22075_m,getSaveHandler,1,Returns this world's current save handler -func_22076_a,setWorldTime,1, -func_22077_g,tick,1, +func_22076_a,setWorldTime,1,Sets the world time. +func_22077_g,tick,1,Runs a single tick for the world func_22078_l,getSpawnPoint,1,Returns the coordinates of the spawn point func_22079_j,getSeed,1,gets the random world seed func_22080_k,getWorldTime,1, func_22081_n,getWorldInfo,1,Returns the world's WorldInfo object -func_22082_o,updateAllPlayersSleepingFlag,1, -func_22083_p,wakeUpAllPlayers,1, -func_22084_q,isAllPlayersFullyAsleep,1, +func_22082_o,updateAllPlayersSleepingFlag,1,Updates the flag that indicates whether or not all players in the world are sleeping. +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_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_22090_d,getPlayerNBTManager,1,does exactly what it says on the tin @@ -3018,17 +3044,17 @@ func_220_f,canBlockStay,1,Can this block stay at this position. Similar to canP func_22101_a,convertMapFormat,1,converts the map to mcRegion func_22102_a,isOldMapFormat,1,gets if the map is old chunk saving (true) or McRegion (false) func_22103_b,getWorldInfo,1,gets the world info -func_22105_a,getSaveLoader,1, +func_22105_a,getSaveLoader,1,Returns back a loader for the specified save directory func_22111_a,printHelp,1,Print help on server commands func_22112_a,tryParse,1,Parses First argument if possible; if not returns second argument func_22113_a,handleWhitelist,1,Handles the whitelist command func_22114_a,handleCommand,1,handles the command that was issued by an Op/Console func_22115_a,sendNoticeToOps,1,sends a notice to all online ops. func_22118_b,setProperty,1, -func_22120_d,getChunkOutputStream,1, +func_22120_d,getChunkOutputStream,1,"Returns an output stream for the specified chunk. Args: worldDir, chunkX, chunkZ" func_22122_a,clearRegionFileReferences,1,clears region file references func_22123_a,createOrLoadRegionFile,1, -func_22124_c,getChunkInputStream,1, +func_22124_c,getChunkInputStream,1,"Returns an input stream for the specified chunk. Args: worldDir, chunkX, chunkZ" func_22126_b,close,1,close this RegionFile and prevent further writes func_22127_a,debug,1, func_22128_a,setOffset,1,"args: x, z, offset - sets the chunk's offset in the region file" @@ -3057,25 +3083,25 @@ func_22170_l,removeFromWhiteList,1,remove the specified player from the whitelis func_22171_f,reloadWhiteList,1,reloads the whitelist func_22176_a,updateTagCompound,1, func_22178_h,getDimension,1, -func_22179_d,getSpawnY,1, -func_22180_a,setWorldTime,1, +func_22179_d,getSpawnY,1,Return the Y axis spawning point of the player. +func_22180_a,setWorldTime,1,Set current world time func_22181_a,setSpawnPosition,1,Sets the spawn (zone) position func_22183_a,getNBTTagCompoundWithPlayers,1,stores the current level's dat to an nbt tag for future saving in level.dat -func_22184_c,getSpawnX,1, -func_22185_a,getNBTTagCompound,1, -func_22186_f,getWorldTime,1, -func_22187_b,getSeed,1, -func_22188_i,getSaveVersion,1, -func_22189_e,getSpawnZ,1, +func_22184_c,getSpawnX,1,Returns the x spawn position +func_22185_a,getNBTTagCompound,1,Gets the NBTTagCompound for the worldInfo +func_22186_f,getWorldTime,1,Get current world time +func_22187_b,getSeed,1,Returns the seed of current world. +func_22188_i,getSaveVersion,1,Returns the save version of this world +func_22189_e,getSpawnZ,1,Returns the z spawn position func_22190_a,setWorldName,1, -func_22191_a,setSaveVersion,1, +func_22191_a,setSaveVersion,1,Sets the save version of the world func_221_a,updateTick,1,Ticks the block if it's been scheduled func_22203_a,makeHash,1, func_22215_a,compareChunkCoordinate,1,Compare the coordinate with another coordinate func_223_a,isVecInsideYZBounds,1,Checks if a vector is within the Y and Z bounds of the block. func_224_a,setLightValue,1,Sets the amount of light emitted by a block from 0.0f to 1.0f (converts internally to 0-15). Returns the object for convenience in constructing. func_225_d,canProvidePower,1,Can this block provide power. Only wire currently seems to have this change based on its state. -func_226_a,getExplosionResistance,1, +func_226_a,getExplosionResistance,1,Returns how much this block can resist explosions from the passed in entity. func_227_a,dropBlockAsItemWithChance,1,Drops the block items with a specified chance of dropping the specified items func_228_b,isVecInsideXZBounds,1,Checks if a vector is within the X and Z bounds of the block. func_229_a,setBlockBounds,1,"Sets the bounds of the block. minX, minY, minZ, maxX, maxY, maxZ" @@ -3107,27 +3133,27 @@ func_25005_e,isDamageable,1, func_25006_i,getStatName,1, func_25007_a,onBlockDestroyed,1, func_25009_j,getHealAmount,1, -func_25010_k,isWolfsFavoriteMeat,1, +func_25010_k,isWolfsFavoriteMeat,1,Whether wolves like this food (true for raw and cooked porkchop). func_25012_e,translateBlockName,1,gets the localized version of the name of this block using StatCollector.translateToLocal. Used for the statistic page. -func_25017_l,canTriggerWalking,1, -func_25018_n_,getVerticalFaceSpeed,1, +func_25017_l,canTriggerWalking,1,returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to prevent them from trampling crops +func_25018_n_,getVerticalFaceSpeed,1,The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently use in wolves. func_25020_s,canDespawn,1,"Determines if an entity can be despawned, used on idle far away entities" func_25022_a,setPathToEntity,1,sets the pathToEntity func_25023_z,hasPath,1,"if the entity got a PathEntity it returns true, else false" func_25024_A,getEntityToAttack,1,returns the target Entity func_25025_c,setTarget,1,sets the target Entity -func_25026_u,isMovementCeased,1, -func_25027_m,getSlimeSize,1, +func_25026_u,isMovementCeased,1,Disables a mob's ability to move on its own while true. +func_25027_m,getSlimeSize,1,Returns the size of the slime. func_25028_x,isAngry,1,gets if the wolf is angry func_25037_c,setAngry,1,sets if the wolf is angry or not -func_25045_g,addMovementStat,1, +func_25045_g,addMovementStat,1,"Adds a value to a movement statistic field - like run, walk, swin or climb." func_25046_a,addStat,1,Adds a value to a statistic field. -func_25047_a,alertWolves,1, +func_25047_a,alertWolves,1,"Called when the player attack or gets attacked, it's alert all wolves in the area that are owned by the player to join the attack or defend the player." func_25049_H,getSpawnChunk,1,gets the players spawn chunk func_25050_a,setSpawnChunk,1,sets the players spawn chunk func_25051_a,verifyRespawnCoordinates,1,Ensure that a block enabling respawning exists at the specified coordinates and find an empty space nearby to spawn. func_25052_a,isEditable,1, -func_25055_a,getSpawnableList,1, +func_25055_a,getSpawnableList,1,Returns the correspondent list of the EnumCreatureType informed. func_25071_a,getPlayerEntityByName,1,Find a player by name in this world. func_25072_c,generateSpawnPoint,1,generates a spawn point for this world func_25073_n,getChunkProvider,1,gets the world's chunk provider @@ -3135,26 +3161,26 @@ func_25074_a,getPlayerData,1, func_25075_b,getWatchableObjectInt,1,gets a watchable object and returns it as a Integer func_25076_c,getWatchableObjectString,1,gets a watchable object and returns it as a String func_25077_b,getRecipeOutput,1, -func_25078_a,translateKeyFormat,1, -func_25079_a,getInstance,1, -func_25080_a,translateKey,1, +func_25078_a,translateKeyFormat,1,Translate a key to current language applying String.format() +func_25079_a,getInstance,1,Return the StringTranslate singleton instance +func_25080_a,translateKey,1,Translate a key to current language. func_25083_h,removeUnknownBlocks,1,Turns unknown blocks into air blocks to avoid crashing Minecraft. -func_25085_a,replaceSimilarBlocks,1, +func_25085_a,replaceSimilarBlocks,1,"Forces stats for one block to add to another block, such as idle and active furnaces" func_25086_b,initStats,1, func_25087_b,initBreakStats,1, -func_25088_a,initBreakableStats,1, -func_25089_a,initMinableStats,1, -func_25090_a,initUsableStats,1, -func_25091_c,initCraftableStats,1, -func_25092_a,replaceAllSimilarBlocks,1, +func_25088_a,initBreakableStats,1,Initializes statistic fields related to breakable items and blocks. +func_25089_a,initMinableStats,1,Initializes statistic fields related to minable items and blocks. +func_25090_a,initUsableStats,1,Initializes statistic fields related to usable items and blocks. +func_25091_c,initCraftableStats,1,Initializes statistics related to craftable items. Is only called after both block and item stats have been initialized. +func_25092_a,replaceAllSimilarBlocks,1,Forces all dual blocks to count for each other on the stats list func_250_e,onBlockAdded,1,"Called whenever the block is added into the world. Args: world, x, y, z" func_25124_a,onDestroyBlock,1, func_25125_a,damageItem,1,damages the item in an itemstack. func_25126_b,getRecipeList,1,returns the List<> of all recipes func_25127_b,getSmeltingList,1, -func_25132_a,getGuid,1, -func_25135_a,translateToLocalFormatted,1, -func_25136_a,translateToLocal,1, +func_25132_a,getGuid,1,Returns the unique GUID of a achievement id. +func_25135_a,translateToLocalFormatted,1,Translates a Stat name with format args +func_25136_a,translateToLocal,1,Translates a Stat name func_251_a,onBlockDestroyedByPlayer,1,"Called right before the block is destroyed by a player. Args: world, x, y, z, metaData" func_252_a,idDropped,1,Returns the ID of the items to drop on destruction. func_253_a,isBlockSolid,1,"Returns Returns true if the given side of this block type should be rendered (if it's solid or not), if the adjacent block is at the given coordinates. Args: blockAccess, x, y, z, side" @@ -3171,42 +3197,42 @@ func_267_a,setBurnRate,1,"Sets the burn rate for a block. The larger abilityToCa 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_26_a,handleBlockDig,1, -func_27001_a,handleStatistic,1, -func_27002_a,handleWeather,1, +func_27001_a,handleStatistic,1,runs registerPacket on the given Packet200Statistic +func_27002_a,handleWeather,1,Handles weather packet func_27003_c,isServerHandler,1,determine if it is a server handler -func_27006_b,getHasStack,1, -func_27008_Y,isWet,1, +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_27009_a,onStruckByLightning,1,Called when a lightning bolt hits the entity. -func_27010_a,onKillEntity,1, +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_27013_Q,despawnEntity,1, -func_27014_t,getPowered,1, -func_27015_h,addMountedMovementStat,1, +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_27015_h,addMountedMovementStat,1,"Adds a value to a mounted movement statistic field - by minecart, boat, or pig." func_27016_t,isPVPEnabled,1,returns if pvp is enabled or not -func_27017_a,triggerAchievement,1, -func_27021_h,disableStats,1, -func_27022_g,getEnableStats,1, -func_27028_d,isPowered,1, -func_27029_g,isRailBlockAt,1, -func_27030_c,isRailBlock,1, +func_27017_a,triggerAchievement,1,Will trigger the specified trigger. +func_27021_h,disableStats,1,"Disable statistics for the block, the block will no count for mined or placed." +func_27022_g,getEnableStats,1,Return the state of blocks statistics flags - if the block is counted for mined and placed. +func_27028_d,isPowered,1,Returns true if the block is power related rail. +func_27029_g,isRailBlockAt,1,"Returns true if the block at the coordinates of world passed is a valid rail block (current is rail, powered or detector)." +func_27030_c,isRailBlock,1,"Return true if the parameter is a blockID for a valid rail block (current is rail, powered or detector)." func_27031_a,isRailPassingPower,1,Returns true if the specified rail is passing power to its neighbor func_27032_a,isNeighborRailPowered,1,"Powered minecart rail is conductive like wire, so check for powered neighbors" -func_27033_a,isPoweredBlockRail,1, -func_27035_f,setStateIfMinecartInteractsWithRail,1, +func_27033_a,isPoweredBlockRail,1,Return true if the blocks passed is a power related rail. +func_27035_f,setStateIfMinecartInteractsWithRail,1,"Update the detector rail power state if a minecart enter, stays or leave the block." func_27037_a,readString,1,reads a string from the datastream func_27038_a,writeString,1,writes a string to the datastream -func_27047_e,setDisableRain,1, -func_27048_d,canSpawnLightningBolt,1, -func_27049_c,getEnableSnow,1, -func_27052_e,initIndependentStat,1, -func_27053_d,registerStat,1, -func_27059_a,setIndependent,1, -func_27060_b,setSpecial,1, -func_27061_c,registerAchievement,1, +func_27047_e,setDisableRain,1,Disable the rain for the biome. +func_27048_d,canSpawnLightningBolt,1,"Return true if the biome supports lightning bolt spawn, either by have the bolts enabled and have rain enabled." +func_27049_c,getEnableSnow,1,Returns true if the biome have snowfall instead a normal rain. +func_27052_e,initIndependentStat,1,"Initializes the current stat as independent (i.e., lacking prerequisites for being updated) and returns the current instance." +func_27053_d,registerStat,1,Register the stat into StatList. +func_27059_a,setIndependent,1,"Indicates whether or not the given achievement or statistic is independent (i.e., lacks prerequisites for being update)." +func_27060_b,setSpecial,1,"Special achievements have a 'spiked' (on normal texture pack) frame, special achievements are the hardest ones to achieve." +func_27061_c,registerAchievement,1,"Adds the achievement on the internal list of registered achievements, also, it's check for duplicated id's." func_27065_c,getWeightedThunderStrength,1, func_27066_i,updateWeather,1,update's all weather states. -func_27067_u,isThundering,1, -func_27068_v,isRaining,1, +func_27067_u,isThundering,1,Returns true if the current thunder strength (weighted with the rain strength) is greater than 0.9 +func_27068_v,isRaining,1,Returns true if the current rain strength is greater than 0.2 func_27069_b,isAABBEmpty,1,checks to see if there are any blocks in the region constrained by an AxisAlignedBB func_27070_x,calculateInitialWeather,1,updates rainingStrength and thunderingStrength func_27071_y,clearWeather,1,stops all weather effects @@ -3216,8 +3242,8 @@ func_27074_d,getRainStrength,1,Not sure about this actually. Reverting this one func_27083_a,setConnections,1, func_27085_a,slotClick,1, func_27086_a,transferStackInSlot,1,Called to transfer a stack from one inventory to the other eg. when shift clicking. -func_27089_f,setGroundCover,1, -func_27090_g,isGroundCover,1, +func_27089_f,setGroundCover,1,"Sets the material as a form of ground cover, e.g. Snow" +func_27090_g,isGroundCover,1,"Return whether the material is a form of ground cover, e.g. Snow" func_27097_a,init,1,A stub functions called to make the static initializer for this class run. func_270_h,getChanceOfNeighborsEncouragingFire,1,Gets the highest chance of a neighbor block encouraging this block to catch fire func_27115_l,isRaining,1,returns whether it's raining @@ -3229,7 +3255,7 @@ func_27120_m,getRainTime,1,gets the rainTime func_27121_b,setThunderTime,1,sets the during of the Thunder func_27122_j,isThundering,1,gets if it's thundering or not func_27127_a,getEuclideanDistanceTo,1,"Returns the euclidean distance of the chunk coordinate to the x, y, z parameters passed." -func_272_a,onPoweredBlockChange,1, +func_272_a,onPoweredBlockChange,1,A function to open a door. func_273_b,setDoorRotation,1, func_274_g,checkIfAttachedToBlock,1,"Checks if the block is attached to another block. If it is not, it returns false and drops the block as an item. If it is it returns true." func_275_g,canSnowStay,1,Checks if this snow block can stay at this location. @@ -3241,68 +3267,68 @@ func_28001_a,handleMapData,1,Contains logic for handling packets containing arbi func_28002_a,handleDoorChange,1, func_28003_b,getEntityTracker,1,gets the entityTracker by the given dimension func_28004_a,getWorldManager,1,gets the worldServer by the given dimension -func_28005_g,pushOutOfBlocks,1, +func_28005_g,pushOutOfBlocks,1,"Adds velocity to push the entity out of blocks at the specified x, y, z position Args: x, y, z" func_28007_a,setWorld,1,Sets the reference to the World object. func_28010_c,hasItemStack,1,Returns true if the specified ItemStack exists in the inventory. -func_28013_b,attackBlockedEntity,1, -func_28018_a,onUpdate,1, -func_28020_c,onCreated,1, +func_28013_b,attackBlockedEntity,1,Used when an entity is close enough to attack but cannot be seen (Creeper de-fuse) +func_28018_a,onUpdate,1,Called each tick as long the item is on a player inventory. Uses by maps to check if is on a player hand and update it's contents. +func_28020_c,onCreated,1,Called when item is crafted/smelted. Used only by maps so far. func_28022_b,getUpdatePacket,1, func_28023_a,getMapData,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_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, +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_28035_b_,ejectRecord,1,Ejects the current record inside of the jukebox. func_28038_d,isTrapdoorOpen,1, func_28039_c,setBlockBoundsForBlockRender,1, func_28040_a,onPoweredBlockChange,1, -func_28058_d,loadChunkFromFile,1, +func_28058_d,loadChunkFromFile,1,"Attemps to load the chunk from the save file, returns null if the chunk is not available." func_28059_b,saveChunkData,1, func_28060_a,saveChunkExtraData,1, -func_28095_p,isBlockOpaqueCube,1, -func_28097_e,playAuxSFX,1, +func_28095_p,isBlockOpaqueCube,1,"Returns true if the block at the specified coordinates is an opaque cube. Args: x, y, z" +func_28097_e,playAuxSFX,1,See description for func_28136_a. func_28098_j,getFullBlockLightValue,1,gets the block's light value - without the _do function's checks. func_28099_a,rayTraceBlocks_do_do,1, func_280_a,checkForBurnout,1, func_28100_e,getPrecipitationHeight,1,Gets the height to which rain/snow will fall. Calculates it if not already stored. -func_28101_a,playAuxSFXAtEntity,1, -func_28102_a,setItemData,1, -func_28103_a,loadItemData,1, -func_28104_b,getUniqueDataId,1, +func_28101_a,playAuxSFXAtEntity,1,See description for playAuxSFX. +func_28102_a,setItemData,1,"Assigns the given String id to the given MapDataBase using the MapStorage, removing any existing ones of the same id." +func_28103_a,loadItemData,1,"Loads an existing MapDataBase corresponding to the given String id from disk using the MapStorage, instantiating the given Class, or returns null if none such file exists. args: Class to instantiate, String dataid" +func_28104_b,getUniqueDataId,1,Returns an unique new data id from the MapStorage for the given prefix and saves the idCounts map to the 'idcounts' file. func_28107_c,getTags,1,Returns all the values in the tagMap HashMap. -func_28108_d,canRespawnHere,1, +func_28108_d,canRespawnHere,1,"True if the player can respawn in this dimension (true = overworld, false = nether)." func_28111_b,getMapFileFromName,1,Gets the file location of the given map func_28114_b,placeInExistingPortal,1,Place an entity in a nearby portal which already exists. func_28115_a,placeInPortal,1,"Place an entity in a nearby portal, creating one if necessary." func_28116_c,createPortal,1,Create a new portal near an entity. -func_28126_a,mergeItemStack,1, +func_28126_a,mergeItemStack,1,merges provided ItemStack with the first avaliable one in the container/player inventory func_28128_h,isOpaque,1,Indicate if the material is opaque -func_28129_i,setTranslucent,1, -func_28133_a,playAuxSFX,1, +func_28129_i,setTranslucent,1,Marks the material as translucent +func_28133_a,playAuxSFX,1,"Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc)." func_28135_e,isTerminating,1,Gets whether the Network manager is terminating. func_28136_f,getOutputStream,1, -func_28138_a,wakeThreads,1, -func_28143_a,updateAnimation,1, +func_28138_a,wakeThreads,1,Wakes reader and writer threads +func_28143_a,updateAnimation,1,Called each tick as long the ItemStack in on player inventory. Used to progress the pickup animation and update maps. func_28144_c,isStackEqual,1, -func_28145_b,setItemDamage,1, -func_28146_a,markDirty,1, -func_28147_b,writeToNBT,1, -func_28148_a,readFromNBT,1, -func_28149_a,setDirty,1, -func_28150_b,isDirty,1, +func_28145_b,setItemDamage,1,Sets the item damage of the ItemStack. +func_28146_a,markDirty,1,"Marks this MapDataBase dirty, to be saved to disk when the level next saves." +func_28147_b,writeToNBT,1,"write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities" +func_28148_a,readFromNBT,1,reads in data from the NBTTagCompound into this MapDataBase +func_28149_a,setDirty,1,"Sets the dirty state of this MapDataBase, whether it needs saving to disk." +func_28150_b,isDirty,1,Whether this MapDataBase needs saving to disk. func_28166_b,readPlayerDataFromFile,1,called during player login. reads the player information from disk. func_28167_a,getPlayerManager,1,returns the player manager object for the specified dimension func_28168_f,sendPlayerToOtherDimension,1,moves provided player from overworld to nether or vice versa func_28169_a,sendPacketToAllPlayersInDimension,1,Sends a packet to all players in the specified Dimension func_28172_a,joinNewPlayerManager,1,"called when a player is teleported to a new dimension in order to clean up old dim refs, send them new dim chunks, and make sure their new location chunk is loaded and initialized" -func_28173_a,getUniqueDataId,1, -func_28174_b,loadIdCounts,1, -func_28175_a,saveData,1, -func_28176_a,saveAllData,1, -func_28177_a,setData,1, -func_28178_a,loadData,1, +func_28173_a,getUniqueDataId,1,Returns an unique new data id for the given prefix and saves the idCounts map to the 'idcounts' file. +func_28174_b,loadIdCounts,1,Loads the idCounts Map from the 'idcounts' file. +func_28175_a,saveData,1,Saves the given MapDataBase to disk. +func_28176_a,saveAllData,1,Saves all dirty loaded MapDataBases to disk. +func_28177_a,setData,1,"Assigns the given String id to the given MapDataBase, removing any existing ones of the same id." +func_28178_a,loadData,1,"Loads an existing MapDataBase corresponding to the given String id from disk, instantiating the given Class, or returns null if none such file exists. args: Class to instantiate, String dataid" func_28183_a,isVecInside,1,Returns if the supplied Vec3D is completely inside the bounding box func_282_g,isCropsNearby,1,"returns true if there is at least one cropblock nearby (x-1 to x+1, y+1, z-1 to z+1)" func_283_h,isWaterNearby,1,"returns true if there's water nearby (x-4 to x+4, y to y+1, k-4 to k+4)" @@ -3316,43 +3342,43 @@ func_292_g,updateAndPropagateCurrentStrength,1,Sets the strength of the wire cur func_293_b,isPoweredOrRepeater,1,"Returns true if the block coordinate passed can provide power, or is a redstone wire, or if its a repeater that is powered." func_294_a_,getBlockEntity,1,Returns the TileEntity used by this block. func_295_a,updateFurnaceBlockState,1,Update which block ID the furnace is using depending on whether or not it is burning -func_296_g,setDefaultDirection,1, +func_296_g,setDefaultDirection,1,set a blocks direction func_297_g,isThereANeighborChest,1,"Checks the neighbor blocks to see if there is a chest there. Args: world, x, y, z" -func_298_c,getFlowVector,1, +func_298_c,getFlowVector,1,Returns a vector indicating the direction and intensity of fluid flow. func_299_b,getFluidHeightPercent,1,"Returns the percentage of the fluid block that is air, based on the given flow decay of the fluid." func_29_a,handlePreChunk,1, func_2_b,log,1,Logs the message with a level of INFO. func_30003_g,isIndirectlyPowered,1,Returns true or false based on whether the block the torch is attached to is providing indirect power. func_30004_i,updateFlow,1,Updates the flow for the BlockFlowing object. func_30005_i,setNotStationary,1,Changes the block ID to that of an updating fluid. -func_30007_a,sendError,1, -func_300_h,triggerLavaMixEffects,1, -func_301_g,getFlowDecay,1, +func_30007_a,sendError,1,Sends the network manager an error +func_300_h,triggerLavaMixEffects,1,Creates fizzing sound and smoke. Used when lava flows over block or mixes with water. +func_301_g,getFlowDecay,1,"Returns the amount of fluid decay at the coordinates, or -1 if the block at the coordinates is not the same material as the fluid." func_302_i,checkForHarden,1,"Forces lava to check to see if it is colliding with water, and then decide what it should harden to." -func_303_b,getEffectiveFlowDecay,1, -func_307_e,getSmallestFlowDecay,1, -func_309_k,blockBlocksFlow,1, +func_303_b,getEffectiveFlowDecay,1,Returns the flow decay but converts values indicating falling liquid (values >=8) to their effective source block value of zero. +func_307_e,getSmallestFlowDecay,1,"getSmallestFlowDecay(World world, intx, int y, int z, int currentSmallestFlowDecay) - Looks up the flow decay at the coordinates given and returns the smaller of this value or the provided currentSmallestFlowDecay. If one value is valid and the other isn't, the valid value will be returned. Valid values are >= 0. Flow decay is the amount that a liquid has dissipated. 0 indicates a source block." +func_309_k,blockBlocksFlow,1,Returns true if block at coords blocks fluids func_30_a,handleEntity,1, func_31002_j,validate,1,validates a tile entity func_31003_h,invalidate,1,invalidates a tile entity func_31004_g,isInvalid,1,"returns true if tile entity is invalid, false otherwise" -func_31005_e,getBlockMetadata,1, -func_31007_a,getProgress,1, +func_31005_e,getBlockMetadata,1,Returns block data at the location of this entity (client-only). +func_31007_a,getProgress,1,Get interpolated progress value (between lastProgress and progress) given the fractional time between ticks as an argument. func_31008_d,getPistonOrientation,1,Returns the orientation of the piston as an int func_31009_a,updatePushedObjects,1, 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_31012_a,getStoredBlockID,1, -func_31021_B,updateWanderPath,1, +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_31025_e,getMobilityFlag,1,returns the mobility flag of a block's material func_31026_j,getHardness,1,returns the hardness of a block. -func_31027_i,setBlockUnbreakable,1, +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_31030_a,getTileEntity,1,creates and returns a tile entity for the piston 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_31035_d,isExtended,1, +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_31037_c,determineOrientation,1,determines the orientation of a piston. called upon placement func_31038_i,tryExtend,1,attempts to extend the piston. returns false if impossible. @@ -3362,13 +3388,13 @@ func_31041_g,updatePistonState,1,handles attempts to extend or retract the pisto func_31042_c,getOrientation,1,returns an int which describes the direction the piston faces func_31045_b,getDirectionMeta,1, func_31047_a,addTileEntity,1, -func_31055_i,isHarvestable,1, +func_31055_i,isHarvestable,1,Returns true if material can be harvested by player. func_31056_j,getMaterialMobility,1,returns a materials mobility flag func_31057_l,setImmovableMobility,1,marks this material as being immovable -func_31058_n,setNoHarvest,1, +func_31058_n,setNoHarvest,1,Disables the ability to harvest this material. func_31059_k,setNoPushMobility,1,marks this material as being unable to push blocks -func_311_f,flowIntoBlock,1, -func_312_l,liquidCanDisplaceBlock,1, +func_311_f,flowIntoBlock,1,"flowIntoBlock(World world, int x, int y, int z, int newFlowDecay) - Flows into the block at the coordinates and changes the block type to the liquid." +func_312_l,liquidCanDisplaceBlock,1,Returns true if the block at the coordinates can be displaced by the liquid. func_318_g,setStateIfMobInteractsWithPlate,1,"Checks if there are mobs on the plate. If a mob is on the plate and it is off, it turns it on, and vice versa." func_31_a,setLoginPacket,1,Sets and returns the login packet provided. func_32005_b,advanceTime,1,Gradually advances the time of the world. @@ -3383,15 +3409,15 @@ func_328_a,updateBlockRemoving,1, func_329_a,getEntitiesWithinAABBForEntity,1,"Fills the given list of all entities that intersect within the given bounding box that aren't the passed entity Args: entity, aabb, listToFill" func_32_a,getServerId,1,Returns the server Id randomly generated by this login handler. func_330_a,setLightValue,1,"Sets the light value at the coordinate. If enumskyblock is set to sky it sets it in the skylightmap and if its a block then into the blocklightmap. Args enumSkyBlock, x, y, z, lightValue" -func_331_d,onChunkUnload,1, -func_332_a,removeEntityAtIndex,1,removes entity at index i from entity array -func_333_c,propagateSkylightOcclusion,1, +func_331_d,onChunkUnload,1,Called when this Chunk is unloaded by the ChunkProvider +func_332_a,removeEntityAtIndex,1,Removes entity at the specified index from the entity array. +func_333_c,propagateSkylightOcclusion,1,Propagates a given sky-visible block's light value downward and upward to neighboring blocks as necessary. func_334_a,getRandomWithSeed,1, func_335_a,addEntity,1,Adds an entity to the chunk. Args: entity -func_336_e,setChunkModified,1, +func_336_e,setChunkModified,1,Sets the isModified flag for this Chunk func_337_b,getHeightValue,1,"Returns the value in the height map at this x, z coordinate in the chunk" func_338_d,getChunkBlockTileEntity,1,Gets the TileEntity for a given block in this chunk -func_339_g,relightBlock,1, +func_339_g,relightBlock,1,Initiates the recalculation of both the block-light and sky-light for a given block inside a chunk. func_33_a,tryLogin,1,"Logs the user in if a login packet is found, otherwise keeps processing network packets unless the timeout has occurred." func_341_a,getSavedLightValue,1,Gets the amount of light saved in this block (doesn't adjust for daylight) func_342_a,getEntitiesOfTypeWithinAAAB,1,"Gets all entities that can be assigned to the specified class. Args: entityClass, aabb, listToFill" @@ -3411,7 +3437,7 @@ func_35006_a,handlePlayerInfo,1,Handle a player information packet. func_35007_a,handleServerPing,1,Handle a server ping packet. func_35008_a,handleEntityExpOrb,1,Handle a entity experience orb packet. func_35015_b,initWorldGenSeed,1,Initialize layer's local worldGenSeed based on its own baseSeed and the world's global seed (passed in as an argument). -func_35016_a,nextInt,1, +func_35016_a,nextInt,1,"returns a LCG pseudo random number from [0, x). Args: int x" func_35017_a,initChunkSeed,1,"Initialize layer's current chunkSeed based on the local worldGenSeed and the (x,z) chunk coordinates." func_35018_a,getInts,1,"Returns a list of integer values generated by this layer. These may be interpreted as temperatures, rainfall amounts, or biomeList[] indices based on the particular GenLayer subclass." func_35026_a,choose,1,Chooses one of the two inputs randomly. @@ -3422,26 +3448,26 @@ func_35038_a,getSeed,1,Get the seed of the map. func_35039_b,getGameType,1,"Get the type of game the map is set at. 0 is survival, 1 is creative." func_35040_c,isMapFeaturesEnabled,1,Get whether the map features generation is enabled or disabled. func_35057_b,unifyAdjacentChests,1,Turns the adjacent chests to a double chest. -func_35058_c,canBePlacedOn,1, -func_35059_g,canVineStay,1, +func_35058_c,canBePlacedOn,1,returns true if a vine can be placed on that block (checks for render as normal block and if it is solid) +func_35059_g,canVineStay,1,Returns if the vine can stay in the world. It also changes the metadata according to neighboring blocks. func_35060_c,getPosingIdByMetadata,1,Gets the blockID of the block this block is pretending to be according to this block's metadata. 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, +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_35066_f_,fertilizeStem,1,Fertilizes the stem. func_35067_h,getGrowthModifier,1, func_35070_c,isFenceGateOpen,1,Returns if the fence gate is open according to its metadata. func_35072_a,causeMobDamage,1, -func_35073_a,causeArrowDamage,1, -func_35074_c,getHungerDamage,1, +func_35073_a,causeArrowDamage,1,returns EntityDamageSourceIndirect of an arrow +func_35074_c,getHungerDamage,1,How much satiate(food) is consumed by this DamageSource func_35075_a,getDeathMessage,1,Returns the message to be displayed on player death. -func_35076_b,causePlayerDamage,1, +func_35076_b,causePlayerDamage,1,returns an EntityDamageSource of type player func_35077_d,canHarmInCreative,1, func_35078_f,setDamageBypassesArmor,1, func_35079_e,getSourceOfDamage,1, func_35080_a,getEntity,1, func_35081_a,causeThrownDamage,1, -func_35082_a,causeFireballDamage,1, +func_35082_a,causeFireballDamage,1,returns EntityDamageSourceIndirect of a fireball func_35083_b,isUnblockable,1, func_35084_g,setDamageAllowedInCreativeMode,1, func_350_b,removeEntity,1,removes entity usint its y chunk coordinate as its index @@ -3468,7 +3494,7 @@ func_35178_D,getSpeedModifier,1,"This method return a value to be applied direct func_35179_b,onChangedPotionEffect,1, func_35180_G,isBlocking,1, func_35181_a,onNewPotionEffect,1, -func_35182_d,addPotionEffect,1, +func_35182_d,addPotionEffect,1,adds a PotionEffect to the entity func_35183_ak,getActivePotionEffects,1, func_35184_a,isPotionActive,1, func_35185_c,onFinishedPotionEffect,1, @@ -3478,13 +3504,13 @@ func_35188_X,isPlayer,1,Only use is to identify if class is an instance of playe func_35195_d,addExperience,1,Add experience points to player. func_35196_E,stopUsingItem,1, func_35197_c,canEat,1, -func_35198_b,addExhaustion,1, -func_351_a,isAtLocation,1, +func_35198_b,addExhaustion,1,increases exhaustion level by supplied amount +func_351_a,isAtLocation,1,Checks whether the chunk is at the X/Z location specified 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_35202_e,onCriticalHit,1,Called when the player performs a critical hit on the Entity. Args: entity that was hit critically func_35203_U,xpBarCap,1,"This method returns the cap amount of experience that the experience bar can hold. With each level, the experience cap on the player's experience bar is raised by 10." -func_35204_o,getSwingSpeedModifier,1, +func_35204_o,getSwingSpeedModifier,1,Returns the swing speed modifier func_35205_F,clearItemInUse,1, 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. @@ -3510,8 +3536,8 @@ func_35255_a,decorate,1,Decorates the world. Calls code that was formerly (pre-1 func_35256_b,decorate,1,The method that does the work of actually decorating chunks func_35257_a,genStandardOre1,1,Standard ore generation helper. Generates most ores. func_35292_a,generateVines,1,Generates vines at the given position until it hits a block. -func_35294_a,fillWithBlocks,1, -func_35295_a,isLiquidInStructureBoundingBox,1, +func_35294_a,fillWithBlocks,1,"'arguments: (World worldObj, StructureBoundingBox structBB, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, int placeBlockId, int replaceBlockId, boolean alwaysreplace)'" +func_35295_a,isLiquidInStructureBoundingBox,1,'checks the entire StructureBoundingBox for Liquids' func_35296_b,getZWithOffset,1, func_35297_a,getBlockIdAtCurrentPosition,1, func_35298_a,placeDoorAtCurrentPosition,1, @@ -3519,27 +3545,27 @@ func_35299_a,createTreasureChestAtCurrentPosition,1, func_352_a,setChunkBlockTileEntity,1,Sets the TileEntity for a given block in this chunk func_35300_a,getYWithOffset,1, func_35301_c,getMetadataWithOffset,1,"Returns the direction-shifted metadata for blocks that require orientation, e.g. doors, stairs, ladders. Parameters: block ID, original metadata" -func_35302_a,randomlyPlaceBlock,1, +func_35302_a,randomlyPlaceBlock,1,'Randomly decides if placing or not. Used for Decoration such as Torches and Spiderwebs' func_35303_b,fillCurrentPositionBlocksDownwards,1,"Overwrites Air and Liquids from selected Position downwards, stops at hitting anything else" func_35304_a,randomlyRareFillWithBlocks,1,"arguments: World worldObj, StructureBoundingBox structBB, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, int placeBlockId, boolean alwaysreplace" func_35305_c,getComponentType,1,Returns the component type ID of this component. func_35306_a,getXWithOffset,1, func_35307_a,fillWithRandomizedBlocks,1,"arguments: World worldObj, StructureBoundingBox structBB, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean alwaysreplace, Random rand, StructurePieceBlockSelector blockselector" -func_35308_a,buildComponent,1, +func_35308_a,buildComponent,1,"'Initiates construction of the Structure Component picked, at the current Location of StructGen'" func_35309_a,placeBlockAtCurrentPosition,1,"current Position depends on currently set Coordinates mode, is computed here" -func_35310_a,addComponentParts,1, +func_35310_a,addComponentParts,1,"'second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes Mineshafts at the end, it adds Fences...'" func_35311_a,fillTreasureChestWithLoot,1, func_35312_a,findIntersecting,1,Discover if bounding box can fit within the current bounding box object. func_35313_b,getBoundingBox,1, func_35314_b,clearCurrentPositionBlocksUpwards,1,Deletes all continuous Blocks from selected position upwards. Stops at hitting air -func_35315_a,randomlyFillWithBlocks,1, +func_35315_a,randomlyFillWithBlocks,1,"'arguments: World worldObj, StructureBoundingBox structBB, Random rand, float randLimit, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, int olaceBlockId, int replaceBlockId, boolean alwaysreplace'" func_35319_a,canStrongholdGoDeeper,1,returns false if the Structure Bounding Box goes below 10 func_35320_c,getNextComponentZ,1,Gets the next component in the +/- Z direction func_35321_b,getNextComponentX,1,Gets the next component in the +/- X direction func_35322_a,getRandomDoor,1, -func_35323_a,placeDoor,1, +func_35323_a,placeDoor,1,'builds a door of the enumerated types (empty opening is a door)' func_35324_a,getNextComponentNormal,1,Gets the next component in any cardinal direction -func_35325_a,getStrongholdStairsComponent,1, +func_35325_a,getStrongholdStairsComponent,1,"'performs some checks, then gives out a fresh Stairs component'" func_35330_a,findValidPlacement,1, func_35332_a,findValidPlacement,1, func_35334_a,findValidPlacement,1, @@ -3552,8 +3578,8 @@ func_35362_a,findValidPlacement,1, func_35365_a,findValidPlacement,1,Trys to find a valid place to put this component. 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_35368_a,getNextComponenetNN,1,"Gets the next village component, with the bounding box shift -1 in the X and Z direction." -func_35369_b,getNextComponenetPP,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 shift -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_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_35374_a,findValidPlacement,1,Trys to find a valid place to put this component. @@ -3564,28 +3590,28 @@ func_35386_a,getWorldChunkMngr,1, func_35393_a,findValidPlacement,1, 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_353_b,generateSkylightMap,1, +func_353_b,generateSkylightMap,1,Generates the initial skylight map for the chunk upon generation or load. func_35401_a,findValidPlacement,1, func_35404_c,getMaxItemUseDuration,1,How long it takes to use or consume an item func_35405_b,onFoodEaten,1, func_35406_b,getItemUseAction,1,returns the action that specifies what animation to play when the items is being used func_35407_a,getItemNameIS,1, -func_35408_a,onPlayerStoppedUsing,1, +func_35408_a,onPlayerStoppedUsing,1,"called when the player releases the use item button. Args: itemstack, world, entityplayer, itemInUseCount" func_35418_a,placeDoorBlock,1, -func_35419_a,getBlockID,1, -func_35422_a,setPotionEffect,1, +func_35419_a,getBlockID,1,Returns the blockID for this Item +func_35422_a,setPotionEffect,1,"sets a potion effect on the item. Args: int potionId, int duration (will be multiplied by 20), int amplifier, float probability of effect happening" func_35423_n,setAlwaysEdible,1,"Set the field 'alwaysEdible' to true, and make the food edible even if the player don't need to eat." -func_35424_l,getSaturationModifier,1, +func_35424_l,getSaturationModifier,1,gets the saturationModifier of the ItemFood func_35432_a,getTreasurePieces,1, func_35433_a,getNextComponent,1, func_35434_a,getRandomComponent,1, func_35435_b,getNextMineShaftComponent,1, -func_35437_a,isReady,1, +func_35437_a,isReady,1,checks if Potion effect is ready to be applied this tick. func_35438_a,performEffect,1, func_35439_a,setPotionName,1,Set the potion name. func_35475_a,abs,1,Returns the unsigned value of an int. func_35476_a,getRandomIntegerInRange,1, -func_35477_c,floor_double_long,1, +func_35477_c,floor_double_long,1,Long version of floor_double func_35478_f,removeOp,1,"This removes a username from the ops list, then saves the op list" func_35479_e,addOp,1,"This adds a username to the ops list, then saves the op list" func_35480_h,getMaxPlayers,1,Returns maximum amount of players that can join the server @@ -3602,28 +3628,28 @@ func_35507_c,getEntry,1, func_35508_b,containsItem,1, func_35509_f,getIntTemperature,1,Gets an integer representation of this biome's temperature func_35510_e,getIntRainfall,1,Gets an integer representation of this biome's rainfall -func_35511_b,setMinMaxHeight,1, -func_35512_a,setTemperatureRainfall,1, +func_35511_b,setMinMaxHeight,1,Sets the minimum and maximum height of this biome. Seems to go from -2.0 to 2.0. +func_35512_a,setTemperatureRainfall,1,Sets the temperature and rainfall of this biome. func_35513_a,decorate,1, -func_35514_a,createBiomeDecorator,1, +func_35514_a,createBiomeDecorator,1,Allocate a new BiomeDecorator for this BiomeGenBase func_35531_a,canSpawnStructureAtCoords,1, func_35532_a,generateStructuresInChunk,1,Generates structures in specified chunk next to existing structures. Does *not* generate StructureStarts. func_35533_b,getStructureStart,1, func_35539_a,generateRavine,1, -func_35541_a,generateStructure,1, -func_35542_a,isSizeableStructure,1, +func_35541_a,generateStructure,1,'Keeps iterating Structure Pieces and spawning them until the checks tell it to stop' +func_35542_a,isSizeableStructure,1,"'currently only defined for Villages, returns true if Village has more than 2 non-road components'" func_35543_b,getBoundingBox,1, -func_35544_c,updateBoundingBox,1, +func_35544_c,updateBoundingBox,1,Calculates total bounding box based on components' bounding boxes and saves it to boundingBox func_35545_a,markAvailableHeight,1,"offsets the structure Bounding Boxes up to a certain height, typically 63 - 10" func_35549_a,getIntCache,1, func_35550_a,resetIntCache,1,Mark all pre-allocated arrays as available for re-use by moving them to the appropriate free lists. func_35556_d,dropChunk,1,Drops the specified chunk. -func_35565_a,selectBlocks,1, +func_35565_a,selectBlocks,1,'picks Block Ids and Metadata (Silverfish)' func_35566_a,getSelectedBlockId,1, func_35567_b,getSelectedBlockMetaData,1, func_35570_a,dotProduct,1, -func_35571_a,rotateAroundX,1, -func_35572_b,rotateAroundY,1, +func_35571_a,rotateAroundX,1,Rotates the vector around the x axis by the specified angle. +func_35572_b,rotateAroundY,1,Rotates the vector around the y axis by the specified angle. func_35573_a,performWorldGenSpawning,1,Called during chunk generation to spawn initial creatures. func_35575_a,canSpawnMoreStructuresOfType,1, func_35576_a,canSpawnMoreStructures,1, @@ -3635,21 +3661,21 @@ func_35586_c,getSaturationLevel,1,Get the player's food saturation level. func_35587_b,needFood,1,Get whether the player must eat food. func_35588_b,writeNBT,1,Writes the food data for the player. func_35589_a,readNBT,1,Reads the food data for the player. -func_35590_a,addStats,1, +func_35590_a,addStats,1,"Args: int foodLevel, float foodSaturationModifier" func_35596_f,getSocket,1,Gets the network socket. -func_355_f,checkSkylightNeighborHeight,1, +func_355_f,checkSkylightNeighborHeight,1,Checks the height of a block next to a sky-visible block and schedules a lighting update as necessary. func_35613_a,onPlayerStoppedUsing,1,"Called when the player releases the use item button. Args: world, entityplayer, itemInUseCount" func_35614_l,getMaxItemUseDuration,1, func_35615_m,getItemUseAction,1, func_35616_k,getItemName,1, func_35617_b,onFoodEaten,1, func_35618_a,loadItemStackFromNBT,1, -func_35620_a,getStrongholdComponentFromWeightedPiece,1, +func_35620_a,getStrongholdComponentFromWeightedPiece,1,'translates the PieceWeight class to the Component class' func_35621_c,getNextValidComponent,1, func_35622_b,getStrongholdStones,1, func_35623_b,getNextComponent,1, func_35624_a,getNextValidComponentAccess,1, -func_35625_a,prepareStructurePieces,1, +func_35625_a,prepareStructurePieces,1,'sets up Arrays with the Structure pieces and their weights' func_35626_c,canAddStructurePieces,1, func_35631_c,getPrecipitationHeight,1,Gets the height to which rain/snow will fall. Calculates it if not already stored. func_35632_a,populateChunk,1, @@ -3657,17 +3683,17 @@ func_35633_i,updateSkylight_do,1,Runs delayed skylight updates. 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_35639_a,getVillageComponentFromWeightedPiece,1, -func_35640_a,getNextStructureComponent,1, -func_35641_d,getNextVillageStructureComponent,1, +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_35642_b,getNextStructureComponentVillagePath,1, -func_35643_c,getNextVillageComponent,1, +func_35643_c,getNextVillageComponent,1,'attempts to find a next Village Component to be spawned' func_35644_e,getNextComponentVillagePath,1, func_35645_a,getAvailablePieceWeight,1, func_35646_a,getStructureVillageWeightedPieceList,1, func_35647_d,deincrementDuration,1, func_35648_a,onUpdate,1, -func_35649_a,getPotionID,1, -func_35650_a,combine,1, +func_35649_a,getPotionID,1,Retrieve the ID of the potion this effect matches. +func_35650_a,combine,1,merges the input PotionEffect into this one if this.amplifier <= tomerge.amplifier. The duration in the supplied potion effect is assumed to be greater. func_35651_b,performEffect,1, func_35652_c,getAmplifier,1, func_35653_b,getDuration,1, @@ -3678,13 +3704,13 @@ func_35666_b,expandTo,1,Expands a bounding box's dimensions to include the suppl func_35667_b,isVecInside,1,Discover if a coordinate is inside the bounding box volume. func_35668_c,getYSize,1,Get dimension of the bounding box in the y direction. func_35669_b,getXSize,1,Get dimension of the bounding box in the x direction. -func_35670_a,offset,1, +func_35670_a,offset,1,"Offsets the current bounding box by the specified coordinates. Args: x, y, z" func_35671_a,intersectsWith,1,Discover if a coordinate is inside the bounding box area. func_35672_a,getNewBoundingBox,1,returns a new StructureBoundingBox with MAX values func_35679_a,getChunkManager,1,Get the world chunk manager object for a biome list. func_35680_c,getBiomeCacheBlock,1,Returns a biome cache block at location specified. func_35681_a,cleanupCache,1,Removes BiomeCacheBlocks from this cache that haven't been accessed in at least 30 seconds. -func_35682_b,getCachedBiomes,1, +func_35682_b,getCachedBiomes,1,Returns the array of cached biome types in the BiomeCacheBlock at the given location. func_35683_a,getBiomeGenAt,1,"Returns the BiomeGenBase related to the x, z position from the cache." func_35688_a,getRandomItem,1,"Returns a random choice from the input array of items, with a total weight value." func_35689_a,getRandomItem,1,Returns a random choice from the input items. @@ -3699,15 +3725,15 @@ func_35698_b,isCreative,1,Get if we are in creative game mode. func_356_b,getBlockMetadata,1,Return the metadata corresponding to the given coordinates inside a chunk. func_35700_a,getBiomeGenAt,1,"Returns the BiomeGenBase related to the x, z position from the cache block." func_357_a,setBlockID,1,"Sets a blockID for a position in the chunk. Args: x, y, z, blockID" -func_358_c,onChunkLoad,1, -func_359_e,removeChunkBlockTileEntity,1, +func_358_c,onChunkLoad,1,Called when this Chunk is loaded by the ChunkProvider +func_359_e,removeChunkBlockTileEntity,1,Removes the TileEntity for a given block in this chunk func_35_b,getUserAndIPString,1,Returns the user name (if any) and the remote address as a string. func_36000_a,getExperiencePoints,1,Get the experience points the entity currently has. func_36001_y,increaseLevel,1,This method increases the player's experience level by one. func_360_a,saveChunks,1,"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_361_a,unload100OldestChunks,1, -func_363_b,provideChunk,1, -func_364_b,canSave,1, +func_361_a,unload100OldestChunks,1,"Unloads the 100 oldest chunks from memory, due to a bug with chunkSet.add() never being called it thinks the list is always empty and will not remove any chunks." +func_363_b,provideChunk,1,"Will return back a chunk, if it doesn't exist and its not a MP client it will generates all the blocks for the specified chunk from the map seed and chunk seed" +func_364_b,canSave,1,Returns if the IChunkProvider supports saving. func_365_a,chunkExists,1,"Checks to see if a chunk exists at x, y" func_373_b,saveChunkData,1, func_374_c,dropChunk,1, @@ -3788,7 +3814,7 @@ func_40092_O,getTotalArmorValue,1,Returns the current armor value as determined func_40093_t,getCreatureAttribute,1,Get this Entity's EnumCreatureAttribute func_40094_f,decreaseAirSupply,1,Decrements the entity's air supply when underwater func_40095_c,getMaxHealth,1, -func_40096_a,isPotionAplicable,1, +func_40096_a,isPotionApplicable,1, func_40097_ai,getEntityHealth,1, 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" @@ -3801,14 +3827,14 @@ func_40103_i,setEntityHealth,1, func_40104_l,isChild,1,"If Animal, checks if the age timer is negative" func_40106_c,displayGUIEnchantment,1, func_40107_e,travelToTheEnd,1, -func_40108_b,removeExperience,1,Removes i number of levels +func_40108_b,removeExperience,1,Removes the specified number of experience levels. func_40109_c,onEnchantmentCritical,1, func_4010_d,handleSlashCommand,1,Processes a / command -func_40110_a,displayGUIBrewingStand,1, -func_40111_y,setTextureByProfession,1,[This is the function which sets a Villager's skin based on its profession value] +func_40110_a,displayGUIBrewingStand,1,Displays the GUI for interacting with a brewing stand. +func_40111_y,setTextureByProfession,1,This is the function which sets a Villager's skin based on its profession value func_40114_y,createInstance,1, func_40120_w,getSlimeParticle,1,Returns the name of a particle effect that may be randomly created by EntitySlime.onUpdate() -func_40123_y,isValidLightLevel,1, +func_40123_y,isValidLightLevel,1,Checks to make sure the light is not too bright where the mob is spawning func_40131_b,procreate,1,Creates a baby animal according to the animal type of the target at the actual position and spawns 'love' particles. func_40133_a,spawnBabyAnimal,1,This function is used when two same-species animals in 'love mode' breed to generate the new baby animal. func_40134_a,isWheat,1,Checks if the parameter is an wheat item. @@ -3842,7 +3868,7 @@ func_40220_m,isPotionIngredient,1,Returns true if this item serves as a potion i func_40221_l,getPotionEffect,1,Returns a string representing what this item does to a potion. func_40222_e,isItemTool,1,Checks isDamagable and if it cannot be stacked func_40223_b,setPotionEffect,1,Sets the string representing this item's effect on a potion when used as an ingredient. -func_40224_c,getItemEnchantability,1, +func_40224_c,getItemEnchantability,1,"Return the enchantability factor of the item, most of the time is based on material." func_40225_a,getMovingObjectPositionFromPlayer,1, func_40250_n,getMaxDamageArray,1,"Returns the 'max damage' factor array for the armor, each piece of armor have a durability factor (that gets multiplied by armor material factor)" func_40254_c,isSplash,1,returns wether or not a potion is a throwable splash potion based on damage value @@ -3857,7 +3883,7 @@ func_40271_b,causeIndirectMagicDamage,1, func_40272_k,fireDamage,1,Returns true if the damage is fire based. func_40273_c,setProjectile,1,Define the damage type as projectile based. func_40274_l,getDamageType,1,Return the name of damage type. -func_40275_b,isProjectile,1, +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_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" @@ -3893,17 +3919,17 @@ func_40315_a,findValidPlacement,1, func_40324_c,writeNextIO,1,Returns a boolean stating if the write was unsuccessful. func_40331_a,enchantItem,1,enchants the item on the table using the specified slot; also deducts XP from player func_4033_j,isFlammable,1,Checks to see if the block is flammable. -func_40342_b,getMaxEnchantability,1, -func_40343_a,canApplyTogether,1, -func_40344_a,getMaxLevel,1, -func_40345_a,getMinEnchantability,1, -func_40346_a,calcModifierLiving,1, -func_40347_c,getMinLevel,1, +func_40342_b,getMaxEnchantability,1,Returns the maximum value of enchantability nedded on the enchantment level passed. +func_40343_a,canApplyTogether,1,Determines if the enchantment passed can be applyied together with this enchantment. +func_40344_a,getMaxLevel,1,Returns the maximum level that the enchantment can have. +func_40345_a,getMinEnchantability,1,Returns the minimal value of enchantability nedded on the enchantment level passed. +func_40346_a,calcModifierLiving,1,Calculates de (magic) damage done by the enchantment on a living entity based on level and entity passed. +func_40347_c,getMinLevel,1,Returns the minimum level that the enchantment can have. func_40348_b,getWeight,1, func_40349_a,setName,1,Sets the enchantment name -func_4034_a,calculateFlowCost,1, -func_40350_a,calcModifierDamage,1, -func_4035_j,getOptimalFlowDirections,1, +func_4034_a,calculateFlowCost,1,"calculateFlowCost(World world, int x, int y, int z, int accumulatedCost, int previousDirectionOfFlow) - Used to determine the path of least resistance, this method returns the lowest possible flow cost for the direction of flow indicated. Each necessary horizontal flow adds to the flow cost." +func_40350_a,calcModifierDamage,1,Calculates de damage protection of the enchantment based on level and damage source passed. +func_4035_j,getOptimalFlowDirections,1,Returns a boolean array indicating which flow directions are optimal based on each direction's calculated flow cost. Each array index corresponds to one of the four cardinal directions. A value of true indicates the direction is optimal. func_4037_g,checkBlockCoordValid,1,"Checks if current block pos is valid, if not, breaks the block as dropable item. Used for reed and cactus." func_40383_c,getRequestID,1,Returns the request ID provided by the client func_40384_a,getRandomChallenge,1,Returns the random challenge number assigned to this auth @@ -3955,8 +3981,8 @@ func_40469_b,getTag,1,gets a generic tag with the specified name func_4046_a,isCourseTraversable,1,True if the ghast has an unobstructed line of travel to the waypoint. func_40470_p,isHardcoreModeEnabled,1,"Returns true if hardcore mode is enabled, otherwise false" func_4047_h,becomeAngryAt,1,Causes this PigZombie to become angry at the supplied Entity (which will be a player). -func_40482_a,calculateModifier,1, -func_40487_e,getEnchantability,1, +func_40482_a,calculateModifier,1,Generic method use to calculate modifiers of offensive or defensive enchantment values. +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_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 @@ -3969,9 +3995,9 @@ func_40509_b,processQueue,1,Process the items that are in the queue func_4050_c,setFull3D,1,Sets bFull3D to True and return the object. func_40515_a,decompress,1, func_40516_a,compress,1, -func_40517_a,endSection,1, -func_40518_a,startSection,1, -func_40519_b,endStartSection,1, +func_40517_a,endSection,1,End section +func_40518_a,startSection,1,Start section +func_40519_b,endStartSection,1,End current section and start a new section func_4051_e,getCanBurn,1,Returns if the block can burn or not. func_40525_a,canEnchantItem,1,Return true if the item passed can be enchanted by a enchantment of this type. func_4052_f,setBurning,1,Set the canBurn bool to True and return the current object. @@ -4003,15 +4029,15 @@ func_40585_c,getBytesAsBEint,1,Read 4 bytes from the given array in big-endian f func_40586_b,getBytesAsLEInt,1,Read 4 bytes from the given array in little-endian format and return them as an int func_40588_a,affectEntity,1,Hits the provided entity with this potion's instant effect. func_40589_a,setIconIndex,1,Sets the index for the icon displayed in the player's inventory when the status is active. -func_4058_a,initializeNoiseField,1, +func_4058_a,initializeNoiseField,1,"generates a subset of the level's terrain data. Takes 7 arguments: the [empty] noise array, the position, and the size." func_40590_e,setPotionUnusable,1, func_40591_a,setEffectiveness,1, func_40592_d,getEffectiveness,1, func_40593_f,isUsable,1, -func_40594_a,getId,1, +func_40594_a,getId,1,returns the ID of the potion func_40595_b,isInstant,1,Returns true if the potion has an instant effect instead of a continuous one (eg Harming) -func_40596_c,getName,1, -func_40597_g,getLiquidColor,1, +func_40596_c,getName,1,returns the name of the potion +func_40597_g,getLiquidColor,1,Returns the color of the potion liquid. func_405_a,setInteger,1,Stores a new NBTTagInt with the given integer value into the map with the given string key. func_40604_d,setTagCompound,1,"Assigns a NBTTagCompound to the ItemStack, minecraft validates that only non-stackable items can have it." func_40605_a,addEnchantment,1,Adds an enchantment with a desired level on the ItemStack. @@ -4036,11 +4062,11 @@ func_40631_a,mapEnchantmentData,1,Creates a 'Map' of EnchantmentData (enchantmen func_40632_g,getAquaAffinityModifier,1,Returns the aqua affinity status of enchantments on current equipped item of player. func_40633_f,getLootingModifier,1,Returns the looting enchantment modifier of the current equipped item of player. func_40634_a,getEnchantmentModifierDamage,1,Returns the modifier of protection enchantments on armors equipped on player. -func_40635_e,getFortuneModifier,1, +func_40635_e,getFortuneModifier,1,Returns the fortune enchantment modifier of the current equipped item of player. func_40636_c,getFireAspectModifier,1,Return the fire aspect value of enchantments on equipped player item. func_40637_b,getKnockbackModifier,1,Returns the knockback value of enchantments on equipped player item. func_40638_b,getEnchantmentLevel,1,Returns the level of enchantment on the ItemStack passed. -func_40639_a,getMaxEnchantmentLevel,1, +func_40639_a,getMaxEnchantmentLevel,1,Returns the biggest level of the enchantment on the array of ItemStack passed. func_4063_e,loadChunkFromFile,1, func_40640_a,applyEnchantmentModifierArray,1,Executes the enchantment modifier on the array of ItemStack passed. func_40641_a,getEnchantmentModifierLiving,1,Return the (magic) extra damage of the enchantments on player equipped item. @@ -4052,14 +4078,14 @@ func_40656_c,getPropertiesFile,1,Returns this PropertyManager's file object used func_40657_a,setProperty,1,Saves an Object with the given property name func_40658_a,getChunkPosition,1, func_40659_a,getCenterXPos,1, -func_4065_a,getRainfall,1, +func_4065_a,getRainfall,1,"Returns a list of rainfall values for the specified blocks. Args: listToReuse, x, z, width, length." func_40660_b,getCenterZPos,1, func_4067_a,getBiomeGenAt,1,"Returns the BiomeGenBase related to the x, z position on the world." func_4068_a,getTemperatures,1,"Returns a list of temperatures to use for the specified blocks. Args: listToReuse, x, y, width, length" func_406_c,getShort,1,"Retrieves a short value using the specified key, or 0 if no such key was stored." func_4072_a,addWorldAccess,1,Adds a IWorldAccess to the list of worldAccesses func_4073_g,tickBlocksAndAmbiance,1,plays random cave ambient sounds and runs updateTick on random blocks within each chunk in the vacinity of a player -func_4074_a,updateEntityWithOptionalForce,1, +func_4074_a,updateEntityWithOptionalForce,1,"Will update the entity in the world if the chunk the entity is in is currently loaded or its forced to update. Args: entity, forceUpdate" func_4075_e,getTopSolidOrLiquidBlock,1,"Finds the highest block on the x, z coordinate that is solid and returns its y coord. Args x, z" func_4077_a,getWorldChunkManager,1, func_4078_a,getSpawningChance,1,returns the chance a creature has to spawn. @@ -4068,12 +4094,12 @@ func_407_k,getTagList,1,"Retrieves a NBTTagList subtag matching the specified ke func_4082_a,setBiomeName,1, func_4087_c,getChunkProvider,1,Returns the chunk provider back for the world provider func_4088_b,generateLightBrightnessTable,1,Creates the light to brightness table -func_4089_a,calculateCelestialAngle,1, +func_4089_a,calculateCelestialAngle,1,Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime) func_408_b,getByte,1,"Retrieves a byte value using the specified key, or 0 if no such key was stored." -func_4090_a,registerWorldChunkManager,1, +func_4090_a,registerWorldChunkManager,1,creates a new world chunk manager for WorldProvider func_4091_a,getProviderForDimension,1, func_4092_a,canCoordinateBeSpawn,1,"Will check if the x, z position specified is alright to be set as the map spawn point" -func_4093_a,registerWorld,1, +func_4093_a,registerWorld,1,"associate an existing world with a World provider, and setup its lightbrightness table" func_409_a,setByte,1,Stores a new NBTTagByte with the given byte value into the map with the given string key. func_41001_e,createStackedBlock,1,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_41004_h,teleportNearby,1,Teleports the dragon egg somewhere else in a 31x19x31 area centered on the egg. @@ -4083,8 +4109,8 @@ func_41007_c,isPowerProviderOrWire,1,"Returns true if the block coordinate passe func_41008_j,setAir,1, func_41009_al,getAir,1, func_41010_j_,getCollisionBorderSize,1, -func_41011_a,playStepSound,1, -func_41012_c_,isEntityEqual,1, +func_41011_a,playStepSound,1,"Plays step sound at given x, y, z for the entity" +func_41012_c_,isEntityEqual,1,Returns true if Entity argument is equal to this Entity func_41013_a,copyInventory,1,Copy the ItemStack contents from another InventoryPlayer instance func_41015_m,isMinecartPowered,1,Is this minecart powered (Fuel > 0) func_41017_a,setMinecartPowered,1,Set if this minecart is powered (Fuel > 0) @@ -4094,7 +4120,7 @@ func_41026_d,setForwardDirection,1,Sets the forward direction of the entity. func_41027_c,setTimeSinceHit,1,Sets the time to count down from since the last time entity was hit. func_41028_k,getTimeSinceHit,1,Gets the time since the last hit. func_41029_m,getForwardDirection,1,Gets the forward direction of the entity. -func_41030_c,renderBrokenItemStack,1, +func_41030_c,renderBrokenItemStack,1,Renders broken item particles using the given ItemStack func_41031_d,copyPlayer,1,Copy the inventory and various stats from another EntityPlayer func_41034_a,collideWithEntities,1,Pushes all entities inside the list away from the enderdragon. func_41035_b,attackEntitiesInList,1,"Attacks all entities inside this list, dealing 5 hearts of damage." @@ -4109,13 +4135,13 @@ func_41047_b,isBlockNormalCubeDefault,1,"Checks if the block is a solid, normal func_41048_b,getWatchableObjectShort,1, func_41049_g,isEmpty,1, func_4104_b,saveExtraChunkData,1,"Save extra data associated with this Chunk not normally saved during autosave, only during chunk unload. Currently unused." -func_41051_a,clamp_int,1, -func_4105_a,generateCaveNode,1, -func_4106_a,generateLargeCaveNode,1, +func_41051_a,clamp_int,1,"Returns the value of the first parameter, clamped to be within the lower and upper limits given by the second and third parameters." +func_4105_a,generateCaveNode,1,Generates a node in the current cave system recursion tree. +func_4106_a,generateLargeCaveNode,1,Generates a larger initial cave node than usual. Called 25% of the time. func_4108_a,addPlayer,1,adds this connection to the list of currently connected players func_410_a,hasKey,1,Returns whether the given string has been previously stored as a key in the map. -func_4111_a,performSpawning,1, -func_4112_a,getRandomSpawningPointInChunk,1, +func_4111_a,performSpawning,1,"The main spawning algorithm, spawns three random creatures of types in the subclass array" +func_4112_a,getRandomSpawningPointInChunk,1,"Given a chunk, find a random position in it." func_411_a,setDouble,1,Stores a new NBTTagDouble with the given double value into the map with the given string key. func_412_a,sortBack,1,Sorts a point to the left func_413_a,addPoint,1,Adds a point to the path @@ -4127,34 +4153,34 @@ func_418_c,isPathEmpty,1,Returns true if this path contains no points func_419_a,generate,1, func_41_a,teleportTo,1,Teleports the player to the specified destination and rotation func_420_a,setScale,1,"Rescales the generator settings, only used in WorldGenBigTree" -func_421_b,generateLeaves,1, -func_422_e,validTreeLocation,1, -func_423_a,generateLeafNode,1, -func_424_a,generateLeafNodeList,1, -func_425_a,placeBlockLine,1, +func_421_b,generateLeaves,1,Generates the leaf portion of the tree as specified by the leafNodes list. +func_422_e,validTreeLocation,1,"Returns a boolean indicating whether or not the current location for the tree, spanning basePos to to the height limit, is valid." +func_423_a,generateLeafNode,1,Generates the leaves surrounding an individual entry in the leafNodes list. +func_424_a,generateLeafNodeList,1,"Generates a list of leaf nodes for the tree, to be populated by generateLeaves." +func_425_a,placeBlockLine,1,Places a line of the specified block ID into the world from the first coordinate triplet to the second. func_426_a,genTreeLayer,1, -func_427_a,checkBlockLine,1, -func_428_d,generateLeafNodeBases,1, +func_427_a,checkBlockLine,1,"Checks a line of blocks in the world from the first coordinate to triplet to the second, returning the distance (in blocks) before a non-air, non-leaf block is encountered and/or the end is encountered." +func_428_d,generateLeafNodeBases,1,Generates additional wood blocks to fill out the bases of different leaf nodes that would otherwise degrade. func_429_b,leafSize,1, func_42_a,handlePackets,1,handle all the packets for the connection func_43001_a,onFallenUpon,1,Block's chance to react to an entity falling on it. -func_430_c,leafNodeNeedsBase,1, +func_430_c,leafNodeNeedsBase,1,Indicates whether or not a leaf node requires additional wood to be added to preserve integrity. func_431_a,layerSize,1,Gets the rough size of a layer of the tree. -func_432_c,generateTrunk,1, +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_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_436_a,updateStats,1,Updates the stat values and calls paint to redraw the component. -func_437_a,setLoadingProgress,1, +func_437_a,setLoadingProgress,1,Updates the progress bar on the loading screen to the specified amount. Args: loadProgress func_438_a,displaySavingString,1,Shows the 'Saving level' string. -func_439_b,displayLoadingString,1, +func_439_b,displayLoadingString,1,Displays a string on the loading screen supposed to indicate what is being done currently. func_43_c,kickPlayer,1,Kick the offending player and give a reason why func_44001_a,handleCustomPayload,1, -func_44006_ak,isClientWorld,1, +func_44006_ak,isClientWorld,1,Returns whether the entity is in a local (client) world func_44009_b,loadLanguageList,1, func_44010_a,setLanguage,1, func_44011_a,loadLanguage,1, -func_44014_a,createEntity,1, +func_44014_a,createEntity,1,create a new instance of an entity by using an entityID 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_445_d,isBlockNormalCube,1,"Returns true if the block at the specified coordinates is an opaque cube. Args: x, y, z" @@ -4191,19 +4217,19 @@ func_46041_c,unloadAllChunks,1, func_46042_a,generate,1, func_46048_a,getNumHashElements,1, func_46049_a,parseWorldType,1, -func_46058_a,setLookPositionWithEntity,1, -func_46059_a,onUpdateLook,1, -func_46060_a,setLookPosition,1, +func_46058_a,setLookPositionWithEntity,1,Sets position to look at using entity +func_46059_a,onUpdateLook,1,Updates look +func_46060_a,setLookPosition,1,Sets position to look at func_46061_a,updateRotation,1, func_46069_q,getTerrainType,1, func_46072_a,onUpdateMoveHelper,1, -func_46085_d,resetTask,1, -func_46086_f,isContinuous,1, -func_46087_a,setMutexBits,1, -func_46088_e,startExecuting,1, -func_46089_b,updateTask,1, +func_46085_d,resetTask,1,Resets the task +func_46086_f,isContinuous,1,Returns whether the task requires multiple updates or not +func_46087_a,setMutexBits,1,"Sets a bitmask telling which other tasks may not run concurrently. The test is a simple bitwise AND - if it yields zero, the two tasks may run concurrently, if not - they must run exclusively from each other." +func_46088_e,startExecuting,1,Execute a one shot task or start executing a continuous task +func_46089_b,updateTask,1,Updates the task func_46090_a,shouldExecute,1,Returns whether the EntityAIBase should begin execution. -func_46091_c,getMutexBits,1, +func_46091_c,getMutexBits,1,"Get a bitmask telling which other tasks may not run concurrently. The test is a simple bitwise AND - if it yields zero, the two tasks may run concurrently, if not - they must run exclusively from each other." func_46092_g,continueExecuting,1,Returns whether an in-progress EntityAIBase should continue executing func_46115_a,setJumping,1, func_46116_b,doJump,1,Called to actually make the entity jump if isJumping is true. @@ -4221,38 +4247,48 @@ func_465_d,calculateInitialSkylight,1,Called on construction of the World class func_466_a,checkChunksExist,1,"Checks between a min and max all the chunks inbetween actually exist. Args: minX, minY, minZ, maxX, maxY, maxZ" func_469_b,isAnyLiquid,1,Returns if any of the blocks within the aabb are liquids. Args: aabb func_46_a,initGui,1,Initialises the GUI components. -func_470_a,setBlockAndMetadata,1, +func_470_a,setBlockAndMetadata,1,Sets the block ID and metadata of a block in global coordinates func_472_a,getClosestPlayerToEntity,1,"Gets the closest player to the entity within the specified distance (if distance is less than 0 then ignored). Args: entity, dist" func_473_a,setBlockTileEntity,1,"Sets the TileEntity for a given block in X, Y, Z coordinates" func_474_n,isBlockIndirectlyGettingPowered,1,"Used to see if one of the blocks next to you or your block is getting power from a neighboring block. Used by items like TNT or Doors so they don't have redstone going straight into them. Args: x, y, z" func_476_g,checkSessionLock,1,Checks whether the session lock file was modified by another process -func_477_b,getCelestialAngle,1, -func_478_h,saveLevel,1, -func_479_b,obtainEntitySkin,1, +func_477_b,getCelestialAngle,1,calls calculateCelestialAngle +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_47_d,getLogComponent,1,Returns a new JPanel with a new GuiStatsComponent inside. func_48083_a,getPathEntityToEntity,1, func_48085_a,findNearestEntityWithinAABB,1, func_48088_a,getEntityPathToXYZ,1, func_48095_y,getWorldHeight,1,Returns current world height +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_48136_c,getDoorOrientation,1, +func_48127_b,getBlocksMovement,1, +func_48136_c,getDoorOrientation,1,"Returns 0, 1, 2 or 3 depending on where the hinge is." 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_48305_f,checkSufficientDoorsPresentForNewVillager,1, func_48306_i,giveBirth,1, func_48307_a,spawnHeartParticles,1, -func_48315_b,getStackInSlotOnClosing,1,"works exactly like getStackInSlot, is only used upon closing GUIs" +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_48317_b,setHomeArea,1, func_48321_b,dropRareDrop,1, func_48322_aw,detachHome,1, func_48323_au,getHomePosition,1, +func_48324_ao,getLastAttackingEntity,1, +func_48325_at,isWithinHomeDistanceCurrentPosition,1,Returns true if entity is within home distance from current position func_48326_g,updateAITick,1,"main AI tick function, replaces updateEntityActionState" +func_48327_b,setAttackTarget,1,Sets the active target the Task system uses for tracking func_48328_e,isWithinHomeDistance,1, func_48329_ax,hasHome,1, func_48330_av,getMaximumHomeDistance,1, +func_48331_as,getAttackTarget,1,Gets the active target the Task system uses for tracking func_48333_ak,getNavigator,1, func_48334_a,setRevengeTarget,1, -func_48350_c,setGrowingAge,1, -func_48351_J,getGrowingAge,1, +func_48335_g,setLastAttackingEntity,1, +func_48348_b,dropPlayerItem,1,Args: itemstack +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_48351_J,getGrowingAge,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. Don't confuse this with EntityLiving.getAge. With a negative value the Entity is considered a child." func_48352_x,getProfession,1, func_48353_E_,getIsPlayingFlag,1, func_48354_b,setIsPlayingFlag,1, @@ -4262,13 +4298,21 @@ func_48357_f_,setProfession,1, func_48366_b,setTamed,1, func_48367_A,getOwnerName,1, func_48368_w_,getOwner,1, +func_48371_v_,isSitting,1, func_48372_a,setOwner,1, func_48373_u_,isTamed,1, func_48380_l_,getVillage,1, -func_48420_a,getPosition,1, -func_48442_h,getFloatTemperature,1, +func_48420_a,getPosition,1,returns the current PathEntity target node as Vec3D +func_48421_b,setCurrentPathLength,1, +func_48422_c,setCurrentPathIndex,1, +func_48423_e,getCurrentPathIndex,1, +func_48424_d,getCurrentPathLength,1, +func_48425_c,getFinalPathPoint,1,returns the last PathPoint of the Array +func_48429_a,getPathPointFromIndex,1,"return the PathPoint located at the specified PathIndex, usually the current one" +func_48436_b,getSpeed,1, +func_48442_h,getFloatTemperature,1,Gets a floating point representation of this biome's temperature func_48473_c,getDistanceSquared,1,Returns the squared distance between this coordinates and the coordinates given as argument. -func_48474_a,setChunkCoordinates,1, +func_48474_a,set,1, func_48478_d,resetDoorOpeningRestrictionCounter,1, func_48479_a,isInside,1, func_48480_f,getDoorOpeningRestrictionCounter,1, @@ -4278,23 +4322,23 @@ func_48483_a,getInsidePosX,1, func_48484_c,getInsidePosZ,1, func_48485_b,getInsidePosY,1, func_48486_b,getInsideDistanceSquare,1,Get the square of the distance from a location 2 blocks away from the door considered 'inside' and the given arguments -func_48500_a,tick,1, -func_48513_c,findNearestDoorUnrestricted,1, +func_48500_a,tick,1,Runs a single tick for the village siege +func_48513_c,findNearestDoorUnrestricted,1,"Find a door suitable for shelter. If there are more doors in a distance of 16 blocks, then the least restricted one (i.e. the one protecting the lowest number of villagers) of them is chosen, else the nearest one regardless of restriction." func_48514_e,isBlockDoor,1, func_48515_k,removeDeadAndOutOfRangeDoors,1, -func_48516_a,tryGetIronGolemSpawningLocation,1, -func_48517_f,getVillageDoorInfoList,1, +func_48516_a,tryGetIronGolemSpawningLocation,1,Tries up to 10 times to get a valid spawning location before eventually failing and returning null. +func_48517_f,getVillageDoorInfoList,1,called only by class EntityAIMoveThroughVillage func_48518_d,getVillageDoorAt,1, -func_48519_a,tick,1, +func_48519_a,tick,1,Called periodically by VillageCollection func_48520_d,getTicksSinceLastDoorAdding,1, func_48521_e,getNumVillagers,1, func_48522_b,isValidIronGolemSpawningLocation,1, func_48523_j,removeDeadAndOldAgressors,1, -func_48524_g,isAnnihilated,1, -func_48525_c,getNumVillageDoors,1, +func_48524_g,isAnnihilated,1,"Returns true, if there is not a single village door left. Called by VillageCollection" +func_48525_c,getNumVillageDoors,1,"Actually get num village door info entries, but that boils down to number of doors. Called by EntityAIVillagerMate and VillageSiege" func_48526_a,getCenter,1, func_48527_b,getVillageRadius,1, -func_48528_a,isInRange,1, +func_48528_a,isInRange,1,"Returns true, if the given coordinates are within the bounding box of the village." func_48529_i,updateNumVillagers,1, func_48530_a,addOrRenewAgressor,1, func_48531_l,updateVillageRadiusAndCenter,1, @@ -4302,23 +4346,41 @@ func_48532_a,addVillageDoorInfo,1, func_48533_b,findNearestDoor,1, func_48534_b,findNearestVillageAggressor,1, func_48535_h,updateNumIronGolems,1, -func_485_a,saveWorld,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_48547_a,clearSensingCache,1,Returns the squared distance between this door and the given coordinate. +func_48584_a,onCrafting,1, +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_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_48595_a,getIsEmpty,1,"Returns whether or not this block storage's Chunk is fully empty, based on its internal reference count." +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_48601_h,getBlockMSBArray,1,Returns the block ID MSB (bits 11..8) array for this storage array's Chunk. +func_48602_c,getExtSkylightValue,1,Gets the saved Sky-light value in the extended block storage structure. +func_48604_d,getExtBlocklightValue,1,Gets the saved Block-light value in the extended block storage structure. +func_48605_k,getSkylightArray,1,Returns the NibbleArray instance containing Sky-light data. +func_48606_c,setBlocklightArray,1,Sets the NibbleArray instance used for Block-light values in this particular storage block. +func_48607_b,getNeedsRandomTick,1,"Returns whether or not this block storage's Chunk will require random ticking, used to avoid looping through random block ticks when there are no blocks that would randomly tick." +func_48608_d,setExtBlocklightValue,1,Sets the saved Block-light value in the extended block storage structure. func_48618_a,get,1, func_48623_a,convertToAnvilFormat,1, func_48624_a,load,1, func_48629_e,isWoodenDoorAt,1, func_48630_c,addDoorToNewListIfAppropriate,1, func_48631_d,dropOldestVillagerPosition,1, -func_48632_a,findNearestVillage,1, -func_48633_a,tick,1, +func_48632_a,findNearestVillage,1,"Finds the nearest village, but only the given coordinates are withing it's bounding box plus the given the distance." +func_48633_a,tick,1,Runs a single tick for the village collection func_48634_e,addNewDoorsToVillageOrCreateVillage,1, func_48635_a,addUnassignedWoodenDoorsAroundToNewDoorsList,1, func_48636_d,isVillagerPositionPresent,1, func_48637_c,removeAnnihilatedVillages,1, func_48638_b,getVillageDoorAt,1, -func_48639_a,addVillagerPosition,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_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_48664_g,pathFollow,1, +func_48667_l,removeSunnyPath,1,Trims path data from the end to the first sun covered block 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_488_c,getHeightValue,1,"Returns the y coordinate with a block in it at this x, z coordinate" @@ -4337,29 +4399,29 @@ func_500_a,isMaterialInBB,1,Returns true if the given bounding box contains the func_502_a,playSoundEffect,1,"Play a sound effect. Many many parameters for this function. Not sure what they do, but a classic call is : (double)i + 0.5D, (double)j + 0.5D, (double)k + 0.5D, 'random.door_open', 1.0F, world.rand.nextFloat() * 0.1F + 0.9F with i,j,k position of the block." func_505_a,rayTraceBlocks_do,1, func_506_a,playSoundAtEntity,1,"Plays a sound at the entity's position. Args: entity, sound, unknown1, unknown2" -func_507_b,setBlockAndMetadataWithNotify,1, +func_507_b,setBlockAndMetadataWithNotify,1,"Sets the block ID and metadata, then notifies neighboring blocks of the change Params: x, y, z, BlockID, Metadata" func_508_d,setBlockWithNotify,1,"Sets a block and notifies relevant systems with the block change Args: x, y, z, blockID" func_511_b,setBlockMetadataWithNotify,1,"Sets the blocks metadata and if set will then notify blocks that this block changed. Args: x, y, z, metadata" func_512_a,getSavedLightValue,1,Returns saved light value without taking into account the time of day. Either looks in the sky light map or block light map based on the enumSkyBlock arg. func_513_l,removeBlockTileEntity,1,"Removes the TileEntity for a given block in X,Y,Z coordinates" func_514_a,spawnParticle,1,"Spawns a particle. Args particleName, x, y, z, velX, velY, velZ" func_515_b,updateTileEntityChunkAndDoNothing,1,marks the chunk that contains this tilentity as modified and then calls worldAccesses.doNothingWithTileEntity -func_516_a,canBlockBePlacedAt,1, +func_516_a,canBlockBePlacedAt,1,"Returns true if the specified block can be placed at the given coordinates, optionally making sure there are no entities in the way. Args: blockID, x, y, z, ignoreEntities" func_517_a,getBlockLightValue_do,1,"Gets the light value of a block location. This is the actual function that gets the value and has a bool flag that indicates if its a half step block to get the maximum light value of a direct neighboring block (left, right, forward, back, and up)" func_518_a,tickUpdates,1,Runs through the list of updates to run and ticks them func_519_b,markBlocksDirty,1, -func_520_e,updateEntity,1, -func_521_f,markBlockNeedsUpdate,1, -func_522_a,checkIfAABBIsClear,1, -func_523_c,isBoundingBoxBurning,1, +func_520_e,updateEntity,1,Will update the entity in the world if the chunk the entity is in is currently loaded. Args: entity +func_521_f,markBlockNeedsUpdate,1,"Marks the block as needing an update with the renderer. Args: x, y, z" +func_522_a,checkIfAABBIsClear,1,"Returns true if there are no solid, live entities in the specified AxisAlignedBB" +func_523_c,isBoundingBoxBurning,1,Returns whether or not the given bounding box is on fire or not func_524_b,isAABBInMaterial,1,checks if the given AABB is in the material given. Used while swimming. func_525_b,getChunkFromChunkCoords,1,"Returns back a chunk looked up by chunk coordinates Args: x, y" func_526_a,spawnEntityInWorld,1,Called when an entity is spawned in the world. This includes players. func_527_k,notifyBlockOfNeighborChange,1,"Notifies a block that one of its neighbor change to the specified type Args: x, y, z, blockID" func_528_f,getFirstUncoveredBlock,1,"Returns the block ID of the first block at this (x,z) location with air above it, searching from sea level upwards." func_529_b,setLightValue,1,"Sets the light value either into the sky map or block map depending on if enumSkyBlock is set to sky or block. Args: enumSkyBlock, x, y, z, lightValue" -func_530_e,blockExists,1, -func_531_c,releaseEntitySkin,1, +func_530_e,blockExists,1,"Returns whether a block exists at world coordinates x, y, z" +func_531_c,releaseEntitySkin,1,Decrement the reference counter for this entity's skin image data func_532_d,getTileEntityList,1,get a list of tileEntity's func_533_c,getPlayerInstancesToUpdate,1,retrieve the list of all playerInstances that need to be updated on tick func_535_a,markBlockNeedsUpdate,1, @@ -4383,8 +4445,8 @@ func_554_a,addKey,1,Adds a key and associated value to this map func_555_a,getSlotIndex,1,Computes the index of the slot for the hash and slot count passed in. func_556_b,containsItem,1,Returns true if this hash table contains the specified item. func_557_e,removeEntry,1,Removes the specified entry from the map and returns it -func_558_b,getValue,1, -func_559_a,getHash,1, +func_558_b,getValue,1,Returns the object stored in this entry +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_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 @@ -4396,11 +4458,11 @@ 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_571_c,getMaxDamage,1,Returns the max damage an item in the stack can take. func_572_a,useItem,1,"Uses the item stack by the player. Gives the coordinates of the block its being used against and the side. Args: player, world, x, y, z, side" -func_573_b,canHarvestBlock,1, +func_573_b,canHarvestBlock,1,Checks if the itemStack object can harvest a specified block func_574_a,getStrVsBlock,1,Returns the strength of the stack against a given block. func_575_b,readFromNBT,1,Read the stack fields from a NBT object. func_576_b,getMaxStackSize,1,Returns maximum size of the stack. -func_577_a,onItemDestroyedByUse,1, +func_577_a,onItemDestroyedByUse,1,Called when a given item stack is about to be destroyed due to its damage level expiring when used on a block or entity. Typically used by tools. func_578_d,copy,1,Returns a new stack with the same properties. func_581_a,abs_max,1,Maximum of the absolute value of two numbers. func_582_b,cos,1,cos looked up in the sin table with the appropriate offset @@ -4419,10 +4481,10 @@ func_595_a,getMinecartTrackLogic,1, func_596_a,refreshTrackShape,1,Completely recalculates the track shape based on neighboring tracks and power state func_597_c,canConnectTo,1,Determines whether or not the track can bend to meet the specified rail func_598_d,connectToNeighbor,1,"The specified neighbor has just formed a new connection, so update accordingly" -func_599_b,isInTrack,1, +func_599_b,isInTrack,1,Returns true if the specified block is in the same railway. func_6001_a,registerPacket,1, -func_6002_a,handleEntityVelocity,1, -func_6003_a,handleAttachEntity,1, +func_6002_a,handleEntityVelocity,1,Packet handler +func_6003_a,handleAttachEntity,1,Packet handler func_6004_a,handleHandshake,1, func_6006_a,handleUseEntity,1, func_6007_b,doLogin,1,Processes the login packet and sends response packets to the user. @@ -4458,18 +4520,18 @@ func_6098_f,getDeathSound,1,Returns the sound this mob makes on death. func_6099_c,damageEntity,1,Deals damage to the entity. If its a EntityPlayer then will take damage from the armor first and then health second with the reduced value. Args: damageAmount func_609_a,sendPacketToTrackedPlayersAndTrackedEntity,1, func_6100_e,getHurtSound,1,Returns the sound this mob makes when it is hurt. -func_6101_K,onEntityDeath,1, +func_6101_K,onEntityDeath,1,Called when the entity vanishes after dies by damage (or other method that put health below or at zero). func_6102_h,getSoundVolume,1,Returns the volume for the sounds this mob makes. func_610_b,untrackEntity,1, func_611_a,trackEntity,1, -func_6126_d,getInventorySlotContainItem,1, -func_6127_b,consumeInventoryItem,1, +func_6126_d,getInventorySlotContainItem,1,Returns a slot index in main inventory containing a specific itemID +func_6127_b,consumeInventoryItem,1,"removed one item of specified itemID from inventory (if it is in a stack, the stack size will reduce with 1)" func_613_b,serverUpdateMountedMovingPlayer,1,"using player's dimension, update their movement when in a vehicle (e.g. cart, boat)" func_6142_a,calculateVelocity,1, func_6143_c,catchFish,1, func_6152_a,onItemRightClick,1,"Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer" func_6154_a,itemUsed,1, -func_6156_d,updatingLighting,1, +func_6156_d,updatingLighting,1,Updates lighting. Returns true if there are more lighting updates to update func_6157_a,canMineBlock,1,Called when checking if a certain block can be mined or not. The 'spawn safe zone' check is located here. func_6168_a,useItemRightClick,1,"Called whenever this item stack is equipped and right clicked. Returns the new item stack to put in the position where this item is. Args: world, player" func_616_c,playerLoggedOut,1,Called when a player disconnects from the game. Writes player data to disk and removes them from the world. @@ -4506,15 +4568,15 @@ func_654_b,findPathOptions,1,"populates pathOptions with available points and re func_655_a,openPoint,1,Returns a mapped point or creates and adds one func_656_a,addToPath,1,"Adds a path from start to end and returns the whole path (args: unused, start, end, unused, maxDistance)" func_657_a,createEntityPathTo,1,Creates a path from one entity to another within a minimum distance -func_659_a,loadChunk,1, +func_659_a,loadChunk,1,Loads the specified(XZ) chunk into the specified world. func_65_b,readPacket,1,"Read a packet, prefixed by its ID, from the data stream." func_660_b,saveExtraData,1,"Save extra data not associated with any Chunk. Not saved during autosave, only during world unload. Currently unused." func_661_a,chunkTick,1,Called every World.tick() func_662_a,saveChunk,1, -func_666_a,recursiveGenerate,1, +func_666_a,recursiveGenerate,1,Recursively called by generate() (func_867_a) and optionally by itself. func_667_a,generate,1, -func_668_a,generateCaveNode,1, -func_669_a,generateLargeCaveNode,1, +func_668_a,generateCaveNode,1,Generates a node in the current cave system recursion tree. +func_669_a,generateLargeCaveNode,1,Generates a larger initial cave node than usual. Called 25% of the time. func_66_a,writePacket,1,"Writes a packet, prefixed by its ID, to the data stream." func_670_b,remove,1,calls the removeKey method and returns removed object func_671_e,getHashedKey,1,returns the hashed key given the original key @@ -4528,10 +4590,10 @@ func_678_a,getHashIndex,1,gets the index in the hash given the array length and func_679_a,createKey,1,creates the key in the hashTable func_67_a,getNewPacket,1,Returns a new instance of the specified Packet class. func_680_b,resizeTable,1,resizes the table -func_681_a,obtainEntitySkin,1, +func_681_a,obtainEntitySkin,1,"Start the skin for this entity downloading, if necessary, and increment its reference counter" func_682_a,playRecord,1,"Plays the specified record. Arg: recordName, x, y, z" -func_683_a,markBlockNeedsUpdate,1, -func_685_a,markBlockRangeNeedsUpdate,1, +func_683_a,markBlockNeedsUpdate,1,"Will mark the block and neighbors that their renderers need an update (could be all the same renderer potentially) Args: x, y, z" +func_685_a,markBlockRangeNeedsUpdate,1,"Called across all registered IWorldAccess instances when a block range is invalidated. Args: minX, minY, minZ, maxX, maxY, maxZ" func_686_a,doNothingWithTileEntity,1,"In all implementations, this method does nothing." func_687_a,spawnParticle,1,"Spawns a particle. Arg: particleType, x, y, z, velX, velY, velZ" func_688_b,releaseEntitySkin,1,Decrement the reference counter for this entity's skin image data @@ -4613,7 +4675,7 @@ func_765_c,lengthVector,1,Returns the length of the vector. func_766_a,getIntermediateWithXValue,1,"Returns a new vector with x value equal to the second parameter, along the line between this vector and the passed in vector, or null if not possible." func_767_a,distanceTo,1,"Euclidean distance between this and the specified vector, returned as double." func_768_b,createVector,1,Static method to create a new vector in the vector list and return it. -func_769_a,writeCompressed,1, +func_769_a,writeCompressed,1,"Write the compound, gzipped, to the outputstream." func_770_a,readCompressed,1,Load the gzipped compound from the inputstream. func_771_a,write,1, func_774_a,read,1,Reads from a CompressedStream. @@ -4628,17 +4690,17 @@ func_79_a,getStrVsBlock,1,"Returns the strength of the stack against a given blo func_80_a,canHarvestBlock,1,Returns if the item (tool) can harvest results from the block type. func_81_a,getItemStackLimit,1,Returns the maximum size of the stack for a specific item. *Isn't this more a Set than a Get?* func_82_a,getStackInSlot,1,Returns the stack in slot i -func_83_a,getSizeInventory,1, +func_83_a,getSizeInventory,1,Returns the number of slots in the inventory. func_84_k,onEntityUpdate,1,Gets called every tick from main Entity class func_85_a,newFloatNBTList,1,Returns a new NBTTagList filled with the specified floats func_86_a,setPosition,1,"Sets the x,y,z of the entity from the given parameters. Also seems to set up a bounding box." func_87_f,addVelocity,1,"Adds to the current velocity of the entity. Args: x, y, z" func_88_c,moveEntity,1,"Tries to moves the entity by the passed in displacement. Args: x, y, z" -func_89_d,getCollisionBox,1, +func_89_d,getCollisionBox,1,"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_8_a,handleDestroyEntity,1, -func_9001_a,handleEntityStatus,1, +func_9001_a,handleEntityStatus,1,Packet handler func_9002_a,handleRespawn,1,respawns the player -func_9003_a,handleUpdateHealth,1, +func_9003_a,handleUpdateHealth,1,Recieves player health from the server and then proceeds to set it locally on the client. func_9059_p,isSneaking,1,Returns if this entity is sneaking. func_9060_u,setBeenAttacked,1,Sets that this entity has been attacked. func_90_a,moveFlying,1,Used in both water and by flying objects @@ -4647,14 +4709,14 @@ func_9146_h,attackTargetEntityWithCurrentItem,1,Attacks for the player the targe func_9153_b,handleFalling,1,process player falling based on movement packet func_9157_a,getDamageVsEntity,1,"Return damage vs an entity done by the current held weapon, or 1 if nothing is held" func_91_u,isEntityInsideOpaqueBlock,1,Checks if this entity is inside of an opaque block -func_9201_a,hitEntity,1, +func_9201_a,hitEntity,1,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_9202_b,useItemOnEntity,1,Called when a player right clicks a entity with a item. -func_9203_a,getDamageVsEntity,1, +func_9203_a,getDamageVsEntity,1,Returns the damage against a given entity. func_9206_a,setEntityState,1,sends a Packet 38 (Entity Status) to all tracked players of that entity func_9213_b,removePlayer,1,Removes an EntityPlayerMP from the PlayerManager. func_9214_a,addPlayer,1,Adds an EntityPlayerMP to the PlayerManager. -func_9217_a,hitEntity,1, -func_9218_a,getDamageVsEntity,1, +func_9217_a,hitEntity,1,Calls the corresponding fct in di +func_9218_a,getDamageVsEntity,1,Returns the damage against a given entity. func_9219_b,removeTrackedPlayerSymmetric,1,Remove a tracked player from our list and tell the tracked player to destroy us from their world. func_9238_a,removeTrackedPlayerSymmetric,1, func_9239_j,saveOps,1,saves the ops to the ops file @@ -4666,7 +4728,7 @@ func_92_c,applyEntityCollision,1,Applies a velocity to each of the entities push func_93_n,getBoundingBox,1,returns the bounding box for this entity func_94_a,getDistanceToEntity,1,Returns the distance to the entity. Args: entity func_95_c,addEntityID,1,adds the ID of this entity to the NBT given -func_96_b,addToPlayerScore,1, +func_96_b,addToPlayerScore,1,"Adds a value to the player score. Currently not actually used and the entity passed in does nothing. Args: entity, scoreToAdd" func_97_a,writeEntityToNBT,1,(abstract) Protected helper method to write subclass entity data to NBT. func_98_d,writeToNBT,1,Save the entity to NBT (calls an abstract helper method to write extra data) func_99_b,readEntityFromNBT,1,(abstract) Protected helper method to read subclass entity data from NBT. diff --git a/forge/patches/minecraft/net/minecraft/src/Block.java.patch b/forge/patches/minecraft/net/minecraft/src/Block.java.patch index f84e6b039..a796278a7 100644 --- a/forge/patches/minecraft/net/minecraft/src/Block.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/Block.java.patch @@ -7,16 +7,16 @@ import java.util.ArrayList; import java.util.Random; -@@ -443,7 +444,7 @@ +@@ -449,7 +450,7 @@ public boolean func_48205_p() { -- return this.field_48207_bU; -+ return hasTileEntity(0); +- return this.isBlockContainer; ++ return hasTileEntity(0); } /** -@@ -464,7 +465,7 @@ +@@ -470,7 +471,7 @@ */ public float getBlockBrightness(IBlockAccess par1IBlockAccess, int par2, int par3, int par4) { @@ -25,7 +25,7 @@ } /** -@@ -472,7 +473,7 @@ +@@ -478,7 +479,7 @@ */ public int getMixedBrightnessForBlock(IBlockAccess par1IBlockAccess, int par2, int par3, int par4) { @@ -34,7 +34,7 @@ } /** -@@ -629,11 +630,14 @@ +@@ -635,11 +636,14 @@ } /** @@ -51,7 +51,7 @@ } /** -@@ -653,16 +657,12 @@ +@@ -659,16 +663,12 @@ { int var8 = this.quantityDroppedWithBonus(par7, par1World.rand); @@ -71,16 +71,16 @@ } } } -@@ -972,7 +972,7 @@ +@@ -981,7 +981,7 @@ par2EntityPlayer.addStat(StatList.mineBlockStatArray[this.blockID], 1); par2EntityPlayer.addExhaustion(0.025F); -- if (this.renderAsNormalBlock() && !this.field_48207_bU && EnchantmentHelper.getSilkTouchModifier(par2EntityPlayer.inventory)) -+ if (this.renderAsNormalBlock() && !hasTileEntity(par6) && EnchantmentHelper.getSilkTouchModifier(par2EntityPlayer.inventory)) +- if (this.renderAsNormalBlock() && !this.isBlockContainer && EnchantmentHelper.getSilkTouchModifier(par2EntityPlayer.inventory)) ++ if (this.renderAsNormalBlock() && !hasTileEntity(par6) && EnchantmentHelper.getSilkTouchModifier(par2EntityPlayer.inventory)) { ItemStack var8 = this.createStackedBlock(par6); -@@ -1086,6 +1086,362 @@ +@@ -1099,6 +1099,362 @@ */ public void onFallenUpon(World par1World, int par2, int par3, int par4, Entity par5Entity, float par6) {} @@ -379,7 +379,7 @@ + */ + public boolean hasTileEntity(int metadata) + { -+ return field_48207_bU; ++ return isBlockContainer; + } + + /** diff --git a/forge/patches/minecraft/net/minecraft/src/BlockButton.java.patch b/forge/patches/minecraft/net/minecraft/src/BlockButton.java.patch index 5bf8dad2f..c495d57ba 100644 --- a/forge/patches/minecraft/net/minecraft/src/BlockButton.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/BlockButton.java.patch @@ -1,7 +1,7 @@ --- ../src_base/minecraft/net/minecraft/src/BlockButton.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/BlockButton.java 0000-00-00 00:00:00.000000000 -0000 -@@ -46,7 +46,10 @@ - +@@ -49,7 +49,10 @@ + */ public boolean canPlaceBlockOnSide(World par1World, int par2, int par3, int par4, int par5) { - return par5 == 2 && par1World.isBlockNormalCube(par2, par3, par4 + 1) ? true : (par5 == 3 && par1World.isBlockNormalCube(par2, par3, par4 - 1) ? true : (par5 == 4 && par1World.isBlockNormalCube(par2 + 1, par3, par4) ? true : par5 == 5 && par1World.isBlockNormalCube(par2 - 1, par3, par4))); @@ -12,7 +12,7 @@ } /** -@@ -54,7 +57,10 @@ +@@ -57,7 +60,10 @@ */ public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) { @@ -24,7 +24,7 @@ } /** -@@ -67,19 +73,19 @@ +@@ -70,19 +76,19 @@ int var7 = var6 & 8; var6 &= 7; @@ -48,7 +48,7 @@ { var6 = 1; } -@@ -96,7 +102,11 @@ +@@ -99,7 +105,11 @@ */ private int getOrientation(World par1World, int par2, int par3, int par4) { @@ -61,7 +61,7 @@ } /** -@@ -110,22 +120,22 @@ +@@ -113,22 +123,22 @@ int var6 = par1World.getBlockMetadata(par2, par3, par4) & 7; boolean var7 = false; diff --git a/forge/patches/minecraft/net/minecraft/src/BlockChest.java.patch b/forge/patches/minecraft/net/minecraft/src/BlockChest.java.patch index 4e552fb55..84a595e31 100644 --- a/forge/patches/minecraft/net/minecraft/src/BlockChest.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/BlockChest.java.patch @@ -1,6 +1,6 @@ --- ../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 -@@ -494,23 +494,23 @@ +@@ -497,23 +497,23 @@ { return true; } diff --git a/forge/patches/minecraft/net/minecraft/src/BlockLever.java.patch b/forge/patches/minecraft/net/minecraft/src/BlockLever.java.patch index f33fede78..1925dae81 100644 --- a/forge/patches/minecraft/net/minecraft/src/BlockLever.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/BlockLever.java.patch @@ -1,7 +1,7 @@ --- ../src_base/minecraft/net/minecraft/src/BlockLever.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/BlockLever.java 0000-00-00 00:00:00.000000000 -0000 -@@ -43,7 +43,11 @@ - +@@ -46,7 +46,11 @@ + */ public boolean canPlaceBlockOnSide(World par1World, int par2, int par3, int par4, int par5) { - return par5 == 1 && par1World.isBlockNormalCube(par2, par3 - 1, par4) ? true : (par5 == 2 && par1World.isBlockNormalCube(par2, par3, par4 + 1) ? true : (par5 == 3 && par1World.isBlockNormalCube(par2, par3, par4 - 1) ? true : (par5 == 4 && par1World.isBlockNormalCube(par2 + 1, par3, par4) ? true : par5 == 5 && par1World.isBlockNormalCube(par2 - 1, par3, par4)))); @@ -13,7 +13,7 @@ } /** -@@ -51,7 +55,11 @@ +@@ -54,7 +58,11 @@ */ public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) { @@ -26,7 +26,7 @@ } /** -@@ -65,27 +73,27 @@ +@@ -68,27 +76,27 @@ var6 &= 7; var6 = -1; @@ -59,7 +59,7 @@ { var6 = 1; } -@@ -112,32 +120,32 @@ +@@ -115,32 +123,32 @@ int var6 = par1World.getBlockMetadata(par2, par3, par4) & 7; boolean var7 = false; diff --git a/forge/patches/minecraft/net/minecraft/src/BlockPistonBase.java.patch b/forge/patches/minecraft/net/minecraft/src/BlockPistonBase.java.patch index e9ac3175d..5e635a046 100644 --- a/forge/patches/minecraft/net/minecraft/src/BlockPistonBase.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/BlockPistonBase.java.patch @@ -1,6 +1,6 @@ --- ../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 -@@ -364,7 +364,7 @@ +@@ -370,7 +370,7 @@ return false; } diff --git a/forge/patches/minecraft/net/minecraft/src/BlockTrapDoor.java.patch b/forge/patches/minecraft/net/minecraft/src/BlockTrapDoor.java.patch index f77341545..417c2cee2 100644 --- a/forge/patches/minecraft/net/minecraft/src/BlockTrapDoor.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/BlockTrapDoor.java.patch @@ -19,8 +19,8 @@ { par1World.setBlockWithNotify(par2, par3, par4, 0); this.dropBlockAsItem(par1World, par2, par3, par4, var6, 0); -@@ -241,6 +244,10 @@ - +@@ -244,6 +247,10 @@ + */ public boolean canPlaceBlockOnSide(World par1World, int par2, int par3, int par4, int par5) { + if (disableValidation) @@ -30,7 +30,7 @@ if (par5 == 0) { return false; -@@ -271,7 +278,7 @@ +@@ -274,7 +281,7 @@ --par2; } @@ -39,7 +39,7 @@ } } -@@ -286,6 +293,11 @@ +@@ -289,6 +296,11 @@ */ private static boolean isValidSupportBlock(int par0) { diff --git a/forge/patches/minecraft/net/minecraft/src/BlockVine.java.patch b/forge/patches/minecraft/net/minecraft/src/BlockVine.java.patch index 605f99164..ebc821e3d 100644 --- a/forge/patches/minecraft/net/minecraft/src/BlockVine.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/BlockVine.java.patch @@ -13,7 +13,7 @@ { public BlockVine(int par1) { -@@ -429,14 +432,26 @@ +@@ -432,14 +435,26 @@ */ public void harvestBlock(World par1World, EntityPlayer par2EntityPlayer, int par3, int par4, int par5, int par6) { diff --git a/forge/patches/minecraft/net/minecraft/src/Chunk.java.patch b/forge/patches/minecraft/net/minecraft/src/Chunk.java.patch index 712f7f15d..5c93ceba6 100644 --- a/forge/patches/minecraft/net/minecraft/src/Chunk.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/Chunk.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft/net/minecraft/src/Chunk.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/Chunk.java 0000-00-00 00:00:00.000000000 -0000 -@@ -551,7 +551,7 @@ +@@ -569,7 +569,7 @@ { Block.blocksList[var8].onBlockRemoval(this.worldObj, var11, par2, var12); } @@ -9,7 +9,7 @@ { this.worldObj.removeBlockTileEntity(var11, par2, var12); } -@@ -589,32 +589,23 @@ +@@ -607,32 +607,23 @@ Block.blocksList[par4].onBlockAdded(this.worldObj, var11, par2, var12); } @@ -45,16 +45,16 @@ this.isModified = true; return true; } -@@ -645,7 +636,7 @@ - var5.func_48690_b(par1, par2 & 15, par3, par4); +@@ -663,7 +654,7 @@ + var5.setExtBlockMetadata(par1, par2 & 15, par3, par4); int var7 = var5.getExtBlockID(par1, par2 & 15, par3); - if (var7 > 0 && Block.blocksList[var7] instanceof BlockContainer) -+ if (var7 > 0 && Block.blocksList[var7] != null && Block.blocksList[var7].hasTileEntity(var5.func_48694_b(par1, par3 & 15, par3))) ++ if (var7 > 0 && Block.blocksList[var7] != null && Block.blocksList[var7].hasTileEntity(var5.getExtBlockMetadata(par1, par3 & 15, par3))) { TileEntity var8 = this.getChunkBlockTileEntity(par1, par2, par3); -@@ -812,33 +803,31 @@ +@@ -830,33 +821,31 @@ ChunkPosition var4 = new ChunkPosition(par1, par2, par3); TileEntity var5 = (TileEntity)this.chunkTileEntityMap.get(var4); @@ -98,7 +98,7 @@ } /** -@@ -853,7 +842,7 @@ +@@ -871,7 +860,7 @@ if (this.isChunkLoaded) { @@ -107,7 +107,7 @@ } } -@@ -868,8 +857,14 @@ +@@ -886,8 +875,14 @@ par4TileEntity.yCoord = par2; par4TileEntity.zCoord = this.zPosition * 16 + par3; @@ -123,7 +123,7 @@ par4TileEntity.validate(); this.chunkTileEntityMap.put(var5, par4TileEntity); } -@@ -1183,6 +1178,16 @@ +@@ -1201,6 +1196,16 @@ public void func_48494_a(byte[] par1ArrayOfByte, int par2, int par3, boolean par4) { @@ -140,7 +140,7 @@ int var5 = 0; int var6; -@@ -1286,6 +1291,29 @@ +@@ -1304,6 +1309,29 @@ TileEntity var9 = (TileEntity)var10.next(); var9.updateContainingBlockInfo(); } @@ -170,7 +170,7 @@ } public BiomeGenBase func_48490_a(int par1, int par2, WorldChunkManager par3WorldChunkManager) -@@ -1374,4 +1402,18 @@ +@@ -1407,4 +1435,18 @@ } } } diff --git a/forge/patches/minecraft/net/minecraft/src/ChunkProvider.java.patch b/forge/patches/minecraft/net/minecraft/src/ChunkProvider.java.patch index ab6cd77b5..dd6f162aa 100644 --- a/forge/patches/minecraft/net/minecraft/src/ChunkProvider.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/ChunkProvider.java.patch @@ -9,8 +9,8 @@ public class ChunkProvider implements IChunkProvider { /** A set of dropped chunks. Currently not used in single player. */ -@@ -48,6 +50,11 @@ - +@@ -51,6 +53,11 @@ + */ public void dropChunk(int par1, int par2) { + if(!ForgeHooks.canUnloadChunk(worldObj.getChunkFromChunkCoords(par1, par2))) diff --git a/forge/patches/minecraft/net/minecraft/src/Entity.java.patch b/forge/patches/minecraft/net/minecraft/src/Entity.java.patch index c42c2b1ec..d3e63c82f 100644 --- a/forge/patches/minecraft/net/minecraft/src/Entity.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/Entity.java.patch @@ -2,7 +2,7 @@ +++ ../src_work/minecraft/net/minecraft/src/Entity.java 0000-00-00 00:00:00.000000000 -0000 @@ -177,6 +177,9 @@ */ - public boolean ignoreFrustrumCheck; + public boolean ignoreFrustumCheck; public boolean isAirBorne; + + /** Forge: Used to store custom data for each entity. */ diff --git a/forge/patches/minecraft/net/minecraft/src/EntityLiving.java.patch b/forge/patches/minecraft/net/minecraft/src/EntityLiving.java.patch index 304dd0a1a..c586382a9 100644 --- a/forge/patches/minecraft/net/minecraft/src/EntityLiving.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/EntityLiving.java.patch @@ -1,6 +1,6 @@ --- ../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 -@@ -49,7 +49,7 @@ +@@ -55,7 +55,7 @@ * 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 */ @@ -9,7 +9,7 @@ /** Number of ticks since this EntityLiving last produced its sound */ private int livingSoundTime; -@@ -1290,7 +1290,7 @@ +@@ -1320,7 +1320,7 @@ int var2 = MathHelper.floor_double(this.boundingBox.minY); int var3 = MathHelper.floor_double(this.posZ); int var4 = this.worldObj.getBlockId(var1, var2, var3); diff --git a/forge/patches/minecraft/net/minecraft/src/EntityMinecart.java.patch b/forge/patches/minecraft/net/minecraft/src/EntityMinecart.java.patch index 0d5a15ac7..5e0c9dec9 100644 --- a/forge/patches/minecraft/net/minecraft/src/EntityMinecart.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/EntityMinecart.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft/net/minecraft/src/EntityMinecart.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/EntityMinecart.java 0000-00-00 00:00:00.000000000 -0000 -@@ -1,28 +1,48 @@ +@@ -1,30 +1,50 @@ package net.minecraft.src; +import java.util.ArrayList; @@ -23,6 +23,9 @@ public double pushX; public double pushZ; - private static final int[][][] field_855_j = new int[][][] {{{0, 0, -1}, {0, 0, 1}}, {{ -1, 0, 0}, {1, 0, 0}}, {{ -1, -1, 0}, {1, 0, 0}}, {{ -1, 0, 0}, {1, -1, 0}}, {{0, 0, -1}, {0, -1, 1}}, {{0, -1, -1}, {0, 0, 1}}, {{0, 0, 1}, {1, 0, 0}}, {{0, 0, 1}, { -1, 0, 0}}, {{0, 0, -1}, { -1, 0, 0}}, {{0, 0, -1}, {1, 0, 0}}}; ++ protected static final int[][][] field_855_j = new int[][][] {{{0, 0, -1}, {0, 0, 1}}, {{ -1, 0, 0}, {1, 0, 0}}, {{ -1, -1, 0}, {1, 0, 0}}, {{ -1, 0, 0}, {1, -1, 0}}, {{0, 0, -1}, {0, -1, 1}}, {{0, -1, -1}, {0, 0, 1}}, {{0, 0, 1}, {1, 0, 0}}, {{0, 0, 1}, { -1, 0, 0}}, {{0, 0, -1}, { -1, 0, 0}}, {{0, 0, -1}, {1, 0, 0}}}; + + /** appears to be the progress of the turn */ - private int turnProgress; - private double minecartX; - private double minecartY; @@ -32,7 +35,6 @@ - private double velocityX; - private double velocityY; - private double velocityZ; -+ protected static final int[][][] field_855_j = new int[][][] {{{0, 0, -1}, {0, 0, 1}}, {{ -1, 0, 0}, {1, 0, 0}}, {{ -1, -1, 0}, {1, 0, 0}}, {{ -1, 0, 0}, {1, -1, 0}}, {{0, 0, -1}, {0, -1, 1}}, {{0, -1, -1}, {0, 0, 1}}, {{0, 0, 1}, {1, 0, 0}}, {{0, 0, 1}, { -1, 0, 0}}, {{0, 0, -1}, { -1, 0, 0}}, {{0, 0, -1}, {1, 0, 0}}}; + protected int turnProgress; + protected double minecartX; + protected double minecartY; @@ -42,7 +44,7 @@ + protected double velocityX; + protected double velocityY; + protected double velocityZ; -+ ++ + /* Forge: Minecart Compatibility Layer Integration. */ + public static float defaultMaxSpeedRail = 0.4f; + public static float defaultMaxSpeedGround = 0.4f; @@ -62,7 +64,7 @@ public EntityMinecart(World par1World) { -@@ -33,6 +53,18 @@ +@@ -35,6 +55,18 @@ this.preventEntitySpawning = true; this.setSize(0.98F, 0.7F); this.yOffset = this.height / 2.0F; @@ -81,7 +83,7 @@ } /** -@@ -58,6 +90,10 @@ +@@ -60,6 +92,10 @@ */ public AxisAlignedBB getCollisionBox(Entity par1Entity) { @@ -92,7 +94,7 @@ return par1Entity.boundingBox; } -@@ -66,6 +102,10 @@ +@@ -68,6 +104,10 @@ */ public AxisAlignedBB getBoundingBox() { @@ -103,7 +105,7 @@ return null; } -@@ -74,7 +114,7 @@ +@@ -76,7 +116,7 @@ */ public boolean canBePushed() { @@ -112,7 +114,7 @@ } public EntityMinecart(World par1World, double par2, double par4, double par6, int par8) -@@ -118,48 +158,7 @@ +@@ -120,48 +160,7 @@ } this.setEntityDead(); @@ -162,7 +164,7 @@ } return true; -@@ -241,7 +240,7 @@ +@@ -243,7 +242,7 @@ this.func_41024_b(this.func_41025_i() - 1); } @@ -171,7 +173,7 @@ { this.worldObj.spawnParticle("largesmoke", this.posX, this.posY + 0.8D, this.posZ, 0.0D, 0.0D, 0.0D); } -@@ -296,25 +295,20 @@ +@@ -298,25 +297,20 @@ double var6 = 0.0078125D; int var8 = this.worldObj.getBlockId(var1, var2, var3); @@ -200,7 +202,7 @@ if (var10 >= 2 && var10 <= 5) { this.posY = (double)(var2 + 1); -@@ -357,7 +351,7 @@ +@@ -359,7 +353,7 @@ this.motionZ = var22 * var16 / var18; double var24; @@ -209,7 +211,7 @@ { var24 = Math.sqrt(this.motionX * this.motionX + this.motionZ * this.motionZ); -@@ -407,36 +401,8 @@ +@@ -409,36 +403,8 @@ this.posX = var26 + var14 * var24; this.posZ = var28 + var16 * var24; this.setPosition(this.posX, this.posY + (double)this.yOffset, this.posZ); @@ -248,7 +250,7 @@ if (var13[0][1] != 0 && MathHelper.floor_double(this.posX) - var1 == var13[0][0] && MathHelper.floor_double(this.posZ) - var3 == var13[0][2]) { -@@ -447,41 +413,7 @@ +@@ -449,41 +415,7 @@ this.setPosition(this.posX, this.posY + (double)var13[1][1], this.posZ); } @@ -291,18 +293,16 @@ Vec3D var52 = this.func_514_g(this.posX, this.posY, this.posZ); -@@ -511,29 +443,14 @@ +@@ -513,29 +445,14 @@ double var41; - if (this.minecartType == 2) -+ updatePushForces(); -+ -+ if (shouldDoRailFunctions()) - { +- { - var41 = (double)MathHelper.sqrt_double(this.pushX * this.pushX + this.pushZ * this.pushZ); -- -- if (var41 > 0.01D && this.motionX * this.motionX + this.motionZ * this.motionZ > 0.001D) ++ updatePushForces(); + +- if (var41 > 0.01D && this.motionX * this.motionX + this.motionZ * this.motionZ > 0.0010D) - { - this.pushX /= var41; - this.pushZ /= var41; @@ -318,6 +318,8 @@ - this.pushZ = this.motionZ; - } - } ++ if(shouldDoRailFunctions()) ++ { + ((BlockRail)Block.blocksList[var8]).onMinecartPass(worldObj, this, var1, var2, var3); } @@ -326,7 +328,7 @@ { var41 = Math.sqrt(this.motionX * this.motionX + this.motionZ * this.motionZ); -@@ -569,41 +486,7 @@ +@@ -571,41 +488,7 @@ } else { @@ -369,7 +371,7 @@ } this.rotationPitch = 0.0F; -@@ -639,7 +522,18 @@ +@@ -641,7 +524,18 @@ } this.setRotation(this.rotationYaw, this.rotationPitch); @@ -389,7 +391,7 @@ if (var15 != null && var15.size() > 0) { -@@ -664,17 +558,8 @@ +@@ -666,17 +560,8 @@ this.riddenByEntity = null; } @@ -409,7 +411,7 @@ } } -@@ -697,12 +582,7 @@ +@@ -699,12 +584,7 @@ } else { @@ -423,7 +425,7 @@ par3 = (double)var10; -@@ -748,14 +628,9 @@ +@@ -750,14 +630,9 @@ if (BlockRail.isRailBlock(var10)) { @@ -439,7 +441,7 @@ if (var11 >= 2 && var11 <= 5) { par3 = (double)(var8 + 1); -@@ -820,13 +695,14 @@ +@@ -822,13 +697,14 @@ { par1NBTTagCompound.setInteger("Type", this.minecartType); @@ -457,7 +459,7 @@ { NBTTagList var2 = new NBTTagList(); -@@ -852,13 +728,14 @@ +@@ -854,13 +730,14 @@ { this.minecartType = par1NBTTagCompound.getInteger("Type"); @@ -475,7 +477,7 @@ { NBTTagList var2 = par1NBTTagCompound.getTagList("Items"); this.cargoItems = new ItemStack[this.getSizeInventory()]; -@@ -886,11 +763,19 @@ +@@ -888,11 +765,19 @@ */ public void applyEntityCollision(Entity par1Entity) { @@ -496,7 +498,7 @@ { par1Entity.mountEntity(this); } -@@ -936,7 +821,7 @@ +@@ -938,7 +823,7 @@ double var18 = par1Entity.motionX + this.motionX; double var20 = par1Entity.motionZ + this.motionZ; @@ -505,7 +507,7 @@ { this.motionX *= 0.20000000298023224D; this.motionZ *= 0.20000000298023224D; -@@ -944,7 +829,7 @@ +@@ -946,7 +831,7 @@ par1Entity.motionX *= 0.949999988079071D; par1Entity.motionZ *= 0.949999988079071D; } @@ -514,7 +516,7 @@ { par1Entity.motionX *= 0.20000000298023224D; par1Entity.motionZ *= 0.20000000298023224D; -@@ -979,7 +864,7 @@ +@@ -981,7 +866,7 @@ */ public int getSizeInventory() { @@ -523,7 +525,7 @@ } /** -@@ -1081,7 +966,12 @@ +@@ -1084,7 +969,12 @@ */ public boolean interact(EntityPlayer par1EntityPlayer) { @@ -537,7 +539,7 @@ { if (this.riddenByEntity != null && this.riddenByEntity instanceof EntityPlayer && this.riddenByEntity != par1EntityPlayer) { -@@ -1093,14 +983,14 @@ +@@ -1096,14 +986,14 @@ par1EntityPlayer.mountEntity(this); } } @@ -554,7 +556,7 @@ { ItemStack var2 = par1EntityPlayer.inventory.getCurrentItem(); -@@ -1159,7 +1049,7 @@ +@@ -1162,7 +1052,7 @@ /** * Is this minecart powered (Fuel > 0) */ @@ -563,7 +565,7 @@ { return (this.dataWatcher.getWatchableObjectByte(16) & 1) != 0; } -@@ -1212,4 +1102,348 @@ +@@ -1215,4 +1105,348 @@ { return this.dataWatcher.getWatchableObjectInt(18); } diff --git a/forge/patches/minecraft/net/minecraft/src/EntityPlayer.java.patch b/forge/patches/minecraft/net/minecraft/src/EntityPlayer.java.patch index cee3538c7..04c36e1d4 100644 --- a/forge/patches/minecraft/net/minecraft/src/EntityPlayer.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/EntityPlayer.java.patch @@ -9,7 +9,7 @@ public abstract class EntityPlayer extends EntityLiving { /** Inventory of the player */ -@@ -206,6 +208,7 @@ +@@ -210,6 +212,7 @@ } else { @@ -17,11 +17,11 @@ if (this.itemInUseCount <= 25 && this.itemInUseCount % 4 == 0) { this.func_35201_a(var1, 5); -@@ -605,7 +608,16 @@ +@@ -609,7 +612,16 @@ public EntityItem func_48152_as() { -- return this.func_48151_a(this.inventory.decrStackSize(this.inventory.currentItem, 1), false); +- return this.dropPlayerItemWithRandomChoice(this.inventory.decrStackSize(this.inventory.currentItem, 1), false); + ItemStack stack = inventory.getCurrentItem(); + if (stack == null) + { @@ -29,13 +29,13 @@ + } + if (stack.getItem().onDroppedByPlayer(stack, this)) + { -+ return func_48151_a(inventory.decrStackSize(inventory.currentItem, 1), false); ++ return dropPlayerItemWithRandomChoice(inventory.decrStackSize(inventory.currentItem, 1), false); + } + return null; } - public EntityItem func_48153_a(ItemStack par1ItemStack) -@@ -664,14 +676,22 @@ + /** +@@ -674,14 +686,22 @@ /** * Returns how strong the player is against the specified block at this moment @@ -60,7 +60,7 @@ { var3 = var2 + (float)(var4 * var4 + 1); } -@@ -960,7 +980,11 @@ +@@ -973,7 +993,11 @@ par2 = 1 + par2 >> 1; } @@ -73,7 +73,7 @@ par2 = this.applyPotionDamageCalculations(par1DamageSource, par2); this.addExhaustion(par1DamageSource.getHungerDamage()); this.health -= par2; -@@ -1021,7 +1045,9 @@ +@@ -1034,7 +1058,9 @@ */ public void destroyCurrentEquippedItem() { @@ -83,7 +83,7 @@ } /** -@@ -1050,6 +1076,11 @@ +@@ -1063,6 +1089,11 @@ */ public void attackTargetEntityWithCurrentItem(Entity par1Entity) { @@ -95,7 +95,7 @@ if (par1Entity.canAttackWithItem()) { int var2 = this.inventory.getDamageVsEntity(par1Entity); -@@ -1192,6 +1223,12 @@ +@@ -1205,6 +1236,12 @@ */ public EnumStatus sleepInBedAt(int par1, int par2, int par3) { @@ -108,7 +108,7 @@ if (!this.worldObj.isRemote) { if (this.isPlayerSleeping() || !this.isEntityAlive()) -@@ -1674,6 +1711,7 @@ +@@ -1687,6 +1724,7 @@ return 101; } } @@ -116,7 +116,7 @@ } return var3; -@@ -1841,4 +1879,30 @@ +@@ -1857,4 +1895,30 @@ { return !this.capabilities.isFlying; } diff --git a/forge/patches/minecraft/net/minecraft/src/Explosion.java.patch b/forge/patches/minecraft/net/minecraft/src/Explosion.java.patch index 69b4e461e..a58ae7178 100644 --- a/forge/patches/minecraft/net/minecraft/src/Explosion.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/Explosion.java.patch @@ -8,8 +8,8 @@ + public class Explosion { - public boolean isFlaming = false; -@@ -71,7 +73,15 @@ + /** whether or not the explosion sets fire to blocks around it */ +@@ -72,7 +74,15 @@ if (var25 > 0) { diff --git a/forge/patches/minecraft/net/minecraft/src/Item.java.patch b/forge/patches/minecraft/net/minecraft/src/Item.java.patch index b1baffacb..6f3e7108a 100644 --- a/forge/patches/minecraft/net/minecraft/src/Item.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/Item.java.patch @@ -7,7 +7,7 @@ import java.util.List; import java.util.Random; -@@ -188,7 +189,10 @@ +@@ -196,7 +197,10 @@ /** full name of item from language file */ private String itemName; @@ -19,7 +19,7 @@ protected Item(int par1) { this.shiftedIndex = 256 + par1; -@@ -542,7 +546,7 @@ +@@ -559,7 +563,7 @@ float var17 = MathHelper.sin(-var5 * 0.017453292F); float var18 = var15 * var16; float var20 = var14 * var16; @@ -28,7 +28,7 @@ Vec3D var23 = var13.addVector((double)var18 * var21, (double)var17 * var21, (double)var20 * var21); MovingObjectPosition var24 = par1World.rayTraceBlocks_do_do(var13, var23, par3, !par3); return var24; -@@ -570,4 +574,149 @@ +@@ -587,4 +591,149 @@ { StatList.initStats(); } diff --git a/forge/patches/minecraft/net/minecraft/src/ItemBow.java.patch b/forge/patches/minecraft/net/minecraft/src/ItemBow.java.patch index 34eeca329..9e99dfa16 100644 --- a/forge/patches/minecraft/net/minecraft/src/ItemBow.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/ItemBow.java.patch @@ -20,7 +20,7 @@ boolean var5 = par3EntityPlayer.capabilities.depleteBuckets || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, par1ItemStack) > 0; if (var5 || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex)) -@@ -97,6 +104,12 @@ +@@ -103,6 +110,12 @@ */ public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { diff --git a/forge/patches/minecraft/net/minecraft/src/ItemTool.java.patch b/forge/patches/minecraft/net/minecraft/src/ItemTool.java.patch index cc905fd4a..b7b67bb67 100644 --- a/forge/patches/minecraft/net/minecraft/src/ItemTool.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/ItemTool.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft/net/minecraft/src/ItemTool.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/ItemTool.java 0000-00-00 00:00:00.000000000 -0000 -@@ -1,11 +1,13 @@ +@@ -1,13 +1,15 @@ package net.minecraft.src; +import net.minecraft.src.forge.ForgeHooks; @@ -10,13 +10,15 @@ /** Array of blocks the tool has extra effect against. */ private Block[] blocksEffectiveAgainst; - protected float efficiencyOnProperMaterial = 4.0F; -- private int damageVsEntity; + public float efficiencyOnProperMaterial = 4.0F; + + /** Damage versus entities. */ +- private int damageVsEntity; + public int damageVsEntity; /** The material this tool is made from. */ protected EnumToolMaterial toolMaterial; -@@ -77,4 +79,15 @@ +@@ -79,4 +81,15 @@ { return this.toolMaterial.getEnchantability(); } diff --git a/forge/patches/minecraft/net/minecraft/src/NetClientHandler.java.patch b/forge/patches/minecraft/net/minecraft/src/NetClientHandler.java.patch index a4eddbd40..7928d631d 100644 --- a/forge/patches/minecraft/net/minecraft/src/NetClientHandler.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/NetClientHandler.java.patch @@ -50,7 +50,7 @@ } public void handlePickupSpawn(Packet21PickupSpawn par1Packet21PickupSpawn) -@@ -674,7 +703,19 @@ +@@ -677,7 +706,19 @@ } else if (par1Packet2Handshake.username.equals("-")) { @@ -71,7 +71,7 @@ } else { -@@ -687,7 +728,19 @@ +@@ -690,7 +731,19 @@ if (var6.equalsIgnoreCase("ok")) { @@ -92,7 +92,7 @@ } else { -@@ -1122,4 +1175,44 @@ +@@ -1143,4 +1196,44 @@ { this.addToSendQueue(new Packet0KeepAlive(par1Packet0KeepAlive.randomId)); } diff --git a/forge/patches/minecraft/net/minecraft/src/NetworkManager.java.patch b/forge/patches/minecraft/net/minecraft/src/NetworkManager.java.patch index e4367bd42..e892a033e 100644 --- a/forge/patches/minecraft/net/minecraft/src/NetworkManager.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/NetworkManager.java.patch @@ -17,7 +17,7 @@ } } -@@ -427,4 +430,14 @@ +@@ -430,4 +433,14 @@ { return par0NetworkManager.writeThread; } diff --git a/forge/patches/minecraft/net/minecraft/src/TileEntity.java.patch b/forge/patches/minecraft/net/minecraft/src/TileEntity.java.patch index 77127f6df..fa2054b29 100644 --- a/forge/patches/minecraft/net/minecraft/src/TileEntity.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/TileEntity.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft/net/minecraft/src/TileEntity.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft/net/minecraft/src/TileEntity.java 0000-00-00 00:00:00.000000000 -0000 -@@ -207,4 +207,13 @@ +@@ -216,4 +216,13 @@ addMapping(TileEntityEnchantmentTable.class, "EnchantTable"); addMapping(TileEntityEndPortal.class, "Airportal"); } diff --git a/forge/patches/minecraft/net/minecraft/src/TileEntityBrewingStand.java.patch b/forge/patches/minecraft/net/minecraft/src/TileEntityBrewingStand.java.patch index 16d2a6224..cd69e22c1 100644 --- a/forge/patches/minecraft/net/minecraft/src/TileEntityBrewingStand.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/TileEntityBrewingStand.java.patch @@ -11,7 +11,7 @@ { /** The itemstacks currently placed in the slots of the brewing stand */ private ItemStack[] brewingItemStacks = new ItemStack[4]; -@@ -321,4 +323,16 @@ +@@ -322,4 +324,16 @@ return var1; } diff --git a/forge/patches/minecraft/net/minecraft/src/TileEntityFurnace.java.patch b/forge/patches/minecraft/net/minecraft/src/TileEntityFurnace.java.patch index 3566acc3b..688fc3fa1 100644 --- a/forge/patches/minecraft/net/minecraft/src/TileEntityFurnace.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/TileEntityFurnace.java.patch @@ -10,7 +10,7 @@ { /** * The ItemStacks that hold the items currently being used in the furnace -@@ -278,8 +280,12 @@ +@@ -279,8 +281,12 @@ } else { @@ -25,7 +25,7 @@ } } -@@ -290,13 +296,13 @@ +@@ -291,13 +297,13 @@ { if (this.canSmelt()) { @@ -41,7 +41,7 @@ { this.furnaceItemStacks[2].stackSize += var1.stackSize; } -@@ -321,7 +327,7 @@ +@@ -322,7 +328,7 @@ * Returns the number of ticks that the supplied fuel item will keep the furnace burning, or 0 if the item isn't * fuel */ @@ -50,7 +50,7 @@ { if (par1ItemStack == null) { -@@ -345,4 +351,18 @@ +@@ -346,4 +352,18 @@ public void openChest() {} public void closeChest() {} diff --git a/forge/patches/minecraft/net/minecraft/src/World.java.patch b/forge/patches/minecraft/net/minecraft/src/World.java.patch index 77f919891..beec7bb4a 100644 --- a/forge/patches/minecraft/net/minecraft/src/World.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/World.java.patch @@ -9,7 +9,7 @@ public class World implements IBlockAccess { /** -@@ -67,7 +69,7 @@ +@@ -79,7 +81,7 @@ * Contains a timestamp from when the World object was created. Is used in the session.lock file */ private long lockTimestamp; @@ -18,7 +18,7 @@ /** Option > Difficulty setting (0 - 3) */ public int difficultySetting; -@@ -539,7 +541,8 @@ +@@ -556,7 +558,8 @@ */ public boolean isAirBlock(int par1, int par2, int par3) { @@ -28,7 +28,7 @@ } /** -@@ -2037,7 +2040,7 @@ +@@ -2063,7 +2066,7 @@ if (var7 != null) { @@ -37,7 +37,7 @@ } } } -@@ -2067,18 +2070,18 @@ +@@ -2093,18 +2096,18 @@ { this.loadedTileEntityList.add(var8); } @@ -60,7 +60,7 @@ } } -@@ -2091,13 +2094,13 @@ +@@ -2117,13 +2120,13 @@ public void addTileEntity(Collection par1Collection) { @@ -80,7 +80,7 @@ } } -@@ -2296,7 +2299,14 @@ +@@ -2322,7 +2325,14 @@ if (var11 == Block.fire.blockID || var11 == Block.lavaMoving.blockID || var11 == Block.lavaStill.blockID) { return true; @@ -96,7 +96,7 @@ } } } -@@ -2597,25 +2607,19 @@ +@@ -2626,25 +2636,19 @@ */ public void setBlockTileEntity(int par1, int par2, int par3, TileEntity par4TileEntity) { @@ -134,7 +134,7 @@ } } -@@ -2624,27 +2628,10 @@ +@@ -2653,27 +2657,10 @@ */ public void removeBlockTileEntity(int par1, int par2, int par3) { @@ -165,7 +165,7 @@ } } -@@ -2670,7 +2657,8 @@ +@@ -2699,7 +2686,8 @@ */ public boolean isBlockNormalCube(int par1, int par2, int par3) { @@ -175,7 +175,7 @@ } /** -@@ -2948,6 +2936,7 @@ +@@ -2980,6 +2968,7 @@ } } } @@ -183,7 +183,7 @@ Profiler.endSection(); -@@ -3263,7 +3252,7 @@ +@@ -3302,7 +3291,7 @@ 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 var9 = this.getSavedLightValue(EnumSkyBlock.Block, par2 + 1, par3, par4) - par6; int var10 = this.getSavedLightValue(EnumSkyBlock.Block, par2, par3 - 1, par4) - par6; -@@ -3789,7 +3778,10 @@ +@@ -3834,7 +3823,10 @@ { var8 = null; } @@ -204,7 +204,7 @@ return par1 > 0 && var8 == null && var9.canPlaceBlockOnSide(this, par2, par3, par4, par6); } } -@@ -4381,4 +4373,39 @@ +@@ -4435,4 +4427,39 @@ { return this.worldInfo.getTerrainType() == WorldType.field_48636_c ? 0.0D : 63.0D; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/Block.java.patch b/forge/patches/minecraft_server/net/minecraft/src/Block.java.patch index 8d62de6e7..84394a1d4 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/Block.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/Block.java.patch @@ -9,16 +9,16 @@ public class Block { public static final StepSound soundPowderFootstep = new StepSound("stone", 1.0F, 1.0F); -@@ -396,7 +398,7 @@ +@@ -446,7 +448,7 @@ public boolean func_48124_n() { -- return this.field_48128_bU; -+ return hasTileEntity(0); +- return this.isBlockContainer; ++ return hasTileEntity(0); } /** -@@ -535,12 +537,16 @@ +@@ -585,12 +587,16 @@ return this.blockID; } @@ -37,7 +37,7 @@ } /** -@@ -559,17 +565,13 @@ +@@ -609,17 +615,13 @@ if (!par1World.isRemote) { int var8 = this.quantityDroppedWithBonus(par7, par1World.rand); @@ -59,16 +59,16 @@ } } } -@@ -849,7 +851,7 @@ +@@ -902,7 +904,7 @@ par2EntityPlayer.addStat(StatList.mineBlockStatArray[this.blockID], 1); par2EntityPlayer.addExhaustion(0.025F); -- if (this.renderAsNormalBlock() && !this.field_48128_bU && EnchantmentHelper.getSilkTouchModifier(par2EntityPlayer.inventory)) +- if (this.renderAsNormalBlock() && !this.isBlockContainer && EnchantmentHelper.getSilkTouchModifier(par2EntityPlayer.inventory)) + if (this.renderAsNormalBlock() && !hasTileEntity(par6) && EnchantmentHelper.getSilkTouchModifier(par2EntityPlayer.inventory)) { ItemStack var8 = this.createStackedBlock(par6); -@@ -951,6 +953,362 @@ +@@ -1010,6 +1012,362 @@ */ public void onFallenUpon(World par1World, int par2, int par3, int par4, Entity par5Entity, float par6) {} @@ -367,7 +367,7 @@ + */ + public boolean hasTileEntity(int metadata) + { -+ return field_48128_bU; ++ return isBlockContainer; + } + + /** diff --git a/forge/patches/minecraft_server/net/minecraft/src/BlockDoor.java.patch b/forge/patches/minecraft_server/net/minecraft/src/BlockDoor.java.patch index 4a83b42b2..422183839 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/BlockDoor.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/BlockDoor.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft_server/net/minecraft/src/BlockDoor.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/BlockDoor.java 0000-00-00 00:00:00.000000000 -0000 -@@ -164,7 +164,7 @@ +@@ -167,7 +167,7 @@ { if (this.blockMaterial == Material.iron) { @@ -9,7 +9,7 @@ } else { -@@ -243,7 +243,7 @@ +@@ -249,7 +249,7 @@ var7 = true; } @@ -18,7 +18,7 @@ { par1World.setBlockWithNotify(par2, par3, par4, 0); var7 = true; -@@ -296,7 +296,7 @@ +@@ -302,7 +302,7 @@ */ public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) { diff --git a/forge/patches/minecraft_server/net/minecraft/src/BlockPistonBase.java.patch b/forge/patches/minecraft_server/net/minecraft/src/BlockPistonBase.java.patch index 1932277f7..ed02217ac 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/BlockPistonBase.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/BlockPistonBase.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft_server/net/minecraft/src/BlockPistonBase.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/BlockPistonBase.java 0000-00-00 00:00:00.000000000 -0000 -@@ -355,7 +355,7 @@ +@@ -359,7 +359,7 @@ return false; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/BlockRail.java.patch b/forge/patches/minecraft_server/net/minecraft/src/BlockRail.java.patch index 483ae69cf..049d7c6b4 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/BlockRail.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/BlockRail.java.patch @@ -1,11 +1,9 @@ --- ../src_base/minecraft_server/net/minecraft/src/BlockRail.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/BlockRail.java 0000-00-00 00:00:00.000000000 -0000 -@@ -5,16 +5,29 @@ - public class BlockRail extends Block - { +@@ -8,13 +8,26 @@ private final boolean isPowered; -+ -+ /** + + /** + * Forge: Moved render type to a field and a setter. + * This allows for a mod to change the render type + * for vanilla rails, and any mod rails that extend @@ -17,7 +15,11 @@ + { + renderType = value; + } - ++ ++ /** + * Returns true if the block at the coordinates of world passed is a valid rail block (current is rail, powered or + * detector). + */ public static final boolean isRailBlockAt(World par0World, int par1, int par2, int par3) { int var4 = par0World.getBlockId(par1, par2, par3); @@ -25,6 +27,9 @@ + return Block.blocksList[var4] instanceof BlockRail; } + /** +@@ -22,7 +35,7 @@ + */ public static final boolean isRailBlock(int par0) { - return par0 == Block.rail.blockID || par0 == Block.railPowered.blockID || par0 == Block.railDetector.blockID; @@ -32,7 +37,7 @@ } protected BlockRail(int par1, int par2, boolean par3) -@@ -107,7 +120,7 @@ +@@ -118,7 +131,7 @@ */ public int getRenderType() { @@ -41,7 +46,7 @@ } /** -@@ -123,7 +136,7 @@ +@@ -134,7 +147,7 @@ */ public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) { @@ -50,7 +55,7 @@ } /** -@@ -160,27 +173,27 @@ +@@ -171,27 +184,27 @@ boolean var8 = false; @@ -83,13 +88,13 @@ { var8 = true; } -@@ -383,8 +396,121 @@ - return 0; +@@ -395,10 +408,120 @@ } -+ /** + /** +- * Return true if the blocks passed is a power related rail. + * This function is no longer called by Minecraft -+ */ + */ + @Deprecated static boolean isPoweredBlockRail(BlockRail par0BlockRail) { diff --git a/forge/patches/minecraft_server/net/minecraft/src/BlockRedstoneRepeater.java.patch b/forge/patches/minecraft_server/net/minecraft/src/BlockRedstoneRepeater.java.patch index 5d877a7ca..2d0ba3885 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/BlockRedstoneRepeater.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/BlockRedstoneRepeater.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft_server/net/minecraft/src/BlockRedstoneRepeater.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/BlockRedstoneRepeater.java 0000-00-00 00:00:00.000000000 -0000 -@@ -28,7 +28,7 @@ +@@ -33,7 +33,7 @@ */ public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) { @@ -9,7 +9,7 @@ } /** -@@ -36,7 +36,7 @@ +@@ -41,7 +41,7 @@ */ public boolean canBlockStay(World par1World, int par2, int par3, int par4) { diff --git a/forge/patches/minecraft_server/net/minecraft/src/BlockVine.java.patch b/forge/patches/minecraft_server/net/minecraft/src/BlockVine.java.patch index 461ffdc9f..97aa993d4 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/BlockVine.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/BlockVine.java.patch @@ -13,7 +13,7 @@ { public BlockVine(int par1) { -@@ -404,14 +407,26 @@ +@@ -410,14 +413,26 @@ */ public void harvestBlock(World par1World, EntityPlayer par2EntityPlayer, int par3, int par4, int par5, int par6) { diff --git a/forge/patches/minecraft_server/net/minecraft/src/Chunk.java.patch b/forge/patches/minecraft_server/net/minecraft/src/Chunk.java.patch index fdaa60e74..3bdc12257 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/Chunk.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/Chunk.java.patch @@ -1,6 +1,6 @@ --- ../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 -@@ -475,7 +475,7 @@ +@@ -511,7 +511,7 @@ { Block.blocksList[var8].onBlockRemoval(this.worldObj, var11, par2, var12); } @@ -9,7 +9,7 @@ { this.worldObj.removeBlockTileEntity(var11, par2, var12); } -@@ -513,31 +513,23 @@ +@@ -549,31 +549,23 @@ Block.blocksList[par4].onBlockAdded(this.worldObj, var11, par2, var12); } @@ -44,16 +44,16 @@ this.isModified = true; return true; -@@ -569,7 +561,7 @@ +@@ -605,7 +597,7 @@ var5.func_48585_b(par1, par2 & 15, par3, par4); - int var7 = var5.func_48591_a(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] != null && Block.blocksList[var7].hasTileEntity(var5.func_48598_b(par1, par3 & 15, par3))) { TileEntity var8 = this.getChunkBlockTileEntity(par1, par2, par3); -@@ -736,33 +728,30 @@ +@@ -772,33 +764,30 @@ ChunkPosition var4 = new ChunkPosition(par1, par2, par3); TileEntity var5 = (TileEntity)this.chunkTileEntityMap.get(var4); @@ -97,7 +97,7 @@ } /** -@@ -777,7 +766,7 @@ +@@ -813,7 +802,7 @@ if (this.isChunkLoaded) { @@ -106,7 +106,7 @@ } } -@@ -792,8 +781,14 @@ +@@ -828,8 +817,14 @@ par4TileEntity.yCoord = par2; par4TileEntity.zCoord = this.zPosition * 16 + par3; @@ -122,7 +122,7 @@ par4TileEntity.validate(); this.chunkTileEntityMap.put(var5, par4TileEntity); } -@@ -1179,4 +1174,18 @@ +@@ -1227,4 +1222,18 @@ } } } diff --git a/forge/patches/minecraft_server/net/minecraft/src/ChunkProvider.java.patch b/forge/patches/minecraft_server/net/minecraft/src/ChunkProvider.java.patch index 3d9b6e17c..543c6527b 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/ChunkProvider.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/ChunkProvider.java.patch @@ -8,8 +8,8 @@ + public class ChunkProvider implements IChunkProvider { - private Set droppedChunksSet = new HashSet(); -@@ -42,6 +44,11 @@ + /** A set of dropped chunks. Currently not used in single player. */ +@@ -51,6 +53,11 @@ */ public void dropChunk(int par1, int par2) { diff --git a/forge/patches/minecraft_server/net/minecraft/src/Enchantment.java.patch b/forge/patches/minecraft_server/net/minecraft/src/Enchantment.java.patch index e61edf0fe..8f49b9a6d 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/Enchantment.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/Enchantment.java.patch @@ -1,6 +1,6 @@ --- ../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 -@@ -154,4 +154,14 @@ +@@ -175,4 +175,14 @@ this.name = par1Str; return this; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/EnchantmentHelper.java.patch b/forge/patches/minecraft_server/net/minecraft/src/EnchantmentHelper.java.patch index 398c10560..7a4afaa9a 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/EnchantmentHelper.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/EnchantmentHelper.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft_server/net/minecraft/src/EnchantmentHelper.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/EnchantmentHelper.java 0000-00-00 00:00:00.000000000 -0000 -@@ -348,7 +348,7 @@ +@@ -354,7 +354,7 @@ { Enchantment var7 = var4[var6]; diff --git a/forge/patches/minecraft_server/net/minecraft/src/Entity.java.patch b/forge/patches/minecraft_server/net/minecraft/src/Entity.java.patch index 254ecc69a..96852f7b4 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/Entity.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/Entity.java.patch @@ -1,7 +1,7 @@ --- ../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 -@@ -140,6 +140,9 @@ - public boolean ignoreFrustrumCheck; +@@ -171,6 +171,9 @@ + public boolean ignoreFrustumCheck; public boolean isAirBorne; + /** Forge: Used to store custom data for each entity. */ @@ -10,7 +10,7 @@ public Entity(World par1World) { this.entityId = nextEntityID++; -@@ -181,6 +184,20 @@ +@@ -212,6 +215,20 @@ protected abstract void entityInit(); @@ -31,7 +31,7 @@ public DataWatcher getDataWatcher() { return this.dataWatcher; -@@ -1128,6 +1145,10 @@ +@@ -1188,6 +1205,10 @@ par1NBTTagCompound.setShort("Fire", (short)this.fire); par1NBTTagCompound.setShort("Air", (short)this.getAir()); par1NBTTagCompound.setBoolean("OnGround", this.onGround); @@ -42,7 +42,7 @@ this.writeEntityToNBT(par1NBTTagCompound); } -@@ -1169,6 +1190,10 @@ +@@ -1229,6 +1250,10 @@ this.onGround = par1NBTTagCompound.getBoolean("OnGround"); this.setPosition(this.posX, this.posY, this.posZ); this.setRotation(this.rotationYaw, this.rotationPitch); diff --git a/forge/patches/minecraft_server/net/minecraft/src/EntityItem.java.patch b/forge/patches/minecraft_server/net/minecraft/src/EntityItem.java.patch index bd5b86f81..e8d251f1d 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/EntityItem.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/EntityItem.java.patch @@ -8,7 +8,7 @@ public class EntityItem extends Entity { /** The item stack of this EntityItem. */ -@@ -171,6 +173,20 @@ +@@ -175,6 +177,20 @@ if (!this.worldObj.isRemote) { int var2 = this.item.stackSize; @@ -29,7 +29,7 @@ if (this.delayBeforeCanPickup == 0 && par1EntityPlayer.inventory.addItemStackToInventory(this.item)) { -@@ -194,6 +210,7 @@ +@@ -198,6 +214,7 @@ par1EntityPlayer.triggerAchievement(AchievementList.blazeRod); } diff --git a/forge/patches/minecraft_server/net/minecraft/src/EntityLiving.java.patch b/forge/patches/minecraft_server/net/minecraft/src/EntityLiving.java.patch index 4416f2ff8..4c3ac8a28 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/EntityLiving.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/EntityLiving.java.patch @@ -9,7 +9,7 @@ /** Number of ticks since this EntityLiving last produced its sound */ private int livingSoundTime; -@@ -1235,7 +1235,7 @@ +@@ -1288,7 +1288,7 @@ int var2 = MathHelper.floor_double(this.boundingBox.minY); int var3 = MathHelper.floor_double(this.posZ); int var4 = this.worldObj.getBlockId(var1, var2, var3); diff --git a/forge/patches/minecraft_server/net/minecraft/src/EntityMinecart.java.patch b/forge/patches/minecraft_server/net/minecraft/src/EntityMinecart.java.patch index 1c02ffed9..b37bf3b74 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/EntityMinecart.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/EntityMinecart.java.patch @@ -81,9 +81,9 @@ + minecartType = type; } - protected boolean canTriggerWalking() -@@ -49,6 +86,10 @@ - + /** +@@ -57,6 +94,10 @@ + */ public AxisAlignedBB getCollisionBox(Entity par1Entity) { + if (getCollisionHandler() != null) @@ -93,7 +93,7 @@ return par1Entity.boundingBox; } -@@ -57,12 +98,16 @@ +@@ -65,6 +106,10 @@ */ public AxisAlignedBB getBoundingBox() { @@ -104,6 +104,8 @@ return null; } +@@ -73,7 +118,7 @@ + */ public boolean canBePushed() { - return true; @@ -111,7 +113,7 @@ } public EntityMinecart(World par1World, double par2, double par4, double par6, int par8) -@@ -106,48 +151,8 @@ +@@ -117,48 +162,8 @@ } this.setEntityDead(); @@ -162,7 +164,7 @@ } return true; -@@ -216,7 +221,7 @@ +@@ -230,7 +235,7 @@ this.func_41018_e_(this.func_41020_o() - 1); } @@ -171,7 +173,7 @@ { this.worldObj.spawnParticle("largesmoke", this.posX, this.posY + 0.8D, this.posZ, 0.0D, 0.0D, 0.0D); } -@@ -271,25 +276,20 @@ +@@ -285,25 +290,20 @@ double var6 = 0.0078125D; int var8 = this.worldObj.getBlockId(var1, var2, var3); @@ -200,7 +202,7 @@ if (var10 >= 2 && var10 <= 5) { this.posY = (double)(var2 + 1); -@@ -332,7 +332,7 @@ +@@ -346,7 +346,7 @@ this.motionZ = var22 * var16 / var18; double var24; @@ -209,7 +211,7 @@ { var24 = Math.sqrt(this.motionX * this.motionX + this.motionZ * this.motionZ); -@@ -382,36 +382,8 @@ +@@ -396,36 +396,8 @@ this.posX = var26 + var14 * var24; this.posZ = var28 + var16 * var24; this.setPosition(this.posX, this.posY + (double)this.yOffset, this.posZ); @@ -248,7 +250,7 @@ if (var13[0][1] != 0 && MathHelper.floor_double(this.posX) - var1 == var13[0][0] && MathHelper.floor_double(this.posZ) - var3 == var13[0][2]) { -@@ -422,41 +394,7 @@ +@@ -436,41 +408,7 @@ this.setPosition(this.posX, this.posY + (double)var13[1][1], this.posZ); } @@ -291,24 +293,20 @@ Vec3D var52 = this.func_182_g(this.posX, this.posY, this.posZ); -@@ -485,30 +423,15 @@ - } +@@ -500,29 +438,14 @@ double var41; -- + - if (this.minecartType == 2) -+ -+ updatePushForces(); -+ -+ if (shouldDoRailFunctions()) - { +- { - var41 = (double)MathHelper.sqrt_double(this.pushX * this.pushX + this.pushZ * this.pushZ); - -- if (var41 > 0.01D && this.motionX * this.motionX + this.motionZ * this.motionZ > 0.001D) +- if (var41 > 0.01D && this.motionX * this.motionX + this.motionZ * this.motionZ > 0.0010D) - { - this.pushX /= var41; - this.pushZ /= var41; -- ++ updatePushForces(); + - if (this.pushX * this.motionX + this.pushZ * this.motionZ < 0.0D) - { - this.pushX = 0.0D; @@ -320,6 +318,8 @@ - this.pushZ = this.motionZ; - } - } ++ if (shouldDoRailFunctions()) ++ { + ((BlockRail)Block.blocksList[var8]).onMinecartPass(worldObj, this, var1, var2, var3); } @@ -328,7 +328,7 @@ { var41 = Math.sqrt(this.motionX * this.motionX + this.motionZ * this.motionZ); -@@ -544,41 +467,7 @@ +@@ -558,41 +481,7 @@ } else { @@ -371,7 +371,7 @@ } this.rotationPitch = 0.0F; -@@ -614,7 +503,18 @@ +@@ -628,7 +517,18 @@ } this.setRotation(this.rotationYaw, this.rotationPitch); @@ -391,7 +391,7 @@ if (var15 != null && var15.size() > 0) { -@@ -639,17 +539,8 @@ +@@ -653,17 +553,8 @@ this.riddenByEntity = null; } @@ -411,7 +411,7 @@ } } -@@ -668,14 +559,9 @@ +@@ -682,14 +573,9 @@ if (BlockRail.isRailBlock(var10)) { @@ -427,7 +427,7 @@ if (var11 >= 2 && var11 <= 5) { par3 = (double)(var8 + 1); -@@ -740,13 +626,13 @@ +@@ -754,13 +640,13 @@ { par1NBTTagCompound.setInteger("Type", this.minecartType); @@ -444,7 +444,7 @@ { NBTTagList var2 = new NBTTagList(); -@@ -772,13 +658,13 @@ +@@ -786,13 +672,13 @@ { this.minecartType = par1NBTTagCompound.getInteger("Type"); @@ -461,7 +461,7 @@ { NBTTagList var2 = par1NBTTagCompound.getTagList("Items"); this.cargoItems = new ItemStack[this.getSizeInventory()]; -@@ -801,11 +687,18 @@ +@@ -815,11 +701,18 @@ */ public void applyEntityCollision(Entity par1Entity) { @@ -481,7 +481,7 @@ { par1Entity.mountEntity(this); } -@@ -851,7 +744,7 @@ +@@ -865,7 +758,7 @@ double var18 = par1Entity.motionX + this.motionX; double var20 = par1Entity.motionZ + this.motionZ; @@ -490,7 +490,7 @@ { this.motionX *= 0.20000000298023224D; this.motionZ *= 0.20000000298023224D; -@@ -859,7 +752,7 @@ +@@ -873,7 +766,7 @@ par1Entity.motionX *= 0.949999988079071D; par1Entity.motionZ *= 0.949999988079071D; } @@ -499,8 +499,8 @@ { par1Entity.motionX *= 0.20000000298023224D; par1Entity.motionZ *= 0.20000000298023224D; -@@ -891,7 +784,7 @@ - +@@ -908,7 +801,7 @@ + */ public int getSizeInventory() { - return 27; @@ -508,7 +508,7 @@ } /** -@@ -993,7 +886,12 @@ +@@ -1011,7 +904,12 @@ */ public boolean interact(EntityPlayer par1EntityPlayer) { @@ -522,7 +522,7 @@ { if (this.riddenByEntity != null && this.riddenByEntity instanceof EntityPlayer && this.riddenByEntity != par1EntityPlayer) { -@@ -1005,14 +903,14 @@ +@@ -1023,14 +921,14 @@ par1EntityPlayer.mountEntity(this); } } @@ -539,7 +539,7 @@ { ItemStack var2 = par1EntityPlayer.inventory.getCurrentItem(); -@@ -1044,7 +942,7 @@ +@@ -1062,7 +960,7 @@ /** * Is this minecart powered (Fuel > 0) */ @@ -548,7 +548,7 @@ { return (this.dataWatcher.getWatchableObjectByte(16) & 1) != 0; } -@@ -1097,4 +995,348 @@ +@@ -1115,4 +1013,348 @@ { return this.dataWatcher.getWatchableObjectInt(18); } diff --git a/forge/patches/minecraft_server/net/minecraft/src/EntityPlayer.java.patch b/forge/patches/minecraft_server/net/minecraft/src/EntityPlayer.java.patch index 18aeb82d6..0380fd8d9 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/EntityPlayer.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/EntityPlayer.java.patch @@ -11,7 +11,7 @@ public abstract class EntityPlayer extends EntityLiving { /** Inventory of the player */ -@@ -158,6 +162,7 @@ +@@ -172,6 +176,7 @@ } else { @@ -19,7 +19,7 @@ if (this.itemInUseCount <= 25 && this.itemInUseCount % 4 == 0) { this.func_35208_b(var1, 5); -@@ -341,6 +346,10 @@ +@@ -355,6 +360,10 @@ */ protected void closeScreen() { @@ -30,11 +30,11 @@ this.craftingInventory = this.inventorySlots; } -@@ -514,7 +523,16 @@ +@@ -535,7 +544,16 @@ public EntityItem func_48347_R() { -- return this.func_48349_a(this.inventory.decrStackSize(this.inventory.currentItem, 1), false); +- return this.dropPlayerItemWithRandomChoice(this.inventory.decrStackSize(this.inventory.currentItem, 1), false); + ItemStack stack = inventory.getCurrentItem(); + if (stack == null) + { @@ -42,13 +42,13 @@ + } + if (stack.getItem().onDroppedByPlayer(stack, this)) + { -+ return func_48349_a(inventory.decrStackSize(inventory.currentItem, 1), false); ++ return dropPlayerItemWithRandomChoice(inventory.decrStackSize(inventory.currentItem, 1), false); + } + return null; } - public EntityItem func_48348_b(ItemStack par1ItemStack) -@@ -573,10 +591,18 @@ + /** +@@ -600,10 +618,18 @@ /** * Returns how strong the player is against the specified block at this moment @@ -68,7 +68,7 @@ float var3 = var2; int var4 = EnchantmentHelper.getEfficiencyModifier(this.inventory); -@@ -868,7 +894,11 @@ +@@ -899,7 +925,11 @@ par2 = 1 + par2 >> 1; } @@ -81,7 +81,7 @@ par2 = this.applyPotionDamageCalculations(par1DamageSource, par2); this.addExhaustion(par1DamageSource.getHungerDamage()); this.health -= par2; -@@ -926,7 +956,9 @@ +@@ -960,7 +990,9 @@ */ public void destroyCurrentEquippedItem() { @@ -91,7 +91,7 @@ } /** -@@ -955,6 +987,12 @@ +@@ -989,6 +1021,12 @@ */ public void attackTargetEntityWithCurrentItem(Entity par1Entity) { @@ -101,10 +101,10 @@ + return; + } + - if (par1Entity.func_48313_k_()) + if (par1Entity.canAttackWithItem()) { int var2 = this.inventory.getDamageVsEntity(par1Entity); -@@ -1093,6 +1131,12 @@ +@@ -1127,6 +1165,12 @@ */ public EnumStatus sleepInBedAt(int par1, int par2, int par3) { @@ -117,7 +117,7 @@ if (!this.worldObj.isRemote) { if (this.isPlayerSleeping() || !this.isEntityAlive()) -@@ -1643,4 +1687,16 @@ +@@ -1708,4 +1752,16 @@ { return !this.capabilities.isFlying; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/EntityPlayerMP.java.patch b/forge/patches/minecraft_server/net/minecraft/src/EntityPlayerMP.java.patch index af9f85169..c0a8d97a3 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/EntityPlayerMP.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/EntityPlayerMP.java.patch @@ -11,7 +11,7 @@ public class EntityPlayerMP extends EntityPlayer implements ICrafting { -@@ -548,6 +552,7 @@ +@@ -551,6 +555,7 @@ public void displayWorkbenchGUI(int par1, int par2, int par3) { this.getNextWidowId(); @@ -19,7 +19,7 @@ this.playerNetServerHandler.sendPacket(new Packet100OpenWindow(this.currentWindowId, 1, "Crafting", 9)); this.craftingInventory = new ContainerWorkbench(this.inventory, this.worldObj, par1, par2, par3); this.craftingInventory.windowId = this.currentWindowId; -@@ -557,6 +562,7 @@ +@@ -560,6 +565,7 @@ public void displayGUIEnchantment(int par1, int par2, int par3) { this.getNextWidowId(); @@ -27,7 +27,7 @@ this.playerNetServerHandler.sendPacket(new Packet100OpenWindow(this.currentWindowId, 4, "Enchanting", 9)); this.craftingInventory = new ContainerEnchantment(this.inventory, this.worldObj, par1, par2, par3); this.craftingInventory.windowId = this.currentWindowId; -@@ -569,6 +575,7 @@ +@@ -572,6 +578,7 @@ public void displayGUIChest(IInventory par1IInventory) { this.getNextWidowId(); @@ -35,7 +35,7 @@ this.playerNetServerHandler.sendPacket(new Packet100OpenWindow(this.currentWindowId, 0, par1IInventory.getInvName(), par1IInventory.getSizeInventory())); this.craftingInventory = new ContainerChest(this.inventory, par1IInventory); this.craftingInventory.windowId = this.currentWindowId; -@@ -581,6 +588,7 @@ +@@ -584,6 +591,7 @@ public void displayGUIFurnace(TileEntityFurnace par1TileEntityFurnace) { this.getNextWidowId(); @@ -43,7 +43,7 @@ this.playerNetServerHandler.sendPacket(new Packet100OpenWindow(this.currentWindowId, 2, par1TileEntityFurnace.getInvName(), par1TileEntityFurnace.getSizeInventory())); this.craftingInventory = new ContainerFurnace(this.inventory, par1TileEntityFurnace); this.craftingInventory.windowId = this.currentWindowId; -@@ -593,6 +601,7 @@ +@@ -596,6 +604,7 @@ public void displayGUIDispenser(TileEntityDispenser par1TileEntityDispenser) { this.getNextWidowId(); @@ -51,7 +51,7 @@ this.playerNetServerHandler.sendPacket(new Packet100OpenWindow(this.currentWindowId, 3, par1TileEntityDispenser.getInvName(), par1TileEntityDispenser.getSizeInventory())); this.craftingInventory = new ContainerDispenser(this.inventory, par1TileEntityDispenser); this.craftingInventory.windowId = this.currentWindowId; -@@ -602,6 +611,7 @@ +@@ -608,6 +617,7 @@ public void displayGUIBrewingStand(TileEntityBrewingStand par1TileEntityBrewingStand) { this.getNextWidowId(); @@ -59,7 +59,7 @@ this.playerNetServerHandler.sendPacket(new Packet100OpenWindow(this.currentWindowId, 5, par1TileEntityBrewingStand.getInvName(), par1TileEntityBrewingStand.getSizeInventory())); this.craftingInventory = new ContainerBrewingStand(this.inventory, par1TileEntityBrewingStand); this.craftingInventory.windowId = this.currentWindowId; -@@ -785,4 +795,38 @@ +@@ -794,4 +804,38 @@ EntityTracker var2 = this.mcServer.getEntityTracker(this.dimension); var2.sendPacketToTrackedPlayersAndTrackedEntity(this, new Packet18Animation(par1Entity, 7)); } diff --git a/forge/patches/minecraft_server/net/minecraft/src/EntitySheep.java.patch b/forge/patches/minecraft_server/net/minecraft/src/EntitySheep.java.patch index 0bceb4289..181c1f412 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/EntitySheep.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/EntitySheep.java.patch @@ -11,9 +11,9 @@ + +public class EntitySheep extends EntityAnimal implements IShearable { - public static final float[][] fleeceColorTable = new float[][] {{1.0F, 1.0F, 1.0F}, {0.95F, 0.7F, 0.2F}, {0.9F, 0.5F, 0.85F}, {0.6F, 0.7F, 0.95F}, {0.9F, 0.9F, 0.2F}, {0.5F, 0.8F, 0.1F}, {0.95F, 0.7F, 0.8F}, {0.3F, 0.3F, 0.3F}, {0.6F, 0.6F, 0.6F}, {0.3F, 0.6F, 0.7F}, {0.7F, 0.4F, 0.9F}, {0.2F, 0.4F, 0.8F}, {0.5F, 0.4F, 0.3F}, {0.4F, 0.5F, 0.2F}, {0.8F, 0.3F, 0.3F}, {0.1F, 0.1F, 0.1F}}; - -@@ -94,27 +97,6 @@ + /** + * Holds the RGB table of the sheep colors - in OpenGL glColor3f values - used to render the sheep colored fleece. +@@ -97,27 +100,6 @@ */ public boolean interact(EntityPlayer par1EntityPlayer) { @@ -41,7 +41,7 @@ return super.interact(par1EntityPlayer); } -@@ -237,4 +219,23 @@ +@@ -246,4 +228,23 @@ this.setGrowingAge(var1); } } diff --git a/forge/patches/minecraft_server/net/minecraft/src/Item.java.patch b/forge/patches/minecraft_server/net/minecraft/src/Item.java.patch index 3c0274d19..912426f0c 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/Item.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/Item.java.patch @@ -7,7 +7,7 @@ import java.util.Random; public class Item -@@ -184,6 +185,9 @@ +@@ -199,6 +200,9 @@ /** full name of item from language file */ private String itemName; @@ -17,7 +17,7 @@ protected Item(int par1) { -@@ -468,6 +472,10 @@ +@@ -500,6 +504,10 @@ float var18 = var15 * var16; float var20 = var14 * var16; double var21 = 5.0D; @@ -28,7 +28,7 @@ Vec3D var23 = var13.addVector((double)var18 * var21, (double)var17 * var21, (double)var20 * var21); MovingObjectPosition var24 = par1World.rayTraceBlocks_do_do(var13, var23, par3, !par3); return var24; -@@ -482,4 +490,149 @@ +@@ -517,4 +525,149 @@ { StatList.initStats(); } diff --git a/forge/patches/minecraft_server/net/minecraft/src/ItemBow.java.patch b/forge/patches/minecraft_server/net/minecraft/src/ItemBow.java.patch index 667487ef9..5fe502827 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/ItemBow.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/ItemBow.java.patch @@ -8,8 +8,8 @@ public class ItemBow extends Item { public ItemBow(int par1) -@@ -11,6 +13,10 @@ - +@@ -14,6 +16,10 @@ + */ public void onPlayerStoppedUsing(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, int par4) { + if (ForgeHooks.onArrowLoose(par1ItemStack, par2World, par3EntityPlayer, getMaxItemUseDuration(par1ItemStack) - par4)) @@ -19,7 +19,7 @@ boolean var5 = par3EntityPlayer.capabilities.depleteBuckets || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, par1ItemStack) > 0; if (var5 || par3EntityPlayer.inventory.hasItem(Item.arrow.shiftedIndex)) -@@ -100,6 +106,12 @@ +@@ -103,6 +109,12 @@ */ public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { diff --git a/forge/patches/minecraft_server/net/minecraft/src/ItemTool.java.patch b/forge/patches/minecraft_server/net/minecraft/src/ItemTool.java.patch index 0d4f3690d..407c602ee 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/ItemTool.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/ItemTool.java.patch @@ -18,7 +18,7 @@ /** The material this tool is made from. */ protected EnumToolMaterial toolMaterial; -@@ -61,4 +63,15 @@ +@@ -71,4 +73,15 @@ { return this.toolMaterial.getEnchantability(); } diff --git a/forge/patches/minecraft_server/net/minecraft/src/NetServerHandler.java.patch b/forge/patches/minecraft_server/net/minecraft/src/NetServerHandler.java.patch index e31cc4607..077c75472 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/NetServerHandler.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/NetServerHandler.java.patch @@ -55,7 +55,8 @@ } } -@@ -954,4 +961,49 @@ +@@ -960,4 +966,49 @@ +>>>>>>> MCP Update. Fixed a few small bugs in the linux scripts. { return true; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/NetworkManager.java.patch b/forge/patches/minecraft_server/net/minecraft/src/NetworkManager.java.patch index 21ad8d014..aee13ade2 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/NetworkManager.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/NetworkManager.java.patch @@ -10,7 +10,7 @@ public class NetworkManager { /** Synchronization object used for read and write threads. */ -@@ -312,6 +315,8 @@ +@@ -315,6 +318,8 @@ { ; } @@ -19,7 +19,7 @@ } } -@@ -456,4 +461,14 @@ +@@ -462,4 +467,14 @@ { return par0NetworkManager.writeThread; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/RailLogic.java.patch b/forge/patches/minecraft_server/net/minecraft/src/RailLogic.java.patch index c74fce348..228110800 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/RailLogic.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/RailLogic.java.patch @@ -9,7 +9,7 @@ { /** Reference to the World object. */ private World worldObj; -@@ -14,6 +14,7 @@ +@@ -18,6 +18,7 @@ private List connectedTracks; final BlockRail rail; @@ -17,7 +17,7 @@ public RailLogic(BlockRail par1BlockRail, World par2World, int par3, int par4, int par5) { -@@ -24,17 +25,11 @@ +@@ -28,17 +29,11 @@ this.trackY = par4; this.trackZ = par5; int var6 = par2World.getBlockId(par3, par4, par5); @@ -39,7 +39,7 @@ this.setConnections(var7); } -@@ -251,7 +246,7 @@ +@@ -258,7 +253,7 @@ } } @@ -48,7 +48,7 @@ { if (BlockRail.isRailBlockAt(this.worldObj, this.trackX, this.trackY + 1, this.trackZ - 1)) { -@@ -264,7 +259,7 @@ +@@ -271,7 +266,7 @@ } } @@ -57,7 +57,7 @@ { if (BlockRail.isRailBlockAt(this.worldObj, this.trackX + 1, this.trackY + 1, this.trackZ)) { -@@ -415,7 +410,7 @@ +@@ -422,7 +417,7 @@ } } @@ -66,7 +66,7 @@ { if (BlockRail.isRailBlockAt(this.worldObj, this.trackX, this.trackY + 1, this.trackZ - 1)) { -@@ -428,7 +423,7 @@ +@@ -435,7 +430,7 @@ } } @@ -75,7 +75,7 @@ { if (BlockRail.isRailBlockAt(this.worldObj, this.trackX + 1, this.trackY + 1, this.trackZ)) { -@@ -478,7 +473,7 @@ +@@ -485,7 +480,7 @@ /** * get number of adjacent tracks */ diff --git a/forge/patches/minecraft_server/net/minecraft/src/SlotCrafting.java.patch b/forge/patches/minecraft_server/net/minecraft/src/SlotCrafting.java.patch index e5e08b6aa..17dcccd9d 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/SlotCrafting.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/SlotCrafting.java.patch @@ -8,7 +8,7 @@ public class SlotCrafting extends Slot { /** The craft matrix inventory linked to this result slot. */ -@@ -89,6 +91,7 @@ +@@ -91,6 +93,7 @@ } ModLoader.takenFromCrafting(this.thePlayer, par1ItemStack, this.craftMatrix); diff --git a/forge/patches/minecraft_server/net/minecraft/src/SpawnerAnimals.java.patch b/forge/patches/minecraft_server/net/minecraft/src/SpawnerAnimals.java.patch index 4528aa6f1..ef9316939 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/SpawnerAnimals.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/SpawnerAnimals.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft_server/net/minecraft/src/SpawnerAnimals.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/SpawnerAnimals.java 0000-00-00 00:00:00.000000000 -0000 -@@ -190,7 +190,7 @@ +@@ -202,7 +202,7 @@ else { int var5 = par1World.getBlockId(par2, par3 - 1, par4); diff --git a/forge/patches/minecraft_server/net/minecraft/src/TileEntity.java.patch b/forge/patches/minecraft_server/net/minecraft/src/TileEntity.java.patch index 733ec7e41..24c64dd5c 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/TileEntity.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/TileEntity.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft_server/net/minecraft/src/TileEntity.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/TileEntity.java 0000-00-00 00:00:00.000000000 -0000 -@@ -197,4 +197,13 @@ +@@ -200,4 +200,13 @@ addMapping(TileEntityEnchantmentTable.class, "EnchantTable"); addMapping(TileEntityEndPortal.class, "Airportal"); } diff --git a/forge/patches/minecraft_server/net/minecraft/src/TileEntityBrewingStand.java.patch b/forge/patches/minecraft_server/net/minecraft/src/TileEntityBrewingStand.java.patch index f66b008d7..60a68514c 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/TileEntityBrewingStand.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/TileEntityBrewingStand.java.patch @@ -11,7 +11,7 @@ { /** The itemstacks currently placed in the slots of the brewing stand */ private ItemStack[] brewingItemStacks = new ItemStack[4]; -@@ -313,4 +315,16 @@ +@@ -317,4 +319,16 @@ return var1; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/TileEntityFurnace.java.patch b/forge/patches/minecraft_server/net/minecraft/src/TileEntityFurnace.java.patch index e392a4784..525c060bf 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/TileEntityFurnace.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/TileEntityFurnace.java.patch @@ -10,7 +10,7 @@ { /** * The ItemStacks that hold the items currently being used in the furnace -@@ -245,8 +247,12 @@ +@@ -249,8 +251,12 @@ } else { @@ -25,7 +25,7 @@ } } -@@ -257,13 +263,13 @@ +@@ -261,13 +267,13 @@ { if (this.canSmelt()) { @@ -41,7 +41,7 @@ { ++this.furnaceItemStacks[2].stackSize; } -@@ -281,7 +287,7 @@ +@@ -285,7 +291,7 @@ * Returns the number of ticks that the supplied fuel item will keep the furnace burning, or 0 if the item isn't * fuel */ @@ -50,7 +50,7 @@ { if (par1ItemStack == null) { -@@ -305,4 +311,18 @@ +@@ -309,4 +315,18 @@ public void openChest() {} public void closeChest() {} diff --git a/forge/patches/minecraft_server/net/minecraft/src/World.java.patch b/forge/patches/minecraft_server/net/minecraft/src/World.java.patch index a986c3377..7830af598 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/World.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/World.java.patch @@ -9,7 +9,7 @@ public class World implements IBlockAccess { /** -@@ -66,7 +68,7 @@ +@@ -79,7 +81,7 @@ * Contains a timestamp from when the World object was created. Is used in the session.lock file */ private long lockTimestamp = System.currentTimeMillis(); @@ -18,7 +18,7 @@ /** Whether monsters are enabled or not. (1 = on, 0 = off) */ public int difficultySetting; -@@ -324,7 +326,8 @@ +@@ -349,7 +351,8 @@ */ public boolean isAirBlock(int par1, int par2, int par3) { @@ -28,7 +28,7 @@ } public boolean func_48084_h(int par1, int par2, int par3) -@@ -1549,7 +1552,7 @@ +@@ -1595,7 +1598,7 @@ if (var7 != null) { @@ -37,7 +37,7 @@ } } } -@@ -1579,14 +1582,16 @@ +@@ -1625,14 +1628,16 @@ { this.loadedTileEntityList.add(var8); } @@ -56,7 +56,7 @@ } } -@@ -1603,13 +1608,13 @@ +@@ -1649,13 +1654,13 @@ public void addTileEntity(Collection par1Collection) { @@ -76,7 +76,7 @@ } } -@@ -1841,6 +1846,13 @@ +@@ -1900,6 +1905,13 @@ if (var11 == Block.fire.blockID || var11 == Block.lavaMoving.blockID || var11 == Block.lavaStill.blockID) { return true; @@ -90,7 +90,7 @@ } } } -@@ -2121,25 +2133,21 @@ +@@ -2183,25 +2195,21 @@ */ public void setBlockTileEntity(int par1, int par2, int par3, TileEntity par4TileEntity) { @@ -129,7 +129,7 @@ } } -@@ -2148,27 +2156,10 @@ +@@ -2210,27 +2218,10 @@ */ public void removeBlockTileEntity(int par1, int par2, int par3) { @@ -160,7 +160,7 @@ } } -@@ -2191,7 +2182,8 @@ +@@ -2256,7 +2247,8 @@ */ public boolean isBlockNormalCube(int par1, int par2, int par3) { @@ -170,7 +170,7 @@ } /** -@@ -2463,6 +2455,7 @@ +@@ -2531,6 +2523,7 @@ } } } @@ -178,7 +178,7 @@ Profiler.endSection(); -@@ -2785,7 +2778,7 @@ +@@ -2853,7 +2846,7 @@ 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 var9 = this.getSavedLightValue(EnumSkyBlock.Block, par2 + 1, par3, par4) - par6; int var10 = this.getSavedLightValue(EnumSkyBlock.Block, par2, par3 - 1, par4) - par6; -@@ -3267,6 +3260,11 @@ +@@ -3339,6 +3332,11 @@ { var8 = null; } @@ -199,7 +199,7 @@ return par1 > 0 && var8 == null && var9.canPlaceBlockOnSide(this, par2, par3, par4, par6); } -@@ -3735,4 +3733,38 @@ +@@ -3846,4 +3844,38 @@ { return this.getChunkProvider().findClosestStructure(this, par1Str, par2, par3, par4); } diff --git a/forge/patches/minecraft_server/net/minecraft/src/WorldProvider.java.patch b/forge/patches/minecraft_server/net/minecraft/src/WorldProvider.java.patch index da5e9246f..e3aeefdc8 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/WorldProvider.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/WorldProvider.java.patch @@ -7,8 +7,8 @@ + public abstract class WorldProvider { - public World worldObj; -@@ -103,7 +105,7 @@ + /** world object being used */ +@@ -124,7 +126,7 @@ public static WorldProvider getProviderForDimension(int par0) { @@ -17,7 +17,7 @@ } /** -@@ -118,4 +120,36 @@ +@@ -139,4 +141,36 @@ { return this.terrainType == WorldType.field_48458_c ? 4 : 64; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/WorldProviderEnd.java.patch b/forge/patches/minecraft_server/net/minecraft/src/WorldProviderEnd.java.patch index afef7988c..b52789dd6 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/WorldProviderEnd.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/WorldProviderEnd.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft_server/net/minecraft/src/WorldProviderEnd.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/WorldProviderEnd.java 0000-00-00 00:00:00.000000000 -0000 -@@ -53,4 +53,22 @@ +@@ -62,4 +62,22 @@ { return 50; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/WorldProviderHell.java.patch b/forge/patches/minecraft_server/net/minecraft/src/WorldProviderHell.java.patch index 7e03d7925..c0acea1d8 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/WorldProviderHell.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/WorldProviderHell.java.patch @@ -1,6 +1,6 @@ --- ../src_base/minecraft_server/net/minecraft/src/WorldProviderHell.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/WorldProviderHell.java 0000-00-00 00:00:00.000000000 -0000 -@@ -54,4 +54,28 @@ +@@ -63,4 +63,28 @@ { return false; } diff --git a/forge/patches/minecraft_server/net/minecraft/src/WorldServer.java.patch b/forge/patches/minecraft_server/net/minecraft/src/WorldServer.java.patch index dbdcb9d11..e87f7d77e 100644 --- a/forge/patches/minecraft_server/net/minecraft/src/WorldServer.java.patch +++ b/forge/patches/minecraft_server/net/minecraft/src/WorldServer.java.patch @@ -26,8 +26,8 @@ + entityTracker = new EntityTracker(mcServer, par4); } - public void updateEntityWithOptionalForce(Entity par1Entity, boolean par2) -@@ -68,14 +74,26 @@ + /** +@@ -72,14 +78,26 @@ public List getTileEntityList(int par1, int par2, int par3, int par4, int par5, int par6) { ArrayList var7 = new ArrayList(); diff --git a/forge/setup.sh b/forge/setup.sh index 8f356dfae..07582c026 100755 --- a/forge/setup.sh +++ b/forge/setup.sh @@ -39,7 +39,6 @@ if [ ! -d src_base ] ; then find . -name *.java -exec sed -i 's/\r//g' \{\} \; cp ../forge/MLProp.java minecraft/net/minecraft/src/MLProp.java cp ../forge/MLProp.java minecraft_server/net/minecraft/src/MLProp.java - patch -p2 -i ../forge/modLoaderMP.patch popd > /dev/null diff --git a/forge/update_patches.sh b/forge/update_patches.sh index 5926da6ef..8a642b528 100755 --- a/forge/update_patches.sh +++ b/forge/update_patches.sh @@ -14,7 +14,7 @@ cd src_work for i in `find ../src_work -type f` do ibase=${i##../src_work} - diff -u ../src_base$ibase $i -r --strip-trailing-cr --new-file | sed -e "1,2s/[0-9-]* [0-9:\.]* [+-][0-9]*\b/0000-00-00 00:00:00.000000000 -0000/" | tr -d \r > $fdir/patches$ibase.patch + diff -u ../src_base$ibase $i -r --strip-trailing-cr --new-file | sed -e "1,2s/[0-9-]* [0-9:\.]* [+-][0-9]*\b/0000-00-00 00:00:00.000000000 -0000/" | tr -d "\r" > $fdir/patches$ibase.patch done cd ..