summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemLighter.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-28Lighters: don't activate TNT when crouchedTiger Wang1-36/+27
* Fixes #5247
2020-10-08Merged OnBreak with OnPlayerBreak (#4967)12xx121-1/+1
Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2020-08-04OnBroken/OnPlaced are for entity actionsTiger Wang1-2/+2
* Call OnPlaced/OnBroken in PlaceBlock/DigBlock - Remove unused Placing/Breaking handlers * Have the blockhandler's Check handle neighbour updating, instead of QueueTickBlockNeighbors
2020-04-21Vector3 in Handlers (#4680)Mattes D1-14/+23
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-03-22TNT position fixes (#4519)Mat1-1/+0
* TNT position fixes * Don't add offset to explosion spawn coords * Don't make other entities push TNT * Correct initial TNT speed * Fix typo * Improvements * Revert unwanted change * Style fixes * Update format
2018-01-05Item durability loss now depends on the item used. (#4123)Alexander Harkness1-4/+0
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-2/+2
* 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-07Changed some int parameters to vector parameters (#3937)Bond-0091-1/+1
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-1/+0
2017-02-15Updated sounds and effect IDs (#3422)mathiascode1-2/+2
2016-02-05Bulk clearing of whitespaceLogicParrot1-1/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-2/+2
2015-05-09More style checking.Mattes D1-1/+1
Spaces around some operators are checked.
2015-04-14Placing a fluid from bucket calls plugin hooks.Mattes D1-1/+6
Ref.: #1857.
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner1-3/+3
2014-03-14Add fireball interactHowaner1-1/+21
2014-03-08Change TNT Fuse to ticksHowaner1-2/+2
2014-03-05Added extra awesomeness to TNTTiger Wang1-1/+1
+ TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug
2014-02-15Fixed TNT fizzing everywhereTiger Wang1-1/+1
2014-02-04Improved Type safety of eBlockFaceTycho1-1/+1
May Fix #640
2014-01-24Fixed flint&steel failure on the Y world edges.madmaxoft1-0/+4
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-08-23Fixed lighters replacing blocksTiger Wang1-3/+6
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-2/+2
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-56/+56
2013-06-18More TNT fixes.madmaxoft@gmail.com1-2/+1
Chain-reaction TNTs are spawned in proper coordinates (FS #390) Centralized Primed TNT entity spawning and made available to the plugins. Internal changes for better TNT performance. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1604 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-18TNT fixes.madmaxoft@gmail.com1-3/+20
Other blocks can be placed next to TNT. Explosions activate nearby TNT blocks. TNT doesn't destroy bedrock, obsidian and liquid blocks. Server doesn't crash when a TNT (or other entity) leaves the valid Y range. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1603 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-8/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.madmaxoft@gmail.com1-5/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+27
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6