Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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 | |