Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added const correctness on some functions in cPlayer (#4999) | 12xx12 | 2020-10-15 | 1 | -2/+5 |
| | | | Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Fix instant mining of blocks not being recognised, tweak anti-cheat (#4938) | KingCol13 | 2020-10-02 | 1 | -7/+14 |
| | | | | | | | | | | | | | | | | | | | * Tried to fix a small issue... Ended up rewriting a bunch of god awful, opaque code with no source and no sense. Who names a function GetPlayerRelativeBlockHardness??? It's gone now. We're safe again. * Testing anti-cheat. * Tidy up debug logging. * Remove empty member declaration. * Rewrite GetDigSpeed slightly for better readability. * GetMiningProgressPerTick now returns 1 when instantly mined. Fixed hasily written typo. * Comment style and typo fixes. | ||||
* | Enchanting table shows detail on hover. Enchanting is deterministic. (#4937) | KingCol13 | 2020-10-01 | 1 | -0/+8 |
| | | | | | * Use lapis for enchanting, subtract correct number of levels, ClientHandle now selects from pregenerated list. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Unused/duplicate function cleanup | Tiger Wang | 2020-08-29 | 1 | -3/+0 |
| | | | | | * FaceIntToBlockFace in 1.8/1.9 protocol merged - Removed undefined permissions stuff in Player header | ||||
* | Add Statistics and Achievements for newer Network standards | 12xx12 | 2020-08-19 | 1 | -3/+2 |
| | |||||
* | Introduce recipe book functionality (#4493) | Tobias Wilken | 2020-07-14 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce recipe book functionality The recipe book helps especially new players. Missing it gives the impression that cuberite is not as advanced as it is. The handling of the recipe book uses the following functions: - Unlock Recipes (https://wiki.vg/index.php?title=Protocol&oldid=14204#Unlock_Recipes) to make recipes available and show the notification for new recipes. Initialization is done on player login for known ones, the update is done when new items are discovered. - Craft Recipe Request (https://wiki.vg/index.php?title=Protocol&oldid=14204#Craft_Recipe_Request) when the user selects a recipe from the recipe book to fill the slots. Known recipes are initialized on player login via `Unlock Recipes` with `Action` 0. As soon as a new recipe is discovered this is added via `Unlock Recipes` with `Action` 1. To be able to know and recognize new recipes the player class is extended with `KnownItems` and `KnownRecipes`. As soon as a player touches an item this is compared to the list of `KnownItems`, if the item is unknown the recipes are checked for this item and the other ingredients are checked with the list of `KnownItems`. If a full match is discovered the recipe is unlocked with the client and stored in the `KnownRecipes`. To unlock recipes the recipe ID is sent to the client. A mapping file (for protocol 1.12.2) translated the minecraft recipe names to ids. The crafting.txt is extended with and minecraft recipe names is possible. Limitations: Only a single recipe is added to the crafting area. Multiple clicks or shift click does not increase the number of builds. Co-authored-by: peterbell10 <peterbell10@live.co.uk> * Address first issues mentioned by @peterbell10 - Some linting - Extract loading of recipe specific protocol mapping into a function - Build `RecipeNameMap` only once - Use `std::optional` - Extract `LoadRecipe` from `Window` * Start to implement new suggestions * Update with suggestions from @peterbell10 * Some minor cleanup * Update protocol packet IDs * Remove unused include * Include header in cmake * Change a vector to integer counter * Change dromedaryCase method names to PascalCase * Address suggestions from @madmaxoft * Read Protocol subdirectories to load recipe books To load all recipebooks iterate over the `Protocol` subdirectories to find mapping files. Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Improve entity position updates (#4701) | Tiger Wang | 2020-05-04 | 1 | -3/+3 |
| | | | | | | | | | * Make puking pickups fly nicer * Improve entity position updates * Move determination of whether a delta is too big for a packet into the protocol handlers + Less jittery movement + Generalise CollectEntity to take any entity | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+8 |
| | |||||
* | Replace buckets to the selected hotbar slot, rather than the first available. (#4580) | Alexander Harkness | 2020-04-02 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix explosion knockback issues and tweak knockback strength (#4590) | peterbell10 | 2020-04-02 | 1 | -3/+3 |
| | |||||
* | Lua API for spectating entities (#4518) | Mat | 2020-03-30 | 1 | -0/+3 |
| | |||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Rewrite explosion knock back (#4251) | changyong guo | 2018-07-23 | 1 | -0/+2 |
| | | | | | | | 1. Base knockback on an entity's bounding box intersection with the explosion 2. Armor blast protection reduces knockback 3. Don't apply knockback to players flying in creative mode Fixes #4139 | ||||
* | Keep players in gmNotSet (#4248) | changyong guo | 2018-07-23 | 1 | -3/+0 |
| | | | | This allows players game mode to update to the default after portal to another world. Fixes #4207 | ||||
* | recover hotbar selected slot after reconnect (#4249) | changyong guo | 2018-07-23 | 1 | -0/+3 |
| | | | | | | | 1. implement protocol message SendHeldItemChange 2. add save / load inventory equipped item slot in JSON 3. send held item slot message after player connect to server Fixes #4189 | ||||
* | Add unbreaking for armor (#4220) | Bond-009 | 2018-07-13 | 1 | -0/+4 |
| | | | | | | Ref: minecraft.gamepedia.com/Enchanting#Unbreaking #915 | ||||
* | Support swap item between main hand and offhand by press key "F" (#4241) | changyong guo | 2018-06-24 | 1 | -0/+3 |
| | | | | | | | | Hi, I found cuberite don't support to press key "F" to swap items on main hand and offhand, so I implemented this feature. Best regards Changyong | ||||
* | Item durability loss now depends on the item used. (#4123) | Alexander Harkness | 2018-01-05 | 1 | -1/+8 |
| | | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | ||||
* | Implement horse inventory (#4053) | peterbell10 | 2017-10-21 | 1 | -0/+4 |
| | | | | | | | | | | * Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes. | ||||
* | Fire effect now shown for creative and spectator mode players (#3998) | Alexander Harkness | 2017-09-07 | 1 | -6/+12 |
| | | | | | | | | * Fire effect now shown for creative and spectator mode players Fixes #3989 * Add documentation for IsFireproof | ||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 1 | -7/+9 |
| | |||||
* | Minor changes (#3909) | mathiascode | 2017-08-24 | 1 | -2/+2 |
| | |||||
* | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -1/+1 |
| | |||||
* | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 2017-07-28 | 1 | -0/+3 |
| | | | | | | | | | | | | | * Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement. | ||||
* | Updated armor cover calculation. (#3858) | Lane Kolbly | 2017-07-23 | 1 | -0/+1 |
| | | | | | | | | * Updated armor damage calculation. + Added lua docs, added casts from float to int. * Changed verbage in docstring and comment. | ||||
* | Implemented draggingitem API. | Lane Kolbly | 2017-07-10 | 1 | -1/+4 |
| | |||||
* | Fixes problems with windows: | Lukas Pioch | 2017-06-05 | 1 | -1/+1 |
| | | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | ||||
* | Add rank prefix and suffix to player name in chat (#3730) | Heiko Hund | 2017-05-27 | 1 | -0/+6 |
| | | | Fixes issue #1721 | ||||
* | Clang 5.0 fixes | Lukas Pioch | 2017-05-21 | 1 | -3/+1 |
| | | | | | - Added override keyword - Removed inherited member variables | ||||
* | APIDoc: Documented missing functions and variables. (#3634) | Lukas Pioch | 2017-04-04 | 1 | -6/+6 |
| | |||||
* | Track skin part and main hand preferences (#3498) | Pokechu22 | 2017-01-03 | 1 | -0/+13 |
| | |||||
* | Removed ClientHandle.h dependencies from common headers. | Mattes D | 2016-11-18 | 1 | -15/+13 |
| | |||||
* | Anticheat fastbreak (#3411) | mohe2015 | 2016-11-06 | 1 | -0/+21 |
| | | | Added block hardness checks when breaking blocks. | ||||
* | Added SendMessageRaw for sending json string. | Lukas Pioch | 2016-10-21 | 1 | -0/+1 |
| | |||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 1 | -0/+4 |
| | |||||
* | Proper respawn packets on dimension travel | LogicParrot | 2016-08-29 | 1 | -0/+3 |
| | |||||
* | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 2016-06-27 | 1 | -3/+3 |
| | |||||
* | Fix occasional freeze bug | LogicParrot | 2016-04-13 | 1 | -4/+6 |
| | |||||
* | Improved player freeze code | LogicParrot | 2016-04-05 | 1 | -10/+1 |
| | |||||
* | Players never fall through unloaded chunks or end up inside solids on teleport | LogicParrot | 2016-03-31 | 1 | -0/+2 |
| | |||||
* | Bed's world is now saved | LogicParrot | 2016-03-29 | 1 | -2/+9 |
| | |||||
* | Revert "Lua callback" | Mattes D | 2016-03-21 | 1 | -3/+3 |
| | |||||
* | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 2016-03-17 | 1 | -3/+3 |
| | |||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 1 | -0/+2 |
| | |||||
* | Improved tamed wolf pack cooperation and projectile reactions | LogicParrot | 2016-01-22 | 1 | -2/+5 |
| | |||||
* | Fix crash when tamed wolf is hit by arrows | LogicParrot | 2016-01-16 | 1 | -1/+1 |
| | |||||
* | Tamed wolf assists owner (attack / defence) | LogicParrot | 2016-01-12 | 1 | -0/+3 |
| | |||||
* | Freeze player until chunk is loaded | Safwat Halaby | 2015-12-25 | 1 | -1/+29 |
| | |||||
* | blockheight mechanism | Gargaj | 2015-12-13 | 1 | -2/+0 |
| | |||||
* | Small spelling issues fixed | Julian Laubstein | 2015-12-08 | 1 | -3/+3 |
| | |||||
* | Fixed food drain bugs | Tiger Wang | 2015-08-20 | 1 | -11/+4 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -3/+3 |
| | |||||
* | Implemented nether portal scanning code. | Lane Kolbly | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | Added system and above action bar chat messages | jan64 | 2015-06-02 | 1 | -8/+13 |
| | |||||
* | Fix gamemode not changing properly. | Alexander Harkness | 2015-05-23 | 1 | -84/+83 |
| | | | | Should fix #604 | ||||
* | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2015-05-23 | 1 | -5/+5 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | | | | Spaces around some operators are checked. | ||||
* | Entity improvements | Tiger Wang | 2015-05-04 | 1 | -1/+1 |
| | | | | | | | | •Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes | ||||
* | cPlayer now checks restrictions. | Mattes D | 2015-04-25 | 1 | -1/+12 |
| | | | | Fixes #1331. | ||||
* | Merge pull request #1734 from mc-server/pistons | Mattes D | 2015-03-14 | 1 | -2/+12 |
|\ | | | | | Handle client 'leave bed' request | ||||
| * | Handle client 'leave bed' request | Tiger Wang | 2015-02-08 | 1 | -2/+12 |
| | | | | | | | | * Fixes #1728 | ||||
* | | Replaced short int with int for Player experience | DevToaster | 2015-02-28 | 1 | -1/+1 |
| | | |||||
* | | modified: src/Entities/Player.cpp | DevToaster | 2015-02-28 | 1 | -10/+10 |
|/ | | | | modified: src/Entities/Player.h | ||||
* | Spacing | Howaner | 2015-02-07 | 1 | -1/+1 |
| | |||||
* | cPlayer should override IsOnGround() | Howaner | 2015-02-07 | 1 | -1/+1 |
| | |||||
* | Converted cServer to use the cNetwork API. | Mattes D | 2015-01-27 | 1 | -3/+15 |
| | |||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -2/+2 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | APIDump: Updated the player block placement documentation. | Mattes D | 2014-12-24 | 1 | -1/+2 |
| | | | | The hooks now have fewer parameters but are called on all player-placed blocks (#1618). | ||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -0/+18 |
| | | | | Fixes #1618. | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 1 | -2/+2 |
| | |||||
* | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 2014-10-20 | 1 | -1/+1 |
| | |||||
* | cPlayer: Removed useless functions from the Lua API. | madmaxoft | 2014-10-01 | 1 | -2/+6 |
| | |||||
* | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 1 | -2/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/ClientHandle.h src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/World.cpp src/World.h | ||||
| * | Preparing 1.8 changes | nesco | 2014-09-16 | 1 | -0/+3 |
| | | | | | | Added Spectator Gamemode | ||||
* | | Added the new functions to APIDump. | Howaner | 2014-09-02 | 1 | -1/+1 |
| | | |||||
* | | Added SetCustomName() to players. | Howaner | 2014-09-02 | 1 | -0/+15 |
|/ | |||||
* | Removed last remnant of cGroup. | Mattes D | 2014-08-21 | 1 | -1/+0 |
| | |||||
* | cPlayer: Exported the LoadRank function to Lua API. | Mattes D | 2014-08-20 | 1 | -2/+2 |
| | |||||
* | cPlayer reads ranks from cRankManager. | Mattes D | 2014-08-19 | 1 | -23/+30 |
| | |||||
* | Fixed tolua error with static initialization | archshift | 2014-08-11 | 1 | -3/+3 |
| | |||||
* | Player.cpp: change unnamed enum to constant integers | archshift | 2014-08-11 | 1 | -6/+7 |
| | |||||
* | Added cPlayer::GetUUID(). | madmaxoft | 2014-08-03 | 1 | -0/+3 |
| | |||||
* | Removed unused cPlayer::FoodPoison function | archshift | 2014-08-03 | 1 | -3/+0 |
| | |||||
* | Merge pull request #1255 from mc-server/NameToUUID | Mattes D | 2014-08-01 | 1 | -1/+1 |
|\ | | | | | Name to UUID | ||||
| * | Merged branch 'master' into NameToUUID. | madmaxoft | 2014-07-31 | 1 | -13/+30 |
| |\ | |||||
| * | | Fixed UUIDs handling in cPlayer. | madmaxoft | 2014-07-31 | 1 | -1/+1 |
| | | | | | | | | | | | | The loading expected dashed UUIDs, MCS uses short UUIDs throughout. | ||||
* | | | Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects. | Howaner | 2014-07-31 | 1 | -4/+1 |
| |/ |/| | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-29 | 1 | -2/+2 |
|\ \ | | | | | | | | | | | | | Conflicts: src/World.h | ||||
| * | | Merge branch 'master' into Inventory2 | Howaner | 2014-07-26 | 1 | -1/+1 |
| |\| | | | | | | | | | | | | | Conflicts: src/BlockInfo.cpp | ||||
| | * | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 1 | -1/+1 |
| | | | |||||
| * | | Fix item durability. | Howaner | 2014-07-23 | 1 | -1/+1 |
| |/ | | | | | Fixes #1181 | ||||
* | | Suggestions | Tiger Wang | 2014-07-23 | 1 | -3/+3 |
| | | |||||
* | | Speed improvements, crash fixes, & self-suggestions | Tiger Wang | 2014-07-22 | 1 | -1/+0 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 1 | -7/+7 |
|\| | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp | ||||
| * | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -7/+7 |
| | | |||||
* | | Suggestions | Tiger Wang | 2014-07-21 | 1 | -1/+1 |
| | | |||||
* | | Bug and crash fixes | Tiger Wang | 2014-07-20 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | | | * Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files | ||||
* | | Fix failed merge and other issues | Tiger Wang | 2014-07-18 | 1 | -10/+1 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -37/+69 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp src/ClientHandle.h src/Entities/Player.cpp src/Entities/Player.h src/Generating/FinishGen.cpp src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol16x.cpp src/Protocol/Protocol16x.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/Root.h src/World.cpp | ||||
| * | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 1 | -13/+13 |
| | | |||||
| * | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | |||||
| * | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -3/+3 |
| | | | | | | | | | | 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. | ||||
| * | Merge branch 'master' into potions | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| |\ | |||||
| | * | Merge pull request #1193 from mc-server/deathmessages | Mattes D | 2014-07-17 | 1 | -1/+1 |
| | |\ | | | | | | | | | Death messages | ||||
| | | * | Tailored death messages | Tiger Wang | 2014-07-04 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into potions | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| |\| | | |||||
| | * | | Another fix for excessive food drain | Tiger Wang | 2014-07-16 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-12 | 1 | -13/+30 |
| |\| | | |||||
| | * | | Player data filenames are based on UUID. | madmaxoft | 2014-07-11 | 1 | -13/+21 |
| | | | | |||||
| | * | | Preparation for player UUID-based storage: LoadFromFile() | madmaxoft | 2014-07-11 | 1 | -0/+9 |
| | |/ | |||||
| * | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -3/+15 |
| |\| | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| | * | Merge pull request #1138 from mc-server/enderchest | Mattes D | 2014-07-02 | 1 | -2/+9 |
| | |\ | | | | | | | | | Properly implemented enderchests | ||||
| | | * | Properly implemented enderchests | Tiger Wang | 2014-06-29 | 1 | -2/+9 |
| | | | | |||||
| | * | | Fixed player teleport food drain | Tiger Wang | 2014-07-02 | 1 | -0/+5 |
| | |/ | |||||
| | * | Add bow charging animation | Howaner | 2014-06-16 | 1 | -1/+1 |
| | | | |||||
| * | | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2014-06-19 | 1 | -3/+0 |
| | | | | | | | | | | | | Changed effect map to take a pointer of the effect as a result. | ||||
| * | | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | Exported entity effect functions for ToLua and documented them in APIDesc.lua | ||||
| * | | Player: made healing instantaneous | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | |||||
| * | | Player: Removed food-poisoning-specific code, set duration to 30 seconds | archshift | 2014-06-17 | 1 | -6/+1 |
| | | | | | | | | | | | | http://minecraft.gamepedia.com/Hunger#Behavior | ||||
| * | | Entity effects: Added handlers for entity effects | archshift | 2014-06-17 | 1 | -0/+3 |
| |/ | | | | | | | | | | | Implemented hunger, instant health, damage, poison, regen Added "template" entity effect implementations | ||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-06-21 | 1 | -2/+9 |
|\| | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h | ||||
| * | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 2014-06-16 | 1 | -2/+9 |
| | | |||||
* | | More suggestions | Tiger Wang | 2014-06-21 | 1 | -2/+4 |
| | | |||||
* | | Implemented PR suggestions | archshift | 2014-06-16 | 1 | -1/+2 |
| | | | | | | | | | | | | | | Furnace.txt: newline BlockID: removed extraneous dimension mapping cEntity: fixed typo cPlayer: WorldPtr typedef | ||||
* | | Portals animate and delay correctly | Tiger Wang | 2014-06-12 | 1 | -5/+5 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-06-10 | 1 | -0/+2 |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/Player.cpp src/Entities/Player.h src/Protocol/Protocol125.cpp src/Protocol/Protocol17x.cpp | ||||
| * | Added queue for adding entities to cWorld. | Mattes D | 2014-06-08 | 1 | -0/+2 |
| | | | | | | | | This alone doesn't work properly yet, further changes to cPlayer are needed. | ||||
* | | Suggestions | Tiger Wang | 2014-06-04 | 1 | -4/+8 |
| | | |||||
* | | Implemented bed homes | Tiger Wang | 2014-06-01 | 1 | -3/+12 |
| | | | | | | | | | | | | + Implemented bed home positions * Fixed some inventory and health server/client mismatches after world change | ||||
* | | Implemented end and nether portals | Tiger Wang | 2014-05-31 | 1 | -1/+1 |
|/ | |||||
* | Cleaned up cPlayer::UpdateMovementStats; Wither achievements | andrew | 2014-05-20 | 1 | -0/+3 |
| | |||||
* | Fixes | andrew | 2014-05-13 | 1 | -6/+3 |
| | |||||
* | Movement Statistics | andrew | 2014-05-12 | 1 | -0/+6 |
| | |||||
* | cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() | andrew | 2014-05-12 | 1 | -0/+11 |
| | |||||
* | Statistic Manager | andrew | 2014-05-11 | 1 | -0/+7 |
| | |||||
* | Merge branch 'master' into fixes. | madmaxoft | 2014-05-02 | 1 | -1/+1 |
|\ | |||||
| * | Add entity invulnerable | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into fixes | Tiger Wang | 2014-04-24 | 1 | -1/+1 |
|\| | | | | | | | | | Conflicts: src/World.h | ||||
| * | Fixed Flint and Steel, reverted Minecart change, renamed a parameter name | jfhumann | 2014-04-19 | 1 | -1/+1 |
| | | |||||
| * | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -1/+1 |
| | | |||||
* | | Some change to Entity.cpp | Tiger Wang | 2014-04-23 | 1 | -3/+0 |
|/ | | | | * Added comments to BroadcastMovementUpdate() and the collision tracer | ||||
* | Added cPlayer:SendRotation() API function. | madmaxoft | 2014-04-05 | 1 | -0/+6 |
| | |||||
* | Plugins can set flying speed. | madmaxoft | 2014-03-20 | 1 | -72/+88 |
| | |||||
* | Rewritten player speeds to be relative unit-less. | madmaxoft | 2014-03-20 | 1 | -5/+9 |
| | | | | Value of 1 means "default speed", 2 means "double the speed", 0.5 means "half the speed". This allows for easier plugins and is more future-proof. | ||||
* | Merge pull request #782 from mc-server/beds | Mattes D | 2014-03-16 | 1 | -3/+14 |
|\ | | | | | Beds now work properly, fixes #707 | ||||
| * | Beds now work properly fixes #707 | Tiger Wang | 2014-03-09 | 1 | -3/+14 |
| | | | | | | | | | | | | | | | | Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp | ||||
* | | CheckBlockInteractionsRate() fixed & enabled | Tiger Wang | 2014-03-09 | 1 | -10/+1 |
|/ | |||||
* | Links sent via chat messages are clickable. | madmaxoft | 2014-02-16 | 1 | -1/+2 |
| | | | | Fixes #658. | ||||
* | Fixed minor formatting issues from #682 | Tiger Wang | 2014-02-16 | 1 | -2/+0 |
| | | | | | - Removed unused PlaySoundEffect * Simplified and parenthesised code | ||||
* | Add Exp Bottle Effects | Howaner | 2014-02-16 | 1 | -0/+2 |
| | |||||
* | Implemented cCompositeChat. | madmaxoft | 2014-02-15 | 1 | -0/+1 |
| | | | | | This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | ||||
* | Merge remote-tracking branch 'origin/master' into playerimprovements | Tiger Wang | 2014-02-09 | 1 | -1/+0 |
|\ | | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp | ||||
| * | Removed deprecated HasCommand function | STRWarrior | 2014-02-05 | 1 | -1/+0 |
| | | |||||
* | | Improved chat messaging functions | Tiger Wang | 2014-02-07 | 1 | -7/+8 |
| | | | | | | | | | | | | | | * Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API. | ||||
* | | Added more chat functions | Tiger Wang | 2014-02-06 | 1 | -1/+0 |
| | | |||||
* | | Fixed annoying creative on fire bug | Tiger Wang | 2014-02-05 | 1 | -0/+3 |
| | | |||||
* | | Added more SendMessageXXX() functions | Tiger Wang | 2014-02-04 | 1 | -0/+4 |
| | | |||||
* | | Added SendMessageXXX() to cPlayer | Tiger Wang | 2014-02-03 | 1 | -0/+3 |
|/ | | | | | | As requested by @bearbin, one no longer needs to download a file that links to Core. The server does it! Hopefully this encourages standards compliance. | ||||
* | Implemented fall damage for mobs | Tiger Wang | 2014-01-25 | 1 | -1/+1 |
| | | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros | ||||
* | All mobs now drown (fixes #54) | Tiger Wang | 2014-01-25 | 1 | -22/+0 |
| | | | | | * Implemented mob drowning * Iron Golems and squids are excluded | ||||
* | Merge remote-tracking branch 'MikeHunsinger/master' | madmaxoft | 2014-01-24 | 1 | -1/+8 |
|\ | |||||
| * | Fixed spacing and doxycomments. | Mike Hunsinger | 2014-01-24 | 1 | -3/+3 |
| | | |||||
| * | Split TossItem into three Toss functions (Held, Equipped and Pickup) | Mike Hunsinger | 2014-01-23 | 1 | -1/+8 |
| | | |||||
* | | Scoreboard deserialization | andrew | 2014-01-20 | 1 | -2/+5 |
| | | |||||
* | | Basic scoreboard implementation | andrew | 2014-01-19 | 1 | -1/+10 |
|/ | |||||
* | Detaching improvements | Tiger Wang | 2014-01-13 | 1 | -0/+2 |
| | | | | | * Players now search for an area around themselves to teleport to when detaching from something | ||||
* | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2013-12-22 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:mc-server/MCServer | Tycho Bickerstaff | 2013-12-22 | 1 | -0/+3 |
|\ | |||||
| * | Floater now dissapears when the player doesn't have an fishing rod equipped. | STRWarrior | 2013-12-21 | 1 | -0/+3 |
| | | |||||
* | | Root is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -2/+2 |
|/ | |||||
* | Sorted a few constructors to remove warnings. | madmaxoft | 2013-12-20 | 1 | -3/+6 |
| | |||||
* | Implented IsFishing, SetIsFishing and GetFloaterID(). | STRWarrior | 2013-12-19 | 1 | -0/+10 |
| | |||||
* | Fixed cClientHandle::Tick() being called from two threads. | madmaxoft | 2013-12-16 | 1 | -2/+0 |
| | | | | | When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187. | ||||
* | Renamed ShootTo function to ForceSetSpeed. | STRWarrior | 2013-12-15 | 1 | -2/+2 |
| | |||||
* | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 2013-12-15 | 1 | -0/+3 |
| | |||||
* | Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() function | STRWarrior | 2013-12-15 | 1 | -1/+13 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -17/+26 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+447 |