summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Creeper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prefer static_cast to reinterpret_cast (#4223)peterbell102018-05-021-1/+1
| | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
* Item durability loss now depends on the item used. (#4123)Alexander Harkness2018-01-051-1/+0
| | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
* Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2017-09-191-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
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-10/+5
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-5/+10
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-10/+5
|
* Fully implemented leashes (#3798)Pablo Beltrán2017-08-211-0/+2
|
* Creepers explode when burned by flint and steel (#3865)Bond-0092017-07-221-1/+1
| | | Fixed an issue where creepers didn't explode when they were burned with flint and steel
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-3/+3
|
* Entities now bail out of ticks if destroyed (#3363)LogicParrot2016-09-031-0/+5
|
* cMonster::m_Target safety across worldsLogicParrot2016-02-031-1/+1
|
* Fixed creeper calling TargetIsInRange with null m_TargetLogicParrot2016-01-121-2/+2
|
* stop creepers from exploding even if they just diedGargaj2015-12-081-1/+1
|
* fix cavespider poisoning even if attack is in cooldownGargaj2015-11-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make attack function more responsive fix cavespider poisoning even if attack is in cooldown make attack function more responsive Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack code style fix cavespider poisoning even if attack is in cooldown make attack function more responsive fix cavespider poisoning even if attack is in cooldown make attack function more responsive Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack code style Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack Merge branch 'master' into cavespider-attack Merge branch 'master' into cavespider-attack fix cavespider poisoning even if attack is in cooldown make attack function more responsive fix cavespider poisoning even if attack is in cooldown make attack function more responsive Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack code style fix cavespider poisoning even if attack is in cooldown make attack function more responsive fix cavespider poisoning even if attack is in cooldown make attack function more responsive Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack code style Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack Merge branch 'master' into cavespider-attack Merge branch 'master' into cavespider-attack Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack
* Only send creeper updates when there is a changeGargaj2015-11-071-3/+6
| | | Otherwise this keeps spamming the metadata packet for all the creepers on the server.
* Fixed creeper explosionsSafwatHalaby2015-05-301-1/+1
|
* Made -Weverything an error.tycho2015-05-241-2/+2
|
* Make -Werror disabling file onlytycho2015-05-191-1/+1
| | | | Ad fix a load of warnings
* Creeper: Fixed skeleton check.Mattes D2015-03-211-11/+10
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-2/+2
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-2/+2
|
* More trailing whitespace fixes.madmaxoft2014-07-171-1/+1
|
* Normalized comments.madmaxoft2014-07-171-1/+1
| | | | | 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.
* Changed BroadcastSoundEffect function to take floating pos.Howaner2014-07-131-2/+2
|
* Changed everything to callbacksTiger Wang2014-07-051-2/+20
|
* Exploded creepers drop nothing, part of #1058Tiger Wang2014-06-041-2/+8
|
* Add entity invulnerableHowaner2014-04-261-2/+6
|
* Creeper fixestonibm192014-03-021-9/+32
| | | | | - Fixed explosion time (1.5s, according to minecraftwiki) - Creeper explodes if right clicked with flint and steel
* Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-1/+6
|
* Fixed TNT fizzing everywhereTiger Wang2014-02-151-1/+1
|
* Did what xoft recommendedTiger Wang2014-01-251-1/+5
|
* Implemented creeper abilitiesTiger Wang2014-01-241-2/+47
| | | | | | | | * Creepers now explode with a sound effect * Creepers drop a music disc on the unlikely event of being killed by a skeleton's arrow Inspired by @maniak89's PR #132.
* Moved source to srcAlexander Harkness2013-11-241-0/+47