summaryrefslogtreecommitdiffstats
path: root/src/Items (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-28Fixed placing bottom half-slabs by clicking a top half-slab.Mattes D1-2/+2
Ref.: #1837
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D3-4/+4
2015-03-20Correct world height validations.Tommy Santerre1-1/+1
Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
2015-03-14cPainting saving implementedTiger Wang1-16/+3
Additionally, it now inherits from cHangingEntity.
2015-02-28Fixed door placement.Mattes D1-4/+17
Doors now have hinges on the correct side, based on what the surroundings are when placing them.
2015-02-21Door handler: Removed needless check.Mattes D1-1/+1
The Y coord has already been checked above.
2015-02-21Fix door placement checkFreddie Wang1-7/+3
2015-01-18Fixed various warnings.Mattes D1-6/+6
2014-12-25MobHead: Fixed wither spawning.Mattes D1-13/+40
2014-12-25MobHeads: fixed regular head placement.Mattes D1-2/+22
2014-12-25Fixed door placement.Mattes D1-2/+2
2014-12-25Fixed forgotten big flower handler.Mattes D1-1/+2
2014-12-24Fixed redstone dust placement on upside-down slabs.Mattes D1-1/+36
2014-12-24Refactored all player block placing to go through hooks.Mattes D12-108/+1041
Fixes #1618.
2014-12-20Added RabbitsMasy981-0/+1
2014-12-18Added Entity GuardianMasy981-0/+1
2014-12-13FixesHowaner1-0/+5
2014-12-01Added cocoa pod.Howaner1-2/+39
2014-10-23En masse NULL -> nullptr replaceTiger Wang6-10/+10
2014-10-21Moved tall grass pickups handle.Howaner1-9/+0
2014-10-20En masse NULL -> nullptr replaceTiger Wang6-10/+10
2014-10-07Leaves are harvest-able.Howaner1-2/+0
2014-10-07Corrected drops from dead bush, tall grass and cobweb.Howaner2-11/+35
2014-10-01Fixed sortingMasy981-2/+2
2014-10-01Fixed Red Sandstone and Prismarine dropsMasy982-17/+23
2014-09-30Fixed 1.8 dirt typesHowaner1-2/+25
2014-09-26Moved curly brace to seperate lineMasy981-1/+2
2014-09-26Removed more unessicary includesTycho1-0/+1
2014-09-17Added first test to show the object can be createdTycho1-28/+28
2014-09-13Improved cBlockHandler::DropBlockTiger Wang1-1/+1
2014-09-12Added extra mushroom handler.Howaner3-3/+60
2014-09-12Fixed farmland issues.Howaner1-1/+1
2014-09-12Only place farmland if no block is upper than dirt/grass.Howaner1-1/+6
2014-09-12Added hoe interact sound.Howaner1-0/+1
2014-09-12Fixed 1.8 Item stacking and block harvestingMasy981-25/+43
2014-09-12Spawn exp if you break a mob spawner.Howaner1-0/+1
2014-09-12Disabled mobspawner itemdrop.Howaner1-0/+1
2014-09-12Fixed many right click issues.Howaner1-3/+7
2014-09-11Added new doors in ItemDoor.hMasy981-1/+15
2014-09-11Fixed mutton name in Sheep.cppMasy981-2/+10
2014-09-11Fixed mutton name in ItemHandlerMasy981-1/+1
2014-09-11Added 1.8 food to the food listMasy981-1/+4
2014-09-04In 1.8, carrots and potatoes yield one less hunger point.archshift2-2/+2
2014-09-03Fixed style and alpha-sorting.madmaxoft2-7/+7
2014-09-03Added mutton, which sheep now drop when killedarchshift2-0/+4
2014-08-30Fixed potion removing in creative mode.Howaner4-4/+14
2014-08-29Removed unused codeTiger Wang1-1/+1
2014-08-19Code formatting fixes.Howaner2-2/+1
2014-08-19FixesJaume Aloy1-1/+1
- Changed m_TicksLeftBurning > 0 for IsOnFire() - Tried to do the changes in BlockHandler.cpp - Removed m_Creator in ArrowEntity - Added m_Enchantments in ProjectileEntity CreatorData - Added blank lines between functions
2014-08-19Added some EnchantmentsJaume Aloy1-1/+11
- Bow enchantments: Infinity, Flame and Power - Sword and tools enchantments: Fire Aspect, Bane of Arthropods, Smite, Sharpness
2014-08-05Fixed unsigned long comparison to size_tarchshift1-1/+1
2014-08-04Changed arrow comment.Howaner1-1/+1
2014-08-04Added arrow consuming on shootingHowaner1-0/+10
2014-07-31Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects.Howaner4-25/+136
2014-07-31Fixed water from ice and removed packed ice drop.Howaner1-0/+1
2014-07-27Hotfixed compilation problems.madmaxoft2-2/+2
2014-07-26Derp.Howaner1-1/+1
2014-07-26Rename function.Howaner4-6/+6
2014-07-26Fixed indentations, removed redundant init code in SplashPotionEntity.cpparchshift1-3/+5
2014-07-26Moved potion static functions to EntityEffect to create splash potions through worldarchshift1-129/+7
2014-07-24Fixed block dropsTiger Wang2-5/+43
* Fixes #1242 (the issue addressed within)
2014-07-23Fix item durability.Howaner5-10/+91
Fixes #1181
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft3-4/+4
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-1/+1
2014-07-19Fixed style: spaces after commas.madmaxoft2-2/+2
2014-07-19Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift1-3/+3
2014-07-19Subdirs: Only add_library if not using MSVCarchshift1-1/+3
2014-07-19Items/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+47
2014-07-18Added a extra wall sign handler.Howaner1-3/+4
Fixes #1119
2014-07-17Fixed issues relating to saplings and leavesTiger Wang1-6/+3
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
2014-07-17Fixed tabs used for alignment.madmaxoft2-8/+8
2014-07-17More trailing whitespace fixes.madmaxoft3-6/+6
2014-07-17Basic style fixes.madmaxoft19-25/+25
2014-07-17Normalized comments.madmaxoft10-26/+39
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-07-17Reformatted cItemPotionHandler.madmaxoft1-47/+77
2014-07-16Fixed a bug with bucketsTiger Wang1-1/+1
* Additionally fixed cLineBlockTracer's EntryFace parameter when a block was hit on the first iteration along the projected line
2014-07-14Fixed placing liquids over liquidsTiger Wang1-1/+1
* Fixes #1182
2014-07-14ItemHandler.cpp: removed redundant food and drink checksarchshift1-33/+0
2014-07-14Readability and clarity changesarchshift1-30/+45
2014-07-13Adjusted calls to CreateProjectile that passed ItemsTycho1-2/+2
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner3-12/+5
2014-07-12Comment grammar correctionTiger Wang1-1/+1
2014-07-12Simplified buckets code slightlyTiger Wang1-32/+15
2014-07-12Changesdaniel09161-5/+4
2014-07-12For now, removed creator member from Entity Effect for pointer safetyarchshift1-2/+2
2014-07-11Changesdaniel09161-24/+16
2014-07-10Changesdaniel09161-20/+22
2014-07-10Maybe fixed whitespacesdaniel09161-7/+7
2014-07-10Maybe fixed whitespacesdaniel09161-1/+1
2014-07-10Fixed Bucket Placingdaniel09161-6/+57
2014-07-09Fixed bow chargeTiger Wang1-11/+2
2014-07-09Fixed Bucket placingdaniel09161-1/+1
2014-07-01Only fixes the server crash.Howaner1-1/+1
2014-07-01Fix server-crash with non-existing items.Howaner1-1/+1
2014-06-28Implemented tripwire(s) (hooks)Tiger Wang2-0/+41
* Fixes #944
2014-06-19Nullify deleted pointers.archshift3-0/+3
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift1-1/+1
Changed effect map to take a pointer of the effect as a result.
2014-06-17Entity Effects: Clarified user, added it to AddEntityEffectarchshift1-1/+1
Added second AddEntityEffect with a pass-by-value of the class.
2014-06-17Changed the AddEntityEffect() params for easier calls.madmaxoft1-2/+1
2014-06-17Fixed MSVC compilation.madmaxoft1-7/+7
2014-06-17Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift1-1/+1
Exported entity effect functions for ToLua and documented them in APIDesc.lua
2014-06-17Removed long function wrappingarchshift1-10/+2
2014-06-17ItemHandler: changed IsDrinkable() to take a short argumentarchshift4-15/+10
2014-06-17Splash potion: Adjusted speed, fixed spawn positionarchshift1-6/+3
2014-06-17Entity effect type: use 'eff' as a prefix instead of 'ef'archshift1-33/+33
2014-06-17Added splash potion functionalityarchshift1-1/+35
2014-06-17Implemented drinkable potions, noeffect entity effect,archshift4-3/+146
Clears entity effects on death
2014-06-17Implemented milk, added documentation to Pawn.harchshift3-1/+47
2014-06-17Player: Removed food-poisoning-specific code, set duration to 30 secondsarchshift1-1/+1
http://minecraft.gamepedia.com/Hunger#Behavior
2014-06-16Split Broadcast Sound Effect function call in multiple lines.Howaner1-1/+8
2014-06-16This isn't neededHowaner1-1/+0
2014-06-16Fix bow sound and creative arrow pickup.Howaner1-9/+8
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D6-6/+6
Fixes #1039, fixes #851
2014-05-28Add throw sound and fix arrow server crash.Howaner1-0/+11
2014-05-20Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew1-0/+6
2014-05-07Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs.Howaner2-12/+0
2014-05-06Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner6-26/+26
2014-05-06Suggestions'dTiger Wang1-5/+9
2014-05-05Add anvil window and slot area.Howaner6-0/+108
2014-05-02Added a sanitizer for Spawn egg damage value.madmaxoft1-1/+39
This disallows spawning unknown mobs from unknown spawn eggs. Ref.: #928.
2014-04-28Fixed projectile source filenames, indentationsarchshift1-1/+1
2014-04-27Revert "Creative players cannot throw ender pearls."archshift1-16/+0
This reverts commit 75bb36574b4bb78e8b5975bf905a97402fd8a4bb.
2014-04-27Creative players cannot throw ender pearls.archshift1-0/+16
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift1-1/+1
2014-04-25Missed these CMakeLists.archshift1-1/+6
2014-04-25Add commit what the code is doing.Howaner1-0/+1
2014-04-25Add unkown armor warning and fix armor stacks.Howaner1-2/+14
2014-04-24Add armor to switch() in ItemHandler.cppHowaner1-6/+25
2014-04-24Fix armor in survival mode.Howaner3-15/+76
2014-04-23Small changesTiger Wang2-9/+10
2014-04-18Fixed clang compilation errors. Apparently gcc and MSVC do not care about the order of initializer lists, but clang does.jfhumann1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2-2/+1
2014-04-06Add CanChangeDirtToGrass function to Block Handlers.Howaner2-1/+2
2014-04-04Fixed Clang warnings in itemhandlers.madmaxoft5-18/+19
2014-04-02Fixed boat placement code.madmaxoft1-9/+17
2014-03-30Another curlyTiger Wang1-1/+2
2014-03-29Curly bracketsTiger Wang1-1/+4
2014-03-28Fixed infinite minecart itemsTiger Wang1-0/+3
2014-03-28Some fixes to lilypadsTiger Wang2-0/+108
* Fixed placement on lava * Fixed placement on side of blocks * Fixed placement through blocks + Added washing-away of pads + Added ice as a block that fully occupies its voxel
2014-03-23Implemented lilypad placementTiger Wang1-4/+4
2014-03-16Add new leaves to all classes.Howaner2-2/+4
2014-03-16Add cakeHowaner2-0/+44
2014-03-14Add fireball interactHowaner3-2/+27
2014-03-08Change TNT Fuse to ticksHowaner1-2/+2
2014-03-08cBlockInfo-related changes from #723andrew1-11/+11
2014-03-07Fixed warningsTycho1-0/+3
2014-03-05Added extra awesomeness to TNTTiger Wang1-1/+1
+ TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew1-1/+1
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew1-1/+1
2014-02-28Fixed multiple gcc warnings about unused params.madmaxoft1-1/+25
2014-02-27Fixed crash and some warnings in map handling.madmaxoft1-3/+3
Fixes #728.
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang1-3/+3
+ Added fireworks
2014-02-24Fixed MCServer not compiling with C++03 compilersSTRWarrior1-3/+3
2014-02-23Use the ItemCategorie::IsSword() Method.Howaner1-19/+0
2014-02-23No Sword Block Destroying in Creative ModeHowaner1-0/+19
2014-02-23Rename SkullEntity to MobHeadEntityHowaner2-6/+4
2014-02-23Add Heads completelyHowaner1-0/+1
2014-02-23Add Skulls/HeadsHowaner2-0/+45
2014-02-23Maps: Improvementsandrew2-2/+2
2014-02-19Rename SkullEntity to MobHeadEntityHowaner2-6/+4
2014-02-18Fixed possible ASSERT failureTiger Wang1-1/+1
2014-02-18Changed BlockFace type to eBlockFaceTiger Wang1-13/+1
2014-02-18Add Heads completelyHowaner1-0/+1
2014-02-18Map decorators; Map clientsandrew1-2/+2
2014-02-18Added an explanatory commentTiger Wang1-0/+2
2014-02-18Comments & new BLOCK_FACE constantsTiger Wang1-7/+10
2014-02-18Implemented paintings, fixes #689Tiger Wang2-2/+99
+ Implemented paintings
2014-02-18Used new BLOCK_FACE constantsTiger Wang1-7/+8
Also added more comments
2014-02-18Implemented item frames, a part of #689Tiger Wang2-0/+65
+ Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!)
2014-02-17Add Skulls/HeadsHowaner2-0/+45
2014-02-17Map item handler; Fixed several bugsandrew4-1/+68
2014-02-15cMap::UpdateRadiusandrew1-2/+4
2014-02-15Fixed TNT fizzing everywhereTiger Wang1-1/+1
2014-02-14EmptyMap item handlerandrew2-0/+48
2014-02-10Added additional parenthasiesworktycho1-2/+1
2014-02-10Fixed stupid mistax in conditionalworktycho1-2/+1
boats can't be placed if the face is not block_face_none and not block_face_YM, not if it is only not one.
2014-02-10Maybe fixed boat placingtonibm191-1/+1
2014-02-04Improved Type safety of eBlockFaceTycho28-40/+40
May Fix #640
2014-02-03Fixed #626Tiger Wang3-13/+38
* Fixed consumption of carrots and potatoes
2014-02-02Changed Signiture of OnUpdateTycho3-4/+13
2014-02-01Changed pointers to referencesTycho2-2/+2
2014-01-26Refactored GetPlacementBlockTypeMetaTycho2-3/+6
2014-01-24Fixed flint&steel failure on the Y world edges.madmaxoft1-0/+4
2014-01-17Removed internal cEntity::GetRot() usage.madmaxoft4-4/+4
2014-01-16Removed obsoleted functionsTiger Wang4-4/+4
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior1-1/+1
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior1-1/+1
2014-01-11Renamed g_TorchPlaceable...Tiger Wang1-1/+1
...to g_FullyOccupiesVoxel, as recommended by @bearbin
2014-01-07Fixed a few MSVC warnings.madmaxoft1-1/+0
2013-12-30Implented OnPlayerFishing and OnPlayerFished.STRWarrior1-1/+7
2013-12-25You are now able to sweep mobs to your position using fishing rods.STRWarrior1-26/+64
2013-12-22merged in warnings changesTycho Bickerstaff1-1/+7
2013-12-22Made the lure enchantment work.STRWarrior1-1/+1
2013-12-22Countdown time is between 100 and 900 ticks.STRWarrior1-1/+1
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff1-1/+7
2013-12-21Using regular assignments.STRWarrior1-6/+6
2013-12-21Once again better Y direction for the items given when fishing.STRWarrior1-2/+2
2013-12-21You are now able to get different items from fishing.STRWarrior1-2/+108
2013-12-21Root is now warnings cleanTycho Bickerstaff1-1/+1
2013-12-21Fixed bug where you could pickup the floater only to get one spawned instantly or the other way around.STRWarrior1-0/+5
2013-12-20Increased the range an Floater can shoot to.STRWarrior1-1/+1
2013-12-20Fish now actualy jumps to the player instead of a few block bellow them.STRWarrior1-1/+1
2013-12-19You can get fish from fishing :D. Only one type of fish though.STRWarrior1-12/+27
2013-12-19Implented cItemFishingRodHandler.STRWarrior2-0/+65
2013-12-19Fixed dust from being placed on nonsolidsTiger Wang1-0/+5
2013-12-18Implented Nether Wart.STRWarrior2-0/+56
2013-12-17Fixed naming and initialization.madmaxoft1-4/+12
2013-12-17Forgot to change one Vector3d to Vector3i.STRWarrior1-1/+1
2013-12-17Renamed Pos to m_Pos.STRWarrior1-3/+3
2013-12-17Using Recommendations.STRWarrior1-10/+23
2013-12-17Made buckets work when the player does not 'look' at a block. This fixes #265STRWarrior1-32/+53
2013-12-16Boats spawn on top of a block. not between 4 blocks.STRWarrior1-1/+1
2013-12-16Using suggestions for Boat placing.STRWarrior1-1/+1
2013-12-16You can spawn boats on water.STRWarrior1-7/+32
2013-12-10more cmake stuffTycho Bickerstaff1-0/+7
2013-12-08Bonemeal has particles, fixes #393Tiger Wang1-3/+2
2013-12-06Spawn eggs use IsGameMode()Tiger Wang1-2/+2
Possible fix for #316.
2013-11-24Moved source to srcAlexander Harkness30-0/+2173