1
0
cuberite-2a/src
12xx12 c0711407e9
Adding more customize options to mob spawners and improving the way to look for surrounding entities (#4955)
* added nearly any customize option

* fixed unnecessary diff
added comments

* removed unnecessary const qualifier

* fixed build

* changed to ForEachEntityInBox

* added docs

* updated lua api description

* checkstyle

* added changes suggested by @peterbell10
And now the player may break the server by setting ridiculous ranges

* updated docs
changed cast to static cast

* fixed clang

* fixed clang on WSSAnvil.cpp

Co-authored-by: 12xx12 <12xx12100@gmail.com>
2020-10-10 19:31:44 +00:00
..
Bindings Enchanting table shows detail on hover. Enchanting is deterministic. (#4937) 2020-10-01 22:33:32 +01:00
BlockEntities Adding more customize options to mob spawners and improving the way to look for surrounding entities (#4955) 2020-10-10 19:31:44 +00:00
Blocks added check if the digger is a nullptr (#4981) 2020-10-09 20:12:19 +00:00
Entities Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
Generating Fixed current end generator (#4968) 2020-10-04 15:12:36 +00:00
HTTP Upgrade to C++17 [CMake] (#4717) 2020-05-16 20:59:10 +01:00
Items Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
mbedTLS++ Upgrade to C++17 [CMake] (#4717) 2020-05-16 20:59:10 +01:00
Mobs Adding wolf breading and moving breeding functionality to cMonster (#4951) 2020-10-09 20:49:25 +00:00
Noise Upgrade to C++17 [CMake] (#4717) 2020-05-16 20:59:10 +01:00
OSSupport Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
Physics Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
Protocol Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
Registries Add Statistics and Achievements for newer Network standards 2020-08-19 20:45:27 +01:00
Resources zh-cn translation in resource file 2020-07-23 21:17:50 +01:00
Simulator Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
UI Anvil fixes (#4976) 2020-10-10 19:23:25 +00:00
WorldStorage Adding more customize options to mob spawners and improving the way to look for surrounding entities (#4955) 2020-10-10 19:31:44 +00:00
AllocationPool.h Cleanup unneeded globals (#4736) 2020-05-10 16:16:38 +00:00
BiomeDef.cpp Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
BiomeDef.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
BlockArea.cpp BlockHandler initialisation is a constant expression (#4891) 2020-09-20 13:50:52 +00:00
BlockArea.h BlockHandler initialisation is a constant expression (#4891) 2020-09-20 13:50:52 +00:00
BlockInfo.cpp Fix instant mining of blocks not being recognised, tweak anti-cheat (#4938) 2020-10-02 20:57:17 +00:00
BlockInfo.h Fix instant mining of blocks not being recognised, tweak anti-cheat (#4938) 2020-10-02 20:57:17 +00:00
BlockInServerPluginInterface.h
BlockState.cpp
BlockState.h
BlockTracer.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
BlockType.cpp Cleanup some workarounds and warnings (#4735) 2020-05-10 16:16:49 +00:00
BlockType.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
BlockTypePalette.cpp Update submodules (#4727) 2020-05-09 15:51:15 +01:00
BlockTypePalette.h Precompile unordered_map/set 2020-07-19 19:58:53 +01:00
BlockTypeRegistry.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
BlockTypeRegistry.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
BoundingBox.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
BoundingBox.h
BrewingRecipes.cpp Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
BrewingRecipes.h
Broadcaster.cpp Broadcaster: don't loop over all entities to broadcast one's position 2020-08-28 21:41:18 +01:00
BuildInfo.h.cmake
ByteBuffer.cpp 1.14 connection support 2020-07-26 18:55:16 +01:00
ByteBuffer.h 1.14 connection support 2020-07-26 18:55:16 +01:00
ChatColor.cpp Removed extended ASCII, and added a check against it. (#4642) 2020-04-12 09:24:30 +02:00
ChatColor.h
CheckBasicStyle.lua 1.13 items support 2020-07-18 19:23:10 +01:00
Chunk.cpp Do not call into things we don't own in destructors 2020-09-25 14:51:16 +01:00
Chunk.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
ChunkData.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ChunkData.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
ChunkDataCallback.h Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
ChunkDef.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
ChunkGeneratorThread.cpp cWorld * -> cWorld (#4771) 2020-07-14 17:57:30 +01:00
ChunkGeneratorThread.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
ChunkMap.cpp Do not call into things we don't own in destructors 2020-09-25 14:51:16 +01:00
ChunkMap.h Use tracing for explosions (#4845) 2020-09-12 18:57:44 +00:00
ChunkSender.cpp Reverse order of ChunkSender priorities (#4858) 2020-09-12 19:43:18 +00:00
ChunkSender.h Reverse order of ChunkSender priorities (#4858) 2020-09-12 19:43:18 +00:00
ChunkStay.cpp
ChunkStay.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
ClientHandle.cpp Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
ClientHandle.h Remove SetProperty(...cPlayer) 2020-10-03 16:54:14 +01:00
CMakeLists.txt Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
Color.cpp
Color.h
CommandOutput.cpp Update submodules 2020-07-23 00:32:47 +01:00
CommandOutput.h Update submodules 2020-07-23 00:32:47 +01:00
CompositeChat.cpp Update logging code to reduce unnecessary string copying: 2020-05-16 09:39:05 +01:00
CompositeChat.h Update logging code to reduce unnecessary string copying: 2020-05-16 09:39:05 +01:00
CraftingRecipes.cpp Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
CraftingRecipes.h Introduce recipe book functionality (#4493) 2020-07-14 17:56:42 +01:00
Cuberite.vcxproj.user
Cuboid.cpp
Cuboid.h
DeadlockDetect.cpp Using Super. 2020-04-16 20:07:48 +00:00
DeadlockDetect.h Cleanup unneeded globals (#4736) 2020-05-10 16:16:38 +00:00
Defines.cpp added dtEnvironment to string conversion 2020-09-21 22:58:38 +01:00
Defines.h Adding wolf breading and moving breeding functionality to cMonster (#4951) 2020-10-09 20:49:25 +00:00
EffectID.h
Enchantments.cpp Anvil fixes (#4976) 2020-10-10 19:23:25 +00:00
Enchantments.h Anvil fixes (#4976) 2020-10-10 19:23:25 +00:00
Endianness.h
FastRandom.cpp Cleanup some workarounds and warnings (#4735) 2020-05-10 16:16:49 +00:00
FastRandom.h
fmt.h Update fmtlib to 7.0.0 2020-07-06 20:53:04 +01:00
ForEachChunkProvider.h
FunctionRef.h
FurnaceRecipe.cpp Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
FurnaceRecipe.h
Globals.cpp
Globals.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
IniFile.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
IniFile.h Using Super. 2020-04-16 20:07:48 +00:00
Inventory.cpp Introduce recipe book functionality (#4493) 2020-07-14 17:56:42 +01:00
Inventory.h Introduce recipe book functionality (#4493) 2020-07-14 17:56:42 +01:00
Item.cpp Enchanting table shows detail on hover. Enchanting is deterministic. (#4937) 2020-10-01 22:33:32 +01:00
Item.h Enchanting table shows detail on hover. Enchanting is deterministic. (#4937) 2020-10-01 22:33:32 +01:00
ItemGrid.cpp Introduce recipe book functionality (#4493) 2020-07-14 17:56:42 +01:00
ItemGrid.h Introduce recipe book functionality (#4493) 2020-07-14 17:56:42 +01:00
JsonUtils.cpp Update submodules (#4727) 2020-05-09 15:51:15 +01:00
JsonUtils.h Update submodules (#4727) 2020-05-09 15:51:15 +01:00
LazyArray.h Cleanup unneeded globals (#4736) 2020-05-10 16:16:38 +00:00
LightingThread.cpp Using Super. 2020-04-16 20:07:48 +00:00
LightingThread.h Using Super. 2020-04-16 20:07:48 +00:00
LinearInterpolation.cpp
LinearInterpolation.h
LinearUpscale.h Upgrade to C++17 [CMake] (#4717) 2020-05-16 20:59:10 +01:00
LineBlockTracer.cpp ChunkMap: do not wantonly make empty chunks 2020-08-28 21:22:44 +01:00
LineBlockTracer.h Use Vector3 for cLineBlockTracer and cBlockTracer (#4715) 2020-05-08 10:04:07 +01:00
Logger.cpp Update submodules 2020-07-23 00:32:47 +01:00
Logger.h Update submodules 2020-07-23 00:32:47 +01:00
LoggerListeners.cpp Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
LoggerListeners.h
LoggerSimple.h Enable debug logging in test builds 2020-05-16 09:39:05 +01:00
main.cpp Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
main.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
Map.cpp BlockHandler initialisation is a constant expression (#4891) 2020-09-20 13:50:52 +00:00
Map.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
MapManager.cpp
MapManager.h
Matrix4.h
MemorySettingsRepository.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
MemorySettingsRepository.h Precompile unordered_map/set 2020-07-19 19:58:53 +01:00
MobCensus.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
MobCensus.h
MobFamilyCollecter.cpp
MobFamilyCollecter.h
MobProximityCounter.cpp
MobProximityCounter.h
MobSpawner.cpp Fixing Mob spawner behaviour (#4930) 2020-09-27 20:02:16 +03:00
MobSpawner.h Fixing Mob spawner behaviour (#4930) 2020-09-27 20:02:16 +03:00
MonsterConfig.cpp Tweak attack ranges 2020-04-02 09:30:50 +02:00
MonsterConfig.h
NetherPortalScanner.cpp Correct world access in NetherPortalScanner 2020-04-19 21:43:14 +01:00
NetherPortalScanner.h MoveToWorld must always be provided a world 2020-04-18 19:51:30 +01:00
OpaqueWorld.h
OverridesSettingsRepository.cpp Streamline startup sequence 2020-09-05 13:16:52 +01:00
OverridesSettingsRepository.h Streamline startup sequence 2020-09-05 13:16:52 +01:00
PalettedBlockArea.cpp
PalettedBlockArea.h
ProbabDistrib.cpp
ProbabDistrib.h
RankManager.cpp Update submodules (#4727) 2020-05-09 15:51:15 +01:00
RankManager.h Remove cRankManager migration code (#4714) 2020-05-05 21:20:07 +03:00
RCONServer.cpp Streamline startup sequence 2020-09-05 13:16:52 +01:00
RCONServer.h
Root.cpp Include sys/select.h on non-glibc Linux platforms (#4977) 2020-10-09 13:38:41 +00:00
Root.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
Scoreboard.cpp
Scoreboard.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
Server.cpp Plugin reload <plugin_name> feature (#4942) 2020-09-27 23:15:03 +01:00
Server.h Streamline startup sequence 2020-09-05 13:16:52 +01:00
SetChunkData.cpp Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
SetChunkData.h Manage block entity lifetime with unique_ptr (#4080) 2020-04-03 23:23:38 +02:00
SettingsRepositoryInterface.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
SpawnPrepare.cpp Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
SpawnPrepare.h
Statistics.cpp Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
Statistics.h Add Statistics and Achievements for newer Network standards 2020-08-19 20:45:27 +01:00
Stopwatch.h
StringCompression.cpp
StringCompression.h
StringUtils.cpp Update submodules 2020-07-23 00:32:47 +01:00
StringUtils.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
UUID.cpp
UUID.h
Vector3.h C++17 stuff 2020-09-30 22:05:17 +01:00
VoronoiMap.cpp
VoronoiMap.h
WebAdmin.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
WebAdmin.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
World.cpp Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
World.h Add default value nullptr for parameter a_Digger and added digger to 2020-10-09 18:39:20 +01:00
XMLParser.h