summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BlockEntity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix potential destruction crashes (#5095)Tiger Wang2021-01-021-46/+95
| | | | | | | | | | * Fix potential destruction crashes * Fix destructors accessing destroyted objects * Fix cPlayer not destroying windows (Destroyed never called) * Tentatively fixes #4608, fixes #3236, fixes #3262 - Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld() * Add missing call to OnRemoveFromWorld
* Unify block entity pickup conversionTiger Wang2020-09-251-0/+9
| | | | | - Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
* Added end portal and enchanting table block entities12xx122020-09-201-19/+25
|
* Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D2020-08-011-19/+19
|
* Block entity for beacon was not created (#4618)Lukas Pioch2020-04-041-0/+1
|
* Manage block entity lifetime with unique_ptr (#4080)peterbell102020-04-031-27/+22
|
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-26/+24
|
* Fix switch warnings (#4013)peterbell102017-09-141-6/+12
| | | | | | | | | | | | | | | * 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
* Added bed entity (#3823)Lukas Pioch2017-07-071-0/+3
| | | | | | | | | | * 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
* cBlockArea supports block entities. (#3795)Mattes D2017-06-241-3/+48
|
* BlockEntities: Support cloning self.Mattes D2017-06-161-18/+40
|
* Implemented brewingLukas Pioch2015-11-031-0/+2
|
* MobSpawner fixes.Howaner2014-12-011-1/+1
|
* Merge branch 'master' into MobSpawnerHowaner2014-11-181-1/+1
|\ | | | | | | | | Conflicts: MCServer/Plugins/Core
| * En masse NULL -> nullptr replaceTiger Wang2014-10-231-1/+1
| |
* | Implemented mob spawner.Howaner2014-09-191-2/+4
|/
* Fixed alignment.madmaxoft2014-07-121-2/+3
|
* Suggestions and bug fixTiger Wang2014-07-121-6/+5
| | | | | | * Fixed hoppers pushing/pulling to/from (trapped)chests that do not form a double-chest with the chest type directly connected to said hopper; thank you, @madmaxoft
* SuggestionsTiger Wang2014-07-111-4/+4
|
* Made things consistentTiger Wang2014-07-081-4/+5
|
* Implemented trapped chests & othersTiger Wang2014-07-071-1/+2
| | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* Implemented the skeleton code for the beacon.STRWarrior2014-04-121-0/+2
| | | | There is no handling for the GUI. It can now check how big the pyramid is under the beacon.
* Add Flower PotsHowaner2014-03-071-0/+2
|
* Rename SkullEntity to MobHeadEntityHowaner2014-02-191-2/+2
|
* Add Heads completelyHowaner2014-02-181-1/+1
|
* Add Skulls/HeadsHowaner2014-02-171-0/+2
|
* Basic command block implementationandrew2014-01-181-11/+13
|
* Added basic ender chestsTiger Wang2013-12-071-10/+12
| | | | Note that they just mirror chests now, so no per player inventory.
* Moved source to srcAlexander Harkness2013-11-241-0/+44