summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2023-05-26Anvil: Refactored to use shared_ptr.Mattes D1-11/+7
2023-05-26Anvil: Allow loading chunks without HeightMap.Mattes D1-28/+22
2023-05-16Removed all Printf-family functions from StringUtils.Mattes D1-15/+14
2021-12-29Improved farmer AI & Fixed entity loading functions (#5351)Persson-dev1-23/+29
2021-10-03World: change spawnpoint type to int (#5313)Tiger Wang1-3/+3
2021-04-30Chest, weather, crash, and miscellaneous fixes (#5215)Tiger Wang1-3/+3
2021-04-12Fix sending incorrect date values on world changeTiger Wang1-2/+2
2021-03-15Adding basic Banner functionality (#4806)12xx121-2/+29
2021-03-05Prepare ChunkData for BlockState storage (#5105)Tiger Wang1-88/+100
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-88/+59
2020-11-23Adding new monster types to enum and saving/loading for easier future implementation (#4941)12xx121-75/+443
2020-11-14Fix flower and foliage generation (#4723)mBornand1-0/+0
2020-11-06Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017)12xx121-9/+10
2020-10-29Add beam target, configurable base visibility to Ender Crystals (#5010)12xx121-1/+32
2020-10-10Adding more customize options to mob spawners and improving the way to look for surrounding entities (#4955)12xx121-3/+45
2020-10-05Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell101-2/+2
2020-09-27Fixing Mob spawner behaviour (#4930)12xx121-19/+6
2020-09-20Added end portal and enchanting table block entities12xx121-19/+63
2020-09-05Use pitch lookup in noteblock block entity (#4826)12xx121-1/+1
2020-08-28Save enderchest block entities to storageTiger Wang1-3/+17
2020-08-05Delete redundant std::move in World loaderTiger Wang1-14/+14
2020-08-01Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D1-71/+71
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-4/+4
2020-05-09Update submodules (#4727)peterbell101-2/+2
2020-05-07Remove old Android leftovers (#4722)Mat1-3/+3
2020-05-04Fix incorrect formatter invocationTiger Wang1-2/+2
2020-04-30NBT: Dynamic list-max-count protection. (#4697)Mattes D1-3/+4
2020-04-16Using Super.Mattes D1-1/+1
2020-04-10Add Zombie VillagersBond-0091-7/+44
2020-04-04Implement wither skeletons (#4563)Mat1-5/+32
2020-04-03Manage block entity lifetime with unique_ptr (#4080)peterbell101-37/+34
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-5/+6
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-101/+102
2019-09-24NBTChunkSerializer: Cleaned up interface.Mattes D1-59/+2
2018-09-24Add a formatting function for Vector3 (#4282)peterbell101-7/+7
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-2/+2
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+2
2018-01-03Add the fmt library (#4065)peterbell101-4/+4
2017-11-22Store Health as a float (#4073)Fabian1-2/+21
2017-09-14Fix switch warnings (#4013)peterbell101-15/+20
2017-09-07Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912)Lane Kolbly1-3/+3
2017-09-07Changed some int parameters to vector parameters (#3937)Bond-0091-2/+2
2017-08-26Implement anvil chunk sparsingpeterbell101-15/+17
2017-08-25Add cUUID class (#3871)peterbell101-19/+16
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-0/+77
2017-08-18Represent cItem::m_Lore as an AStringVector (#3882)peterbell101-1/+11
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-53/+53
2017-08-03Remove double includes part 2 (#3890)peterbell101-1/+0
2017-08-02Removed double includes (#3885)Lukas Pioch1-2/+0
2017-07-21Remove smart pointer macrospeterbell101-1/+1
2017-07-12Added basic ocelot behavior (#3829)Bond-0091-10/+35
2017-07-07Added bed entity (#3823)Lukas Pioch1-0/+28
2017-06-23Load entities from old and new namesLukas Pioch1-224/+149
2017-06-21Anvil storage: load block entities from both old and new name-styles. (#3784)Mattes D1-77/+121
2017-06-16BlockEntities: Support cloning self.Mattes D1-61/+62
2017-05-24Exported boatLukas Pioch1-1/+7
2017-05-22Store cChunk::m_BlockEntities in a map (#3717)peterbell101-3/+6
2017-05-08Corrected brewingstand and added support for fuelLukas Pioch1-2/+10
2017-03-22NBT: Corrected firework loadingLukas Pioch1-2/+2
2016-11-07Fixed TrappedChest saving. (#3423)Mattes D1-4/+15
2016-08-24Fixed type-casting-related warnings.Mattes D1-6/+10
2016-02-05Bulk clearing of whitespaceLogicParrot1-120/+120
2016-01-29MCServer to CuberiteMathias1-1/+1
2016-01-11Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8bibo381-3/+40
2015-11-16changed mob age from char to intJulian Laubstein1-18/+72
2015-11-03Implemented brewingLukas Pioch1-0/+51
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby1-1/+1
2015-09-25Namechange to CuberiteMattes D1-1/+1
2015-07-31Unified the doxy-comment format.Mattes D1-1/+1
2015-07-31Chunks that fail to load are offloaded to extra files.Mattes D1-33/+73
2015-07-31Added reason parameter to load failures.Mattes D1-13/+13
2015-07-31Moved AString reading hack to cFile.Mattes D1-16/+17
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-61/+61
2015-07-17 Added Rabbit Metadata values.bibo381-1/+12
2015-07-14Support ageable mobsHallucino1-7/+72
2015-07-12Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functionsbibo381-64/+64
2015-07-09Fixes compilation failures on MacOSX 10.10Samuel Barney1-6/+6
2015-06-03Fixes multiple furnace issues, including from loading world storageHaoTNN1-2/+3
2015-05-09CheckBasicStyle: checks spaces around * and &.Mattes D1-1/+1
2015-05-09More style checking.Mattes D1-4/+4
2015-04-27cSetChunkData constructor explicitly requires std::move() instead ofWoazboat1-1/+1
2015-03-14cPainting saving implementedTiger Wang1-0/+28
2015-03-13Fixed confusion over Item Frame directionsTiger Wang1-37/+7
2015-02-18Flower pots: In 1.8 items are saved with the name and not the id.Howaner1-5/+12
2015-02-08WSSAnvil: Fixed chunk data padding.Mattes D1-2/+5
2014-12-21WSSAnvil: Added clamping to entity coords.Mattes D1-3/+3
2014-12-20Added RabbitsMasy981-0/+24
2014-12-18Added Entity GuardianMasy981-0/+24
2014-12-11Cosmetic touchups.Mattes D1-4/+5
2014-12-08Check to see if header write out is requiredplanetx1-17/+15
2014-12-08Added timestamp to merged files WSSAnvilplanetx1-1/+1
2014-12-08Added timestamp to merged files WSSAnvilplanetx1-62/+62
2014-12-08Added timestamp to new files WSSAnvilplanetx1-78/+148
2014-12-07Added Timestamp info to chunks in WSSAnvilplanetx1-85/+44
2014-12-06Replaced most auto_ptr with unique_ptr.Mattes D1-61/+61
2014-12-05BasicStyle: Added missing braces to control statements.Mattes D1-10/+21
2014-12-01MobSpawner fixes.Howaner1-1/+1
2014-11-26WSSAnvil: Fixed bad code in arrow loading.Mattes D1-2/+8
2014-11-18Finished mob spawner implementation.Howaner1-0/+50
2014-10-29Fixed 1.8 world item format reading.Howaner1-2/+19
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-44/+44
2014-10-21cItemFrame: Fixed a forgotten rename.Mattes D1-1/+1
2014-10-21Properly exported cItemFrame and cHangingEntity to Lua.Mattes D1-16/+27
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-44/+44
2014-09-25Anvil: Arrow Tile tags are a short in VanillaHowaner1-4/+21
2014-09-25Fixed hanging direction bugs.Howaner1-1/+1
2014-09-24Don't create two entity lists.Howaner1-7/+2
2014-09-23Anvil: Wolf collar color is a byte in Vanilla.madmaxoft1-3/+17
2014-09-23Fixed a crash in WSSAnvil.madmaxoft1-3/+3
2014-09-23MCServer world compatiblity with vanilla and mcedit.Howaner1-5/+34
2014-09-06Added Y-wise asserts to signs.Mattes D1-0/+2
2014-09-06Anvil: Fixed an off-by-one error in the loader.Mattes D1-1/+1
2014-09-05Fixed loading empty chunks.Mattes D1-1/+7
2014-09-05Anvil: Fixed loading block entities with invalid Y coord.Mattes D1-1/+1
2014-09-04Anvil: Cleanly refuse to store data that is too large.madmaxoft1-1/+7
2014-09-03Anvil: switched inflate to stream mode.madmaxoft1-18/+6
2014-09-02Clang wants volatile...madmaxoft1-1/+1
2014-09-02Added strict error reporting to chunk loading.madmaxoft1-1/+29
2014-09-02Added CustomName saving.Howaner1-0/+13
2014-08-30WSSAnvil: Removed leftover debugging code.madmaxoft1-4/+0
2014-08-29Rewritten block entity loading.Mattes D1-200/+238
2014-08-04Refactored case-conversion functions.madmaxoft1-1/+6
2014-08-03Wolf uses UUID for owner.madmaxoft1-10/+59
2014-07-31Renamed "select..." methods to "set..." and better IsValidEffect() function.Howaner1-2/+2
2014-07-31Renamed functions and added beacon json saving.Howaner1-2/+2
2014-07-30Added beacon load/save.Howaner1-1/+49
2014-07-29Slight cleanup after portalsTiger Wang1-6/+1
2014-07-26Moved potion static functions to EntityEffect to create splash potions through worldarchshift1-1/+1
2014-07-24Added a queue for setting chunk data.madmaxoft1-2/+3
2014-07-19Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift1-1/+1
2014-07-17Basic style fixes.madmaxoft1-6/+6
2014-07-17Normalized comments.madmaxoft1-4/+4
2014-07-15Restructured cSplashPotionEntity code.madmaxoft1-1/+1
2014-07-12Added splash potions to NBT serialization and retrievalarchshift1-0/+28
2014-07-07Implemented trapped chests & othersTiger Wang1-3/+7
2014-07-02SuggestionsTiger Wang1-2/+9
2014-06-30Removed unneeded codeTiger Wang1-21/+0
2014-06-29Properly implemented enderchestsTiger Wang1-0/+21
2014-06-29Code fixes.Howaner1-1/+1
2014-06-28Save IsSheared from Sheep.Howaner1-4/+11
2014-06-24Add entity health saving.Howaner1-14/+7
2014-06-20MCA saver marks chunks as populated.madmaxoft1-0/+3
2014-06-04Time and weather is saved, part of #1058Tiger Wang1-3/+10
2014-06-04Health of monsters is now savedTiger Wang1-0/+1
2014-06-04Fixed mob loading, part of #1058Tiger Wang1-1/+1
2014-05-09More size_t fixes.Mattes D1-5/+5
2014-05-09Build fixes after the last size_t batch.Mattes D1-1/+1
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-4/+4
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-4/+4
2014-05-07Change m_RepairCost to int.Howaner1-1/+1
2014-05-07Fix MagmaCube save.Howaner1-2/+8
2014-05-07Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs.Howaner1-6/+28
2014-05-01Anvil saver pads data to 4K boundaries.madmaxoft1-0/+5
2014-04-28Revert "Changed the old invulnerable methods from the wither to the new."Howaner1-1/+1
2014-04-28Fixed projectile source filenames, indentationsarchshift1-6/+6
2014-04-27Moved cGhastFireballEntity out of ProjectileEntity.harchshift1-0/+1
2014-04-27Moved cFireChargeEntity out of ProjectileEntity.harchshift1-0/+1
2014-04-27Moved cThrownSnowballEntity out of ProjectileEntity.harchshift1-0/+1
2014-04-27Moved cThrownEnderPearl out of ProjectileEntity.harchshift1-0/+1
2014-04-27Moved cThrownEggEntity out of ProjectileEntity.harchshift1-1/+1
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift1-1/+1
2014-04-26Changed the old invulnerable methods from the wither to the new.Howaner1-1/+1
2014-04-26FixesHowaner1-1/+1
2014-04-24Fixed class capitalization for the cave spider.archshift1-1/+1
2014-03-25Ender crystalsandrew1-0/+19
2014-03-24Wither invulnerabilityandrew1-1/+7
2014-03-16Add new leaves to all classes.Howaner1-0/+1
2014-03-16Add anvil direction.Howaner1-1/+9
2014-03-15Remove old debug messages.Howaner1-3/+0
2014-03-15Add item frame saving.Howaner1-0/+85
2014-03-15Add health and age load to pickup's.Howaner1-1/+15
2014-03-15Add ExpOrb saving.Howaner1-26/+70
2014-03-10Removed Some unnessicary macrosTycho1-2/+2
2014-03-08Change TNT Fuse to ticksHowaner1-2/+1
2014-03-08Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner1-0/+28
2014-03-07Add Flower PotsHowaner1-0/+36
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang1-0/+6
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+183
2014-02-23Rename SkullEntity to MobHeadEntityHowaner1-8/+8
2014-02-23Add Heads completelyHowaner1-1/+1
2014-02-23Add Skulls/HeadsHowaner1-0/+40
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+183
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+2
2014-02-23Fixed Compiling IssuesTheJumper1-2/+20
2014-02-23Fixed Formatting, Added DropChance attributes to MonstersTheJumper1-0/+163
2014-02-19Rename SkullEntity to MobHeadEntityHowaner1-8/+8
2014-02-18Add Heads completelyHowaner1-1/+1
2014-02-17Add Skulls/HeadsHowaner1-0/+40
2014-02-12Fixed #573STRWarrior1-4/+4
2014-02-02Added saving of angry flag.Kirill Kirilenko1-0/+6
2014-02-02Fixed sitting tag.Kirill Kirilenko1-4/+4
2014-02-01Added saving of collar's color.Kirill Kirilenko1-3/+9
2014-01-31Added reading saved state of the wolf (sitting or standing).Kirill Kirilenko1-0/+6
2014-01-31Inversed condition.STRWarrior1-1/+1
2014-01-31Wolf: If Owner tag is missing a normal ownerless wolf will spawn.STRWarrior1-9/+6
2014-01-30Fixed bad variable.STRWarrior1-1/+1
2014-01-30Check if the tag is found.STRWarrior1-0/+5
2014-01-30Fixes #606STRWarrior1-0/+7
2014-01-26Item-loading now checks for weird bytes.madmaxoft1-3/+9
2014-01-24Fixed crash with failed entity-loading.madmaxoft1-2/+7
2014-01-20Scoreboard deserializationandrew1-1/+1
2014-01-19Switched EnchantmentSerilizer to namespaceTycho1-1/+1
2014-01-19Spilt Writing of Enchantments to seperate classTycho1-1/+2
2014-01-18Command blocks: Execute()andrew1-1/+1
2014-01-18Command block (de)serializationandrew1-0/+42
2014-01-17Added user setting compression factorTycho1-3/+4
2014-01-16Removed obsoleted functionsTiger Wang1-1/+1
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior1-1/+1
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior1-1/+1
2013-12-25Preliminary mobile entity savingTiger Wang1-6/+622
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-3/+3
2013-11-27Fixed the remaining derpsAlexander Harkness1-1/+1
2013-11-25Further attempts to fix compileTiger Wang1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-24Pickups now have collection delay when vomitedTiger Wang1-1/+1
2013-10-09Moved cMakeDir::MakeDir to cFile::CreateFolder.madmaxoft1-2/+1
2013-09-08Initial boat supportTiger Wang1-1/+20
2013-09-07Implemented loading more projectiles from MCA.madmaxoft1-3/+127
2013-08-25Arrows get loaded from MCA.madmaxoft1-4/+47
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-4/+4
2013-08-16Compilation and Minecart fixesTiger Wang1-0/+42
2013-08-16Feature and bugfixes [SEE DESC]Tiger Wang1-0/+2
2013-06-20Furnaces light up visually when they're cookingmadmaxoft@gmail.com1-5/+23
2013-06-16Rewritten furnacesmadmaxoft@gmail.com1-3/+3
2013-06-13Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.madmaxoft@gmail.com1-27/+55
2013-06-02Enchantments are now stored in Anvil world and in player inventorymadmaxoft@gmail.com1-1/+16
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-7/+7
2013-05-26Block entities with storage now correctly mark the chunk as dirty when their contents change.madmaxoft@gmail.com1-32/+64
2013-05-05Lighting: Fixed underwater lighting (FS #369)madmaxoft@gmail.com1-1/+10
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-2/+6
2013-04-07Anvil loader: fixed Vanilla biomes not being readmadmaxoft@gmail.com1-1/+1
2013-03-11Anvil: Removed excessive debugging outputmadmaxoft@gmail.com1-3/+0
2013-03-09Minecarts get saved into Anvil.madmaxoft@gmail.com1-3/+39
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-286/+232
2013-02-27Made FAST_FLOOR_DIV work correctly, replaced all floorf() divisions with it.madmaxoft@gmail.com1-2/+3
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-8/+8
2012-12-19Added dispensers (they can't dispense items yet)luksor111@gmail.com1-6/+80
2012-11-16Android: Made the initial pre-calculated spawn area smallerfaketruth1-1/+1
2012-11-13More valgrind uninitialized var fixingmadmaxoft1-2/+12
2012-10-28Fixed NBT IntArray serialization; Biomes are now saved to / loaded from Anvilmadmaxoft@gmail.com1-12/+71
2012-10-21Added jukeboxes (patch contributed by Luksor)madmaxoft@gmail.com1-4/+38
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-7/+7
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-1/+1
2012-09-23Source files cleanup: WorldStorage-related files in a separate subfoldermadmaxoft@gmail.com1-10/+10
2012-09-20Refactored windows.madmaxoft@gmail.com1-3/+3
2012-08-26Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL)madmaxoft@gmail.com1-3/+61
2012-07-21Added a (disabled) debugging code for anvil underground overviewing, useful for exploring MC cave generation stylemadmaxoft@gmail.com1-4/+15
2012-06-15Anvil: added support for signs (why was it still missing??)madmaxoft@gmail.com1-3/+42
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-955/+955
2012-05-28Chests and Furnaces are now saved properly into Anvil scheme.madmaxoft@gmail.com1-8/+93
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-82/+123
2012-05-08Removed a debugging construct that accidentally leaked into previous commitmadmaxoft@gmail.com1-8/+0
2012-05-08Fast NBT writer (Saving a chunk is now about twice as fast)madmaxoft@gmail.com1-61/+102
2012-05-07Fast NBT Parser (loading a chunk is now about 10 times faster)madmaxoft@gmail.com1-73/+77
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-8/+306
2012-03-24Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com1-3/+3
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-3/+3
2012-03-14Actually commented out the Anvil terrain inversion codemadmaxoft@gmail.com1-1/+1
2012-03-14Anvil support: Added a debugging section for inverting terrain (So that MC cave generator can be seen in action). Commented out, so that it doesn't make it into the release versionsmadmaxoft@gmail.com1-0/+24
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-16/+25
2012-03-11Anvil format: fixed loading with XZY orderingmadmaxoft@gmail.com1-11/+9
2012-03-10Anvil support: compatible with both chunk orderingsmadmaxoft@gmail.com1-0/+4
2012-03-07Anvil format: loading chests' contents.madmaxoft@gmail.com1-1/+123
2012-03-07No need to reset zlib (copypasta error)madmaxoft@gmail.com1-1/+0
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/+338