1
0
Fork 0
cuberite-2a/src/Mobs
changyong guo 57690b81a2 Experience orb (#4259)
* Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer
* Implement experience reward splitting into the orb sizes used in vanilla
* Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player

Fixes #4216
2018-08-02 15:59:10 +01:00
..
AggressiveMonster.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
AggressiveMonster.h Spectators added (#2852) 2016-10-12 14:38:45 +02:00
Bat.cpp Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
Bat.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Blaze.cpp Changed entity ownership model to use smart pointers 2017-08-07 19:24:16 +01:00
Blaze.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CMakeLists.txt Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
CaveSpider.cpp Updated sounds and effect IDs (#3422) 2017-02-15 06:05:24 +01:00
CaveSpider.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Chicken.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Chicken.h Ocelots don't take fall damage (#4171) 2018-02-04 20:53:35 +00:00
Cow.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Cow.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Creeper.cpp Prefer static_cast to reinterpret_cast (#4223) 2018-05-02 08:50:36 +01:00
Creeper.h 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) 2016-05-14 20:12:42 +01:00
EnderDragon.cpp Updated sounds and effect IDs (#3422) 2017-02-15 06:05:24 +01:00
EnderDragon.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Enderman.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Enderman.h Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01:00
Ghast.cpp Changed entity ownership model to use smart pointers 2017-08-07 19:24:16 +01:00
Ghast.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Giant.cpp Updated sounds and effect IDs (#3422) 2017-02-15 06:05:24 +01:00
Giant.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Guardian.cpp Gives all entities the default airlevel on creation (#3942) 2017-08-25 14:44:36 +01:00
Guardian.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Horse.cpp cWorld: Manually bind deprecated broadcast functions (#4265) 2018-07-27 00:12:41 +01:00
Horse.h Implement horse inventory (#4053) 2017-10-21 17:56:09 +01:00
IncludeAllMonsters.h Added Rabbits 2014-12-20 10:31:34 +01:00
IronGolem.cpp Updated sounds and effect IDs (#3422) 2017-02-15 06:05:24 +01:00
IronGolem.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MagmaCube.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
MagmaCube.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Monster.cpp Experience orb (#4259) 2018-08-02 15:59:10 +01:00
Monster.h New movement system for leashed entities (#4147) 2018-01-17 21:40:58 +00:00
MonsterTypes.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Mooshroom.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Mooshroom.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Ocelot.cpp Experience orb (#4259) 2018-08-02 15:59:10 +01:00
Ocelot.h Ocelots no longer multiply exponentially (#4272) 2018-07-30 12:49:46 +01:00
PassiveAggressiveMonster.cpp Spectators added (#2852) 2016-10-12 14:38:45 +02:00
PassiveAggressiveMonster.h Spectators added (#2852) 2016-10-12 14:38:45 +02:00
PassiveMonster.cpp Experience orb (#4259) 2018-08-02 15:59:10 +01:00
PassiveMonster.h Proper entity destruction in non-ticking chunks 2016-02-19 07:05:22 +02:00
Path.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Path.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
PathFinder.cpp Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
PathFinder.h Correct typo in documentation. 2016-02-05 16:45:55 +00:00
Pig.cpp Fixed some small passive mob issues (#4057) 2017-10-21 17:55:46 +01:00
Pig.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Rabbit.cpp Fixed some small passive mob issues (#4057) 2017-10-21 17:55:46 +01:00
Rabbit.h Fixed type-casting-related warnings. 2016-08-24 22:26:53 +02:00
Sheep.cpp cWorld: Manually bind deprecated broadcast functions (#4265) 2018-07-27 00:12:41 +01:00
Sheep.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00
Silverfish.h Fixed some small passive mob issues (#4057) 2017-10-21 17:55:46 +01:00
Skeleton.cpp Changed entity ownership model to use smart pointers 2017-08-07 19:24:16 +01:00
Skeleton.h fix cavespider poisoning even if attack is in cooldown 2015-11-08 21:01:02 +01:00
Slime.cpp Changed entity ownership model to use smart pointers 2017-08-07 19:24:16 +01:00
Slime.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
SnowGolem.cpp Updated sounds and effect IDs (#3422) 2017-02-15 06:05:24 +01:00
SnowGolem.h snow golems are "neutral" 2015-12-13 13:13:37 +01:00
Spider.cpp Spider should attack only when the light level is lower than 11 (#3815) 2017-06-30 10:48:06 +02:00
Spider.h Spectators added (#2852) 2016-10-12 14:38:45 +02:00
Squid.cpp Rename cEntity swim states (#3996) 2018-01-14 18:44:45 +00:00
Squid.h SetSwimState now takes into account head height 2017-09-01 14:50:02 +01:00
Villager.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Villager.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Witch.cpp FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
Witch.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Wither.cpp Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
Wither.h Changed entity ownership model to use smart pointers 2017-08-07 19:24:16 +01:00
Wolf.cpp Experience orb (#4259) 2018-08-02 15:59:10 +01:00
Wolf.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
Zombie.cpp Updated sounds and effect IDs (#3422) 2017-02-15 06:05:24 +01:00
Zombie.h AI - Better daylight handling 2015-05-02 14:32:33 +03:00
ZombiePigman.cpp Fixed cactus detection and zombie pigman sword (#3584) 2017-02-25 19:14:08 +01:00
ZombiePigman.h Fixed cactus detection and zombie pigman sword (#3584) 2017-02-25 19:14:08 +01:00