summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities (unfollow)
Commit message (Expand)AuthorFilesLines
2020-09-25Unify block entity pickup conversionTiger Wang11-1/+68
2020-09-25Small cleanup in JukeboxesTiger Wang2-13/+18
2020-09-23Limit fortune level, style fixesTiger Wang1-3/+2
2020-09-21Implement Dropspenser Hook (#4903)KrystilizeNevaDies2-2/+11
2020-09-20Added end portal and enchanting table block entities12xx126-19/+178
2020-09-05Add more statistic tracking (#4837)12xx1210-1/+35
2020-09-05Use pitch lookup in noteblock block entity (#4826)12xx122-45/+80
2020-09-05Streamline startup sequenceTiger Wang1-1/+1
2020-08-28Remove redundant DoWithChunkAt in chestsTiger Wang2-12/+6
2020-08-21Remove unused variables in ChestEntity/BlockEntityWithItemsTiger Wang2-4/+0
2020-08-19Add Statistics and Achievements for newer Network standards12xx121-1/+1
2020-08-08Remove the redstone solid block handlerTiger Wang2-8/+2
2020-08-02Always use relative coordinates in AddBlockTiger Wang3-42/+44
2020-08-01Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D1-19/+19
2020-07-26Call BlockEntityWithItems from ChestEntity slot changed handlerTiger Wang2-37/+53
2020-07-19Precompile unordered_map/setTiger Wang1-1/+0
2020-05-16Upgrade to C++17 [CMake] (#4717)Tiger Wang1-8/+2
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell103-14/+2
2020-05-09Update submodules (#4727)peterbell101-1/+1
2020-04-25Update DispenserEntity.cppLukas Pioch1-1/+1
2020-04-25Fixed spawning of mobs from dispenserLukas Pioch1-2/+3
2020-04-16Using Super.Mattes D37-59/+59
2020-04-04Block entity for beacon was not created (#4618)Lukas Pioch1-0/+1
2020-04-03Manage block entity lifetime with unique_ptr (#4080)peterbell102-29/+29
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D6-3/+8
2020-03-27 Lock hopper when powered by redstone (#4347)Bond-0092-4/+25
2020-03-23Play sound when brewing is completeMat1-0/+1
2020-03-23Jukebox improvements (#4537)Mat2-4/+23
2020-03-22Don't remove items twice (#4524)Mat1-1/+1
2020-03-19Remove leading slash from command block commands (#4502)Mat1-6/+20
2020-03-04Prevent container item duplication (#4476)Mat2-15/+0
2019-10-28Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D3-22/+22
2019-10-04Fixed crash in hopper while pulling items from blockentity above itself (#4412)NiLSPACE1-2/+2
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D38-399/+420
2019-08-11Wake up redstone simulator on slot changes for blockentities (#4348)Bond-0092-0/+16
2018-09-24Add a formatting function for Vector3 (#4282)peterbell102-7/+7
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell106-9/+6
2018-07-27cWorld: Manually bind deprecated broadcast functions (#4265)peterbell102-3/+3
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell106-12/+4
2018-07-24Broadcast refactor (#4264)peterbell101-4/+2
2018-05-02Prefer static_cast to reinterpret_cast (#4223)peterbell1015-15/+15
2018-04-11Smelting Gives Experience (#4094)Alex Sweet2-0/+25
2018-01-03Add the fmt library (#4065)peterbell101-0/+1
2017-11-20cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0091-4/+3
2017-10-02Fixed 2 small warnings (#4055)Bond-0092-7/+3
2017-09-25BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038)Bond-0095-14/+12
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2-6/+4
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch2-2/+2
2017-09-14Fix switch warnings (#4013)peterbell102-10/+12
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell104-107/+43
2017-09-07Changed some int parameters to vector parameters (#3937)Bond-0091-2/+2
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot4-43/+107
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell104-107/+43
2017-08-25Add cUUID class (#3871)peterbell102-9/+14
2017-08-21Award player an achievement when creating a beacon (#3930)Bond-0091-13/+36
2017-08-18cBeaconEntity fix no world crashpeterbell101-1/+4
2017-08-17Sitting cats block enderchests from opening (#3906)Bond-0092-25/+11
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-2/+2
2017-08-02Removed double includes (#3885)Lukas Pioch1-1/+0
2017-07-12Added basic ocelot behavior (#3829)Bond-0091-2/+29
2017-07-07Added bed entity (#3823)Lukas Pioch4-0/+106
2017-06-30Added 1.12 blocks (#3760)Bond-0092-3/+41
2017-06-24cBlockArea supports block entities. (#3795)Mattes D2-3/+56
2017-06-16Fixed missing "override"Mattes D1-1/+1
2017-06-16BlockEntities: Support cloning self.Mattes D37-231/+538
2017-06-13FastRandom rewrite (#3754)peterbell102-7/+7
2017-06-05Fixes problems with windows:Lukas Pioch7-7/+7
2017-06-03Fixed double chests (#3741)peterbell102-7/+24
2017-05-28Minor cBrewingRecipes cleanup (#3731)peterbell101-4/+4
2017-05-28Double chest window fix (#3735)peterbell102-52/+130
2017-05-28Broadcast mob head changesmathiascode1-0/+5
2017-05-24Exported boatLukas Pioch1-1/+6
2017-05-21Clang 5.0 fixesLukas Pioch7-7/+7
2017-05-21Fixed invisible chests (#3722)Pablo Beltrán3-5/+15
2017-05-08Corrected brewingstand and added support for fuelLukas Pioch2-19/+66
2017-04-01Added a nullptr check to cEntity::IsA (#3659)Marvin Kopf1-1/+1
2017-03-22Fireworks can be fired from a dispenserBond-0091-1/+4
2017-02-15Updated sounds and effect IDs (#3422)mathiascode3-10/+10
2017-02-14Added some blocks and items (#3503)mathiascode1-8/+118
2017-02-05Fixed bindings for cBlockArea:Read and Write. (#3568)Mattes D1-1/+1
2016-11-18Removed ClientHandle.h dependencies from common headers.Mattes D5-6/+12
2016-08-24Fixed type-casting-related warnings.Mattes D1-2/+1
2016-07-18CMake: Remove needless minimum version specifications.Mattes D1-2/+0
2016-07-18Updated API documentation.Mattes D2-4/+4
2016-06-15- Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update.QUSpilPrgm2-4/+4
2016-06-03Update Dispensers and let them act more like in VanillaQUSpilPrgm2-10/+81
2016-04-22Reduced unnecessary block updatesLogicParrot2-2/+1
2016-02-19Proper entity destruction in non-ticking chunksLogicParrot1-1/+1
2016-02-05Bulk clearing of whitespaceLogicParrot20-159/+159
2016-01-11Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8bibo382-11/+56
2016-01-01Renamed leftover strings to Cuberite / Server, as needed.Mattes D1-1/+1
2015-12-18Reorganised the redstone simulatorTiger Wang8-89/+4
2015-12-17Moved variables into scope, removed unused variables and fixed variablesLukas Pioch1-1/+1
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj29-33/+52
2015-11-24Add enum for Sound and Particle EffectsDave Tucker3-10/+12
2015-11-08Fix memory leakworktycho1-1/+1
2015-11-03Implemented brewingLukas Pioch4-0/+449
2015-10-26Update Loops required for JsonCPPLukas Pioch1-2/+2
2015-09-17Added CircleCI for stylechecking.Mattes D2-4/+24
2015-09-02Fixes #2485Tiger Wang1-1/+0
2015-07-31Unified the doxy-comment format.Mattes D9-60/+49
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney2-4/+4
2015-07-16Spawn baby mobshallucino1-1/+1
2015-07-12Fixed DropSpenser sound #2333mmdk951-2/+2
2015-07-07(Ender) Chests are obstructed by opaque blocks.Nounours Heureux2-15/+13
2015-06-17Fixes #2245Tiger Wang1-1/+1
2015-06-15Fixed overridetycho1-1/+1
2015-06-10Reinstate "Chunk queue collapsing"Tiger Wang1-0/+1
2015-06-07Revert "Chunk queue collapsing"worktycho1-1/+0
2015-06-06ComparatorsTiger Wang2-1/+19
2015-06-05Rewrote ChunkSending queue for significantly improved performancetycho1-0/+1
2015-06-03Fixes multiple furnace issues, including from loading world storageHaoTNN2-14/+37
2015-05-28Fix commentstycho2-6/+9
2015-05-24Made -Weverything an error.tycho3-9/+19
2015-05-23Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch2-2/+2
2015-05-19Make -Werror disabling file onlytycho2-2/+7
2015-05-19Fixes lit furnace issue in #2051haotnn1-0/+1
2015-05-11Improved hoppersTiger Wang2-27/+16
2015-05-09More style checking.Mattes D2-2/+2
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D3-14/+28
2015-03-20Correct world height validations.Tommy Santerre1-2/+2
2015-03-19Removed unwanted base classes from Lua API.Mattes D1-0/+2
2015-03-10Moved window code into cpp filesHowaner1-1/+1
2015-01-11Initial convertion of a_Dt to std::chronoTycho13-13/+13
2014-12-17NULL -> nullptrTiger Wang1-2/+2
2014-12-13Own classes for all windows.Howaner6-3/+6
2014-12-01MobSpawner fixes.Howaner3-3/+10
2014-11-29Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner3-57/+12
2014-11-27BlockEntities: Removed the extra semicolon.Mattes D16-24/+25
2014-11-18Finished mob spawner implementation.Howaner13-121/+10
2014-10-23En masse NULL -> nullptr replaceTiger Wang16-54/+64
2014-10-21Fixed trailing whitespace.Mattes D2-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang16-44/+44
2014-10-19cLuaState: cBlockEntity descendants are pushed with proper class type.Mattes D16-25/+62
2014-10-18Furnaces now update their block entity typeTiger Wang1-2/+4
2014-10-18Simpler code.Alexander Harkness1-3/+2
2014-10-16Nullptr?Alexander Harkness1-2/+2
2014-10-16Fixed a number of stylistic issues.Alexander Harkness1-7/+7
2014-10-12fix std:min call, include algorithm and compare same typeSteven Riehl1-2/+2
2014-10-12refactor an if block to std::minSteven Riehl1-4/+1
2014-10-12convert old style casts to fix warningsSteven Riehl8-105/+74
2014-10-03Improved furnacesTiger Wang2-142/+109
2014-09-30Removed WSSCompactTiger Wang24-437/+0
2014-09-28Compilation fixTiger Wang1-2/+2
2014-09-27SuggestionsTiger Wang3-9/+8
2014-09-27Fixed compile errors.Howaner2-42/+42
2014-09-26Removed more unessicary includesTycho22-35/+12
2014-09-25Fixed dispender direction bugHowaner1-1/+1
2014-09-23A few compiler warning fixesChris Darnell1-1/+1
2014-09-19Implemented mob spawner.Howaner3-43/+323
2014-09-17Added first test to show the object can be createdTycho1-1/+1
2014-09-17Created MobSpawnerEntity class.Howaner4-1/+165
2014-09-13Implemented Chest MinecartsTiger Wang7-7/+2
2014-09-11Possibly decoupled IncrementalRedstoneSimulator from the rest of the serverTycho2-4/+5
2014-09-06Added Y-wise asserts to signs.Mattes D1-0/+1
2014-09-01Fixed style.madmaxoft1-1/+2
2014-08-31Changed null check to assertworktycho1-5/+3
2014-08-31Rewrited furnace.txt loading.Howaner1-1/+1
2014-08-30Fixed style.madmaxoft1-2/+3
2014-08-29Improved command block securityTiger Wang1-6/+19
2014-08-10Fixed potential null dereferenceTycho1-5/+5
2014-08-06Fixed style issuesTycho2-2/+5
2014-08-06Fixed multiple inhertance being output by toluaTycho2-6/+10
2014-08-05Removed dependecy of redstone simulator on NoteBlockTycho2-1/+13
2014-08-05Refactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity DirectlyTycho2-3/+13
2014-08-02Fixed a bug who can used from hacked clients.Howaner1-0/+2
2014-07-31Use "default:" in switch.Howaner1-3/+6
2014-07-31Renamed "select..." methods to "set..." and better IsValidEffect() function.Howaner2-51/+15
2014-07-31Updated documentation.Howaner1-3/+3
2014-07-31Renamed functions and added beacon json saving.Howaner2-46/+44
2014-07-30Added window update.Howaner1-0/+23
2014-07-30Added beacon load/save.Howaner1-0/+3
2014-07-30Changed return type from GetPrimaryPotion() and GetSecondaryPotion()Howaner1-2/+2
2014-07-30Exported the beacon.Howaner2-17/+27
2014-07-30Added beacon.Howaner3-32/+337
2014-07-24Removed redundant semicolons and re-added warningarchshift3-4/+4
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft8-12/+12
2014-07-19Code style: Fixed braces on separate lines.madmaxoft3-3/+6
2014-07-19Subdirs: Only add_library if not using MSVCarchshift1-1/+3
2014-07-19BlockEntities/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+35
2014-07-18Fixed spaces before commas.madmaxoft1-2/+2
2014-07-17Basic style fixes.madmaxoft10-11/+11
2014-07-17Normalized comments.madmaxoft4-10/+10
2014-07-15Fixed a DropSpenser AddFace bugTiger Wang1-1/+1
2014-07-15Pass cItem by reference.madmaxoft1-1/+1
2014-07-13Fixed Issue with Comparing agast the wrong chest, potentially causing crashes.worktycho1-7/+7
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner1-1/+1
2014-07-12cHopperEntity: Simplified chest conditions.madmaxoft1-10/+4
2014-07-12cChestEntity: Renamed a member to avoid confusion.madmaxoft2-8/+9
2014-07-12Fixed alignment.madmaxoft1-2/+3
2014-07-12Suggestions and bug fixTiger Wang2-10/+18
2014-07-11SuggestionsTiger Wang1-4/+4
2014-07-08Made things consistentTiger Wang1-4/+5
2014-07-07Implemented trapped chests & othersTiger Wang4-13/+36
2014-06-29Properly implemented enderchestsTiger Wang2-93/+44
2014-06-24Fixed crashes in HopperEntity.Mattes D1-19/+58
2014-06-22Chests don't open if obstructedTiger Wang1-0/+13
2014-06-11DispenserEntity code cleanup after PR merge.madmaxoft2-30/+30
2014-06-05- Fixed a lot of alignmentJoannisO1-7/+7
2014-06-04- Removed the code that removed fireworks from a dispenser even thoughtJoannisO1-3/+0
2014-06-04- Fixed variable names in a function.JoannisO1-2/+2
2014-06-04- Fixed a lot of astethicsJoannisO2-14/+17
2014-06-03- Fixed an issue where there were 2 "DispChunk"-s in the same function.JoannisO1-16/+5
2014-06-03- Fixed a bug where I didn't return anything in the GetShootVectorJoannisO1-0/+2
2014-06-03- Fixed a bug where I used the FireCharge ITEM instead of the ProjectileJoannisO1-1/+1
2014-06-03- Cleaned up the code massivelyJoannisO2-90/+31
2014-06-03- Added doxy comments and exported to luaJoannis2-22/+64
2014-05-31- Changed the name of the ProjectileLookVector method.JoannisO2-3/+3
2014-05-29- Prefixed all args with "a_"JoannisO2-6/+10
2014-05-28Code improvementsHowaner1-5/+2
2014-05-28Fix skull bugs.Howaner1-0/+5
2014-05-28- Removed breaks. I thought it wouldn't compile without them but theJoannisO1-2/+0
2014-05-28- Fixed an issue where dispensers would only shoot arrows (appearantlyJoannisO1-33/+24
2014-05-28- Implemented vertical dispensing for projectiles.Joannis2-16/+40
2014-05-27- Fixed the ampersands and asterisks to fit the format.Joannis2-8/+8
2014-05-26- Added support for more types of projectiles in the DispenserJoannisO2-38/+51
2014-05-26Added Arrow- and FireCharge-Dispensing to DispenserEntity.JoannisO2-27/+95
2014-04-27Added static const, initialized fields.archshift2-1/+4
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift1-0/+1
2014-04-19Fixed Flint and Steel, reverted Minecart change, renamed a parameter namejfhumann1-5/+5
2014-04-19Fixed formatting, made function static.madmaxoft2-13/+18
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann3-8/+13
2014-04-12Some tweaksSTRWarrior1-5/+17
2014-04-12Removed debug message.STRWarrior1-1/+0
2014-04-12Simplefied GetPyramidLevelSTRWarrior1-10/+3
2014-04-12Implemented the skeleton code for the beacon.STRWarrior3-0/+153
2014-04-03Fixed a few MSVC type warnings.Mattes D1-1/+1
2014-03-16Fixed double to float conversions.madmaxoft1-1/+1
2014-03-14Add fireball interactHowaner1-0/+6
2014-03-08Change TNT Fuse to ticksHowaner1-1/+1
2014-03-07Add Flower PotsHowaner3-0/+210
2014-02-28Documented the changes in cJukeboxEntity.madmaxoft1-2/+3
2014-02-24Fixed compilation in MSVC (forward class definitions).madmaxoft2-0/+2
2014-02-24BlockEntities is warnings freeTycho6-3/+11
2014-02-23Rename SkullEntity to MobHeadEntityHowaner5-189/+189
2014-02-23Add break to Protocol17x.cpp and use new comment delimiterHowaner1-7/+7
2014-02-23Add Heads completelyHowaner3-5/+3
2014-02-23Add Skulls/HeadsHowaner3-0/+191
2014-02-21Better Jukebox APIHowaner2-16/+48
2014-02-19Rename SkullEntity to MobHeadEntityHowaner5-189/+189
2014-02-19Add break to Protocol17x.cpp and use new comment delimiterHowaner1-7/+7
2014-02-18Add Heads completelyHowaner3-5/+3
2014-02-17Add Skulls/HeadsHowaner3-0/+191
2014-02-15Fixed typographical errorTiger Wang1-2/+1
2014-02-15Removed debug messages againTiger Wang1-6/+0
2014-02-13Added proper debug messagesTiger Wang1-3/+8
2014-02-13Fancy stuff with constant referencesTiger Wang1-2/+2
2014-02-12Added more missing GetClassStatic()sTiger Wang2-0/+4
2014-02-12Removed some unneeded BroadcastWholeWindow()sTiger Wang4-23/+2
2014-02-12Changed inheritance a bitTiger Wang7-33/+47
2014-02-11Fixed #190Tiger Wang1-2/+67
2014-02-11Fixed #612Tiger Wang2-0/+16
2014-01-23Minor style improvements for the merged PR.Mattes D1-4/+4
2014-01-23Command block fixes 2andrew1-6/+20
2014-01-19Removed unneeded paramtersTiger Wang1-1/+1
2014-01-19Changed SendBlockEntity format slightlyTiger Wang1-24/+2
2014-01-19Improved command blocksTiger Wang1-5/+37
2014-01-18Fixed compiler error.STRWarrior1-3/+3
2014-01-18Command block fixesandrew2-38/+5
2014-01-18Parse the MC|AdvCdm plugin messageandrew1-0/+2
2014-01-18Command blocks: Execute()andrew1-5/+27
2014-01-18Command block (de)serializationandrew2-3/+42
2014-01-18Basic command block implementationandrew3-11/+271
2014-01-16Removed obsoleted functionsTiger Wang2-4/+4
2014-01-06Fixed a few MSVC warnings.madmaxoft2-5/+4
2013-12-30Fixed compilation in VC2008.madmaxoft1-2/+1
2013-12-22merged in warnings changesTycho Bickerstaff5-4/+9
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff2-2/+8
2013-12-21Chunk is now warnings cleanTycho Bickerstaff3-3/+3
2013-12-21fixed hidden bug with furnaces ignoring time burntTycho Bickerstaff1-1/+1
2013-12-21ChunkSender is now warnings cleanTycho Bickerstaff1-1/+1
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2-4/+4
2013-12-19added blocks and blockentitiesTycho Bickerstaff1-0/+11
2013-12-16Fixed multiple inheritance in ToLua++.madmaxoft5-20/+20
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-1/+1
2013-12-07Added basic ender chestsTiger Wang3-10/+201
2013-12-06Fixed pickups spawning for BlockEntitiesTiger Wang1-1/+1
2013-11-28Moved json includes to where they are really needed.madmaxoft1-0/+1
2013-11-27Fixed VC2008 compilation, normalized include paths.madmaxoft5-5/+5
2013-11-27Fixed the remaining derpsAlexander Harkness5-5/+5
2013-11-25Further attempts to fix compileTiger Wang5-5/+5
2013-11-24Attempt to fix compilationTiger Wang5-5/+5
2013-11-24Moved source to srcAlexander Harkness21-0/+3033