summaryrefslogtreecommitdiffstats
path: root/src/Mobs/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* adding endermite (#5460)Debucquoy Anthony tonitch2023-09-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Adding Silverfish Spawning Blocks (#4946)12xx122020-10-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Upgrade to C++17 [CMake] (#4717)Tiger Wang2020-05-161-9/+5
| | | * Make our CMake slightly less insane
* Update submodules (#4727)peterbell102020-05-091-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.
* Add Zombie VillagersBond-0092020-04-101-2/+4
|
* Implement wither skeletons (#4563)Mat2020-04-041-0/+2
|
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-3/+0
| | | | | | | 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.
* Add the fmt library (#4065)peterbell102018-01-031-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.
* Fix switch warnings (#4013)peterbell102017-09-141-4/+0
| | | | | | | | | | | | | | | * 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
* Added basic ocelot behavior (#3829)Bond-0092017-07-121-0/+1
|
* Fixed type-casting-related warnings.Mattes D2016-08-241-1/+1
|
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-2/+0
|
* Renamed leftover strings to Cuberite / Server, as needed.Mattes D2016-01-011-1/+1
| | | | Also upgraded the user setting file for MSVC to 2013.
* Decoupled cMonster and path recalc logic, re-implemented recalcSafwat Halaby2015-12-131-1/+3
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-3/+1
|
* Made -Weverything an error.tycho2015-05-241-1/+3
|
* Make -Werror disabling file onlytycho2015-05-191-0/+4
| | | | Ad fix a load of warnings
* A* Pathfinding and better monster AIwiseoldman952015-05-011-0/+2
|
* Added Rabbit.h and Rabbit.cpp to the CMakeListMasy982014-12-201-0/+2
|
* Added Entity GuardianMasy982014-12-181-0/+2
|
* Fixed eMonsterType Lua API mismatch.madmaxoft2014-10-051-0/+1
|
* Subdirs: Only add_library if not using MSVCarchshift2014-07-191-1/+3
|
* Mobs/CMakeLists.txt: Replaced glob with list of filesarchshift2014-07-191-5/+69
|
* Cmake generated projects for IDEs include headers in project files.archshift2014-04-251-0/+1
|
* moved mobs to globsTycho Bickerstaff2013-12-111-1/+5
|
* more cmakeTycho Bickerstaff2013-12-101-0/+7