summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemFishingRod.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stabilise MoveToWorld (#4004)Mat2020-03-051-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 D2019-09-291-4/+4
|
* Damage fishing rod when catching the hook on a block, then reeling it in (#4151)Bond-0092018-02-111-0/+8
| | | Fixes #4132
* Improved fishing rewards (#4120)Bond-0092018-01-051-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 Harkness2018-01-051-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)peterbell102017-09-111-37/+15
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-15/+37
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-37/+15
|
* Changed entity ownership model to use smart pointersTiger Wang2017-08-071-5/+4
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* FastRandom rewrite (#3754)peterbell102017-06-131-7/+9
|
* Added missing checks for Initialize function and updated APIDocLukas Pioch2017-05-081-1/+6
|
* Changed fish launching mechanism (#3520)Alex2017-02-201-2/+8
| | | Fish and other fishing loot now correctly fly towards played when reeled in.
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-9/+9
|
* Placing a fluid from bucket calls plugin hooks.Mattes D2015-04-141-2/+7
| | | | Ref.: #1857.
* Fixed tabs used for alignment.madmaxoft2014-07-171-1/+1
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Normalized comments.madmaxoft2014-07-171-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 D2014-06-081-1/+1
| | | | Fixes #1039, fixes #851
* Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew2014-05-201-0/+6
|
* Fixed Clang warnings in itemhandlers.madmaxoft2014-04-041-2/+2
|
* Improved Type safety of eBlockFaceTycho2014-02-041-2/+2
| | | | May Fix #640
* Implented OnPlayerFishing and OnPlayerFished.STRWarrior2013-12-301-1/+7
|
* You are now able to sweep mobs to your position using fishing rods.STRWarrior2013-12-251-26/+64
|
* Made the lure enchantment work.STRWarrior2013-12-221-1/+1
|
* Countdown time is between 100 and 900 ticks.STRWarrior2013-12-221-1/+1
|
* Using regular assignments.STRWarrior2013-12-211-6/+6
|
* Once again better Y direction for the items given when fishing.STRWarrior2013-12-211-2/+2
|
* You are now able to get different items from fishing.STRWarrior2013-12-211-2/+108
|
* Fixed bug where you could pickup the floater only to get one spawned instantly or the other way around.STRWarrior2013-12-211-0/+5
|
* Increased the range an Floater can shoot to.STRWarrior2013-12-201-1/+1
|
* Fish now actualy jumps to the player instead of a few block bellow them.STRWarrior2013-12-201-1/+1
|
* You can get fish from fishing :D. Only one type of fish though.STRWarrior2013-12-191-12/+27
|
* Implented cItemFishingRodHandler.STRWarrior2013-12-191-0/+63