summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemBow.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-12-02ItemHandler initialisation is a constant expression (#5344)x12xx12x1-7/+4
* 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
2020-08-01Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D1-1/+1
2020-04-21Vector3 in Handlers (#4680)Mattes D1-5/+11
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-04-16Using Super.Mattes D1-4/+5
2018-01-05Item durability loss now depends on the item used. (#4123)Alexander Harkness1-13/+1
Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly1-3/+1
* 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-08-24Fix use after move in cItemBowHandler::OnItemShootpeterbell101-4/+3
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-8/+3
2017-02-15Updated sounds and effect IDs (#3422)mathiascode1-1/+1
2016-02-05Bulk clearing of whitespaceLogicParrot1-7/+7
2015-05-24Made -Weverything an error.tycho1-2/+9
2015-04-14Placing a fluid from bucket calls plugin hooks.Mattes D1-1/+6
Ref.: #1857.
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-4/+4
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-4/+4
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-04Changed arrow comment.Howaner1-1/+1
2014-08-04Added arrow consuming on shootingHowaner1-0/+10
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner1-1/+1
2014-07-09Fixed bow chargeTiger Wang1-11/+2
2014-06-19Nullify deleted pointers.archshift1-0/+1
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 D1-1/+1
Fixes #1039, fixes #851
2014-04-28Fixed projectile source filenames, indentationsarchshift1-1/+1
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift1-1/+1
2014-02-04Improved Type safety of eBlockFaceTycho1-2/+2
May Fix #640
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-13Fixed compiler warning.madmaxoft1-1/+1
2013-11-12Bundled fixes [SEE DESC]Tiger Wang1-1/+1
* BoundingBox now returns FACE_NONE + Arrows can be picked up * Arrows dug up resume physics simulations * Added sound effects for bows, lava to stone, and arrows * Fixed SoundParticleEffect on <1.7 protocols
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-0/+2
* Fixed pickups spawning in an incorrect position from a JukeBox * Pickups make a popping sound in Prtcl1.7 * Arrows make a *what sort of sound does an arrow make anyway‽* when hitting a block, and a popping sound when fired * Mobs again have metadata * Fixed Prtcl1.7 not using valid JSON to kick a client * Minecarts and arrows again have metadata
2013-11-02Fixed bow damage in creativeTiger Wang1-1/+5
Also reverted indenting change
2013-11-02Multiple fixesTiger Wang1-0/+1
* Fixed #282 * Fixed bow not taking damage * Enhanced Player.cpp code
2013-08-30Shooting a bow kinda works.madmaxoft1-0/+80
The arrow is released, but sometimes hits wrong blocks or disappears completely.