summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Exported boatLukas Pioch2017-05-241-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)peterbell102017-05-221-3/+6
| | | | | | * Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt
* Corrected brewingstand and added support for fuelLukas Pioch2017-05-081-2/+10
|
* NBT: Corrected firework loadingLukas Pioch2017-03-221-2/+2
|
* Fixed TrappedChest saving. (#3423)Mattes D2016-11-071-4/+15
| | | Vanilla uses "Chest" in NBT for trapped chests.
* Fixed type-casting-related warnings.Mattes D2016-08-241-6/+10
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-120/+120
|
* MCServer to CuberiteMathias2016-01-291-1/+1
|
* Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8bibo382016-01-111-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 intJulian Laubstein2015-11-161-18/+72
|
* Implemented brewingLukas Pioch2015-11-031-0/+51
|
* Namechange to CuberiteMattes D2015-09-251-1/+1
|
* Unified the doxy-comment format.Mattes D2015-07-311-1/+1
|
* Chunks that fail to load are offloaded to extra files.Mattes D2015-07-311-33/+73
| | | | Ref.: #1970
* Added reason parameter to load failures.Mattes D2015-07-311-13/+13
|
* Moved AString reading hack to cFile.Mattes D2015-07-311-16/+17
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-61/+61
|
* Added Rabbit Metadata values.bibo382015-07-171-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-mobsNiLSPACE2015-07-151-7/+72
|\ | | | | Support ageable mobs
| * Support ageable mobsHallucino2015-07-141-7/+72
| | | | | | | | Move ageable stuff in Monster directly
* | Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functionsbibo382015-07-121-64/+64
|/
* Fixes compilation failures on MacOSX 10.10Samuel Barney2015-07-091-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 storageHaoTNN2015-06-031-2/+3
|
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-1/+1
|
* More style checking.Mattes D2015-05-091-4/+4
| | | | Spaces around some operators are checked.
* cSetChunkData constructor explicitly requires std::move() instead ofWoazboat2015-04-271-1/+1
| | | | unsafely stealing data
* cPainting saving implementedTiger Wang2015-03-141-0/+28
| | | | Additionally, it now inherits from cHangingEntity.
* Fixed confusion over Item Frame directionsTiger Wang2015-03-131-37/+7
|
* Flower pots: In 1.8 items are saved with the name and not the id.Howaner2015-02-181-5/+12
|
* WSSAnvil: Fixed chunk data padding.Mattes D2015-02-081-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 D2014-12-211-3/+3
| | | | Fixes CID 72854.
* Added RabbitsMasy982014-12-201-0/+24
|
* Added Entity GuardianMasy982014-12-181-0/+24
|
* Cosmetic touchups.Mattes D2014-12-111-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 D2014-12-111-4/+31
|\
| * Check to see if header write out is requiredplanetx2014-12-081-17/+15
| |
| * Added timestamp to merged files WSSAnvilplanetx2014-12-081-1/+1
| |
| * Added timestamp to merged files WSSAnvilplanetx2014-12-081-62/+62
| |
| * Added timestamp to new files WSSAnvilplanetx2014-12-081-78/+148
| |
| * Added Timestamp info to chunks in WSSAnvilplanetx2014-12-071-85/+44
| |
* | Replaced most auto_ptr with unique_ptr.Mattes D2014-12-061-61/+61
|/
* BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-10/+21
|
* MobSpawner fixes.Howaner2014-12-011-1/+1
|
* Merge branch 'master' into MobSpawnerHowaner2014-11-291-2/+8
|\
| * WSSAnvil: Fixed bad code in arrow loading.Mattes D2014-11-261-2/+8
| |
* | Finished mob spawner implementation.Howaner2014-11-181-0/+50
|/
* Fixed 1.8 world item format reading.Howaner2014-10-291-2/+19
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-44/+44
|
* cItemFrame: Fixed a forgotten rename.Mattes D2014-10-211-1/+1
|
* Properly exported cItemFrame and cHangingEntity to Lua.Mattes D2014-10-211-16/+27
|
* Anvil: Arrow Tile tags are a short in VanillaHowaner2014-09-251-4/+21
|
* Fixed hanging direction bugs.Howaner2014-09-251-1/+1
|
* Don't create two entity lists.Howaner2014-09-241-7/+2
|
* Merge branch 'master' into WorldLoaderHowaner2014-09-241-3/+17
|\
| * Anvil: Wolf collar color is a byte in Vanilla.madmaxoft2014-09-231-3/+17
| | | | | | | | | | Kept the old Int reading for compatibility reasons. Ref.: #1448
* | Merge branch 'master' into WorldLoaderHowaner2014-09-231-3/+3
|\|
| * Fixed a crash in WSSAnvil.madmaxoft2014-09-231-3/+3
| | | | | | | | Reported as #1448.
* | MCServer world compatiblity with vanilla and mcedit.Howaner2014-09-231-5/+34
|/
* Merge branch 'master' into EntityCustomNameHowaner2014-09-231-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 D2014-09-061-0/+2
| | | | | | | | This should help detect #1313's second case.
| * Anvil: Fixed an off-by-one error in the loader.Mattes D2014-09-061-1/+1
| | | | | | | | Fixes #1307.
| * Fixed loading empty chunks.Mattes D2014-09-051-1/+7
| | | | | | | | Reported on the Dropper map in #1307.
| * Anvil: Fixed loading block entities with invalid Y coord.Mattes D2014-09-051-1/+1
| |
| * Anvil: Cleanly refuse to store data that is too large.madmaxoft2014-09-041-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.madmaxoft2014-09-031-18/+6
| | | | | | | | This removes the fixed-size buffer which could have caused #1307 and #1366.
| * Clang wants volatile...madmaxoft2014-09-021-1/+1
| |
| * Added strict error reporting to chunk loading.madmaxoft2014-09-021-1/+29
| | | | | | | | This should help with #1307.
* | Added CustomName saving.Howaner2014-09-021-0/+13
|/
* WSSAnvil: Removed leftover debugging code.madmaxoft2014-08-301-4/+0
|
* Rewritten block entity loading.Mattes D2014-08-291-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.madmaxoft2014-08-041-1/+6
| | | | StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
* Wolf uses UUID for owner.madmaxoft2014-08-031-10/+59
| | | | Fixes #1277.
* Renamed "select..." methods to "set..." and better IsValidEffect() function.Howaner2014-07-311-2/+2
|
* Renamed functions and added beacon json saving.Howaner2014-07-311-2/+2
|
* Added beacon load/save.Howaner2014-07-301-1/+49
|
* Slight cleanup after portalsTiger Wang2014-07-291-6/+1
|
* Merge branch 'master' into portalsTiger Wang2014-07-291-3/+4
|\ | | | | | | | | Conflicts: src/World.h
| * Moved potion static functions to EntityEffect to create splash potions through worldarchshift2014-07-261-1/+1
| |
| * Added a queue for setting chunk data.madmaxoft2014-07-241-2/+3
| | | | | | | | Fixes #1196.
* | Merge remote-tracking branch 'origin/master' into portalsTiger Wang2014-07-221-1/+1
|\| | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp
| * Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift2014-07-191-1/+1
| |
* | Merge branch 'master' into portalsTiger Wang2014-07-181-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.madmaxoft2014-07-171-6/+6
| |
| * Normalized comments.madmaxoft2014-07-171-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.madmaxoft2014-07-151-1/+1
| | | | | | | | | | The callback doesn't need declaration in the header. Renamed PotionName to PotionParticleType.
| * Merge branch 'master' into potionsmadmaxoft2014-07-151-7/+18
| |\
| | * Merge branch 'master' into SheepHowaner2014-07-131-5/+16
| | |\
| | | * Merge pull request #1154 from mc-server/trappedchestsTiger Wang2014-07-131-3/+7
| | | |\ | | | | | | | | | | Implemented trapped chests & others
| | | | * Implemented trapped chests & othersTiger Wang2014-07-071-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
| | * | | Code fixes.Howaner2014-06-291-1/+1
| | | | |
| | * | | Save IsSheared from Sheep.Howaner2014-06-281-4/+11
| | | |/ | | |/|
| * | | Added splash potions to NBT serialization and retrievalarchshift2014-07-121-0/+28
| | |/ | |/|
| * | Merge pull request #1135 from mc-server/fixesTiger Wang2014-07-091-2/+9
| |\ \ | | |/ | |/| Fixes to projectiles and the undead
| | * SuggestionsTiger Wang2014-07-021-2/+9
| | |
* | | Merge branch 'master' of https://github.com/mc-server/MCServer into portalsTiger Wang2014-06-241-14/+7
|\| |
| * | Add entity health saving.Howaner2014-06-241-14/+7
| |/
* | Merge branch 'master' into portalsTiger Wang2014-06-211-0/+3
|\| | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h
| * MCA saver marks chunks as populated.madmaxoft2014-06-201-0/+3
| | | | | | | | Fixes #140.
* | Time and weather is saved, part of #1058Tiger Wang2014-06-041-3/+10
| | | | | | | | Also fixed unreliability in Health and LootPickup loading.
* | Health of monsters is now savedTiger Wang2014-06-041-0/+1
|/
* Fixed mob loading, part of #1058Tiger Wang2014-06-041-1/+1
|
* More size_t fixes.Mattes D2014-05-091-5/+5
|
* Build fixes after the last size_t batch.Mattes D2014-05-091-1/+1
|
* Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-4/+4
|
* Merge pull request #989 from Howaner/AnvilMattes D2014-05-071-6/+28
|\ | | | | Add repair cost to cItem, add custom name to NBTChunkSerializer and fix ...
| * Change m_RepairCost to int.Howaner2014-05-071-1/+1
| |
| * Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs.Howaner2014-05-071-6/+28
| |
* | Fix MagmaCube save.Howaner2014-05-071-2/+8
|/
* Anvil saver pads data to 4K boundaries.madmaxoft2014-05-011-0/+5
| | | | Fixes #524.
* Merge pull request #940 from Howaner/GlobalFixesMattes D2014-04-281-1/+1
|\ | | | | Add entity invulnerable
| * Revert "Changed the old invulnerable methods from the wither to the new."Howaner2014-04-281-1/+1
| | | | | | This reverts commit d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.
| * Changed the old invulnerable methods from the wither to the new.Howaner2014-04-261-1/+1
| |
| * FixesHowaner2014-04-261-1/+1
| |
* | Fixed projectile source filenames, indentationsarchshift2014-04-281-6/+6
| |
* | Moved cGhastFireballEntity out of ProjectileEntity.harchshift2014-04-271-0/+1
| |
* | Moved cFireChargeEntity out of ProjectileEntity.harchshift2014-04-271-0/+1
| |
* | Moved cThrownSnowballEntity out of ProjectileEntity.harchshift2014-04-271-0/+1
| |
* | Moved cThrownEnderPearl out of ProjectileEntity.harchshift2014-04-271-0/+1
| |
* | Moved cThrownEggEntity out of ProjectileEntity.harchshift2014-04-271-1/+1
| |
* | Moved cArrowEntity out of ProjectileEntity.harchshift2014-04-271-1/+1
|/
* Fixed class capitalization for the cave spider.archshift2014-04-241-1/+1
|
* Merge pull request #833 from mc-server/EnderCrystalMattes D2014-03-251-0/+19
|\ | | | | Ender crystals
| * Ender crystalsandrew2014-03-251-0/+19
| |
* | Wither invulnerabilityandrew2014-03-241-1/+7
|/
* Merge pull request #809 from Howaner/BlockEntitysMattes D2014-03-161-26/+174
|\ | | | | More entity saving.
| * Add anvil direction.Howaner2014-03-161-1/+9
| |
| * Remove old debug messages.Howaner2014-03-151-3/+0
| |
| * Merge branch 'master' into BlockEntitysHowaner2014-03-151-2/+8
| |\
| * | Add item frame saving.Howaner2014-03-151-0/+85
| | |
| * | Add health and age load to pickup's.Howaner2014-03-151-1/+15
| | |
| * | Add ExpOrb saving.Howaner2014-03-151-26/+70
| | |
* | | Add new leaves to all classes.Howaner2014-03-161-0/+1
| |/ |/|
* | Removed Some unnessicary macrosTycho2014-03-101-2/+2
| |
* | Merge pull request #768 from Howaner/BlockEntitysTiger Wang2014-03-091-0/+27
|\| | | | | Add TNT load/save
| * Change TNT Fuse to ticksHowaner2014-03-081-2/+1
| |
| * Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner2014-03-081-0/+28
| |
* | Merge branch 'master' into ballisticmissilesTiger Wang2014-03-091-0/+36
|\| | | | | | | | | Conflicts: src/ClientHandle.cpp
| * Add Flower PotsHowaner2014-03-071-0/+36
| |
* | Implemented ballistic missiles (fireworks)Tiger Wang2014-02-271-0/+6
|/ | | | + Added fireworks
* Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-0/+183
|
* Rename SkullEntity to MobHeadEntityHowaner2014-02-231-8/+8
|
* Add Heads completelyHowaner2014-02-231-1/+1
|
* Add Skulls/HeadsHowaner2014-02-231-0/+40
|
* Fixed #573STRWarrior2014-02-121-4/+4
|
* Added saving of angry flag.Kirill Kirilenko2014-02-021-0/+6
|
* Fixed sitting tag.Kirill Kirilenko2014-02-021-4/+4
|
* Added saving of collar's color.Kirill Kirilenko2014-02-011-3/+9
|
* Added reading saved state of the wolf (sitting or standing).Kirill Kirilenko2014-01-311-0/+6
|
* Inversed condition.STRWarrior2014-01-311-1/+1
|
* Wolf: If Owner tag is missing a normal ownerless wolf will spawn.STRWarrior2014-01-311-9/+6
|
* Fixed bad variable.STRWarrior2014-01-301-1/+1
|
* Check if the tag is found.STRWarrior2014-01-301-0/+5
|
* Fixes #606STRWarrior2014-01-301-0/+7
|
* Item-loading now checks for weird bytes.madmaxoft2014-01-261-3/+9
|
* Fixed crash with failed entity-loading.madmaxoft2014-01-241-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/MCServerandrew2014-01-211-1/+2
|\
| * Merge pull request #569 from worktycho/EnchantmentsFixMattes D2014-01-191-1/+2
| |\ | | | | | | Enchantments fix
| | * Switched EnchantmentSerilizer to namespaceTycho2014-01-191-1/+1
| | |
| | * Spilt Writing of Enchantments to seperate classTycho2014-01-191-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 deserializationandrew2014-01-201-1/+1
|/ /
* | Command blocks: Execute()andrew2014-01-181-1/+1
| |
* | Command block (de)serializationandrew2014-01-181-0/+42
|/
* Added user setting compression factorTycho2014-01-171-3/+4
|
* Merge pull request #534 from mc-server/SpawnMinecartMattes D2014-01-171-1/+1
|\ | | | | Added cWorld::SpawnMinecart.
| * Renamed cEmptyMinecart to cRideableMinecartSTRWarrior2014-01-121-1/+1
| |
| * EmptyMinecarts should be able to get a block inside of them.STRWarrior2014-01-121-1/+1
| |
* | Removed obsoleted functionsTiger Wang2014-01-161-1/+1
|/
* Preliminary mobile entity savingTiger Wang2013-12-251-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).madmaxoft2013-12-201-3/+3
|
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
|
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+1555