Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2021-12-02 | 1 | -9/+6 |
| | | | | | * Transition to non-pointer item handler * That is my destructor - I decide when I leave this world * I declare your destruction private and you final | ||||
* | Added ExperienceAmount variable to HOOK_PLAYER_FISHING and HOOK_PLAYER_FISHED (#5345) | Feyo Korenhof | 2021-11-29 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | * Implemented cServer::ScheduleTask() and cServer::TickQueuedTasks() * Fixed formatting and added ScheduleTask to APIDesc * Added feyokorenhof to contributors * Added ExperienceAmount variable to all the hook calls. * Made ExperienceAmount int reference instead of int in HOOK_PLAYER_FISHING. Fixed bug: a_Reward is now a reference * Add documentation, change ItemFishingRod to pass in experience Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Add player statistics to API (#5193) | nshah25 | 2021-05-03 | 1 | -3/+3 |
| | | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Warnings improvements | Tiger Wang | 2020-12-18 | 1 | -2/+2 |
| | | | | | | | | | * Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler | ||||
* | Enchanting table shows detail on hover. Enchanting is deterministic. (#4937) | KingCol13 | 2020-10-01 | 1 | -3/+3 |
| | | | | | * Use lapis for enchanting, subtract correct number of levels, ClientHandle now selects from pregenerated list. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Add Statistics and Achievements for newer Network standards | 12xx12 | 2020-08-19 | 1 | -3/+3 |
| | |||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -1/+1 |
| | |||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -161/+209 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -4/+5 |
| | |||||
* | Removed extended ASCII, and added a check against it. (#4642) | Mattes D | 2020-04-12 | 1 | -2/+2 |
| | |||||
* | Fix typo in fish meta | Mat | 2020-03-22 | 1 | -1/+1 |
| | |||||
* | Don't enchant an already enchanted book | Mat | 2020-03-22 | 1 | -1/+1 |
| | |||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 1 | -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 | ||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -4/+4 |
| | |||||
* | Damage fishing rod when catching the hook on a block, then reeling it in (#4151) | Bond-009 | 2018-02-11 | 1 | -0/+8 |
| | | | Fixes #4132 | ||||
* | Improved fishing rewards (#4120) | Bond-009 | 2018-01-05 | 1 | -33/+49 |
| | | | | | | | * Damage fishing rod after use * Give xp to the player for catching something * Fixed junk drops * Implement Luck of the Sea | ||||
* | Item durability loss now depends on the item used. (#4123) | Alexander Harkness | 2018-01-05 | 1 | -12/+0 |
| | | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -37/+15 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -15/+37 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -37/+15 |
| | |||||
* | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -5/+4 |
| | |||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -1/+0 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -7/+9 |
| | |||||
* | Added missing checks for Initialize function and updated APIDoc | Lukas Pioch | 2017-05-08 | 1 | -1/+6 |
| | |||||
* | Changed fish launching mechanism (#3520) | Alex | 2017-02-20 | 1 | -2/+8 |
| | | | Fish and other fishing loot now correctly fly towards played when reeled in. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -9/+9 |
| | |||||
* | Placing a fluid from bucket calls plugin hooks. | Mattes D | 2015-04-14 | 1 | -2/+7 |
| | | | | Ref.: #1857. | ||||
* | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -7/+20 |
| | | | | | 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. | ||||
* | Fixed deadlock when moving players to other worlds. | Mattes D | 2014-06-08 | 1 | -1/+1 |
| | | | | Fixes #1039, fixes #851 | ||||
* | Cleaned up cPlayer::UpdateMovementStats; Wither achievements | andrew | 2014-05-20 | 1 | -0/+6 |
| | |||||
* | Fixed Clang warnings in itemhandlers. | madmaxoft | 2014-04-04 | 1 | -2/+2 |
| | |||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -2/+2 |
| | | | | May Fix #640 | ||||
* | Implented OnPlayerFishing and OnPlayerFished. | STRWarrior | 2013-12-30 | 1 | -1/+7 |
| | |||||
* | You are now able to sweep mobs to your position using fishing rods. | STRWarrior | 2013-12-25 | 1 | -26/+64 |
| | |||||
* | Made the lure enchantment work. | STRWarrior | 2013-12-22 | 1 | -1/+1 |
| | |||||
* | Countdown time is between 100 and 900 ticks. | STRWarrior | 2013-12-22 | 1 | -1/+1 |
| | |||||
* | Using regular assignments. | STRWarrior | 2013-12-21 | 1 | -6/+6 |
| | |||||
* | Once again better Y direction for the items given when fishing. | STRWarrior | 2013-12-21 | 1 | -2/+2 |
| | |||||
* | You are now able to get different items from fishing. | STRWarrior | 2013-12-21 | 1 | -2/+108 |
| | |||||
* | Fixed bug where you could pickup the floater only to get one spawned instantly or the other way around. | STRWarrior | 2013-12-21 | 1 | -0/+5 |
| | |||||
* | Increased the range an Floater can shoot to. | STRWarrior | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | Fish now actualy jumps to the player instead of a few block bellow them. | STRWarrior | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | You can get fish from fishing :D. Only one type of fish though. | STRWarrior | 2013-12-19 | 1 | -12/+27 |
| | |||||
* | Implented cItemFishingRodHandler. | STRWarrior | 2013-12-19 | 1 | -0/+63 |