Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
6 days | Move monster speed to monsters.ini (#4500) | Angus | 3 | -4/+18 | |
* Add walking and running speed to monsters.ini * Add entry to CONTRIBUTORS * Add SetRelativeRunSpeed to APIDesc.lua * Fix typo * Remove unnecessary cast Co-Authored-By: peterbell10 <peterbell10@live.co.uk> * Use relative walk speed as a modifier to base walk and run speeds * Rename Default to Base in Walk/Run Speeds * Update docs. --------- Co-authored-by: peterbell10 <peterbell10@live.co.uk> Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2023-09-27 | Update Minecraft Wiki links to new domain (#5532) | Spongecade | 1 | -1/+1 | |
* Update Minecraft Wiki links to new domain * Added Spongecade to contributors * Sorted Spongecade | |||||
2023-09-26 | adding endermite (#5460) | Debucquoy Anthony tonitch | 8 | -7/+166 | |
* First Draft of adding endermite * Update src/Mobs/Endermite.h Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> * Adding Protocols + SpawnEgg TODO: don't forget to put the endermite in core plugin for the summon command * Adding endermite to monster.ini * Adding 5% change of spawning endermite when throwing enderpearl * Spawn endermite at last position instead of Hit Position + .cache to .gitignore * fixup! Spawn endermite at last position instead of Hit Position + .cache to .gitignore * destroy endermite if 2 min, not if name is set * Syntax * Adding Enderman targeting endermite + fixing syntax * Fixing compile error + return error [but crash on enderman spawn] * Fix crash but enderman doesn't target * Enderman targeting endermite finished * checking style because i'm a noob at git... * fixup! checking style because i'm a noob at git... * Added endermite egg meta to docs * Final touches Removed unnecesary imports fixed callback to run only in sight distance and actually check sigtlines * Fixed error after not pulling branch --------- Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com> | |||||
2023-05-16 | Removed all Printf-family functions from StringUtils. | Mattes D | 2 | -4/+4 | |
Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code. | |||||
2022-05-07 | Implement ranged attack for snow golems. Fix failed assertion (#5417) | DarkoGNU | 2 | -0/+38 | |
* Implement ranged attack for snow golemas. Fix failed assertion when stopping the server * Decrease snowball speed * Adjust accuracy for snow golems * Use a getter instead of m_World | |||||
2022-04-20 | handled the infinite loop and style | x12xx12x | 1 | -1/+1 | |
2022-04-20 | Valid Height is now checked by vector. | x12xx12x | 2 | -36/+40 | |
2022-01-14 | syntax | Tiger Wang | 5 | -6/+6 | |
2022-01-14 | eblockface | Tiger Wang | 1 | -1/+1 | |
2022-01-14 | Fixed Compiler Warnings | x12xx12x | 5 | -7/+7 | |
2021-12-29 | Add skeleton bow pulling animation (#5355) | Persson-dev | 2 | -1/+44 | |
* Added basic skeleton bow animation * Fixing style | |||||
2021-12-29 | Improved farmer AI & Fixed entity loading functions (#5351) | Persson-dev | 2 | -82/+292 | |
* Allow villagers to pickup items * Add farmer villager harvesting * Use of auto keyword * Using for loop to check adjacent crops * Show particules when farmer harvest * Fix area comment * Move constants to header file * Removing unnecessary semicolon * Initialization of CropBlockType variable * Apply 12xx12 suggestion * Fixing area constant size * Refactor bounding box calculation, use vectors. * Add Api documentation * Update lua docs * Rework farmer ai * Fixing lua docs notes * Add missing capitalisation * Add villagers inventory save * Fixing loading entities from disk inconsistencies * Add farmer harvest animation * Fix beetroots grow state Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2021-12-18 | Apply tigerw's suggestion. | KingCol13 | 1 | -9/+8 | |
2021-12-18 | Add delay to new slime spawns after slime death. | Kingsley Collie | 1 | -4/+13 | |
2021-12-02 | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2 | -2/+2 | |
* 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 | |||||
2021-10-02 | Blaze shoot sound fix | Rorkh | 1 | -1/+1 | |
2021-10-02 | Only nether-native mobs can see through lava | Rorkh | 12 | -77/+75 | |
2021-10-02 | Snipe skeleton achievment | Rorkh | 2 | -8/+0 | |
2021-09-30 | Spectation: add dedicated pathway for spectator mode (#5303) | Tiger Wang | 2 | -4/+4 | |
* Spectation: add dedicated pathway for spectator mode + Sync player rotation with spectated entity. + Add dedicated infrastructure to cPlayer for handling spectation, instead of misusing entity riding. * Avoid infinite recursion when exiting spectation, fixes #5296 * AttachTo: Change parameter to reference | |||||
2021-06-19 | Death messages for tamed pets and ocelots are now tamable. (#5243) | TheHyper45 | 3 | -0/+11 | |
* Fixing bugs regarding wolfs and ocelots * Death messages appear after killing tamed ocelots and wolfs * Style fix * Added myself to the CONTRIBUTORS file * Removed redundant string initialization * Removed an unsafe cast. * Changed the order of initialization of fields in constuctor of class cOcelot | |||||
2021-06-15 | Migrate off CircleCI to Jenkins (#5230) | Alexander Harkness | 2 | -2/+2 | |
* Add Jenkinsfile * cd src * Escape wildcards * Refactor stages * Remove CircleCI junk * Make clang-tidy do something * updated regex to include only the files in the base src directory * fixed errors displayed by new clang tidy version * adjust clang core count to actual count * Update README with new Jenkins build Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> | |||||
2021-05-03 | Add player statistics to API (#5193) | nshah25 | 2 | -3/+3 | |
* Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2021-04-30 | Chest, weather, crash, and miscellaneous fixes (#5215) | Tiger Wang | 1 | -1/+1 | |
* Alpha-sort cChestEntity * Chests: use SendUpdateBlockEntity * Pathfinder: fix out of range Y * 1.13: correct weather packet ID * Chests: fix neighbour scanner + Add OnAddToWorld and overload to scan neighbours there, instead of in the constructor/OnUse. This fixes hoppers accessing newly loaded double chests and seeing a null m_Neighbour, thus thinking its a single chest. * Fix typo in cross coords computation. * Simplify hopper logic. * Block entities: ASSERT that type is correct If you match the block type first before calling DoWithBlockEntity, the corresponding block entity must either be empty or correspond to the block type. * Chunk: fix some forgotten PendingSendBE cleanup + Add cleanup in SetAllData, WriteBlockArea - Remove RemoveBlockEntity (used once), HasBlockEntity (not used) * Replace MakeIndex with MakeIndexNoCheck * Remove extraneous MarkDirty in hopper & chests | |||||
2021-04-12 | Unify multiprotocol entity animations | Tiger Wang | 5 | -11/+7 | |
2021-04-12 | Update entity sizes | Tiger Wang | 43 | -55/+67 | |
2021-04-12 | Fix sending incorrect date values on world change | Tiger Wang | 3 | -24/+15 | |
Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | |||||
2021-03-28 | Unify DoWithBlockEntity (#5168) | Tiger Wang | 2 | -0/+2 | |
+ DoWith calls now broadcast the block entity and mark the chunk dirty + Add block entity change queue to synchronise BE updates with block updates * Fixed a few incorrect assertions about BE type - Remove manual overloads | |||||
2021-03-15 | Properly deprecate more XYZ parameter'd functions (#5147) | Tiger Wang | 3 | -17/+17 | |
* Fixes #5144 | |||||
2021-03-07 | Some emplace_back replacements (#5149) | 12xx12 | 5 | -5/+5 | |
* replace push_back with emplace_back when a new object was created in the function call | |||||
2021-03-05 | Adding Boss bar (#5025) | 12xx12 | 4 | -43/+78 | |
+ Add boss bar Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2021-01-12 | Clarify cClientHandle, cPlayer ownership semantics | Tiger Wang | 2 | -16/+0 | |
+ A cPlayer, once created, has a strong pointer to the cClientHandle. The player ticks the clienthandle. If he finds the handle destroyed, he destroys himself in turn. Nothing else can kill the player. * The client handle has a pointer to the player. Once a player is created, the client handle never outlasts the player, nor does it manage the player's lifetime. The pointer is always safe to use after FinishAuthenticate, which is also the point where cProtocol is put into the Game state that allows player manipulation. + Entities are once again never lost by constructing a chunk when they try to move into one that doesn't exist. * Fixed a forgotten Super invocation in cPlayer::OnRemoveFromWorld. * Fix SaveToDisk usage in destructor by only saving things cPlayer owns, instead of accessing cWorld. | |||||
2021-01-11 | Convert most calls to blocking GetHeight/GetBiomeAt to direct chunk accesses | Tiger Wang | 3 | -15/+25 | |
* Hopefully fixes #5094 | |||||
2021-01-02 | Fix potential destruction crashes (#5095) | Tiger Wang | 6 | -72/+27 | |
* Fix potential destruction crashes * Fix destructors accessing destroyted objects * Fix cPlayer not destroying windows (Destroyed never called) * Tentatively fixes #4608, fixes #3236, fixes #3262 - Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld() * Add missing call to OnRemoveFromWorld | |||||
2020-12-26 | Silverfish: correct search cube | Tiger Wang | 1 | -1/+1 | |
2020-12-21 | Improve Enderman targeting | Tiger Wang | 2 | -15/+17 | |
* Fix look angle checks * Do LOS trace from eye-height | |||||
2020-12-21 | Monsters: improve targeting | Tiger Wang | 8 | -63/+92 | |
* Replace DoWithNearestPlayer with bounding box search (avoid iterating through all players in world). * Do line-of-sight checks from eye-to-eye. + Added LOS and LOS lost timer to target lost checks, in addition to distance. | |||||
2020-12-21 | Improve Silverfish search | Tiger Wang | 2 | -33/+71 | |
* Start from the inside out, don't always look at the entire search space by bailing out randomly | |||||
2020-12-20 | Enable LOS checks for Hostile Mobs. | the1robert | 1 | -1/+1 | |
2020-12-18 | Horsies: don't always broadcast metadata | Tiger Wang | 1 | -1/+10 | |
2020-11-23 | Adding new monster types to enum and saving/loading for easier future implementation (#4941) | 12xx12 | 2 | -34/+109 | |
* added new monster types to enum added string <-> enum conversion in namespace serializer added loading functions added to saving * renamed zombie pigman to zombified piglins in enum Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-10-11 | Adding Silverfish Spawning Blocks (#4946) | 12xx12 | 3 | -1/+63 | |
* added breaking, spawning, animation * checkstyle * added undocumented API symbols * added changes suggested by @peterbell10 * added natural ore like generation * fixed spawning two silverfishes * fixed clang * fixed clang try 2 * updated comment unified offset * final clang fix * added spawning for more silverfishes if one was damaged * fixed spawning on one hit kill * fixed spawning on one hit kill fixed spawning by potion damage * fixed clang * fixed broken build * fixed broken build * I should read the error message properly fixed build now? * added small changes suggested by @peterbell10 Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-10-09 | Adding wolf breading and moving breeding functionality to cMonster (#4951) | 12xx12 | 8 | -232/+337 | |
* added wolf breading * mpoved breeding to monster * checkstyle * fixed my IDE "helping" * removed magic number and fixed faster aging * added flooring to age manipulation * fixed copiler error * fixed typo * moved tps to Defines.h * removed the TPS constant from the lua API exposure * added inline constexpr added explanation * fixed broken build * "fixed" build Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-09-25 | Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) | KingCol13 | 1 | -0/+2 | |
* Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h. | |||||
2020-09-17 | Fixed snow golems and added documentation to damage type and added damage type for damage from environment to mobs (#4877) | 12xx12 | 2 | -3/+3 | |
* made snow golems not crashing the server anymore * changed damage type to environment * updated damage in API dopcumentation and changed enderman damage type * removed incidental d in the code Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-09-05 | Add more statistic tracking (#4837) | 12xx12 | 2 | -0/+16 | |
+ Added possible 1.8 stats + Added stat tracking for 1.8.2 + Added stat tracking for 1.9 + Added the breed cow achievement Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-08-19 | Add Statistics and Achievements for newer Network standards | 12xx12 | 1 | -1/+1 | |
2020-08-01 | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 5 | -37/+37 | |
2020-07-19 | Precompile unordered_map/set | Tiger Wang | 1 | -1/+0 | |
+ Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | |||||
2020-07-06 | Reduced packet spam when entities idle | Tiger Wang | 1 | -1/+9 | |
* Try not to send look packets when nothing's changed. | |||||
2020-05-16 | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 1 | -9/+5 | |
* Make our CMake slightly less insane | |||||
2020-05-15 | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 6 | -22/+11 | |
* Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | |||||
2020-05-09 | Update submodules (#4727) | peterbell10 | 1 | -1/+1 | |
Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version. | |||||
2020-04-16 | Using Super. | Mattes D | 73 | -199/+261 | |
2020-04-16 | Prevent crash when breeding | Mat | 1 | -2/+0 | |
2020-04-10 | Fix compilation, for real this time. | Alexander Harkness | 1 | -1/+1 | |
I should go to sleep now... | |||||
2020-04-10 | Oops, remember to save your files! | Alexander Harkness | 1 | -36/+1 | |
2020-04-10 | Add Zombie Villagers | Bond-009 | 10 | -28/+207 | |
2020-04-09 | Wolves and mooshrooms are passive mobs | Mat | 1 | -2/+2 | |
2020-04-04 | Implement wither skeletons (#4563) | Mat | 8 | -114/+191 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 5 | -37/+36 | |
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | |||||
2020-04-02 | Replace buckets to the selected hotbar slot, rather than the first available. (#4580) | Alexander Harkness | 2 | -6/+6 | |
* Replace buckets to the selected hotbar slot, rather than the first available. Replicates vanilla behaviour, as well as being more logical. * Refactor cInventory::AddItem. Behaviour is now documented * Add new cInventory::ReplaceOneEquippedItem and ::SetEquippedItem methods * Return empty potion to the same slot after drinking * Replace buckets correctly in other situations, not simply water and lava Uses the new ReplaceOneEquippedItem method * Correct collecting water from source block with bottle * Add cPlayer::ReplaceOneEquippedItemTossRest method * Handle stacked filled buckets (in theory) Use new cPlayer::ReplaceOneEquippedItemTossRest method | |||||
2020-04-02 | Tweak attack ranges | mathiascode | 1 | -5/+5 | |
2020-03-27 | Fix typo in block break particle coordinate (#4555) | Mat | 1 | -1/+1 | |
* Use Vector3d for block break particle * Fix typo | |||||
2020-03-26 | Decrease attack cooldown for monsters (#4542) | Mat | 1 | -1/+1 | |
* Decrease attack cooldown for monsters * Nerf some mobs * Decimal points | |||||
2020-03-26 | Improvements to blaze and ghast (#4547) | Mat | 5 | -25/+140 | |
2020-03-22 | Add ambient mob sounds (#4521) | Mat | 39 | -41/+62 | |
2020-03-22 | Don't remove items twice (#4524) | Mat | 2 | -3/+3 | |
* Don't remove items twice | |||||
2020-03-22 | Allow enderman to attack during day (#4522) | Mat | 1 | -36/+1 | |
2020-03-19 | Improvements to knockback (#4504) | Mat | 1 | -1/+3 | |
* Improvements to knockback * SetSpeed for explosions * Improve code consistency | |||||
2020-03-05 | Stabilise MoveToWorld (#4004) | Mat | 2 | -5/+21 | |
* Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld | |||||
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -5/+1 | |
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 3 | -3/+3 | |
2019-09-27 | Fixed MSVC warnings (#4400) | Mattes D | 1 | -1/+1 | |
2018-09-24 | Add BurnsInDaylight to Lua API and Monsters.ini (#4295) | Muhammad Kaisar Arkhan | 3 | -4/+2 | |
* Monster.h: Export SetBurnsInDaylight This commit also adds BurnsInDaylight to check if the Monster burns in daylight or not. Closes https://github.com/cuberite/cuberite/issues/4294 * MonsterConfig.cpp: Add BurnsInDaylight Closes https://github.com/cuberite/cuberite/issues/4294 | |||||
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 11 | -14/+11 | |
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | |||||
2018-08-02 | Experience orb (#4259) | changyong guo | 4 | -23/+23 | |
* 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-07-30 | Ocelots no longer multiply exponentially (#4272) | peterbell10 | 2 | -15/+9 | |
Along with a call to `destroyentities`, this fixes #4271 I'm guessing the intention of this code was to modify the normal spawning of ocelots. However, `cEntity::SpawnOn` is actually called to send the entity to an individual client. That means this code was run for every single player, every time they were sent a chunk with ocelots in it. Thus, the ocelots population would grow exponentially as players log in and move around. | |||||
2018-07-27 | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 2 | -5/+5 | |
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 10 | -11/+18 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-07-24 | Broadcast refactor (#4264) | peterbell10 | 3 | -8/+5 | |
* Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions | |||||
2018-05-06 | Use clang-tidy to check more code conventions (#4214) | Bond-009 | 2 | -6/+6 | |
* Create clang-tidy.sh * Add clang-tidy to circle.yml * Fixed some naming violations Fixes #4164 | |||||
2018-05-02 | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 1 | -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. | |||||
2018-02-05 | Deal with covered switches consistently (#4161) | peterbell10 | 1 | -7/+1 | |
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | |||||
2018-02-04 | Ocelots don't take fall damage (#4171) | Bond-009 | 4 | -6/+19 | |
2018-01-17 | New movement system for leashed entities (#4147) | peterbell10 | 2 | -35/+47 | |
* New movement system for leashed entities Entities are accelerated towards the leashed to entity as if by a spring. * Mobs now pathfind close to but not directly to the leashing entity. * Also minor comment changes | |||||
2018-01-15 | Don't burn mobs in daylight when swimming (#4145) | Bond-009 | 1 | -1/+2 | |
2018-01-14 | Rename cEntity swim states (#3996) | Alexander Harkness | 3 | -8/+5 | |
* Replace cEntity:m_IsSubmerged with m_IsHeadInWater * Replace cEntity:m_IsSwimming with m_IsInWater * Add API documentation for new symbols * Apply SetSwimState to all entities, not just mobs and players * Pickups now use IsOnFire to check if they are on fire before destruction Fixes #3987 | |||||
2018-01-05 | Item durability loss now depends on the item used. (#4123) | Alexander Harkness | 3 | -3/+0 | |
Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | |||||
2018-01-03 | Add the fmt library (#4065) | peterbell10 | 1 | -0/+1 | |
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | |||||
2017-12-26 | improve rain simulation (#4017) | Alexander Harkness | 2 | -34/+4 | |
* Uses vanilla logic to decide which blocks rain falls through. * Rain falls infinitely above the world, and stops at y=0. * Entities will now be extinguished if they are under rain-blocking blocks, and fire will now be extinguished by rain similarly. * Create IsWeatherWetAtXYZ to identify wetness at a particular location. * Use new code for enderman rain detection. * Fixes issue #916 * Disable warnings for global constructors in the fire simulator. | |||||
2017-10-21 | Implement horse inventory (#4053) | peterbell10 | 2 | -25/+137 | |
* Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes. | |||||
2017-10-21 | Fixed some small passive mob issues (#4057) | Bond-009 | 9 | -10/+44 | |
* Chickens can be bred with seeds, beetroot seeds, melon seeds, or pumpkin seeds Ref: https://minecraft.gamepedia.com/Chicken#Baby_chicken * Baby passive mobs don't drop items * Fixed the size of some mobs | |||||
2017-09-19 | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 4 | -7/+7 | |
* 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-14 | Fix switch warnings (#4013) | peterbell10 | 2 | -10/+10 | |
* Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type | |||||
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 6 | -131/+75 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 6 | -75/+131 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | SetSwimState now takes into account head height | Alexander Harkness | 1 | -1/+0 | |
This affects m_IsSubmerged and IsSubmerged() for entities of all types. Also prevent squids from suffocating in water. | |||||
2017-09-01 | Remove double-checking below world for burning | Alexander Harkness | 1 | -5/+0 | |
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 6 | -131/+75 | |
2017-08-25 | Fix mobs not burning in daylight when on snow (#3961) | Alexander Harkness | 1 | -3/+3 | |
* Fix mobs not burning in daylight when on snow or other non-transparent partial blocks. Fixes #3945 * Change from floor to ceil | |||||
2017-08-25 | Gives all entities the default airlevel on creation (#3942) | Bond-009 | 2 | -15/+28 | |
* Guardians don't take damage on land * Squids suffocate on land | |||||
2017-08-25 | Add cUUID class (#3871) | peterbell10 | 3 | -11/+13 | |
2017-08-24 | Use ref instead of pointer | Lukas Pioch | 2 | -7/+7 | |
2017-08-24 | Minor changes (#3909) | mathiascode | 1 | -1/+1 | |
2017-08-23 | Removed outdated pathfinder comment (#3955) | Safwat Halaby | 1 | -2/+1 | |
2017-08-21 | Fully implemented leashes (#3798) | Pablo Beltrán | 5 | -14/+239 | |
2017-08-18 | Changed type of FastRandom in monster drop calculation. (#3920) | Lane Kolbly | 1 | -1/+8 | |
* Fixed type of FastRandom in monster drop calculation. * Distribute dropped items into stacks. * Moved while loop outside if statement. | |||||
2017-08-17 | Sitting cats block enderchests from opening (#3906) | Bond-009 | 2 | -0/+31 | |
2017-08-13 | Replaced includes with forward declarations | Lukas Pioch | 2 | -2/+2 | |
2017-08-07 | Changed entity ownership model to use smart pointers | Tiger Wang | 8 | -84/+63 | |
2017-08-06 | Removed unneeded includes (#3902) | Lukas Pioch | 2 | -3/+0 | |
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 6 | -7/+0 | |
2017-08-03 | Removed unused forward declarations (#3888) | Lukas Pioch | 1 | -1/+1 | |
2017-07-30 | Consolidated food effects into EatItem, added all fish type FoodInfos. (#3875) | Lane Kolbly | 1 | -4/+7 | |
* Consolidated food effects into EatItem, added all fish types. * Changed type of NumFishInfos to satisfy clang. * Removed unused call for a_Item in EatItem | |||||
2017-07-22 | Creepers explode when burned by flint and steel (#3865) | Bond-009 | 1 | -1/+1 | |
Fixed an issue where creepers didn't explode when they were burned with flint and steel | |||||
2017-07-12 | Added basic ocelot behavior (#3829) | Bond-009 | 4 | -5/+252 | |
2017-07-10 | Sound effect horse rejects player when taming | Pablo Beltrán | 1 | -0/+1 | |
2017-07-02 | Fix horse taming (#3820) | Bond-009 | 1 | -14/+26 | |
* Horses rear when untamed and right-clicked with an item | |||||
2017-07-02 | When right-clicking on a passive mob with 'his' spawn egg spawn a baby | Bond_009 | 1 | -2/+20 | |
2017-06-30 | Endermen take damage from rain | Bond-009 | 2 | -3/+29 | |
2017-06-30 | Spider should attack only when the light level is lower than 11 (#3815) | Bond-009 | 1 | -1/+4 | |
2017-06-13 | FastRandom rewrite (#3754) | peterbell10 | 13 | -62/+60 | |
2017-05-28 | Fixed tracer usage in Entity physics handling. (#3720) | Mattes D | 2 | -10/+11 | |
2017-05-22 | Spawn eggs works again | Lukas Pioch | 2 | -31/+63 | |
2017-05-21 | Clang 5.0 fixes | Lukas Pioch | 3 | -4/+4 | |
- Added override keyword - Removed inherited member variables | |||||
2017-05-21 | Don't destroy monster when last target type is a player (#3721) | Pablo Beltrán | 2 | -0/+7 | |
In current Cuberite version if you are pursued by monsters you just have to disconnect and connect again to get rid of them. If no other player is in your chunk monsters will get destroyed. | |||||
2017-05-11 | Tracer replacement (#3704) | Mattes D | 2 | -19/+18 | |
* Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | |||||
2017-02-25 | Fixed cactus detection and zombie pigman sword (#3584) | Bond-009 | 2 | -0/+12 | |
Fixes for issues #902 and #2917 | |||||
2017-02-15 | Updated sounds and effect IDs (#3422) | mathiascode | 31 | -47/+41 | |
2017-02-14 | Added some blocks and items (#3503) | mathiascode | 1 | -0/+1 | |
2017-02-05 | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 1 | -1/+1 | |
The original bindings accepted nil as the World param, causing a crash. | |||||
2016-11-22 | cWolf: Fixed targetting a nullptr. | Mattes D | 1 | -3/+3 | |
2016-10-12 | Spectators added (#2852) | bibo38 | 9 | -25/+38 | |
2016-09-12 | APIDump: Reformatted the docs to include type information. | Mattes D | 1 | -1/+1 | |
Also fixed a bit of documentation in the CPP source. | |||||
2016-09-03 | Entities now bail out of ticks if destroyed (#3363) | LogicParrot | 14 | -0/+71 | |
2016-08-24 | Fixed type-casting-related warnings. | Mattes D | 2 | -2/+1 | |
2016-08-19 | Fixed implicit rounding warnings. | Mattes D | 1 | -1/+1 | |
2016-07-18 | CMake: Remove needless minimum version specifications. | Mattes D | 1 | -2/+0 | |
2016-05-14 | 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) | Pokechu22 | 1 | -0/+1 | |
* Semistable update to 15w31a I'm going through snapshots in a sequential order since it should make things easier, and since protocol version history is written. * Update to 15w34b protocol Also, fix an issue with the Entity Equipment packet from the past version. Clients are able to connect and do stuff! * Partially update to 15w35e Chunk data doesn't work, but the client joins. I'm waiting to do chunk data because chunk data has an incomplete format until 15w36d. * Add '/blk' debug command This command lets one see what block they are looking at, and makes figuring out what's supposed to be where in a highly broken chunk possible. * Fix CRLF normalization in CheckBasicStyle.lua Normally, this doesn't cause an issue, but when running from cygwin, it detects the CR as whitespace and creates thousands of violations for every single line. Lua, when run on windows, will normalize automatically, but when run via cygwin, it won't. The bug was simply that gsub was returning a replaced version, but not changing the parameter, so the replaced version was ignored. * Update to 15w40b This includes chunk serialization. Fully functional chunk serialization for 1.9. I'm not completely happy with the chunk serialization as-is (correct use of palettes would be great), but cuberite also doesn't skip sending empty chunks so this performance optimization should probably come later. The creation of a full buffer is suboptimal, but it's the easiest way to implement this code. * Write long-by-long rather than creating a buffer This is a bit faster and should be equivalent. However, the code still doesn't look too good. * Update to 15w41a protocol This includes the new set passengers packet, which works off of the ridden entity, not the rider. That means, among other things, that information about the previously ridden vehicle is needed when detaching. So a new method with that info was added. * Update to 15w45a * 15w51b protocol * Update to 1.9.0 protocol Closes #3067. There are still a few things that need to be worked out (picking up items, effects, particles, and most importantly inventory), but in general this should work. I'll make a few more changes tomorrow to get the rest of the protocol set up, along with 1.9.1/1.9.2 (which did make a few changes). Chunks, however, _are_ working, along with most other parts of the game (placing/breaking blocks). * Fix item pickup packet not working That was a silly mistake, but at least it was an easy one. * 1.9.2 protocol support * Fix version info found in server list ping Thus, the client reports that it can connect rather than saying that the server is out of date. This required creating separate classes for 1.9.1 and 1.9.2, unfortunately. * Fix build errors generated by clang These didn't happen in MSVC. * Add protocol19x.cpp and protocol19x.h to CMakeLists * Ignore warnings in protocol19x that are ignored in protocol18x * Document BLOCK_FACE and DIG_STATUS constants * Fix BLOCK_FACE links and add separate section for DIG_STATUS * Fix bat animation and object spawning The causes of both of these are explained in #3135, but the gist is that both were typos. * Implement Use Item packet This means that buckets, bows, fishing rods, and several other similar items now work when not looking at a block. * Handle DIG_STATUS_SWAP_ITEM_IN_HAND * Add support for spawn eggs and potions The items are transformed from the 1.9 version to the 1.8 version when reading and transformed back when sending. * Remove spammy potion debug logging * Fix wolf collar color metadata The wrong type was being used, causing several clientside issues (including the screen going black). * Fix 1.9 chunk sending in the nether The nether and the end don't send skylight. * Fix clang build errors * Fix water bottles becoming mundane potions This happened because the can become splash potion bit got set incorrectly. Water bottles and mundane potions are only differentiated by the fact that water bottles have a metadata of 0, so setting that bit made it a mundane potion. Also add missing break statements to the read item NBT switch, which would otherwise break items with custom names and also cause incorrect "Unimplemented NBT data when parsing!" logging. * Copy Protocol18x as Protocol19x Aditionally, method and class names have been swapped to clean up other diffs. This commit is only added to make the following diffs more readable; it doesn't make any other changes (beyond class names). * Make thrown potions use the correct appearence This was caused by potions now using metadata. * Add missing api doc for cSplashPotionEntity::GetItem * Fix compile error in SplashPotionEntity.cpp * Fix fix of cSplashPotionEntity API doc * Temporarilly disable fall damage particles These were causing issues in 1.9 due to the changed effect ID. * Properly send a kick packet when connecting with an invalid version This means that the client no longer waits on the server screen with no indication whatsoever. However, right now the server list ping isn't implemented for unknown versions, so it'll only load "Old" on the ping. I also added a GetVarIntSize method to cByteBuffer. This helps clean up part of the code here (and I think it could clean up other parts), but it may make sense for it to be moved elsewhere (or declared in a different way). * Handle server list pings from unrecognized versions This isn't the cleanest way of writing it (it feels odd to use ProtocolRecognizer to send packets, and the addition of m_InPingForUnrecognizedVersion feels like the wrong technique), but it works and I can't think of a better way (apart from creating a full separate protocol class to handle only the ping... which would be worse). * Use cPacketizer for the disconnect packet This also should fix clang build errors. * Add 1.9.3 / 1.9.4 support * Fix incorrect indentation in APIDesc | |||||
2016-04-23 | Out of world blocks are now always considered air blocks | LogicParrot | 1 | -1/+1 | |
2016-04-18 | Fix issues below y = 0 | LogicParrot | 2 | -5/+15 | |
2016-04-06 | Manual mob burn code | LogicParrot | 1 | -7/+34 | |
2016-03-28 | Fix passive mob destruction crashes | LogicParrot | 1 | -0/+1 | |
2016-03-01 | fixed horse bug | tonibm19 | 1 | -1/+4 | |
horse could be "controlled" without a saddle or being tamed | |||||
2016-02-19 | Stop Wolf from following player when he is flying | Tyler Encke | 1 | -4/+12 | |
Check to make sure player is not flying before allowing wolf to move to player. Fixed isFlying to IsFlying | |||||
2016-02-19 | Proper entity destruction in non-ticking chunks | LogicParrot | 3 | -7/+17 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 27 | -41/+41 | |
2016-02-05 | Correct typo in documentation. | Alexander Harkness | 1 | -1/+1 | |
2016-02-04 | Prevent interspecies breeding | LogicParrot | 1 | -11/+25 | |
2016-02-04 | Pathfinder now properly treats nonsolids above fence | LogicParrot | 1 | -11/+15 | |
2016-02-03 | cMonster::m_Target safety across worlds | LogicParrot | 11 | -64/+145 | |
2016-01-31 | Updated old forum links | Mathias | 1 | -1/+1 | |
2016-01-22 | Improved tamed wolf pack cooperation and projectile reactions | LogicParrot | 2 | -36/+109 | |
2016-01-21 | Spiders now friendly at daylight, new cChunk functions | LogicParrot | 10 | -33/+38 | |
2016-01-17 | Use IsBlockWater in cPath | LogicParrot | 1 | -1/+1 | |
2016-01-17 | No second spawn broadcast necessary | WinfieldSteve | 3 | -3/+0 | |
2016-01-16 | Fix crash when tamed wolf is hit by arrows | LogicParrot | 2 | -2/+6 | |
2016-01-12 | Fixed creeper calling TargetIsInRange with null m_Target | LogicParrot | 1 | -2/+2 | |
2016-01-12 | Fix mob attack interval | LogicParrot | 7 | -24/+28 | |
2016-01-12 | Friendly wolf attack safety checks | LogicParrot | 1 | -1/+14 | |
2016-01-12 | Tamed wolf assists owner (attack / defence) | LogicParrot | 3 | -32/+100 | |
2016-01-01 | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 1 | -1/+1 | |
Also upgraded the user setting file for MSVC to 2013. | |||||
2015-12-30 | Fixed the monster burn code. | Mattes D | 1 | -3/+15 | |
The old code failed when the monster was out of Y range. | |||||
2015-12-27 | Deleted cPath::BlockTypeIsFence | LogicParrot | 2 | -30/+2 | |
2015-12-25 | Update fences and gates list | Safwat Halaby | 1 | -2/+9 | |
Update fences and gates list | |||||
2015-12-24 | PF - "Special blocks" handling | Safwat Halaby | 10 | -215/+396 | |
2015-12-23 | Chicken egg code early bailout | Safwat Halaby | 1 | -19/+21 | |
2015-12-23 | Baby chickens don't lay eggs | Gargaj | 1 | -16/+19 | |
2015-12-21 | PF - Improved mob jumping | Safwat Halaby | 3 | -81/+151 | |
2015-12-21 | Revert "Changed cPath to have a reset method". | Safwat Halaby | 4 | -103/+38 | |
2015-12-16 | Changed cPath to have a reset method. | tycho | 4 | -38/+103 | |
Also reverts "Changed raw cPath to an unique_ptr, fixes memory leak" This reverts commit 1515d37684b469f212bb9858cca6128d74e591b6. | |||||
2015-12-15 | allow horse control (still quite buggy) | Gargaj | 2 | -1/+24 | |
2015-12-15 | Delete copy and move constructors from cPath | tycho | 1 | -0/+7 | |
cPath is not safe to copy or move due to pointers into the std::map m_Map. | |||||
2015-12-15 | Changed raw cPath to an unique_ptr, fixes memory leak | Lukas Pioch | 2 | -9/+9 | |
2015-12-13 | blockheight mechanism | Gargaj | 2 | -18/+4 | |
2015-12-13 | snow golems are "neutral" | Gargaj | 1 | -5/+5 | |
2015-12-13 | sheep color inheritance | Gargaj | 4 | -1/+64 | |
2015-12-13 | Remove stray "return" | Safwat Halaby | 1 | -1/+0 | |
2015-12-13 | Fixed mobs attacking Creative Mode players | Safwat Halaby | 2 | -11/+15 | |
2015-12-13 | Decoupled cMonster and path recalc logic, re-implemented recalc | Safwat Halaby | 8 | -335/+486 | |
2015-12-13 | Stop pathfinding over cobble walls | Gargaj | 1 | -0/+1 | |
Also 1.5 blocks high, shouldn't pathfind over it. | |||||
2015-12-08 | stop creepers from exploding even if they just died | Gargaj | 1 | -1/+1 | |
2015-12-03 | fix wolf collars | Gargaj | 1 | -2/+2 | |
I don't know why this had an inversion but it consistently made the wrong collar color (i.e. yellow dye made the collar blue) | |||||
2015-11-30 | Added documentation for breeding code | Safwat Halaby | 2 | -5/+25 | |
2015-11-29 | implement breeding | Gargaj | 9 | -14/+186 | |
2015-11-24 | Add enum for Sound and Particle Effects | Dave Tucker | 3 | -6/+9 | |
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | |||||
2015-11-23 | change from single followable item to multiple | Gargaj | 8 | -12/+33 | |
2015-11-16 | changed mob age from char to int | Julian Laubstein | 1 | -3/+3 | |
2015-11-13 | Blocks outside the world are never solid | worktycho | 1 | -0/+4 | |
Fixes #2539 | |||||
2015-11-09 | Add comment to Attack() return values | Gargaj | 1 | -0/+4 | |
2015-11-08 | neutral mobs shouldn't chase the player unless aggro'd | Gargaj | 3 | -1/+8 | |
code style neutral mobs shouldn't chase the player unless aggro'd neutral mobs shouldn't chase the player unless aggro'd Merge branch 'chilloutyo' of github.com:Gargaj/cuberite into chilloutyo Conflicts: src/Mobs/PassiveAggressiveMonster.h code style Merge branch 'chilloutyo' of github.com:Gargaj/cuberite into chilloutyo | |||||
2015-11-08 | Fix chicken flying | Gargaj | 1 | -0/+2 | |
The gravity might not be correct but my rough timing (with a stopwatch) seems to be close. Merge branch 'master' into patch-1 Merge branch 'master' into patch-1 Merge branch 'master' into patch-1 | |||||
2015-11-08 | fix cavespider poisoning even if attack is in cooldown | Gargaj | 16 | -27/+48 | |
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 | |||||
2015-11-07 | Only send creeper updates when there is a change | Gargaj | 1 | -3/+6 | |
Otherwise this keeps spamming the metadata packet for all the creepers on the server. | |||||
2015-11-07 | don't attack if dead | Gargaj | 1 | -1/+1 | |
2015-11-06 | chickens don't take fall damage | Gargaj | 2 | -0/+6 | |
2015-11-03 | Fixed failed assertation | bibo38 | 1 | -20/+23 | |
This was caused by a monster with a negative Y-axis. Fixes #2336 | |||||
2015-10-08 | StyleCheck: Check spaces around ==, <=, >= | Mattes D | 1 | -3/+3 | |
2015-09-28 | Partial revert of #2446 | Safwat Halaby | 2 | -7/+53 | |
2015-09-27 | Disabled squids and Guardians pathfinding, #2460 | Safwat Halaby | 2 | -2/+2 | |
2015-09-25 | Compile.sh namechange to cuberite | Safwat Halaby | 2 | -2/+2 | |
2015-09-25 | Namechange to Cuberite | Mattes D | 2 | -2/+2 | |
2015-08-22 | Removed unused function | Tiger Wang | 2 | -23/+0 | |
* Fixes #2444 | |||||
2015-08-22 | Fixed a position bug in the pathfinder | Tiger Wang | 4 | -101/+25 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 8 | -27/+44 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 4 | -28/+26 | |
2015-07-17 | Added Rabbit Metadata values. | bibo38 | 2 | -2/+38 | |
Added the Rabbit Types and the MoreCarrotTicks value. Types are selected randomly on creation. Fixes #1867 | |||||
2015-07-16 | Spawn baby mobs | hallucino | 4 | -3/+5 | |
2015-07-16 | Improved spider AI | scribblemaniac | 2 | -1/+43 | |
Fixes #2335 | |||||
2015-07-14 | Improved maps | Tiger Wang | 1 | -1/+1 | |
2015-07-14 | Support ageable mobs | Hallucino | 2 | -1/+8 | |
Move ageable stuff in Monster directly | |||||
2015-06-26 | Now Horses spawn with correct data values. | bibo38 | 1 | -3/+3 | |
The max-value of style is 4, of color is 6. See http://wiki.vg/Entities#Horse Also based on the if, the max value of HorseType is 7. Bugfix #2259 | |||||
2015-06-07 | Vector hasher is now a separate class | Tiger Wang | 1 | -1/+1 | |
2015-06-06 | Changed appropriate containers to unordered_map | Tiger Wang | 1 | -16/+1 | |
Thanks to @worktycho for guidance! * Potential speed improvements | |||||
2015-05-30 | Fixed wrong indent. | Alexander Harkness | 1 | -1/+1 | |
2015-05-30 | PF - Handle all fencetypes | SafwatHalaby | 1 | -1/+7 | |
2015-05-30 | PF - Fixed diagonal cutting | SafwatHalaby | 1 | -5/+12 | |
2015-05-30 | Disabled squid and Guardian Pathfinding | SafwatHalaby | 2 | -2/+4 | |
2015-05-30 | Fixed creeper explosions | SafwatHalaby | 1 | -1/+1 | |
2015-05-28 | AI - Sane Skeleton | SafwatHalaby | 4 | -9/+21 | |
2015-05-28 | Fix comments | tycho | 4 | -19/+19 | |
2015-05-28 | AI - Tweaked wolf speed and teleport threshold | SafwatHalaby | 1 | -1/+2 | |
2015-05-27 | AI - Saner Livestock | SafwatHalaby | 1 | -2/+11 | |
2015-05-24 | Fix warnings in cPath | tycho | 1 | -9/+9 | |
2015-05-24 | Made -Weverything an error. | tycho | 12 | -27/+29 | |
2015-05-23 | Pathfinder - Bounding boxes and some tweaks | SafwatHalaby | 3 | -26/+114 | |
2015-05-23 | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2 | -3/+3 | |
2015-05-23 | Fixed creeper not exploding when 1 block higher than player | SafwatHalaby | 1 | -2/+4 | |
2015-05-20 | Path recalculation improvements | SafwatHalaby | 3 | -10/+17 | |
2015-05-19 | newlines | SafwatHalaby | 1 | -0/+9 | |
2015-05-19 | Make -Werror disabling file only | tycho | 24 | -30/+34 | |
Ad fix a load of warnings | |||||
2015-05-19 | Removed UniquePTR from PathFinder | SafwatHalaby | 2 | -19/+17 | |
2015-05-19 | Manual merge of #2066 | Alexander Harkness | 1 | -1/+1 | |
2015-05-17 | Pathfinder - approximated paths when original destination unreachable | SafwatHalaby | 5 | -55/+193 | |
2015-05-16 | PathFinder uses UniquePtr for cell map. | SafwatHalaby | 2 | -8/+3 | |
2015-05-15 | Revert "PathFinder - smart pointers" | worktycho | 2 | -3/+8 | |
2015-05-15 | uniquePTR | SafwatHalaby | 2 | -8/+3 | |
2015-05-10 | Fixed some warnings and logic errors in Monster.cpp | Tiger Wang | 1 | -5/+7 | |
2015-05-10 | PF - Less calcs per tick | wiseoldman95 | 1 | -1/+1 | |
2015-05-09 | More style checking. | Mattes D | 2 | -2/+2 | |
Spaces around some operators are checked. | |||||
2015-05-09 | GetSizeName of cSlime and cMagmaCube is now static | Tristan | 4 | -4/+4 | |
2015-05-09 | Fixed some Visual Studio warnings | Tiger Wang | 1 | -5/+5 | |
2015-05-09 | Move chunk position accesses after the chunk validity checks | worktycho | 1 | -2/+4 | |
2015-05-08 | Spaces in cPath | wiseoldman95 | 2 | -0/+2 | |
2015-05-07 | Big Magma Cube can now spawn | Tri125 | 2 | -2/+2 | |
Following the same method as the Slime, Magma Cube can now spawn with the size of 1, 2 or 4. | |||||
2015-05-07 | Fixed the sound issue with the MagmaCube | Tri125 | 2 | -2/+16 | |
-Name of the sound is correctly capitalized -Get the appropriate sound depending on its size | |||||
2015-05-07 | Added support for additional data in the ParticleEffect Packet | tycho | 1 | -2/+3 | |
Also started refactoring how broadcasts are handled | |||||
2015-05-06 | AI - Safer WouldBurnAt() | wiseoldman95 | 1 | -3/+8 | |
2015-05-06 | AI - Better shade cover | wiseoldman95 | 1 | -1/+9 | |
2015-05-06 | Actually empty the open list | worktycho | 1 | -1/+1 | |
2015-05-06 | (duplicate) AI - Livestock escape fixed, water jumping fixed | wiseoldman95 | 3 | -34/+79 | |
2015-05-06 | PF - Swimming bugfix | wiseoldman95 | 1 | -3/+3 | |
2015-05-06 | PF - Fixed mobs not reaching leaning player | wiseoldman95 | 2 | -3/+10 | |
2015-05-05 | AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bug | wiseoldman95 | 2 | -26/+47 | |
2015-05-04 | Entity improvements | Tiger Wang | 5 | -262/+222 | |
•Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes | |||||
2015-05-03 | PathFinder - Fixed nullptr chunk bug | wiseoldman95 | 1 | -1/+1 | |
2015-05-03 | AI - Improved Mob Jumping | wiseoldman95 | 2 | -5/+16 | |
2015-05-03 | PathFinder - Crash fix, chunks in parameters are now references | wiseoldman95 | 3 | -10/+8 | |
2015-05-02 | AI - Better daylight handling | wiseoldman95 | 6 | -63/+22 | |
2015-05-02 | PathFinding - Chunk querying optimization and improve cPath::IsSolid | wiseoldman95 | 4 | -66/+38 | |
2015-05-01 | A* Pathfinding and better monster AI | wiseoldman95 | 11 | -156/+716 | |
2015-04-17 | Update IronGolem.cpp | mathias-gh | 1 | -1/+1 | |
2015-04-17 | Added MobTypeName for Giant | mathias-gh | 1 | -0/+1 | |
2015-03-31 | Changed air drag units to 'interpolated ticks' per second | DevToaster | 2 | -1/+3 | |
2015-03-31 | Modified physics for more vanilla-like behavior | DevToaster | 1 | -0/+2 | |
2015-03-21 | Creeper: Fixed skeleton check. | Mattes D | 1 | -11/+10 | |
2015-03-20 | Correct world height validations. | Tommy Santerre | 2 | -2/+2 | |
Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255 | |||||
2015-03-13 | Monsters will now attack. Additional checks have been added when generating spawn. | tumultenrx | 4 | -7/+5 | |
Monsters will now attack. Additional checks have been added when generating spawn. | |||||
2015-01-16 | Converted Monster to std::chrono | Tycho | 4 | -18/+18 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 40 | -58/+56 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-12-25 | Fixed basic style. | Mattes D | 2 | -2/+2 | |
2014-12-20 | Fixed damn empty line with no use | Masy98 | 2 | -5/+1 | |
2014-12-20 | Added Rabbit.h and Rabbit.cpp to the CMakeList | Masy98 | 1 | -0/+2 | |
2014-12-20 | Fixed Rabbit size | Masy98 | 1 | -1/+1 | |
2014-12-20 | Added Rabbits | Masy98 | 5 | -0/+68 | |
2014-12-19 | Fixed Guardians size and health | Masy98 | 1 | -1/+1 | |
2014-12-18 | Guardian can now spawn if wanted!? | Masy98 | 1 | -1/+1 | |
2014-12-18 | Added Entity Guardian | Masy98 | 7 | -1/+105 | |
2014-12-17 | derp | Howaner | 1 | -1/+1 | |
2014-12-17 | Added comment. | Howaner | 1 | -1/+1 | |
2014-12-17 | Fixed eMonsterType lua bugs. | Howaner | 1 | -0/+1 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 2 | -5/+24 | |
2014-12-05 | Fixed reported parentheses around comparisons. | Mattes D | 4 | -4/+4 | |
2014-12-03 | clearing CheckBasicStyle.lua messages | p-mcgowan | 1 | -4/+4 | |
2014-12-01 | MobSpawner fixes. | Howaner | 2 | -1/+2 | |
2014-11-30 | Removed old StringToMobType() function from Monster.cpp | Howaner | 1 | -10/+0 | |
2014-11-29 | Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead | Howaner | 1 | -9/+1 | |
2014-11-29 | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. | Howaner | 2 | -56/+68 | |
2014-11-26 | Merge remote-tracking branch 'origin-master' into c++11 | Tiger Wang | 2 | -5/+7 | |
2014-11-23 | formatting - newline at EOF inserted: Pig.cpp | p-mcgowan | 1 | -1/+5 | |
2014-11-23 | pigs turn into pigmen on lightning | p-mcgowan | 2 | -0/+19 | |
2014-11-22 | formatter error | p-mcgowan | 1 | -3/+3 | |
2014-11-22 | villagers turn into witches on lightning | p-mcgowan | 1 | -2/+4 | |
2014-11-22 | villagers turn into witches when struck by lightning | p-mcgowan | 1 | -0/+5 | |
2014-11-15 | Mobs: Fixed crash with terrain too high. | Mattes D | 2 | -5/+7 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 48 | -86/+86 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 48 | -86/+86 | |
2014-10-19 | Migrated random generators to std::random | Tiger Wang | 3 | -2/+1 | |
2014-10-12 | convert old style casts to fix warnings | Steven Riehl | 1 | -32/+28 | |
2014-10-05 | Fixed a missed value. | madmaxoft | 1 | -1/+1 | |
2014-10-05 | Removed obsolete cMonster::eType. | madmaxoft | 1 | -3/+0 | |
Has been replaced with global eMonsterType. | |||||
2014-10-05 | Fixed eMonsterType Lua API mismatch. | madmaxoft | 3 | -0/+24 | |
2014-09-29 | Derp | Jonathan Frederick | 1 | -1/+1 | |
2014-09-29 | Fix comments | Jonathan Frederick | 1 | -2/+2 | |
2014-09-28 | Make endermen take damage in water | Jonathan Frederick | 2 | -0/+21 | |
2014-09-27 | Fixed minor style issues. | madmaxoft | 1 | -1/+1 | |
2014-09-26 | Removed more unessicary includes | Tycho | 1 | -1/+1 | |
2014-09-25 | Fixed wrong Surrounding size | Howaner | 1 | -3/+3 | |
2014-09-25 | Fixed style | Tycho | 1 | -0/+3 | |
2014-09-19 | Implemented mob spawner. | Howaner | 1 | -1/+1 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 10 | -110/+115 | |
2014-09-13 | Improved cBlockHandler::DropBlock | Tiger Wang | 1 | -1/+1 | |
2014-09-11 | Fixed mutton name in Sheep.cpp | Masy98 | 1 | -1/+1 | |
2014-09-04 | Revert "Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc" | archshift | 1 | -7/+5 | |
This reverts commit 472efa8174626a00ffdf5b39e1a44ac419cd3698. Apparently we don't support some of these features quite yet (darn you C++98!) | |||||
2014-09-04 | Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc | archshift | 1 | -5/+7 | |
Snow Golems must also be above 64Y to spawn snow (as of 1.8). | |||||
2014-09-03 | Fixed style and alpha-sorting. | madmaxoft | 1 | -7/+7 | |
2014-09-03 | Added mutton, which sheep now drop when killed | archshift | 1 | -0/+7 | |
2014-09-02 | Renamed SetWalkSpeed() to SetRelativeWalkSpeed() | Howaner | 2 | -5/+5 | |
2014-09-02 | Added CustomName saving. | Howaner | 1 | -2/+8 | |
2014-09-02 | Added the new functions to APIDump. | Howaner | 1 | -2/+2 | |
2014-09-02 | Added SetCustomName() to players. | Howaner | 1 | -1/+2 | |
2014-09-01 | Added name tag | Howaner | 3 | -0/+23 | |
2014-09-01 | Added CustomName to cMonster. | Howaner | 2 | -1/+48 | |
2014-08-30 | Added SetWalkSpeed() to cMonster. | Howaner | 2 | -0/+9 | |
2014-08-28 | Fixed mob burning. | reiter | 1 | -1/+1 | |
Fixes #1298 | |||||
2014-08-04 | BasicStyleCheck: Dividers are exactly 80 slashes. | madmaxoft | 1 | -1/+1 | |
2014-08-04 | Refactored case-conversion functions. | madmaxoft | 1 | -2/+1 | |
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place. | |||||
2014-08-04 | Changed /** to /* | Howaner | 1 | -3/+5 | |
2014-08-04 | Fixed warnings | Howaner | 1 | -3/+3 | |
2014-08-04 | Attempt to fix knockback and swimming. | Howaner | 1 | -3/+9 | |
2014-08-03 | Wolf uses UUID for owner. | madmaxoft | 2 | -3/+13 | |
Fixes #1277. | |||||
2014-08-03 | Trailing whitespace fix. | madmaxoft | 1 | -1/+1 | |
2014-08-01 | Improved endermen code a little | Tiger Wang | 3 | -20/+56 | |
2014-07-31 | Comment suggestions | Tiger Wang | 1 | -9/+8 | |
2014-07-30 | Added lighting code and added comments | STRWarrior | 1 | -0/+17 | |
2014-07-30 | Removed lighting code in cEnderman::CheckEventSeePlayer | STRWarrior | 1 | -9/+1 | |
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 30 | -31/+31 | |
2014-07-23 | Fix item durability. | Howaner | 1 | -5/+1 | |
Fixes #1181 | |||||
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -1/+1 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 1 | -1/+1 | |
2014-07-19 | Monsters: Made IsUndead overridable by the respective mob classes | archshift | 6 | -13/+11 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 2 | -2/+2 | |
2014-07-19 | Fixed clamping issues | archshift | 1 | -5/+1 | |
2014-07-19 | Subdirs: Only add_library if not using MSVC | archshift | 1 | -1/+3 | |
2014-07-19 | Mobs/CMakeLists.txt: Replaced glob with list of files | archshift | 1 | -5/+69 | |
2014-07-18 | Fixed slime-related comments. | madmaxoft | 3 | -5/+10 | |
2014-07-18 | Slime sizes are 1, 2 or 4 and not 1, 2 or 3. | Howaner | 3 | -4/+4 | |
2014-07-18 | Monster fixes | Tiger Wang | 6 | -31/+5 | |
* Fixes #1203 * Fixes #627 | |||||
2014-07-18 | Fixed spaces before commas. | madmaxoft | 1 | -3/+3 | |
2014-07-18 | Skeletons should spawn with a bow in the hand. | Howaner | 2 | -0/+17 | |
Fixes #1184 | |||||
2014-07-17 | Split into more lines. | Howaner | 2 | -6/+10 | |
2014-07-17 | Fixed tabs used for alignment. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | More trailing whitespace fixes. | madmaxoft | 2 | -2/+2 | |
2014-07-17 | Basic style fixes. | madmaxoft | 4 | -9/+9 | |
2014-07-17 | Fixed many slime bugs. | Howaner | 2 | -3/+73 | |
- Fixed slime hurt/death sound - Added slime spawning on death. - Fixed the max health. - Fixed the attack damage. - Little slimes should not attack players. | |||||
2014-07-17 | Normalized comments. | madmaxoft | 7 | -31/+30 | |
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. | |||||
2014-07-16 | Resolved backwards compatibility issues | Tiger Wang | 1 | -1/+1 | |
2014-07-13 | Update. | Howaner | 1 | -1/+1 | |
2014-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2 | -4/+4 | |
2014-07-13 | Changed comments. | Howaner | 1 | -3/+5 | |
2014-07-12 | For now, removed creator member from Entity Effect for pointer safety | archshift | 1 | -1/+1 | |
2014-07-06 | Fixed slime handling in cMonster::StringToMobType(). | madmaxoft | 1 | -1/+1 | |
2014-07-05 | Changed everything to callbacks | Tiger Wang | 1 | -2/+20 | |
2014-07-04 | Tailored death messages | Tiger Wang | 6 | -11/+11 | |
2014-07-01 | Add doxy-comments. | Howaner | 1 | -1/+4 | |
2014-06-30 | Changed comment | worktycho | 1 | -1/+1 | |
2014-06-30 | Moved the random code to a function (cSheep::GenerateNaturalRandomColor()) | Howaner | 2 | -36/+47 | |
2014-06-28 | Save IsSheared from Sheep. | Howaner | 1 | -0/+3 | |
2014-06-28 | Fix sheep color's, add shear sound. | Howaner | 3 | -3/+42 | |
2014-06-22 | Bettered zombie and skeleton AI | Tiger Wang | 2 | -6/+4 | |
* Fixed potential issues with skylight detection | |||||
2014-06-21 | More suggestions | Tiger Wang | 1 | -1/+1 | |
2014-06-20 | Added pig riding. | tonibm19 | 2 | -0/+14 | |
Now you can ride a pig using a carrot on a stick. | |||||
2014-06-19 | Nullify deleted pointers. | archshift | 3 | -0/+3 | |
2014-06-19 | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2 | -47/+0 | |
Changed effect map to take a pointer of the effect as a result. | |||||
2014-06-18 | Replaced strange algebra with dot product. | worktycho | 1 | -4/+6 | |
10 degrees is a completely arbitary constant I pulled from nowhere. Feel free to adjust this value. | |||||
2014-06-18 | Improved Enderman code | Tiger Wang | 2 | -14/+34 | |
2014-06-18 | Swapped m_Player and m_EndermanPos | STRWarrior | 1 | -2/+2 | |
2014-06-18 | Enderman attacks a player if he's looking at him. | STRWarrior | 2 | -0/+91 | |
2014-06-17 | Entity effects: changed User to Creator, removed pawn pass-by-value | archshift | 1 | -1/+1 | |
2014-06-17 | Entity Effects: Clarified user, added it to AddEntityEffect | archshift | 1 | -1/+1 | |
Added second AddEntityEffect with a pass-by-value of the class. | |||||
2014-06-17 | Changed the AddEntityEffect() params for easier calls. | madmaxoft | 1 | -1/+1 | |
2014-06-17 | Fixed MSVC compilation. | madmaxoft | 1 | -3/+3 | |
2014-06-17 | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 2 | -3/+3 | |
Exported entity effect functions for ToLua and documented them in APIDesc.lua | |||||
2014-06-17 | Cave spider now poisons its victim, added IsPawn function to Entity | archshift | 3 | -4/+22 | |
2014-06-17 | Monster: added IsUndead(), undead-specific entity effects | archshift | 2 | -0/+71 | |
2014-06-08 | Fixed deadlock when moving players to other worlds. | Mattes D | 5 | -5/+5 | |
Fixes #1039, fixes #851 | |||||
2014-06-07 | Fixed mob hitbox sizes, removed TODOs | archshift | 3 | -5/+2 | |
Measured bat and blaze in vanilla, updated values. Cavespiders are, in fact, passive in the day. | |||||
2014-06-05 | Fixed decision failure | Tiger Wang | 1 | -1/+1 | |
2014-06-04 | Added checks for no downfall biomes | Tiger Wang | 1 | -1/+1 | |
2014-06-04 | Exploded creepers drop nothing, part of #1058 | Tiger Wang | 1 | -2/+8 | |
2014-06-02 | Small tweak for mobs | STRWarrior | 1 | -4/+14 | |
Mobs move a bit smoother and aren't able to move allot when in air. | |||||
2014-05-29 | Very minor code changes | Tiger Wang | 1 | -1/+1 | |
2014-05-21 | Fixed cWither::KilledBy | andrew | 1 | -1/+2 | |
2014-05-20 | Cleaned up cPlayer::UpdateMovementStats; Wither achievements | andrew | 2 | -0/+34 | |
2014-05-13 | Fixes | andrew | 1 | -1/+1 | |
2014-05-12 | Movement Statistics | andrew | 1 | -1/+3 | |
2014-05-12 | Fixed a few more switch warnings. | archshift | 1 | -0/+2 | |
2014-05-02 | Fixed MagmaCube spawning. | madmaxoft | 1 | -0/+4 | |
Fixes #928. | |||||
2014-04-28 | Revert "Withers now use the new invulnerable." | Howaner | 2 | -10/+26 | |
This reverts commit 619592b5a0ab651e714d55932bc7909e4204cee9. | |||||
2014-04-28 | Revert "Changed the old invulnerable methods from the wither to the new." | Howaner | 1 | -3/+0 | |
This reverts commit d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34. | |||||
2014-04-28 | Fixed projectile source filenames, indentations | archshift | 3 | -3/+3 | |
2014-04-27 | Fixed warnings. | madmaxoft | 1 | -2/+2 | |
2014-04-27 | Redstone simulator now directly accesses cChunk | Tiger Wang | 1 | -3/+2 | |
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes | |||||
2014-04-27 | Moved cGhastFireballEntity out of ProjectileEntity.h | archshift | 1 | -0/+1 | |
2014-04-27 | Moved cFireChargeEntity out of ProjectileEntity.h | archshift | 1 | -0/+1 | |
2014-04-27 | Moved cArrowEntity out of ProjectileEntity.h | archshift | 1 | -0/+1 | |
2014-04-27 | Added static const, initialized fields. | archshift | 1 | -1/+1 | |
2014-04-26 | Further refactored, Reverted Minecart change | archshift | 2 | -3/+3 | |
Other small changes. | |||||
2014-04-26 | Changed the old invulnerable methods from the wither to the new. | Howaner | 1 | -0/+3 | |
2014-04-26 | Withers now use the new invulnerable. | Howaner | 2 | -26/+10 | |
2014-04-26 | Fixes | Howaner | 2 | -8/+8 | |
2014-04-26 | Fixed mobs that don't naturally spawn. | archshift | 2 | -2/+6 | |
2014-04-26 | Moved huge conditional out of InStateChasing(), improving readability | archshift | 2 | -1/+20 | |
Squashed a warning. | |||||
2014-04-26 | Add entity invulnerable | Howaner | 14 | -24/+50 | |
2014-04-25 | Cmake generated projects for IDEs include headers in project files. | archshift | 1 | -0/+1 | |
2014-04-25 | Giants! | archshift | 2 | -7/+12 | |
Changed mfMaxplusone to mfUnhandled for readability, and fixed a default case warning. | |||||
2014-04-24 | Fixed class capitalization for the cave spider. | archshift | 3 | -6/+6 | |
2014-04-24 | Fixed references to renamed files. | archshift | 4 | -7/+7 | |
2014-04-24 | Rename mob source files to fit CamelCase. | archshift | 6 | -6/+0 | |
Rename Cavespider.cpp to CaveSpider.cpp Rename Cavespider.h to CaveSpider.h Rename Magmacube.cpp to MagmaCube.cpp Rename Magmacube.h to MagmaCube.h Rename Zombiepigman.cpp to ZombiePigman.cpp Rename Zombiepigman.h to ZombiePigman.h | |||||
2014-04-18 | Compilation fix | Tiger Wang | 1 | -1/+1 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2 | -4/+5 | |
2014-04-18 | Fixed #906 | Tiger Wang | 1 | -1/+2 | |
2014-04-18 | Fixed #904 | Tiger Wang | 1 | -1/+1 | |
2014-04-17 | Added new AI rules | Tiger Wang | 2 | -14/+28 | |
+ Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT | |||||
2014-04-12 | Entities handle chunks properly again | Tiger Wang | 3 | -4/+4 | |
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty | |||||
2014-04-10 | Fixed GitHuB WebEdit fail. | Alexander Harkness | 1 | -0/+1 | |
2014-04-10 | Update Monster.cpp | Alexander Harkness | 1 | -2/+4 | |
2014-03-31 | Final realisation of suggestions | Tiger Wang | 1 | -5/+7 | |
2014-03-31 | Fixed a few Y too high/low asserts | Tiger Wang | 1 | -5/+5 | |
2014-03-25 | More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future. | Samuel Barney | 3 | -6/+2 | |
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | |||||
2014-03-25 | Fixed clang compilation | andrew | 1 | -1/+1 | |
2014-03-25 | Fixed wither summoning | andrew | 2 | -2/+13 | |
2014-03-25 | Protocol: Wither metadata | andrew | 2 | -0/+19 | |
2014-03-25 | Minor fixes | andrew | 2 | -4/+3 | |
2014-03-24 | Wither invulnerability | andrew | 3 | -1/+66 | |
2014-03-16 | Fixed double to float conversions. | madmaxoft | 1 | -5/+5 | |
2014-03-11 | Unified Vector classes | andrew | 2 | -2/+2 | |
2014-03-02 | cBlockInfo now manages the respective cBlockHandler | andrew | 1 | -1/+1 | |
2014-03-02 | Creeper fixes | tonibm19 | 2 | -10/+34 | |
- Fixed explosion time (1.5s, according to minecraftwiki) - Creeper explodes if right clicked with flint and steel | |||||
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 2 | -6/+6 | |
2014-02-27 | added mooshroom to cow conversion | tonibm19 | 1 | -0/+2 | |
2014-02-27 | Fixed sheep ASSERTing sometimes | Tiger Wang | 1 | -8/+18 | |
2014-02-24 | Fixed Formatting, added compiler warning suppressing methods, fixed comments | TheJumper | 5 | -3/+6 | |
2014-02-23 | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 24 | -38/+316 | |
2014-02-23 | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 20 | -48/+219 | |
2014-02-23 | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 2 | -10/+14 | |
2014-02-23 | Fixed Formatting, Added DropChance attributes to Monsters | TheJumper | 7 | -35/+74 | |
2014-02-23 | Finally corrected the Enchantment constants. | TheJumper | 17 | -17/+17 | |
2014-02-22 | Changed formatting again | TheJumper | 1 | -1/+1 | |
2014-02-22 | Changed formatting, encapsuled armor drop, introduced better static Enchantment IDs | TheJumper | 8 | -24/+48 | |
2014-02-22 | Fixed Looting segment fault - a_Killer can be NULL | TheJumper | 17 | -19/+83 | |
2014-02-22 | Mooshroom.cpp: Added right click interaction | TheJumper | 2 | -1/+38 | |
2014-02-22 | Monster.h: Added doxy-comments for drop methods | TheJumper | 1 | -0/+3 | |
2014-02-22 | Monster.cpp: Fixed Formatting in AddRandomUncommonDropItem | TheJumper | 1 | -1/+1 | |
2014-02-22 | Changed killer detection by using cEntity methods | TheJumper | 3 | -3/+3 | |
2014-02-22 | Added static Enchantment Constants, Replaced cryptic Looting ID | TheJumper | 17 | -17/+17 | |
2014-02-21 | Fixed Mob Drops, Add Rare and Uncommon Drops, Looting inflicts Drops | TheJumper | 23 | -37/+144 | |
2014-02-20 | Add Wolf Heal with Food | Howaner | 1 | -10/+34 | |
2014-02-17 | Improved formatting | tonibm19 | 1 | -2/+2 | |
2014-02-16 | Now mobs can't escape from fences. | tonibm19 | 1 | -2/+2 | |
2014-02-16 | Fixes to previous commit | Tiger Wang | 1 | -9/+10 | |
2014-02-16 | Slight cleanup of wolf code | Tiger Wang | 1 | -23/+7 | |
2014-02-15 | Fixed TNT fizzing everywhere | Tiger Wang | 1 | -1/+1 | |
2014-02-12 | Simplified Attack() tracing | Tiger Wang | 1 | -1/+6 | |
2014-02-11 | Fixed #627 | Tiger Wang | 4 | -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) | |||||
2014-02-05 | Fixed most of the reordering warnings | Tycho | 2 | -6/+6 | |
2014-02-05 | Fixed a bunch of MSVS warnings | Tiger Wang | 1 | -1/+1 | |
* Possibly also fixed some bugs with pathfinding and TNT, though unlikely | |||||
2014-02-04 | Blank lines and indentation. | tonibm19 | 1 | -0/+4 | |
Also removed GetClosestPlayer documentation | |||||
2014-02-03 | Increased Type safety of Biomes | Tycho | 1 | -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 | |||||
2014-02-03 | Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua API | tonibm19 | 2 | -0/+9 | |
2014-02-02 | Changed Signiture of OnUpdate | Tycho | 1 | -1/+4 | |
2014-02-01 | Monster's nominal speed was increased. | Kirill Kirilenko | 1 | -1/+1 | |
2014-02-01 | Fixed teleport to air, if owner is flying. | Kirill Kirilenko | 1 | -0/+1 | |
2014-01-29 | Did what xoft said | tonibm19 | 4 | -5/+3 | |
2014-01-29 | Rewritten code. | tonibm19 | 12 | -152/+25 | |
Implemented xoft suggestion. Using MoveToPosition as tigerw suggested. | |||||
2014-01-29 | Fixed sheep | tonibm19 | 1 | -18/+17 | |
2014-01-29 | Fixed a copypasta error... | tonibm19 | 4 | -1/+5 | |
2014-01-29 | Now mobs follow you when holding their breed item | tonibm19 | 10 | -5/+153 | |
2014-01-28 | Renamed Farmer functions and added doxycomments | STRWarrior | 2 | -17/+20 | |
2014-01-28 | Villager: NoCountDown and Action function don't check VillagersShouldHarvestCrops anymore because it shoudn't even be activated anywhere. | STRWarrior | 1 | -10/+0 | |
2014-01-27 | Villager doesn't check the environment for crops if it doesn't need to. | STRWarrior | 1 | -0/+5 | |
2014-01-27 | The world can now be configured wether farmers should be able to harvest crops. | STRWarrior | 1 | -0/+10 | |
2014-01-27 | Villager: Few more comments. | STRWarrior | 2 | -4/+9 | |
2014-01-27 | Cleanup | STRWarrior | 2 | -31/+65 | |
Most code in Tick is now split up in different functions. | |||||
2014-01-27 | Villagers: Harvesting is more rare. | STRWarrior | 1 | -1/+1 | |
2014-01-27 | Villager: Farmers can't place crops on blocks other then farmland. | STRWarrior | 1 | -1/+7 | |
2014-01-27 | Fixed compiler error. | STRWarrior | 1 | -1/+1 | |
2014-01-27 | Villager: Farmer: Crops finding is more random. | STRWarrior | 1 | -18/+19 | |
2014-01-27 | Added GetCropsPos and DidFindCrops functions. | STRWarrior | 1 | -0/+6 | |
2014-01-27 | Villagers: Farmers now replant the crops. | STRWarrior | 2 | -1/+17 | |
2014-01-27 | Villagers: Fixed only gettings the crops block when farming. | STRWarrior | 1 | -2/+2 | |
2014-01-27 | Villagers don't look for new crops when they already found one. | STRWarrior | 1 | -11/+9 | |
Slight cleanup. | |||||
2014-01-27 | Villagers: Farmers can also harvest carrots and potatoes. | STRWarrior | 2 | -9/+38 | |
2014-01-27 | Makes farmers farm crops. | STRWarrior | 2 | -1/+76 | |
2014-01-26 | Fixed bug where wolfs would teleport while they were sitting. | STRWarrior | 1 | -1/+4 | |
2014-01-26 | Small fix since the new AI and a new small feature. | STRWarrior | 1 | -6/+27 | |
You get particles when trying to tame wolfs. They don't walk anymore when they are sitting. | |||||
2014-01-26 | Fixed segmentation fault on villager damage | Tiger Wang | 1 | -1/+1 | |
It occurred when attack was environmental. | |||||
2014-01-25 | Did what xoft recommended | Tiger Wang | 1 | -1/+5 | |
2014-01-25 | Implemented sheeps eating grass. | STRWarrior | 2 | -1/+41 | |
2014-01-25 | Implemented fall damage for mobs | Tiger Wang | 2 | -6/+33 | |
+ Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros | |||||
2014-01-25 | Attack() is no longer always called | Tiger Wang | 1 | -1/+1 | |
2014-01-25 | Mob bugfixes | Tiger Wang | 2 | -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 | |||||
2014-01-25 | All mobs now drown (fixes #54) | Tiger Wang | 2 | -0/+7 | |
* Implemented mob drowning * Iron Golems and squids are excluded | |||||
2014-01-25 | Fixed a generator bug | Tiger Wang | 1 | -0/+3 | |
2014-01-25 | Zombies and skeletons use AI | Tiger Wang | 2 | -9/+15 | |
2014-01-24 | Miscellaneous improvements | Tiger Wang | 2 | -18/+13 | |
2014-01-24 | Changed a condition to IsGameMode | Tiger Wang | 1 | -2/+1 | |
2014-01-24 | Fixed a failure in cSquid. | madmaxoft | 1 | -1/+2 | |
Probably due to rounding errors the squid was querying out-of-chunk coords. | |||||
2014-01-24 | Made wolves compatible with new AI code | Tiger Wang | 2 | -11/+26 | |
2014-01-24 | Monsters no longer check for direct line of sight | Tiger Wang | 1 | -10/+2 | |
2014-01-24 | Large reworking of mob code [SEE DESC] | Tiger Wang | 6 | -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 | |||||
2014-01-24 | Implemented creeper abilities | Tiger Wang | 2 | -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. | |||||
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -1/+1 | |
2013-12-25 | Preliminary mobile entity saving | Tiger Wang | 1 | -1/+2 | |
* Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs | |||||
2013-12-23 | Some fixes (SEE DESC) | tonibm19 | 1 | -0/+6 | |
-Added missing mobs (wither, enderdragon and iron golem) to type to string list. -Wither and iron golem can now spawn | |||||
2013-12-22 | Fixed bug where snowgolems could replace non-solid blocks to snow blocks. | STRWarrior | 1 | -1/+3 | |
2013-12-22 | Snow golems die in hot biomes and leave a snow trail. | STRWarrior | 2 | -0/+18 | |
2013-12-22 | EnderDragons and SnowGolems are able to spawn. | STRWarrior | 1 | -0/+2 | |
2013-12-20 | Fixed the rest of constructor reorders. | madmaxoft | 1 | -2/+2 | |
2013-12-20 | Sorted a few constructors to remove warnings. | madmaxoft | 5 | -17/+21 | |
2013-12-20 | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 1 | -1/+1 | |
2013-12-14 | Fixed not getting XP from mobs. | STRWarrior | 1 | -0/+6 | |
2013-12-11 | moved mobs to globs | Tycho Bickerstaff | 1 | -1/+5 | |
2013-12-10 | more cmake | Tycho Bickerstaff | 1 | -0/+7 | |
2013-11-24 | Moved source to src | Alexander Harkness | 65 | -0/+3488 | |