summaryrefslogtreecommitdiffstats
path: root/src/Items (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-01Unify entity spawn packet sendingTiger Wang1-2/+2
2020-04-21Vector3 in Handlers (#4680)Mattes D42-790/+1194
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-04-16Using Super.Mattes D34-162/+212
2020-04-12Removed extended ASCII, and added a check against it. (#4642)Mattes D1-2/+2
2020-04-10Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness4-5/+5
Also add observer block handler.
2020-04-10Add additional blocks which are not breakable by handAlexander Harkness2-6/+39
2020-04-10Add Zombie VillagersBond-0091-5/+2
2020-04-04Remove switch statements from cItemFoodHandler (#4610)Alexander Harkness15-192/+398
* Remove switch statements from cItemFoodHandler * Alpha-sort and add comment * Relocate golden apple handler
2020-04-04Implement wither skeletons (#4563)Mat1-26/+27
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D7-7/+11
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
2020-04-02Replace buckets to the selected hotbar slot, rather than the first available. (#4580)Alexander Harkness4-31/+13
* Replace buckets to the selected hotbar slot, rather than the first available. Replicates vanilla behaviour, as well as being more logical. * Refactor cInventory::AddItem. Behaviour is now documented * Add new cInventory::ReplaceOneEquippedItem and ::SetEquippedItem methods * Return empty potion to the same slot after drinking * Replace buckets correctly in other situations, not simply water and lava Uses the new ReplaceOneEquippedItem method * Correct collecting water from source block with bottle * Add cPlayer::ReplaceOneEquippedItemTossRest method * Handle stacked filled buckets (in theory) Use new cPlayer::ReplaceOneEquippedItemTossRest method
2020-03-22Increase speed of splash potion and expbottle (#4513)Mat2-2/+5
2020-03-22TNT position fixes (#4519)Mat1-1/+0
* TNT position fixes * Don't add offset to explosion spawn coords * Don't make other entities push TNT * Correct initial TNT speed * Fix typo * Improvements * Revert unwanted change * Style fixes * Update format
2020-03-22Fix typo in fish metaMat1-1/+1
2020-03-22Don't enchant an already enchanted bookMat1-1/+1
2020-03-22Don't remove items twice (#4524)Mat5-6/+9
* Don't remove items twice
2020-03-21Bonemeal cannot be used on cactus and sugar caneMat1-2/+0
2020-03-05Don't spawn boats in groundMat1-1/+1
2020-03-05Stabilise MoveToWorld (#4004)Mat1-1/+1
* Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld
2020-03-01Boats can be spawned on landMat1-7/+0
2019-12-30Disable block placement in adventure mode (#4424)Mat2-0/+18
2019-10-28Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D1-6/+188
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D6-66/+27
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D3-6/+6
2019-05-11Create Ender Portal with Eyes of Ender (#4126)Zach DeCook3-1/+62
The algorithm was designed so All portals must be facing the center, no matter which block had the eye inserted in last. Note: Still need to create a block entity so that portals don't become invisible when you relog. Addresses part of #3445 Fixes #3695
2019-05-07Buckets: Be able to place fluids through other fluids. (#4331)Zach DeCook1-2/+2
2018-09-24Add a formatting function for Vector3 (#4282)peterbell101-4/+4
* Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102-4/+1
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-5/+0
Add check for number of empty lines between functions and fix the corresponding failures
2018-07-23Keep players in gmNotSet (#4248)changyong guo1-1/+1
This allows players game mode to update to the default after portal to another world. Fixes #4207
2018-02-11Damage fishing rod when catching the hook on a block, then reeling it in (#4151)Bond-0091-0/+8
Fixes #4132
2018-02-05Deal with covered switches consistently (#4161)peterbell106-0/+6
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
2018-01-17Prioritize hinge on the left side (#4153)Bond-0091-0/+1
2018-01-06Golden Apple Fixes (#4130)Alexander Harkness2-21/+10
* Do not remove food item until player has been fed * Golden apples now ignore hunger when eating * Removed EnchantedGoldenApple recipe, as it was removed in 1.9 Reference: https://minecraft.gamepedia.com/1.9#Items_2 * Adjust golden apple effects, as they were changed in 1.9 Reference: https://minecraft.gamepedia.com/1.9#Items_2
2018-01-05Improved fishing rewards (#4120)Bond-0091-33/+49
* Damage fishing rod after use * Give xp to the player for catching something * Fixed junk drops * Implement Luck of the Sea
2018-01-05Item durability loss now depends on the item used. (#4123)Alexander Harkness23-177/+77
Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
2018-01-03Add the fmt library (#4065)peterbell101-0/+1
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
2017-11-20cItemHandler: Update max stack size of old doors. (#4072)peterbell101-0/+2
2017-09-25BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038)Bond-0091-22/+22
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly4-7/+5
* Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-09-14Fix switch warnings (#4013)peterbell102-6/+2
* Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell102-88/+39
2017-09-07Changed some int parameters to vector parameters (#3937)Bond-0092-2/+2
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2-39/+88
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell102-88/+39
2017-08-24Minor changes (#3909)mathiascode1-1/+1
2017-08-24Fix use after move in cItemBowHandler::OnItemShootpeterbell101-4/+3
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-0/+1
2017-08-13Replaced includes with forward declarationsLukas Pioch1-1/+1
2017-08-07Changed entity ownership model to use smart pointersTiger Wang6-42/+16
2017-08-06Removed unneeded includes (#3902)Lukas Pioch12-15/+4
2017-08-03Remove double includes part 2 (#3890)peterbell101-2/+0
2017-08-02Removed double includes (#3885)Lukas Pioch1-1/+0
2017-08-01cBlockHandler: take player by refpeterbell102-3/+3
2017-08-01cWorld::SendBlockTo take player by refpeterbell101-2/+2
2017-07-30Consolidated food effects into EatItem, added all fish type FoodInfos. (#3875)Lane Kolbly5-86/+86
* Consolidated food effects into EatItem, added all fish types. * Changed type of NumFishInfos to satisfy clang. * Removed unused call for a_Item in EatItem
2017-07-07BigFlower fixes (#3826)peterbell104-24/+26
* BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision
2017-06-30Added 1.12 blocks (#3760)Bond-0092-1/+19
2017-06-21Fix shears (and vines)Bond-0091-25/+6
* Shears now lose durability when breaking any block * Leaves don't drop 2 leaves anymore when broken by shears * Removed the chance to drop saplings or apples when leaves are broken by shears * Vines can't be attached to ender chests, pistons and redstone repeaters
2017-06-13FastRandom rewrite (#3754)peterbell103-11/+11
2017-06-03Fixed double chests (#3741)peterbell101-1/+1
Normal and trapped chests next to each other don't open a double chest window. Slot changes in the secondary chest are broadcast. Placing a chest in +x of another updates the original chest's metadata.
2017-05-24Exported boatLukas Pioch1-1/+1
- NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions
2017-05-11Tracer replacement (#3704)Mattes D4-7/+8
* Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API.
2017-05-08Added missing checks for Initialize function and updated APIDocLukas Pioch4-4/+24
2017-03-20Return bowl when eating beetroot soupBond-0091-0/+1
2017-03-19Deadbushes drop sticksBond-0092-1/+1
2017-03-17Boat spawned, remove it from player's handLukas Pioch1-0/+6
2017-02-26Fixed which blocks can be harvested with what type of pickaxe (#3586)Bond-0091-0/+16
2017-02-20Changed fish launching mechanism (#3520)Alex1-2/+8
Fish and other fishing loot now correctly fly towards played when reeled in.
2017-02-15Updated sounds and effect IDs (#3422)mathiascode8-50/+5
2017-02-14Added some blocks and items (#3503)mathiascode5-13/+58
2017-01-19Fixed placing of double tall flowers and an inconsistency with vanilla (#3541)Jacob1-2/+1
2016-12-01Added code to handle signs replacing blocksQuImUfu1-1/+12
2016-11-18Removed ClientHandle.h dependencies from common headers.Mattes D1-0/+1
2016-11-13Added missing "override" specifier.Mattes D4-4/+4
2016-11-06Anticheat fastbreak (#3411)mohe20158-0/+177
Added block hardness checks when breaking blocks.
2016-08-24Fixed type-casting-related warnings.Mattes D1-1/+1
2016-08-19Fixed implicit rounding warnings.Mattes D1-5/+8
2016-08-12Fix issue #3312Alexander Harkness1-0/+1
Nether brick fences now drop their item.
2016-07-18CMake: Remove needless minimum version specifications.Mattes D1-2/+0
2016-07-18Fixes for boat entities (#3265)beeduck1-1/+16
protocol for vehicles now properly handled, protocol for boat paddles now properly handled, boats can no longer spawn underwater, boats now properly float, boat metadata now properly broadcasted.
2016-02-05Bulk clearing of whitespaceLogicParrot28-119/+119
2016-01-31Updated old forum linksMathias1-1/+1
2016-01-01Renamed leftover strings to Cuberite / Server, as needed.Mattes D1-1/+1
Also upgraded the user setting file for MSVC to 2013.
2015-12-22add handling of water bottleGargaj3-0/+98
2015-12-06Tilling dirt should send block updateGargaj1-1/+1
There are BUD switches that are built on this (https://www.youtube.com/watch?v=Bk_ChvmtCNY) but more prominently, torches placed on dirt blocks should pop off when the dirt block is tilled.
2015-12-03Merge mushroom soup into generic food handlerGargaj4-56/+25
...and fix eating the bowl when eating rabbit stew
2015-11-09remove slab from inventory when using it on another slab (fixes #2610)Gargaj1-3/+27
2015-09-17Added CircleCI for stylechecking.Mattes D1-2/+5
This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney9-20/+26
2015-07-16Spawn baby mobshallucino3-4/+4
2015-07-14Improved mapsTiger Wang7-10/+10
2015-06-25Doors now get placed on the server-side.bibo381-1/+0
The Y-Value is already the lower door block(From ItemHandler.cpp:346). Increasing it once again, places the door into the air, which is blocked by Cuberite. Bugfix #2279
2015-06-23Fixed right-click with bonemeal.Mattes D1-1/+1
The client would send invalid right-click events with Y set to 0x7ff, which would crash the server. Only process bonemeal for valid clicks (valid blockface).
2015-06-21Refactored block placement workflow.Mattes D7-85/+156
Multi-blocks can now use the default OnPlayerPlaced() callback in cItemHandler.
2015-05-24Made -Weverything an error.tycho3-4/+11
2015-05-23Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch1-1/+1
2015-05-21Fixes #2059Blitz Rakete1-0/+14
2015-05-19Make -Werror disabling file onlytycho1-0/+4
Ad fix a load of warnings
2015-05-18Fixes #2052Tiger Wang3-4/+4
2015-05-09CheckBasicStyle: checks spaces around * and &.Mattes D2-2/+2
2015-05-09More style checking.Mattes D2-2/+2
Spaces around some operators are checked.
2015-05-09Rabbit and cooked rabbit now stackablejammet1-1/+3
And corrected the alphabetical ordering.
2015-05-07Fixed #1893Tri1251-0/+1
Quartz ore now stack properly
2015-04-22Fix slab placingwraith111-0/+23
2015-04-21Fix door placing in connection with slabswraith111-1/+1
Except top-half slabs as transparent blocks for doors.
2015-04-20ItemHandler type fixes.Mattes D1-2/+2
2015-04-20ItemHandler: Using automatic array bounds.Mattes D1-1/+1
2015-04-16Fixed PolishedGranite et al crafting recipes.Mattes D1-2/+2
Fixes #1774. Ref.: #1859
2015-04-14Scooping up fluid calls the player placement hooks.Mattes D1-4/+12
Ref.: #1857.
2015-04-14Placing a fluid from bucket calls plugin hooks.Mattes D18-51/+165
Ref.: #1857.
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