summaryrefslogtreecommitdiffstats
path: root/src/Mobs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Monster.cpp: Fixed Formatting in AddRandomUncommonDropItemTheJumper2014-02-221-1/+1
|
* Changed killer detection by using cEntity methodsTheJumper2014-02-223-3/+3
|
* Added static Enchantment Constants, Replaced cryptic Looting IDTheJumper2014-02-2217-17/+17
|
* Fixed Mob Drops, Add Rare and Uncommon Drops, Looting inflicts DropsTheJumper2014-02-2123-37/+144
|
* Merge pull request #690 from tonibm19/masterAlexander Harkness2014-02-171-2/+2
|\ | | | | Now mobs can't escape from fences.
| * Improved formattingtonibm192014-02-171-2/+2
| |
| * Now mobs can't escape from fences.tonibm192014-02-161-2/+2
| |
* | Merge pull request #692 from mc-server/wolfcleanupAlexander Harkness2014-02-171-30/+15
|\ \ | | | | | | Wolf cleanup
| * | Fixes to previous commitTiger Wang2014-02-161-9/+10
| | |
| * | Slight cleanup of wolf codeTiger Wang2014-02-161-23/+7
| |/
* / Fixed TNT fizzing everywhereTiger Wang2014-02-151-1/+1
|/
* Simplified Attack() tracingTiger Wang2014-02-121-1/+6
|
* Fixed #627Tiger Wang2014-02-114-19/+10
| | | | | | | - Attack() is now called from cAggressive instead of cMonster * Monsters can no longer attack through walls * Should fix last remnants of player damage after teleporting (that both STR and bearbin contributed fixes to :P)
* Merge remote-tracking branch 'origin/master' into playerimprovementsTiger Wang2014-02-092-6/+6
|\ | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp
| * Merge pull request #646 from worktycho/warningfixesAlexander Harkness2014-02-052-6/+6
| |\ | | | | | | Fixed most of the reordering warnings
| | * Fixed most of the reordering warningsTycho2014-02-052-6/+6
| | |
* | | Merge branch 'master' into playerimprovementsTiger Wang2014-02-093-1/+14
|\| | | | | | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua
| * | Merge pull request #635 from tonibm19/masterMattes D2014-02-042-0/+13
| |\ \ | | |/ | |/| Exported Item:IsEnchantable and Monster:MoveToPosition to Lua API
| | * Blank lines and indentation.tonibm192014-02-041-0/+4
| | | | | | | | | | | | Also removed GetClosestPlayer documentation
| | * Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm192014-02-032-0/+9
| | |
| * | Increased Type safety of BiomesTycho2014-02-031-1/+1
| |/ | | | | | | | | Changed a number of funcictions from using integers to store biomes to using EMCSBiome Note that switching from an int to an Enum is a non-breaking chang to the lua bindings
* / Fixed a bunch of MSVS warningsTiger Wang2014-02-051-1/+1
|/ | | | | * Possibly also fixed some bugs with pathfinding and TNT, though unlikely
* Merge branch 'master' into GeneratingBenchmark2Tycho2014-02-022-1/+2
|\ | | | | | | | | Conflicts: src/Blocks/BlockTorch.h
| * Monster's nominal speed was increased.Kirill Kirilenko2014-02-011-1/+1
| |
| * Fixed teleport to air, if owner is flying.Kirill Kirilenko2014-02-011-0/+1
| |
* | Changed Signiture of OnUpdateTycho2014-02-021-1/+4
|/
* Did what xoft saidtonibm192014-01-294-5/+3
|
* Rewritten code.tonibm192014-01-2912-152/+25
| | | | | Implemented xoft suggestion. Using MoveToPosition as tigerw suggested.
* Fixed sheeptonibm192014-01-291-18/+17
|
* Fixed a copypasta error...tonibm192014-01-294-1/+5
|
* Now mobs follow you when holding their breed itemtonibm192014-01-2910-5/+153
|
* Renamed Farmer functions and added doxycommentsSTRWarrior2014-01-282-17/+20
|
* Villager: NoCountDown and Action function don't check VillagersShouldHarvestCrops anymore because it shoudn't even be activated anywhere.STRWarrior2014-01-281-10/+0
|
* Villager doesn't check the environment for crops if it doesn't need to.STRWarrior2014-01-271-0/+5
|
* The world can now be configured wether farmers should be able to harvest crops.STRWarrior2014-01-271-0/+10
|
* Villager: Few more comments.STRWarrior2014-01-272-4/+9
|
* CleanupSTRWarrior2014-01-272-31/+65
| | | | Most code in Tick is now split up in different functions.
* Villagers: Harvesting is more rare.STRWarrior2014-01-271-1/+1
|
* Villager: Farmers can't place crops on blocks other then farmland.STRWarrior2014-01-271-1/+7
|
* Fixed compiler error.STRWarrior2014-01-271-1/+1
|
* Villager: Farmer: Crops finding is more random.STRWarrior2014-01-271-18/+19
|
* Added GetCropsPos and DidFindCrops functions.STRWarrior2014-01-271-0/+6
|
* Villagers: Farmers now replant the crops.STRWarrior2014-01-272-1/+17
|
* Villagers: Fixed only gettings the crops block when farming.STRWarrior2014-01-271-2/+2
|
* Villagers don't look for new crops when they already found one.STRWarrior2014-01-271-11/+9
| | | | Slight cleanup.
* Villagers: Farmers can also harvest carrots and potatoes.STRWarrior2014-01-272-9/+38
|
* Makes farmers farm crops.STRWarrior2014-01-272-1/+76
|
* Merge pull request #590 from mc-server/Wolf_FixMattes D2014-01-261-7/+31
|\ | | | | Wolf: Small fix since the new AI and a new small feature.
| * Fixed bug where wolfs would teleport while they were sitting.STRWarrior2014-01-261-1/+4
| |
| * Small fix since the new AI and a new small feature.STRWarrior2014-01-261-6/+27
| | | | | | | | | | You get particles when trying to tame wolfs. They don't walk anymore when they are sitting.
* | Fixed segmentation fault on villager damageTiger Wang2014-01-261-1/+1
|/ | | | It occurred when attack was environmental.
* Merge pull request #588 from mc-server/Sheep_EatingMattes D2014-01-252-1/+41
|\ | | | | Implemented sheeps eating grass.
| * Implemented sheeps eating grass.STRWarrior2014-01-252-1/+41
| |
* | Merge pull request #587 from mc-server/mobimprovementsMattes D2014-01-2514-277/+482
|\ \ | |/ |/| Mob improvements & rudimentary artificial intelligence
| * Did what xoft recommendedTiger Wang2014-01-251-1/+5
| |
| * Implemented fall damage for mobsTiger Wang2014-01-252-6/+33
| | | | | | | | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros
| * Attack() is no longer always calledTiger Wang2014-01-251-1/+1
| |
| * Mob bugfixesTiger Wang2014-01-252-22/+39
| | | | | | | | | | | | | | | | | | | | * Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563
| * All mobs now drown (fixes #54)Tiger Wang2014-01-252-0/+7
| | | | | | | | | | * Implemented mob drowning * Iron Golems and squids are excluded
| * Fixed a generator bugTiger Wang2014-01-251-0/+3
| |
| * Zombies and skeletons use AITiger Wang2014-01-252-9/+15
| |
| * Miscellaneous improvementsTiger Wang2014-01-242-18/+13
| |
| * Changed a condition to IsGameModeTiger Wang2014-01-241-2/+1
| |
| * Made wolves compatible with new AI codeTiger Wang2014-01-242-11/+26
| |
| * Monsters no longer check for direct line of sightTiger Wang2014-01-241-10/+2
| |
| * Large reworking of mob code [SEE DESC]Tiger Wang2014-01-246-232/+324
| | | | | | | | | | | | | | + Implemented better pathfinding - Removed lots of unused variables, functions, etc. * Changed some variable types * Other miscellaneous fixes, and also completes the previous PRs
| * Implemented creeper abilitiesTiger Wang2014-01-242-2/+50
| | | | | | | | | | | | | | | | * 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.
* | Fixed a failure in cSquid.madmaxoft2014-01-241-1/+2
|/ | | | Probably due to rounding errors the squid was querying out-of-chunk coords.
* Removed obsoleted functionsTiger Wang2014-01-161-1/+1
|
* Merge branch 'fixes&features' of git://github.com/tonibm19/MCServermadmaxoft2013-12-251-0/+6
|\
| * Some fixes (SEE DESC)tonibm192013-12-231-0/+6
| | | | | | | | -Added missing mobs (wither, enderdragon and iron golem) to type to string list. -Wither and iron golem can now spawn
* | Preliminary mobile entity savingTiger Wang2013-12-251-1/+2
|/ | | | | | | * Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs
* Fixed bug where snowgolems could replace non-solid blocks to snow blocks.STRWarrior2013-12-221-1/+3
|
* Snow golems die in hot biomes and leave a snow trail.STRWarrior2013-12-222-0/+18
|
* EnderDragons and SnowGolems are able to spawn.STRWarrior2013-12-221-0/+2
|
* Merge branch 'master' into cmakeTycho Bickerstaff2013-12-215-17/+21
|\
| * Fixed the rest of constructor reorders.madmaxoft2013-12-201-2/+2
| |
| * Sorted a few constructors to remove warnings.madmaxoft2013-12-205-17/+21
| |
* | Merge branch 'master' into cmakeTycho Bickerstaff2013-12-201-1/+1
|\|
| * Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-1/+1
| |
* | moved mobs to globsTycho Bickerstaff2013-12-111-1/+5
| |
* | Merge branch 'master' into cmakeTycho Bickerstaff2013-12-111-0/+6
|\|
| * Fixed not getting XP from mobs.STRWarrior2013-12-141-0/+6
| |
* | more cmakeTycho Bickerstaff2013-12-101-0/+7
|/
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-261-0/+55
| | | | | Conflicts: VC2008/MCServer.vcproj
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-2/+2
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-2465-0/+3488