summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Anvil: Refactored to use shared_ptr.Mattes D2023-05-261-3/+6
|
* Anvil: Allow loading chunks without HeightMap.Mattes D2023-05-261-29/+19
|
* Adding basic Banner functionality (#4806)12xx122021-03-151-0/+1
| | | | | | + 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 Wang2021-03-051-8/+9
| | | | | | | | | | | | | | | | | | | | | | | * 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 Wang2021-01-111-21/+14
| | | | | | + 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)12xx122020-11-231-1/+37
| | | | | | | | | | | * 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>
* Added end portal and enchanting table block entities12xx122020-09-201-16/+18
|
* Save enderchest block entities to storageTiger Wang2020-08-281-0/+1
| | | | | + Add EnderChest saving, as Vanilla does - Remove CreateBlockEntities. Storage should save & load everything so looping over chunk data is not needed
* Using Super.Mattes D2020-04-161-2/+2
|
* Add Zombie VillagersBond-0092020-04-101-0/+1
|
* Implement wither skeletons (#4563)Mat2020-04-041-0/+1
|
* Manage block entity lifetime with unique_ptr (#4080)peterbell102020-04-031-16/+17
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-1/+2
| | | | | | | | | 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 D2019-09-291-19/+19
|
* Add cUUID class (#3871)peterbell102017-08-251-2/+3
|
* Fully implemented leashes (#3798)Pablo Beltrán2017-08-211-0/+4
|
* Replaced includes with forward declarationsLukas Pioch2017-08-131-2/+1
|
* Removed unused forward declarations (#3888)Lukas Pioch2017-08-031-2/+0
|
* Added basic ocelot behavior (#3829)Bond-0092017-07-121-2/+4
|
* Added bed entity (#3823)Lukas Pioch2017-07-071-0/+1
| | | | | | | | | | * 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 namesLukas Pioch2017-06-231-0/+1
|
* Anvil storage: load block entities from both old and new name-styles. (#3784)Mattes D2017-06-211-3/+8
| | | | * WSSAnvil: Load the sign text from JSON, too.
* BlockEntities: Support cloning self.Mattes D2017-06-161-17/+19
|
* Store cChunk::m_BlockEntities in a map (#3717)peterbell102017-05-221-1/+1
| | | | | | * Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt
* Clang 5.0 fixesLukas Pioch2017-05-211-1/+1
| | | | | - Added override keyword - Removed inherited member variables
* Bulk clearing of whitespaceLogicParrot2016-02-051-35/+35
|
* Implemented brewingLukas Pioch2015-11-031-0/+1
|
* Chunks that fail to load are offloaded to extra files.Mattes D2015-07-311-28/+34
| | | | Ref.: #1970
* cPainting saving implementedTiger Wang2015-03-141-0/+1
| | | | Additionally, it now inherits from cHangingEntity.
* Added RabbitsMasy982014-12-201-0/+1
|
* Added Entity GuardianMasy982014-12-181-0/+1
|
* Added timestamp to new files WSSAnvilplanetx2014-12-081-1/+1
|
* Added Timestamp info to chunks in WSSAnvilplanetx2014-12-071-2/+3
|
* Finished mob spawner implementation.Howaner2014-11-181-0/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* Rewritten block entity loading.Mattes D2014-08-291-12/+19
| | | | | | 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.
* Wolf uses UUID for owner.madmaxoft2014-08-031-0/+4
| | | | Fixes #1277.
* Added beacon load/save.Howaner2014-07-301-0/+1
|
* Fixed style: spaces after commas.madmaxoft2014-07-191-1/+1
|
* Merge branch 'master' into potionsmadmaxoft2014-07-151-1/+1
|\
| * Implemented trapped chests & othersTiger Wang2014-07-071-1/+1
| | | | | | | | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* | Added splash potions to NBT serialization and retrievalarchshift2014-07-121-0/+1
|/
* More size_t fixes.Mattes D2014-05-091-1/+1
|
* Build fixes after the last size_t batch.Mattes D2014-05-091-1/+1
|
* Ender crystalsandrew2014-03-251-0/+1
|
* Add item frame saving.Howaner2014-03-151-0/+3
|
* Add ExpOrb saving.Howaner2014-03-151-1/+2
|
* Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner2014-03-081-0/+1
|
* Add Flower PotsHowaner2014-03-071-0/+1
|
* Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-0/+7
|
* Rename SkullEntity to MobHeadEntityHowaner2014-02-231-1/+1
|
* Add Skulls/HeadsHowaner2014-02-231-0/+1
|
* Command block (de)serializationandrew2014-01-181-8/+9
|
* Added user setting compression factorTycho2014-01-171-1/+3
|
* Preliminary mobile entity savingTiger Wang2013-12-251-1/+33
| | | | | | | * Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs
* Moved source to srcAlexander Harkness2013-11-241-0/+184