summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-15Adding basic Banner functionality (#4806)12xx121-0/+1
+ Added item and block for banners Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2021-03-05Prepare ChunkData for BlockState storage (#5105)Tiger Wang1-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>
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-21/+14
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
2020-11-23Adding new monster types to enum and saving/loading for easier future implementation (#4941)12xx121-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>
2020-09-20Added end portal and enchanting table block entities12xx121-16/+18
2020-08-28Save enderchest block entities to storageTiger Wang1-0/+1
+ Add EnderChest saving, as Vanilla does - Remove CreateBlockEntities. Storage should save & load everything so looping over chunk data is not needed
2020-04-16Using Super.Mattes D1-2/+2
2020-04-10Add Zombie VillagersBond-0091-0/+1
2020-04-04Implement wither skeletons (#4563)Mat1-0/+1
2020-04-03Manage block entity lifetime with unique_ptr (#4080)peterbell101-16/+17
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-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
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-19/+19
2017-08-25Add cUUID class (#3871)peterbell101-2/+3
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-0/+4
2017-08-13Replaced includes with forward declarationsLukas Pioch1-2/+1
2017-08-03Removed unused forward declarations (#3888)Lukas Pioch1-2/+0
2017-07-12Added basic ocelot behavior (#3829)Bond-0091-2/+4
2017-07-07Added bed entity (#3823)Lukas Pioch1-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
2017-06-23Load entities from old and new namesLukas Pioch1-0/+1
2017-06-21Anvil storage: load block entities from both old and new name-styles. (#3784)Mattes D1-3/+8
* WSSAnvil: Load the sign text from JSON, too.
2017-06-16BlockEntities: Support cloning self.Mattes D1-17/+19
2017-05-22Store cChunk::m_BlockEntities in a map (#3717)peterbell101-1/+1
* Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt
2017-05-21Clang 5.0 fixesLukas Pioch1-1/+1
- Added override keyword - Removed inherited member variables
2016-02-05Bulk clearing of whitespaceLogicParrot1-35/+35
2015-11-03Implemented brewingLukas Pioch1-0/+1
2015-07-31Chunks that fail to load are offloaded to extra files.Mattes D1-28/+34
Ref.: #1970
2015-03-14cPainting saving implementedTiger Wang1-0/+1
Additionally, it now inherits from cHangingEntity.
2014-12-20Added RabbitsMasy981-0/+1
2014-12-18Added Entity GuardianMasy981-0/+1
2014-12-08Added timestamp to new files WSSAnvilplanetx1-1/+1
2014-12-07Added Timestamp info to chunks in WSSAnvilplanetx1-2/+3
2014-11-18Finished mob spawner implementation.Howaner1-0/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-08-29Rewritten block entity loading.Mattes D1-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.
2014-08-03Wolf uses UUID for owner.madmaxoft1-0/+4
Fixes #1277.
2014-07-30Added beacon load/save.Howaner1-0/+1
2014-07-19Fixed style: spaces after commas.madmaxoft1-1/+1
2014-07-12Added splash potions to NBT serialization and retrievalarchshift1-0/+1
2014-07-07Implemented trapped chests & othersTiger Wang1-1/+1
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-06-30Removed unneeded codeTiger Wang1-1/+0
2014-06-29Properly implemented enderchestsTiger Wang1-0/+1
2014-05-09More size_t fixes.Mattes D1-1/+1
2014-05-09Build fixes after the last size_t batch.Mattes D1-1/+1
2014-03-25Ender crystalsandrew1-0/+1
2014-03-15Add item frame saving.Howaner1-0/+3
2014-03-15Add ExpOrb saving.Howaner1-1/+2
2014-03-08Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner1-0/+1
2014-03-07Add Flower PotsHowaner1-0/+1
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+7
2014-02-23Rename SkullEntity to MobHeadEntityHowaner1-1/+1
2014-02-23Add Skulls/HeadsHowaner1-0/+1
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+7
2014-02-23Fixed Compiling IssuesTheJumper1-0/+4
2014-02-23Fixed Formatting, Added DropChance attributes to MonstersTheJumper1-0/+3
2014-02-19Rename SkullEntity to MobHeadEntityHowaner1-1/+1
2014-02-17Add Skulls/HeadsHowaner1-0/+1
2014-01-18Command block (de)serializationandrew1-8/+9
2014-01-17Added user setting compression factorTycho1-1/+3
2013-12-25Preliminary mobile entity savingTiger Wang1-1/+33
* Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-09-08Fixed a bunch of stuffTiger Wang1-1/+1
* Fixed compilation * Made it less obvious I COPIED ALL THE CODE from Minecarts * Fixed alignment spaces to make xoft happy
2013-09-08Initial boat supportTiger Wang1-0/+1
+ Boats are saved + Boats have physics + Boats spawn
2013-09-07Implemented loading more projectiles from MCA.madmaxoft1-8/+18
2013-08-25Arrows get loaded from MCA.madmaxoft1-0/+1
Somehow they still don't spawn visibly on the client.
2013-08-16Feature and bugfixes [SEE DESC]Tiger Wang1-0/+2
Added TNT and Hopper minecarts Fixed piston code failing without an extension set Repeaters are now broken Fixed not being able to place a minecart on an activator rail Added much needed comments on piston code Fixed minor formatting issue
2013-06-20Furnaces light up visually when they're cookingmadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1612 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.madmaxoft@gmail.com1-2/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26Block entities with storage now correctly mark the chunk as dirty when their contents change.madmaxoft@gmail.com1-0/+14
http://forum.mc-server.org/showthread.php?tid=434&pid=8210#pid8210 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1515 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-0/+17
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-19Added dispensers (they can't dispense items yet)luksor111@gmail.com1-5/+6
Fixed crash when digging snow Moved BlockPlace hook check, so Core plugin will no longer block item usage Player chat messages are now visible in the console git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-28Fixed NBT IntArray serialization; Biomes are now saved to / loaded from Anvilmadmaxoft@gmail.com1-1/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1015 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21Added jukeboxes (patch contributed by Luksor)madmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: WorldStorage-related files in a separate subfoldermadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@882 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-26Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL)madmaxoft@gmail.com1-0/+1
http://forum.mc-server.org/showthread.php?tid=528 git-svn-id: http://mc-server.googlecode.com/svn/trunk@793 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-15Anvil: added support for signs (why was it still missing??)madmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@616 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-131/+131
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-28Chests and Furnaces are now saved properly into Anvil scheme.madmaxoft@gmail.com1-11/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@516 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-0/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-08Fast NBT writer (Saving a chunk is now about twice as fast)madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@484 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-07Fast NBT Parser (loading a chunk is now about 10 times faster)madmaxoft@gmail.com1-7/+11
git-svn-id: http://mc-server.googlecode.com/svn/trunk@481 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-23Anvil storage writing (Basic storage is working, NO entities except for chests are working! Don't use for real servers)madmaxoft@gmail.com1-7/+28
git-svn-id: http://mc-server.googlecode.com/svn/trunk@475 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-24Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@428 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-23Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers)madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@427 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07Anvil format: loading chests' contents.madmaxoft@gmail.com1-0/+13
git-svn-id: http://mc-server.googlecode.com/svn/trunk@385 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07Added the Anvil level format (MCA) support, read-only for the time being. Now MCS can read your worlds from the official server :)madmaxoft@gmail.com1-0/+95
git-svn-id: http://mc-server.googlecode.com/svn/trunk@380 0a769ca7-a7f5-676a-18bf-c427514a06d6