Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Anvil: Refactored to use shared_ptr. | Mattes D | 2023-05-26 | 1 | -11/+7 |
| | |||||
* | Anvil: Allow loading chunks without HeightMap. | Mattes D | 2023-05-26 | 1 | -28/+22 |
| | |||||
* | Removed all Printf-family functions from StringUtils. | Mattes D | 2023-05-16 | 1 | -15/+14 |
| | | | | | 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. | ||||
* | Improved farmer AI & Fixed entity loading functions (#5351) | Persson-dev | 2021-12-29 | 1 | -23/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | World: change spawnpoint type to int (#5313) | Tiger Wang | 2021-10-03 | 1 | -3/+3 |
| | | | | | * World: change spawnpoint type to int As Vanilla does. | ||||
* | Chest, weather, crash, and miscellaneous fixes (#5215) | Tiger Wang | 2021-04-30 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix sending incorrect date values on world change | Tiger Wang | 2021-04-12 | 1 | -2/+2 |
| | | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | ||||
* | Adding basic Banner functionality (#4806) | 12xx12 | 2021-03-15 | 1 | -2/+29 |
| | | | | | | + Added item and block for banners Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Prepare ChunkData for BlockState storage (#5105) | Tiger Wang | 2021-03-05 | 1 | -88/+100 |
| | | | | | | | | | | | | | | | | | | | | | | | * Rename ChunkData Creatable test * Add missing Y-check in RedstoneWireHandler * Remove ChunkDef.h dependency in Scoreboard * Prepare ChunkData for BlockState storage + Split chunk block, meta, block & sky light storage + Load the height map from disk - Reduce duplicated code in ChunkData - Remove saving MCSBiomes, there aren't any - Remove the allocation pool, ref #4315, #3864 * fixed build * fixed test * fixed the debug compile Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> | ||||
* | zlib -> libdeflate (#5085) | Tiger Wang | 2021-01-11 | 1 | -88/+59 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | Adding new monster types to enum and saving/loading for easier future implementation (#4941) | 12xx12 | 2020-11-23 | 1 | -75/+443 |
| | | | | | | | | | | | * 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> | ||||
* | Fix flower and foliage generation (#4723) | mBornand | 2020-11-14 | 1 | -0/+0 |
| | | | | | | | | | | | | | | | | | | | * fix flower generation - remove wrong mushroom and flower generation + add "tiny" mushrooms in Mushrooms biomes + add "tiny" mushrooms in Mega Taiga and variants + add tulip generation for plains biomes * Turn numbers into constants - Remove duplication of grass generation - Remove fern in inappropriate biomes * added roofed forest flowers to ini file * fixed crash with biMesaPlateuM + Use empty() + Emplace directly + Avoid a string copy in BiomeName + Alias BiomeIndex to avoid multiple casts Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017) | 12xx12 | 2020-11-06 | 1 | -9/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed network fixed explosion fixed ticking added network broadcast to Setter method added nullptr protection using macros in 1.10 Protocol_1_10.cpp revealed functions to LUA API small fixups, typos, less functions used fixed more doc readded info that saving is done only if the beam is displayed made the constructor transfer all needed members fixed wrong commit removed default parameters on SpawnEnderCrystal fixed wrong metadata moved call to destroy in the right place fixed some typos Fixed Ender Crystal * fixed documentation * fixed doc and added proper error message * Parameters, arrows * Parameters Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Add beam target, configurable base visibility to Ender Crystals (#5010) | 12xx12 | 2020-10-29 | 1 | -1/+32 |
| | | | | | * Fixes #4990 Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Adding more customize options to mob spawners and improving the way to look for surrounding entities (#4955) | 12xx12 | 2020-10-10 | 1 | -3/+45 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Fixing Mob spawner behaviour (#4930) | 12xx12 | 2020-09-27 | 1 | -19/+6 |
| | | | | | | | | | | | | | | | | | | | * fixed mob spawner failure (whoopsie in the BlockEntity.GetChunkZ()) Style * fixed spawning behaviour * fixed saving entity type saving * checkstyle * removed debug log * removed short saving * Style Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Added end portal and enchanting table block entities | 12xx12 | 2020-09-20 | 1 | -19/+63 |
| | |||||
* | Use pitch lookup in noteblock block entity (#4826) | 12xx12 | 2020-09-05 | 1 | -1/+1 |
| | | | | | | | - Removed the calculation in the noteblock block entity I did the calculation in python if anyone is interested where the numbers are from Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Save enderchest block entities to storage | Tiger Wang | 2020-08-28 | 1 | -3/+17 |
| | | | | | + Add EnderChest saving, as Vanilla does - Remove CreateBlockEntities. Storage should save & load everything so looping over chunk data is not needed | ||||
* | Delete redundant std::move in World loader | Tiger Wang | 2020-08-05 | 1 | -14/+14 |
| | |||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -71/+71 |
| | |||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Update submodules (#4727) | peterbell10 | 2020-05-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | 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. | ||||
* | Remove old Android leftovers (#4722) | Mat | 2020-05-07 | 1 | -3/+3 |
| | |||||
* | Fix incorrect formatter invocation | Tiger Wang | 2020-05-04 | 1 | -2/+2 |
| | |||||
* | NBT: Dynamic list-max-count protection. (#4697) | Mattes D | 2020-04-30 | 1 | -3/+4 |
| | |||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -1/+1 |
| | |||||
* | Add Zombie Villagers | Bond-009 | 2020-04-10 | 1 | -7/+44 |
| | |||||
* | Implement wither skeletons (#4563) | Mat | 2020-04-04 | 1 | -5/+32 |
| | |||||
* | Manage block entity lifetime with unique_ptr (#4080) | peterbell10 | 2020-04-03 | 1 | -37/+34 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -5/+6 |
| | | | | | | | | | 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 | ||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -101/+102 |
| | |||||
* | NBTChunkSerializer: Cleaned up interface. | Mattes D | 2019-09-24 | 1 | -59/+2 |
| | | | | | | Removed dependency on cChunkDataCallback. Moved all the serializing code into a worker class. Changed the serialization into a single-call action. | ||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 1 | -7/+7 |
| | | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | ||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -1/+2 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -4/+4 |
| | | | | | | | * 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. | ||||
* | Store Health as a float (#4073) | Fabian | 2017-11-22 | 1 | -2/+21 |
| | | | | | | | | | | | | | | | | | | * Fix #4024 * Fix clang error * Add comment * Fix behaviour * Save Health as float * Changed m_Health to float * Remove redundant static_cast * Fix casts | ||||
* | Fix switch warnings (#4013) | peterbell10 | 2017-09-14 | 1 | -15/+20 |
| | | | | | | | | | | | | | | | * 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 | ||||
* | Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912) | Lane Kolbly | 2017-09-07 | 1 | -3/+3 |
| | |||||
* | Changed some int parameters to vector parameters (#3937) | Bond-009 | 2017-09-07 | 1 | -2/+2 |
| | |||||
* | Implement anvil chunk sparsing | peterbell10 | 2017-08-26 | 1 | -15/+17 |
| | |||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 1 | -19/+16 |
| | |||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 1 | -0/+77 |
| | |||||
* | Represent cItem::m_Lore as an AStringVector (#3882) | peterbell10 | 2017-08-18 | 1 | -1/+11 |
| | | | | | | | | * Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings | ||||
* | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -53/+53 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 1 | -2/+0 |
| | |||||
* | Remove smart pointer macros | peterbell10 | 2017-07-21 | 1 | -1/+1 |
| | |||||
* | Added basic ocelot behavior (#3829) | Bond-009 | 2017-07-12 | 1 | -10/+35 |
| | |||||
* | Added bed entity (#3823) | Lukas Pioch | 2017-07-07 | 1 | -0/+28 |
| | | | | | | | | | | * Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds | ||||
* | Load entities from old and new names | Lukas Pioch | 2017-06-23 | 1 | -224/+149 |
| | |||||
* | Anvil storage: load block entities from both old and new name-styles. (#3784) | Mattes D | 2017-06-21 | 1 | -77/+121 |
| | | | | * WSSAnvil: Load the sign text from JSON, too. | ||||
* | BlockEntities: Support cloning self. | Mattes D | 2017-06-16 | 1 | -61/+62 |
| | |||||
* | Exported boat | Lukas Pioch | 2017-05-24 | 1 | -1/+7 |
| | | | | | | | - NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions | ||||
* | Store cChunk::m_BlockEntities in a map (#3717) | peterbell10 | 2017-05-22 | 1 | -3/+6 |
| | | | | | | * Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt | ||||
* | Corrected brewingstand and added support for fuel | Lukas Pioch | 2017-05-08 | 1 | -2/+10 |
| | |||||
* | NBT: Corrected firework loading | Lukas Pioch | 2017-03-22 | 1 | -2/+2 |
| | |||||
* | Fixed TrappedChest saving. (#3423) | Mattes D | 2016-11-07 | 1 | -4/+15 |
| | | | Vanilla uses "Chest" in NBT for trapped chests. | ||||
* | Fixed type-casting-related warnings. | Mattes D | 2016-08-24 | 1 | -6/+10 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -120/+120 |
| | |||||
* | MCServer to Cuberite | Mathias | 2016-01-29 | 1 | -1/+1 |
| | |||||
* | Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8 | bibo38 | 2016-01-11 | 1 | -3/+40 |
| | | | | | | The NBT format now carries the texture data and transmit it to the client. See: http://minecraft.gamepedia.com/Head#Block_entity Related to #2674 | ||||
* | changed mob age from char to int | Julian Laubstein | 2015-11-16 | 1 | -18/+72 |
| | |||||
* | Implemented brewing | Lukas Pioch | 2015-11-03 | 1 | -0/+51 |
| | |||||
* | Namechange to Cuberite | Mattes D | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -1/+1 |
| | |||||
* | Chunks that fail to load are offloaded to extra files. | Mattes D | 2015-07-31 | 1 | -33/+73 |
| | | | | Ref.: #1970 | ||||
* | Added reason parameter to load failures. | Mattes D | 2015-07-31 | 1 | -13/+13 |
| | |||||
* | Moved AString reading hack to cFile. | Mattes D | 2015-07-31 | 1 | -16/+17 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -61/+61 |
| | |||||
* | Added Rabbit Metadata values. | bibo38 | 2015-07-17 | 1 | -1/+12 |
| | | | | | Added the Rabbit Types and the MoreCarrotTicks value. Types are selected randomly on creation. Fixes #1867 | ||||
* | Merge pull request #2340 from hallucino/ageable-mobs | NiLSPACE | 2015-07-15 | 1 | -7/+72 |
|\ | | | | | Support ageable mobs | ||||
| * | Support ageable mobs | Hallucino | 2015-07-14 | 1 | -7/+72 |
| | | | | | | | | Move ageable stuff in Monster directly | ||||
* | | Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functions | bibo38 | 2015-07-12 | 1 | -64/+64 |
|/ | |||||
* | Fixes compilation failures on MacOSX 10.10 | Samuel Barney | 2015-07-09 | 1 | -6/+6 |
| | | | | | * Replace old c-style casts with c++ casts * Added `-Wno-error=old-style-cast` to Protocol18x.cpp | ||||
* | Fixes multiple furnace issues, including from loading world storage | HaoTNN | 2015-06-03 | 1 | -2/+3 |
| | |||||
* | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -4/+4 |
| | | | | Spaces around some operators are checked. | ||||
* | cSetChunkData constructor explicitly requires std::move() instead of | Woazboat | 2015-04-27 | 1 | -1/+1 |
| | | | | unsafely stealing data | ||||
* | cPainting saving implemented | Tiger Wang | 2015-03-14 | 1 | -0/+28 |
| | | | | Additionally, it now inherits from cHangingEntity. | ||||
* | Fixed confusion over Item Frame directions | Tiger Wang | 2015-03-13 | 1 | -37/+7 |
| | |||||
* | Flower pots: In 1.8 items are saved with the name and not the id. | Howaner | 2015-02-18 | 1 | -5/+12 |
| | |||||
* | WSSAnvil: Fixed chunk data padding. | Mattes D | 2015-02-08 | 1 | -2/+5 |
| | | | | | When the chunk data fit perfectly into the old space, an extra 4 KiB of padding zeroes were written, overwriting the next chunk. Fixes #1730. | ||||
* | WSSAnvil: Added clamping to entity coords. | Mattes D | 2014-12-21 | 1 | -3/+3 |
| | | | | Fixes CID 72854. | ||||
* | Added Rabbits | Masy98 | 2014-12-20 | 1 | -0/+24 |
| | |||||
* | Added Entity Guardian | Masy98 | 2014-12-18 | 1 | -0/+24 |
| | |||||
* | Cosmetic touchups. | Mattes D | 2014-12-11 | 1 | -4/+5 |
| | | | | Removed trailing whitespace, added cast to remove warning, added file seeking in case of corrupt files. | ||||
* | Merge remote-tracking branch 'planetx/master' | Mattes D | 2014-12-11 | 1 | -4/+31 |
|\ | |||||
| * | Check to see if header write out is required | planetx | 2014-12-08 | 1 | -17/+15 |
| | | |||||
| * | Added timestamp to merged files WSSAnvil | planetx | 2014-12-08 | 1 | -1/+1 |
| | | |||||
| * | Added timestamp to merged files WSSAnvil | planetx | 2014-12-08 | 1 | -62/+62 |
| | | |||||
| * | Added timestamp to new files WSSAnvil | planetx | 2014-12-08 | 1 | -78/+148 |
| | | |||||
| * | Added Timestamp info to chunks in WSSAnvil | planetx | 2014-12-07 | 1 | -85/+44 |
| | | |||||
* | | Replaced most auto_ptr with unique_ptr. | Mattes D | 2014-12-06 | 1 | -61/+61 |
|/ | |||||
* | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 1 | -10/+21 |
| | |||||
* | MobSpawner fixes. | Howaner | 2014-12-01 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into MobSpawner | Howaner | 2014-11-29 | 1 | -2/+8 |
|\ | |||||
| * | WSSAnvil: Fixed bad code in arrow loading. | Mattes D | 2014-11-26 | 1 | -2/+8 |
| | | |||||
* | | Finished mob spawner implementation. | Howaner | 2014-11-18 | 1 | -0/+50 |
|/ | |||||
* | Fixed 1.8 world item format reading. | Howaner | 2014-10-29 | 1 | -2/+19 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -44/+44 |
| | |||||
* | cItemFrame: Fixed a forgotten rename. | Mattes D | 2014-10-21 | 1 | -1/+1 |
| | |||||
* | Properly exported cItemFrame and cHangingEntity to Lua. | Mattes D | 2014-10-21 | 1 | -16/+27 |
| | |||||
* | Anvil: Arrow Tile tags are a short in Vanilla | Howaner | 2014-09-25 | 1 | -4/+21 |
| | |||||
* | Fixed hanging direction bugs. | Howaner | 2014-09-25 | 1 | -1/+1 |
| | |||||
* | Don't create two entity lists. | Howaner | 2014-09-24 | 1 | -7/+2 |
| | |||||
* | Merge branch 'master' into WorldLoader | Howaner | 2014-09-24 | 1 | -3/+17 |
|\ | |||||
| * | Anvil: Wolf collar color is a byte in Vanilla. | madmaxoft | 2014-09-23 | 1 | -3/+17 |
| | | | | | | | | | | Kept the old Int reading for compatibility reasons. Ref.: #1448 | ||||
* | | Merge branch 'master' into WorldLoader | Howaner | 2014-09-23 | 1 | -3/+3 |
|\| | |||||
| * | Fixed a crash in WSSAnvil. | madmaxoft | 2014-09-23 | 1 | -3/+3 |
| | | | | | | | | Reported as #1448. | ||||
* | | MCServer world compatiblity with vanilla and mcedit. | Howaner | 2014-09-23 | 1 | -5/+34 |
|/ | |||||
* | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 1 | -21/+51 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/ClientHandle.h src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/World.cpp src/World.h | ||||
| * | Added Y-wise asserts to signs. | Mattes D | 2014-09-06 | 1 | -0/+2 |
| | | | | | | | | This should help detect #1313's second case. | ||||
| * | Anvil: Fixed an off-by-one error in the loader. | Mattes D | 2014-09-06 | 1 | -1/+1 |
| | | | | | | | | Fixes #1307. | ||||
| * | Fixed loading empty chunks. | Mattes D | 2014-09-05 | 1 | -1/+7 |
| | | | | | | | | Reported on the Dropper map in #1307. | ||||
| * | Anvil: Fixed loading block entities with invalid Y coord. | Mattes D | 2014-09-05 | 1 | -1/+1 |
| | | |||||
| * | Anvil: Cleanly refuse to store data that is too large. | madmaxoft | 2014-09-04 | 1 | -1/+7 |
| | | | | | | | | Each chunk in MCA needs to be less than 1 MiB compressed; chunks that are larger will be refused with a log message. | ||||
| * | Anvil: switched inflate to stream mode. | madmaxoft | 2014-09-03 | 1 | -18/+6 |
| | | | | | | | | This removes the fixed-size buffer which could have caused #1307 and #1366. | ||||
| * | Clang wants volatile... | madmaxoft | 2014-09-02 | 1 | -1/+1 |
| | | |||||
| * | Added strict error reporting to chunk loading. | madmaxoft | 2014-09-02 | 1 | -1/+29 |
| | | | | | | | | This should help with #1307. | ||||
* | | Added CustomName saving. | Howaner | 2014-09-02 | 1 | -0/+13 |
|/ | |||||
* | WSSAnvil: Removed leftover debugging code. | madmaxoft | 2014-08-30 | 1 | -4/+0 |
| | |||||
* | Rewritten block entity loading. | Mattes D | 2014-08-29 | 1 | -200/+238 |
| | | | | | | Block entities are now loaded based on the blocktype at the coords they specify; before loading, their type ("id" NBT tag) is checked. The chunk now expects that all block entities given to it via cChunk::SetAllData() have their valid blocktype; asserts if they don't. Fixes #1354. | ||||
* | Refactored case-conversion functions. | madmaxoft | 2014-08-04 | 1 | -1/+6 |
| | | | | StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place. | ||||
* | Wolf uses UUID for owner. | madmaxoft | 2014-08-03 | 1 | -10/+59 |
| | | | | Fixes #1277. | ||||
* | Renamed "select..." methods to "set..." and better IsValidEffect() function. | Howaner | 2014-07-31 | 1 | -2/+2 |
| | |||||
* | Renamed functions and added beacon json saving. | Howaner | 2014-07-31 | 1 | -2/+2 |
| | |||||
* | Added beacon load/save. | Howaner | 2014-07-30 | 1 | -1/+49 |
| | |||||
* | Slight cleanup after portals | Tiger Wang | 2014-07-29 | 1 | -6/+1 |
| | |||||
* | Merge branch 'master' into portals | Tiger Wang | 2014-07-29 | 1 | -3/+4 |
|\ | | | | | | | | | Conflicts: src/World.h | ||||
| * | Moved potion static functions to EntityEffect to create splash potions through world | archshift | 2014-07-26 | 1 | -1/+1 |
| | | |||||
| * | Added a queue for setting chunk data. | madmaxoft | 2014-07-24 | 1 | -2/+3 |
| | | | | | | | | Fixes #1196. | ||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 1 | -1/+1 |
|\| | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp | ||||
| * | Splash potions: Renamed PotionParticleType to PotionColor for clarity | archshift | 2014-07-19 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -19/+65 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp src/ClientHandle.h src/Entities/Player.cpp src/Entities/Player.h src/Generating/FinishGen.cpp src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol16x.cpp src/Protocol/Protocol16x.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/Root.h src/World.cpp | ||||
| * | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -6/+6 |
| | | |||||
| * | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | | | | | | | | | | 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. | ||||
| * | Restructured cSplashPotionEntity code. | madmaxoft | 2014-07-15 | 1 | -1/+1 |
| | | | | | | | | | | The callback doesn't need declaration in the header. Renamed PotionName to PotionParticleType. | ||||
| * | Merge branch 'master' into potions | madmaxoft | 2014-07-15 | 1 | -7/+18 |
| |\ | |||||
| | * | Merge branch 'master' into Sheep | Howaner | 2014-07-13 | 1 | -5/+16 |
| | |\ | |||||
| | | * | Merge pull request #1154 from mc-server/trappedchests | Tiger Wang | 2014-07-13 | 1 | -3/+7 |
| | | |\ | | | | | | | | | | | Implemented trapped chests & others | ||||
| | | | * | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
| | * | | | Code fixes. | Howaner | 2014-06-29 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Save IsSheared from Sheep. | Howaner | 2014-06-28 | 1 | -4/+11 |
| | | |/ | | |/| | |||||
| * | | | Added splash potions to NBT serialization and retrieval | archshift | 2014-07-12 | 1 | -0/+28 |
| | |/ | |/| | |||||
| * | | Merge pull request #1135 from mc-server/fixes | Tiger Wang | 2014-07-09 | 1 | -2/+9 |
| |\ \ | | |/ | |/| | Fixes to projectiles and the undead | ||||
| | * | Suggestions | Tiger Wang | 2014-07-02 | 1 | -2/+9 |
| | | | |||||
* | | | Merge branch 'master' of https://github.com/mc-server/MCServer into portals | Tiger Wang | 2014-06-24 | 1 | -14/+7 |
|\| | | |||||
| * | | Add entity health saving. | Howaner | 2014-06-24 | 1 | -14/+7 |
| |/ | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-06-21 | 1 | -0/+3 |
|\| | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h | ||||
| * | MCA saver marks chunks as populated. | madmaxoft | 2014-06-20 | 1 | -0/+3 |
| | | | | | | | | Fixes #140. | ||||
* | | Time and weather is saved, part of #1058 | Tiger Wang | 2014-06-04 | 1 | -3/+10 |
| | | | | | | | | Also fixed unreliability in Health and LootPickup loading. | ||||
* | | Health of monsters is now saved | Tiger Wang | 2014-06-04 | 1 | -0/+1 |
|/ | |||||
* | Fixed mob loading, part of #1058 | Tiger Wang | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | More size_t fixes. | Mattes D | 2014-05-09 | 1 | -5/+5 |
| | |||||
* | Build fixes after the last size_t batch. | Mattes D | 2014-05-09 | 1 | -1/+1 |
| | |||||
* | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 1 | -4/+4 |
| | |||||
* | Merge pull request #989 from Howaner/Anvil | Mattes D | 2014-05-07 | 1 | -6/+28 |
|\ | | | | | Add repair cost to cItem, add custom name to NBTChunkSerializer and fix ... | ||||
| * | Change m_RepairCost to int. | Howaner | 2014-05-07 | 1 | -1/+1 |
| | | |||||
| * | Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs. | Howaner | 2014-05-07 | 1 | -6/+28 |
| | | |||||
* | | Fix MagmaCube save. | Howaner | 2014-05-07 | 1 | -2/+8 |
|/ | |||||
* | Anvil saver pads data to 4K boundaries. | madmaxoft | 2014-05-01 | 1 | -0/+5 |
| | | | | Fixes #524. | ||||
* | Merge pull request #940 from Howaner/GlobalFixes | Mattes D | 2014-04-28 | 1 | -1/+1 |
|\ | | | | | Add entity invulnerable | ||||
| * | Revert "Changed the old invulnerable methods from the wither to the new." | Howaner | 2014-04-28 | 1 | -1/+1 |
| | | | | | | This reverts commit d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34. | ||||
| * | Changed the old invulnerable methods from the wither to the new. | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | |||||
| * | Fixes | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | |||||
* | | Fixed projectile source filenames, indentations | archshift | 2014-04-28 | 1 | -6/+6 |
| | | |||||
* | | Moved cGhastFireballEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -0/+1 |
| | | |||||
* | | Moved cFireChargeEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -0/+1 |
| | | |||||
* | | Moved cThrownSnowballEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -0/+1 |
| | | |||||
* | | Moved cThrownEnderPearl out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -0/+1 |
| | | |||||
* | | Moved cThrownEggEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -1/+1 |
| | | |||||
* | | Moved cArrowEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -1/+1 |
|/ | |||||
* | Fixed class capitalization for the cave spider. | archshift | 2014-04-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #833 from mc-server/EnderCrystal | Mattes D | 2014-03-25 | 1 | -0/+19 |
|\ | | | | | Ender crystals | ||||
| * | Ender crystals | andrew | 2014-03-25 | 1 | -0/+19 |
| | | |||||
* | | Wither invulnerability | andrew | 2014-03-24 | 1 | -1/+7 |
|/ | |||||
* | Merge pull request #809 from Howaner/BlockEntitys | Mattes D | 2014-03-16 | 1 | -26/+174 |
|\ | | | | | More entity saving. | ||||
| * | Add anvil direction. | Howaner | 2014-03-16 | 1 | -1/+9 |
| | | |||||
| * | Remove old debug messages. | Howaner | 2014-03-15 | 1 | -3/+0 |
| | | |||||
| * | Merge branch 'master' into BlockEntitys | Howaner | 2014-03-15 | 1 | -2/+8 |
| |\ | |||||
| * | | Add item frame saving. | Howaner | 2014-03-15 | 1 | -0/+85 |
| | | | |||||
| * | | Add health and age load to pickup's. | Howaner | 2014-03-15 | 1 | -1/+15 |
| | | | |||||
| * | | Add ExpOrb saving. | Howaner | 2014-03-15 | 1 | -26/+70 |
| | | | |||||
* | | | Add new leaves to all classes. | Howaner | 2014-03-16 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Removed Some unnessicary macros | Tycho | 2014-03-10 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #768 from Howaner/BlockEntitys | Tiger Wang | 2014-03-09 | 1 | -0/+27 |
|\| | | | | | Add TNT load/save | ||||
| * | Change TNT Fuse to ticks | Howaner | 2014-03-08 | 1 | -2/+1 |
| | | |||||
| * | Add TNT Save/Load and add Netbeans projects to .gitignore | Howaner | 2014-03-08 | 1 | -0/+28 |
| | | |||||
* | | Merge branch 'master' into ballisticmissiles | Tiger Wang | 2014-03-09 | 1 | -0/+36 |
|\| | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| * | Add Flower Pots | Howaner | 2014-03-07 | 1 | -0/+36 |
| | | |||||
* | | Implemented ballistic missiles (fireworks) | Tiger Wang | 2014-02-27 | 1 | -0/+6 |
|/ | | | | + Added fireworks | ||||
* | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 2014-02-23 | 1 | -0/+183 |
| | |||||
* | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-23 | 1 | -8/+8 |
| | |||||
* | Add Heads completely | Howaner | 2014-02-23 | 1 | -1/+1 |
| | |||||
* | Add Skulls/Heads | Howaner | 2014-02-23 | 1 | -0/+40 |
| | |||||
* | Fixed #573 | STRWarrior | 2014-02-12 | 1 | -4/+4 |
| | |||||
* | Added saving of angry flag. | Kirill Kirilenko | 2014-02-02 | 1 | -0/+6 |
| | |||||
* | Fixed sitting tag. | Kirill Kirilenko | 2014-02-02 | 1 | -4/+4 |
| | |||||
* | Added saving of collar's color. | Kirill Kirilenko | 2014-02-01 | 1 | -3/+9 |
| | |||||
* | Added reading saved state of the wolf (sitting or standing). | Kirill Kirilenko | 2014-01-31 | 1 | -0/+6 |
| | |||||
* | Inversed condition. | STRWarrior | 2014-01-31 | 1 | -1/+1 |
| | |||||
* | Wolf: If Owner tag is missing a normal ownerless wolf will spawn. | STRWarrior | 2014-01-31 | 1 | -9/+6 |
| | |||||
* | Fixed bad variable. | STRWarrior | 2014-01-30 | 1 | -1/+1 |
| | |||||
* | Check if the tag is found. | STRWarrior | 2014-01-30 | 1 | -0/+5 |
| | |||||
* | Fixes #606 | STRWarrior | 2014-01-30 | 1 | -0/+7 |
| | |||||
* | Item-loading now checks for weird bytes. | madmaxoft | 2014-01-26 | 1 | -3/+9 |
| | |||||
* | Fixed crash with failed entity-loading. | madmaxoft | 2014-01-24 | 1 | -2/+7 |
| | | | | | | This should fix issues reported in: http://forum.mc-server.org/showthread.php?tid=1328 http://forum.mc-server.org/showthread.php?tid=1308 | ||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer | andrew | 2014-01-21 | 1 | -1/+2 |
|\ | |||||
| * | Merge pull request #569 from worktycho/EnchantmentsFix | Mattes D | 2014-01-19 | 1 | -1/+2 |
| |\ | | | | | | | Enchantments fix | ||||
| | * | Switched EnchantmentSerilizer to namespace | Tycho | 2014-01-19 | 1 | -1/+1 |
| | | | |||||
| | * | Spilt Writing of Enchantments to seperate class | Tycho | 2014-01-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | Created a new class cEnchantmentSerializer to serilize Enchantments to NBT. This breaks a dependecy chain between cChunkGenerator and cWorld. cEnchantmentSerializer is seperate from NBTWriter as it needs to access private members of cEnchantments so having it seperate reduces the spread of the frein modifier | ||||
* | | | Scoreboard deserialization | andrew | 2014-01-20 | 1 | -1/+1 |
|/ / | |||||
* | | Command blocks: Execute() | andrew | 2014-01-18 | 1 | -1/+1 |
| | | |||||
* | | Command block (de)serialization | andrew | 2014-01-18 | 1 | -0/+42 |
|/ | |||||
* | Added user setting compression factor | Tycho | 2014-01-17 | 1 | -3/+4 |
| | |||||
* | Merge pull request #534 from mc-server/SpawnMinecart | Mattes D | 2014-01-17 | 1 | -1/+1 |
|\ | | | | | Added cWorld::SpawnMinecart. | ||||
| * | Renamed cEmptyMinecart to cRideableMinecart | STRWarrior | 2014-01-12 | 1 | -1/+1 |
| | | |||||
| * | EmptyMinecarts should be able to get a block inside of them. | STRWarrior | 2014-01-12 | 1 | -1/+1 |
| | | |||||
* | | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -1/+1 |
|/ | |||||
* | Preliminary mobile entity saving | Tiger Wang | 2013-12-25 | 1 | -6/+622 |
| | | | | | | | * Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs | ||||
* | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -3/+3 |
| | |||||
* | Fixed the remaining derps | Alexander Harkness | 2013-11-27 | 1 | -1/+1 |
| | |||||
* | Further attempts to fix compile | Tiger Wang | 2013-11-25 | 1 | -1/+1 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+1555 |