summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemFishingRod.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-03-22Fix typo in fish metaMat1-1/+1
2020-03-22Don't enchant an already enchanted bookMat1-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
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-4/+4
2018-02-11Damage fishing rod when catching the hook on a block, then reeling it in (#4151)Bond-0091-0/+8
Fixes #4132
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 Harkness1-12/+0
Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-37/+15
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-15/+37
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-37/+15
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-5/+4
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-1/+0
2017-06-13FastRandom rewrite (#3754)peterbell101-7/+9
2017-05-08Added missing checks for Initialize function and updated APIDocLukas Pioch1-1/+6
2017-02-20Changed fish launching mechanism (#3520)Alex1-2/+8
Fish and other fishing loot now correctly fly towards played when reeled in.
2016-02-05Bulk clearing of whitespaceLogicParrot1-1/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-9/+9
2015-04-14Placing a fluid from bucket calls plugin hooks.Mattes D1-2/+7
Ref.: #1857.
2014-07-17Fixed tabs used for alignment.madmaxoft1-1/+1
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-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.
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D1-1/+1
Fixes #1039, fixes #851
2014-05-20Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew1-0/+6
2014-04-04Fixed Clang warnings in itemhandlers.madmaxoft1-2/+2
2014-02-04Improved Type safety of eBlockFaceTycho1-2/+2
May Fix #640
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-22Made the lure enchantment work.STRWarrior1-1/+1
2013-12-22Countdown time is between 100 and 900 ticks.STRWarrior1-1/+1
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-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.STRWarrior1-0/+63