Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-02-20 | Mark UNREACHABLE with intrinsics | Tiger Wang | 1 | -1/+0 | |
2021-01-18 | cChunk: don't inherit from cChunkDef (#5106) | Tiger Wang | 1 | -2/+2 | |
2021-01-02 | Fix potential destruction crashes (#5095) | Tiger Wang | 16 | -225/+221 | |
* 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 | |||||
2020-12-30 | Command Blocks: fix a crash | Tiger Wang | 1 | -3/+3 | |
* Don't store a temporary | |||||
2020-12-21 | Comment and code style fix | Tiger Wang | 1 | -13/+8 | |
+ Add static keyword - Don't capture everything in lambda | |||||
2020-11-06 | Add correct implementation of crops (#4802) | 0ddlyoko | 1 | -38/+41 | |
* [FIX] Add correct implementation of seed drops. > Official percentage of drops has been implemented * Fix C++ conventions * Change "Vals" variable to "m_Vals" * [FIX] Add correct implementation of Carrots, Potatoes, Wheat & Beetroots seed * Add Fortune support with crops Add fortune support with Wheat, Carrots, Potatoes & Beetroots seeds * [FIX] Right-clicking on a grown Beetroot in survival consume 2 bone meals Fix #4805 * Add documentation for "cWorld::IsFullGrownPlantAt" method * Fix dispenser that full grown a plant > Change methods cItemDyeHandler::FertilizePlant & cItemDyeHandler::growPlantsAround to static * Display particle even if tree doesn't grow * When right-clicking on a full grown melon / pumpkin seed, no longer produce a melon / pumpkin Before this commit, when you right-click on a melon or a pumpkin seed, a melon / pumpkin block spawned. With this commit, it no longer spawns * [FIX] Do not create melon / pumpkin block when right-clicking with a bone meal This fix will prevent the creation of a melon / pumpkin block when you right-click with a bone meal on a melon / pumpkin plant - It just detect if the plant is full grown. if yes, the method "Grow" is not called - Remove IsFullGrownPlant Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-10-24 | Remove BLOCKENTITY_PROTODEF | Tiger Wang | 21 | -153/+10 | |
2020-10-10 | Adding more customize options to mob spawners and improving the way to look for surrounding entities (#4955) | 12xx12 | 2 | -80/+72 | |
* added nearly any customize option * fixed unnecessary diff added comments * removed unnecessary const qualifier * fixed build * changed to ForEachEntityInBox * added docs * updated lua api description * checkstyle * added changes suggested by @peterbell10 And now the player may break the server by setting ridiculous ranges * updated docs changed cast to static cast * fixed clang * fixed clang on WSSAnvil.cpp Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-10-09 | Beacon now checks for players in surrounding square (#4972) | 12xx12 | 1 | -21/+14 | |
* Beacon now check for players in surrounding square not every player * added proper BoundingBox Co-authored-by: Alexander Harkness <me@bearbin.net> * one symbol to change everything one symbol to break the whole build Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2020-10-03 | Remove SetProperty(...cPlayer) | Tiger Wang | 4 | -4/+4 | |
Enchantment table, anvil windows are already opened one per-player. | |||||
2020-09-27 | Fixing Mob spawner behaviour (#4930) | 12xx12 | 2 | -20/+15 | |
* fixed mob spawner failure (whoopsie in the BlockEntity.GetChunkZ()) Style * fixed spawning behaviour * fixed saving entity type saving * checkstyle * removed debug log * removed short saving * Style Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-09-25 | Do not call into things we don't own in destructors | Tiger Wang | 2 | -14/+0 | |
- Remove improper accesses in cChunk destructor * Fixes #4894 | |||||
2020-09-25 | Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) | KingCol13 | 1 | -1/+1 | |
* Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h. | |||||
2020-09-25 | BlockEntity: clarify ConvertToPickups behaviour | Tiger Wang | 1 | -1/+1 | |
2020-09-25 | Unify block entity pickup conversion | Tiger Wang | 11 | -1/+68 | |
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it | |||||
2020-09-25 | Small cleanup in Jukeboxes | Tiger Wang | 2 | -13/+18 | |
* Fixed creative players not tracking stats, and the code trying to "place" a record when they used one | |||||
2020-09-23 | Limit fortune level, style fixes | Tiger Wang | 1 | -3/+2 | |
2020-09-21 | Implement Dropspenser Hook (#4903) | KrystilizeNevaDies | 2 | -2/+11 | |
* Implement Dropspenser Hook Implemented a hook for dropspensing. HOOK_DROPSPENSE When plugin callback returns true then dropspense is cancelled * Update src/Bindings/PluginManager.h Co-authored-by: peterbell10 <peterbell10@live.co.uk> * Create OnDropSpense.lua * Fix indent * Forgot include Forgot to include the plugin manager. Although now im confused why it was working on my end without including the plugin manager * Update plugins.lua with dropspense * fix typos * haha notepad++ go brr Co-authored-by: peterbell10 <peterbell10@live.co.uk> | |||||
2020-09-20 | Added end portal and enchanting table block entities | 12xx12 | 6 | -19/+178 | |
2020-09-05 | Add more statistic tracking (#4837) | 12xx12 | 10 | -1/+35 | |
+ Added possible 1.8 stats + Added stat tracking for 1.8.2 + Added stat tracking for 1.9 + Added the breed cow achievement Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-09-05 | Use pitch lookup in noteblock block entity (#4826) | 12xx12 | 2 | -45/+80 | |
- Removed the calculation in the noteblock block entity I did the calculation in python if anyone is interested where the numbers are from Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-09-05 | Streamline startup sequence | Tiger Wang | 1 | -1/+1 | |
* Clean up cRoot & main * Move some OS-specifics into OSSupport | |||||
2020-08-28 | Remove redundant DoWithChunkAt in chests | Tiger Wang | 2 | -12/+6 | |
2020-08-21 | Remove unused variables in ChestEntity/BlockEntityWithItems | Tiger Wang | 2 | -4/+0 | |
2020-08-19 | Add Statistics and Achievements for newer Network standards | 12xx12 | 1 | -1/+1 | |
2020-08-08 | Remove the redstone solid block handler | Tiger Wang | 2 | -8/+2 | |
- Remove cSolidBlockHandler * Functionality now integrated into simulator dispatcher * Fix door double open/close issues, arisen due to the top/bottom halves getting different power + Small migration to block states for redstone wire | |||||
2020-08-02 | Always use relative coordinates in AddBlock | Tiger Wang | 3 | -42/+44 | |
+ Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available | |||||
2020-08-01 | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 1 | -19/+19 | |
2020-07-26 | Call BlockEntityWithItems from ChestEntity slot changed handler | Tiger Wang | 2 | -37/+53 | |
* Small degree of unification for what to do with the current entity * Make sure to do necessary actions for both sides of a double chest | |||||
2020-07-19 | Precompile unordered_map/set | Tiger Wang | 1 | -1/+0 | |
+ Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | |||||
2020-05-16 | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 1 | -8/+2 | |
* Make our CMake slightly less insane | |||||
2020-05-15 | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 3 | -14/+2 | |
* Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | |||||
2020-05-09 | Update submodules (#4727) | peterbell10 | 1 | -1/+1 | |
Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version. | |||||
2020-04-25 | Update DispenserEntity.cpp | Lukas Pioch | 1 | -1/+1 | |
Removed unneeded cast | |||||
2020-04-25 | Fixed spawning of mobs from dispenser | Lukas Pioch | 1 | -2/+3 | |
2020-04-16 | Using Super. | Mattes D | 37 | -59/+59 | |
2020-04-04 | Block entity for beacon was not created (#4618) | Lukas Pioch | 1 | -0/+1 | |
2020-04-03 | Manage block entity lifetime with unique_ptr (#4080) | peterbell10 | 2 | -29/+29 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 6 | -3/+8 | |
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 | |||||
2020-03-27 | Lock hopper when powered by redstone (#4347) | Bond-009 | 2 | -4/+25 | |
* Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat <mail@mathias.is> | |||||
2020-03-23 | Play sound when brewing is complete | Mat | 1 | -0/+1 | |
2020-03-23 | Jukebox improvements (#4537) | Mat | 2 | -4/+23 | |
* Add jukebox block handler Co-authored-by: peterbell10 <peterbell10@live.co.uk> | |||||
2020-03-22 | Don't remove items twice (#4524) | Mat | 1 | -1/+1 | |
* Don't remove items twice | |||||
2020-03-19 | Remove leading slash from command block commands (#4502) | Mat | 1 | -6/+20 | |
2020-03-04 | Prevent container item duplication (#4476) | Mat | 2 | -15/+0 | |
2019-10-28 | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 3 | -22/+22 | |
2019-10-04 | Fixed crash in hopper while pulling items from blockentity above itself (#4412) | NiLSPACE | 1 | -2/+2 | |
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 38 | -399/+420 | |
2019-08-11 | Wake up redstone simulator on slot changes for blockentities (#4348) | Bond-009 | 2 | -0/+16 | |
Fix #1898 Fix #2194 Fix #3063 | |||||
2018-09-24 | Add a formatting function for Vector3 (#4282) | peterbell10 | 2 | -7/+7 | |
* Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | |||||
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 6 | -9/+6 | |
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | |||||
2018-07-27 | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 2 | -3/+3 | |
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 6 | -12/+4 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-07-24 | Broadcast refactor (#4264) | peterbell10 | 1 | -4/+2 | |
* Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions | |||||
2018-05-02 | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 15 | -15/+15 | |
* Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | |||||
2018-04-11 | Smelting Gives Experience (#4094) | Alex Sweet | 2 | -0/+25 | |
* Smelting Exp Smelting now gives experience * Furnace.txt update Exp rewards are entered in furnace.txt, Reward calculation is now done is the furnaceentity class * furnace.txt update Changed alignment tabs to spaces Included documentation of exp in recipe * Updated StringToFloat changed strtod to strtof * Explicit Float to Int * Reworked Smelting Rewards * No C casts -Adds new function to the api -Sets reward counter to 0 in furnace constructor * Style and exp lock removed -Fixed style mistakes accoring to PR notes -XP isn't locked to a single player anymore * No Smelter API -Removed SetLastSmelter and GetLastSmelter -Fixed comments -Fixed log reward amounts | |||||
2018-01-03 | Add the fmt library (#4065) | peterbell10 | 1 | -0/+1 | |
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | |||||
2017-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 1 | -4/+3 | |
2017-10-02 | Fixed 2 small warnings (#4055) | Bond-009 | 2 | -7/+3 | |
2017-09-25 | BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038) | Bond-009 | 5 | -14/+12 | |
2017-09-19 | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 2 | -6/+4 | |
* Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos | |||||
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2 | -2/+2 | |
2017-09-14 | Fix switch warnings (#4013) | peterbell10 | 2 | -10/+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 | |||||
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 4 | -107/+43 | |
2017-09-07 | Changed some int parameters to vector parameters (#3937) | Bond-009 | 1 | -2/+2 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 4 | -43/+107 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 4 | -107/+43 | |
2017-08-25 | Add cUUID class (#3871) | peterbell10 | 2 | -9/+14 | |
2017-08-21 | Award player an achievement when creating a beacon (#3930) | Bond-009 | 1 | -13/+36 | |
2017-08-18 | cBeaconEntity fix no world crash | peterbell10 | 1 | -1/+4 | |
2017-08-17 | Sitting cats block enderchests from opening (#3906) | Bond-009 | 2 | -25/+11 | |
2017-08-07 | Changed entity ownership model to use smart pointers | Tiger Wang | 1 | -2/+2 | |
2017-08-02 | Removed double includes (#3885) | Lukas Pioch | 1 | -1/+0 | |
2017-07-12 | Added basic ocelot behavior (#3829) | Bond-009 | 1 | -2/+29 | |
2017-07-07 | Added bed entity (#3823) | Lukas Pioch | 4 | -0/+106 | |
* 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-30 | Added 1.12 blocks (#3760) | Bond-009 | 2 | -3/+41 | |
2017-06-24 | cBlockArea supports block entities. (#3795) | Mattes D | 2 | -3/+56 | |
2017-06-16 | Fixed missing "override" | Mattes D | 1 | -1/+1 | |
2017-06-16 | BlockEntities: Support cloning self. | Mattes D | 37 | -231/+538 | |
2017-06-13 | FastRandom rewrite (#3754) | peterbell10 | 2 | -7/+7 | |
2017-06-05 | Fixes problems with windows: | Lukas Pioch | 7 | -7/+7 | |
- Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | |||||
2017-06-03 | Fixed double chests (#3741) | peterbell10 | 2 | -7/+24 | |
Normal and trapped chests next to each other don't open a double chest window. Slot changes in the secondary chest are broadcast. Placing a chest in +x of another updates the original chest's metadata. | |||||
2017-05-28 | Minor cBrewingRecipes cleanup (#3731) | peterbell10 | 1 | -4/+4 | |
2017-05-28 | Double chest window fix (#3735) | peterbell10 | 2 | -52/+130 | |
2017-05-28 | Broadcast mob head changes | mathiascode | 1 | -0/+5 | |
2017-05-24 | Exported boat | Lukas Pioch | 1 | -1/+6 | |
- 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 | |||||
2017-05-21 | Clang 5.0 fixes | Lukas Pioch | 7 | -7/+7 | |
- Added override keyword - Removed inherited member variables | |||||
2017-05-21 | Fixed invisible chests (#3722) | Pablo Beltrán | 3 | -5/+15 | |
Fixes #3479, #3403, #3696 | |||||
2017-05-08 | Corrected brewingstand and added support for fuel | Lukas Pioch | 2 | -19/+66 | |
2017-04-01 | Added a nullptr check to cEntity::IsA (#3659) | Marvin Kopf | 1 | -1/+1 | |
Fixes #3603 | |||||
2017-03-22 | Fireworks can be fired from a dispenser | Bond-009 | 1 | -1/+4 | |
2017-02-15 | Updated sounds and effect IDs (#3422) | mathiascode | 3 | -10/+10 | |
2017-02-14 | Added some blocks and items (#3503) | mathiascode | 1 | -8/+118 | |
2017-02-05 | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 1 | -1/+1 | |
The original bindings accepted nil as the World param, causing a crash. | |||||
2016-11-18 | Removed ClientHandle.h dependencies from common headers. | Mattes D | 5 | -6/+12 | |
2016-08-24 | Fixed type-casting-related warnings. | Mattes D | 1 | -2/+1 | |
2016-07-18 | CMake: Remove needless minimum version specifications. | Mattes D | 1 | -2/+0 | |
2016-07-18 | Updated API documentation. | Mattes D | 2 | -4/+4 | |
2016-06-15 | - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update. | QUSpilPrgm | 2 | -4/+4 | |
- Fixes a range check inside cIncrementalRedstoneSimulator::Simulate | |||||
2016-06-03 | Update Dispensers and let them act more like in Vanilla | QUSpilPrgm | 2 | -10/+81 | |
- Added code to make bonemeal, potions, minecarts, XP bottles and boats work inside dispensers - Dispensers are now able to place TNT if the block is transparent but not air - Added return value that indicates the success of pumpkin, melon, sugarcane and cactus growing functions - Changed return value of "GrowRipePlant" so that it actually indicates if the block was able to grow - Fixed "GrowSugarcane" and "GrowCactus" in "GrowRipePlant" so that it only grows them a single block | |||||
2016-04-22 | Reduced unnecessary block updates | LogicParrot | 2 | -2/+1 | |
2016-02-19 | Proper entity destruction in non-ticking chunks | LogicParrot | 1 | -1/+1 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 20 | -159/+159 | |
2016-01-11 | Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8 | bibo38 | 2 | -11/+56 | |
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 | |||||
2016-01-01 | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 1 | -1/+1 | |
Also upgraded the user setting file for MSVC to 2013. | |||||
2015-12-18 | Reorganised the redstone simulator | Tiger Wang | 8 | -89/+4 | |
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | |||||
2015-12-17 | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 1 | -1/+1 | |
2015-12-13 | allow use failures to propagate from the entity/block to the player | Gargaj | 29 | -33/+52 | |
2015-11-24 | Add enum for Sound and Particle Effects | Dave Tucker | 3 | -10/+12 | |
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | |||||
2015-11-08 | Fix memory leak | worktycho | 1 | -1/+1 | |
Fixes CID 132249 | |||||
2015-11-03 | Implemented brewing | Lukas Pioch | 4 | -0/+449 | |
2015-10-26 | Update Loops required for JsonCPP | Lukas Pioch | 1 | -2/+2 | |
2015-09-17 | Added CircleCI for stylechecking. | Mattes D | 2 | -4/+24 | |
This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks | |||||
2015-09-02 | Fixes #2485 | Tiger Wang | 1 | -1/+0 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 9 | -60/+49 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2 | -4/+4 | |
2015-07-16 | Spawn baby mobs | hallucino | 1 | -1/+1 | |
2015-07-12 | Fixed DropSpenser sound #2333 | mmdk95 | 1 | -2/+2 | |
2015-07-07 | (Ender) Chests are obstructed by opaque blocks. | Nounours Heureux | 2 | -15/+13 | |
2015-06-17 | Fixes #2245 | Tiger Wang | 1 | -1/+1 | |
Whoops :/ | |||||
2015-06-15 | Fixed override | tycho | 1 | -1/+1 | |
This was causing a compile error in clang 3.6 | |||||
2015-06-10 | Reinstate "Chunk queue collapsing" | Tiger Wang | 1 | -0/+1 | |
This reinstates commit f36acb683594daff5af3971dcbe3c3a171628b78 and reverts commit adfbc42c021e1bcfcb355933c0fd784306ce0e18. | |||||
2015-06-07 | Revert "Chunk queue collapsing" | worktycho | 1 | -1/+0 | |
2015-06-06 | Comparators | Tiger Wang | 2 | -1/+19 | |
2015-06-05 | Rewrote ChunkSending queue for significantly improved performance | tycho | 1 | -0/+1 | |
2015-06-03 | Fixes multiple furnace issues, including from loading world storage | HaoTNN | 2 | -14/+37 | |
2015-05-28 | Fix comments | tycho | 2 | -6/+9 | |
2015-05-24 | Made -Weverything an error. | tycho | 3 | -9/+19 | |
2015-05-23 | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2 | -2/+2 | |
2015-05-19 | Make -Werror disabling file only | tycho | 2 | -2/+7 | |
Ad fix a load of warnings | |||||
2015-05-19 | Fixes lit furnace issue in #2051 | haotnn | 1 | -0/+1 | |
2015-05-11 | Improved hoppers | Tiger Wang | 2 | -27/+16 | |
* Fixes #1994 | |||||
2015-05-09 | More style checking. | Mattes D | 2 | -2/+2 | |
Spaces around some operators are checked. | |||||
2015-03-21 | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 3 | -14/+28 | |
2015-03-20 | Correct world height validations. | Tommy Santerre | 1 | -2/+2 | |
Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255 | |||||
2015-03-19 | Removed unwanted base classes from Lua API. | Mattes D | 1 | -0/+2 | |
2015-03-10 | Moved window code into cpp files | Howaner | 1 | -1/+1 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 13 | -13/+13 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-12-17 | NULL -> nullptr | Tiger Wang | 1 | -2/+2 | |
2014-12-13 | Own classes for all windows. | Howaner | 6 | -3/+6 | |
2014-12-01 | MobSpawner fixes. | Howaner | 3 | -3/+10 | |
2014-11-29 | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. | Howaner | 3 | -57/+12 | |
2014-11-27 | BlockEntities: Removed the extra semicolon. | Mattes D | 16 | -24/+25 | |
2014-11-18 | Finished mob spawner implementation. | Howaner | 13 | -121/+10 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 16 | -54/+64 | |
2014-10-21 | Fixed trailing whitespace. | Mattes D | 2 | -2/+2 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 16 | -44/+44 | |
2014-10-19 | cLuaState: cBlockEntity descendants are pushed with proper class type. | Mattes D | 16 | -25/+62 | |
2014-10-18 | Furnaces now update their block entity type | Tiger Wang | 1 | -2/+4 | |
Therefore improving cChunk's variable boundary checking. | |||||
2014-10-18 | Simpler code. | Alexander Harkness | 1 | -3/+2 | |
2014-10-16 | Nullptr? | Alexander Harkness | 1 | -2/+2 | |
2014-10-16 | Fixed a number of stylistic issues. | Alexander Harkness | 1 | -7/+7 | |
2014-10-12 | fix std:min call, include algorithm and compare same type | Steven Riehl | 1 | -2/+2 | |
2014-10-12 | refactor an if block to std::min | Steven Riehl | 1 | -4/+1 | |
2014-10-12 | convert old style casts to fix warnings | Steven Riehl | 8 | -105/+74 | |
2014-10-03 | Improved furnaces | Tiger Wang | 2 | -142/+109 | |
* Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070 | |||||
2014-09-30 | Removed WSSCompact | Tiger Wang | 24 | -437/+0 | |
2014-09-28 | Compilation fix | Tiger Wang | 1 | -2/+2 | |
2014-09-27 | Suggestions | Tiger Wang | 3 | -9/+8 | |
2014-09-27 | Fixed compile errors. | Howaner | 2 | -42/+42 | |
2014-09-26 | Removed more unessicary includes | Tycho | 22 | -35/+12 | |
2014-09-25 | Fixed dispender direction bug | Howaner | 1 | -1/+1 | |
2014-09-23 | A few compiler warning fixes | Chris Darnell | 1 | -1/+1 | |
2014-09-19 | Implemented mob spawner. | Howaner | 3 | -43/+323 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 1 | -1/+1 | |
2014-09-17 | Created MobSpawnerEntity class. | Howaner | 4 | -1/+165 | |
2014-09-13 | Implemented Chest Minecarts | Tiger Wang | 7 | -7/+2 | |
2014-09-11 | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 2 | -4/+5 | |
THis wil hopefully allow for unit testing | |||||
2014-09-06 | Added Y-wise asserts to signs. | Mattes D | 1 | -0/+1 | |
This should help detect #1313's second case. | |||||
2014-09-01 | Fixed style. | madmaxoft | 1 | -1/+2 | |
2014-08-31 | Changed null check to assert | worktycho | 1 | -5/+3 | |
Changed the null check to clarify that the function should not be called before the entity has been attached to a world. | |||||
2014-08-31 | Rewrited furnace.txt loading. | Howaner | 1 | -1/+1 | |
2014-08-30 | Fixed style. | madmaxoft | 1 | -2/+3 | |
2014-08-29 | Improved command block security | Tiger Wang | 1 | -6/+19 | |
2014-08-10 | Fixed potential null dereference | Tycho | 1 | -5/+5 | |
Fixes CID 70466 | |||||
2014-08-06 | Fixed style issues | Tycho | 2 | -2/+5 | |
2014-08-06 | Fixed multiple inhertance being output by tolua | Tycho | 2 | -6/+10 | |
2014-08-05 | Removed dependecy of redstone simulator on NoteBlock | Tycho | 2 | -1/+13 | |
2014-08-05 | Refactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity Directly | Tycho | 2 | -3/+13 | |
2014-08-02 | Fixed a bug who can used from hacked clients. | Howaner | 1 | -0/+2 | |
2014-07-31 | Use "default:" in switch. | Howaner | 1 | -3/+6 | |
2014-07-31 | Renamed "select..." methods to "set..." and better IsValidEffect() function. | Howaner | 2 | -51/+15 | |
2014-07-31 | Updated documentation. | Howaner | 1 | -3/+3 | |
2014-07-31 | Renamed functions and added beacon json saving. | Howaner | 2 | -46/+44 | |
2014-07-30 | Added window update. | Howaner | 1 | -0/+23 | |
2014-07-30 | Added beacon load/save. | Howaner | 1 | -0/+3 | |
2014-07-30 | Changed return type from GetPrimaryPotion() and GetSecondaryPotion() | Howaner | 1 | -2/+2 | |
2014-07-30 | Exported the beacon. | Howaner | 2 | -17/+27 | |
2014-07-30 | Added beacon. | Howaner | 3 | -32/+337 | |
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 3 | -4/+4 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 8 | -12/+12 | |
2014-07-19 | Code style: Fixed braces on separate lines. | madmaxoft | 3 | -3/+6 | |
2014-07-19 | Subdirs: Only add_library if not using MSVC | archshift | 1 | -1/+3 | |
2014-07-19 | BlockEntities/CMakeLists.txt: Replaced glob with list of files | archshift | 1 | -5/+35 | |
2014-07-18 | Fixed spaces before commas. | madmaxoft | 1 | -2/+2 | |
2014-07-17 | Basic style fixes. | madmaxoft | 10 | -11/+11 | |
2014-07-17 | Normalized comments. | madmaxoft | 4 | -10/+10 | |
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. | |||||
2014-07-15 | Fixed a DropSpenser AddFace bug | Tiger Wang | 1 | -1/+1 | |
2014-07-15 | Pass cItem by reference. | madmaxoft | 1 | -1/+1 | |
Fixes CID 66445. | |||||
2014-07-13 | Fixed Issue with Comparing agast the wrong chest, potentially causing crashes. | worktycho | 1 | -7/+7 | |
2014-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 1 | -1/+1 | |
2014-07-12 | cHopperEntity: Simplified chest conditions. | madmaxoft | 1 | -10/+4 | |
2014-07-12 | cChestEntity: Renamed a member to avoid confusion. | madmaxoft | 2 | -8/+9 | |
2014-07-12 | Fixed alignment. | madmaxoft | 1 | -2/+3 | |
2014-07-12 | Suggestions and bug fix | Tiger Wang | 2 | -10/+18 | |
* 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 | |||||
2014-07-11 | Suggestions | Tiger Wang | 1 | -4/+4 | |
2014-07-08 | Made things consistent | Tiger Wang | 1 | -4/+5 | |
2014-07-07 | Implemented trapped chests & others | Tiger Wang | 4 | -13/+36 | |
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | |||||
2014-06-29 | Properly implemented enderchests | Tiger Wang | 2 | -93/+44 | |
2014-06-24 | Fixed crashes in HopperEntity. | Mattes D | 1 | -19/+58 | |
Some of the coords were off and some functions were assuming too much. Fixes the crash reported in http://forum.mc-server.org/showthread.php?tid=1497 | |||||
2014-06-22 | Chests don't open if obstructed | Tiger Wang | 1 | -0/+13 | |
* Fixes FS383 | |||||
2014-06-11 | DispenserEntity code cleanup after PR merge. | madmaxoft | 2 | -30/+30 | |
2014-06-05 | - Fixed a lot of alignment | JoannisO | 1 | -7/+7 | |
2014-06-04 | - Removed the code that removed fireworks from a dispenser even thought | JoannisO | 1 | -3/+0 | |
they weren't launched. | |||||
2014-06-04 | - Fixed variable names in a function. | JoannisO | 1 | -2/+2 | |
2014-06-04 | - Fixed a lot of astethics | JoannisO | 2 | -14/+17 | |
2014-06-03 | - Fixed an issue where there were 2 "DispChunk"-s in the same function. | JoannisO | 1 | -16/+5 | |
Resused the initial one. | |||||
2014-06-03 | - Fixed a bug where I didn't return anything in the GetShootVector | JoannisO | 1 | -0/+2 | |
function. This was however passed as "working" by GCC. | |||||
2014-06-03 | - Fixed a bug where I used the FireCharge ITEM instead of the Projectile | JoannisO | 1 | -1/+1 | |
ENUM | |||||
2014-06-03 | - Cleaned up the code massively | JoannisO | 2 | -90/+31 | |
- Stopped using cChunk in the GetShootVector class. Parameter is now the Metadata of the block - Stopped using cChunk in the SpawnProjectileFromDispenser method now using coordinates and finding the chunk by itself. - Removed the matrix calculations from GetShootVector. | |||||
2014-06-03 | - Added doxy comments and exported to lua | Joannis | 2 | -22/+64 | |
- Manipulation of the ShootVector is not to be done by the function that wants to spawn a projectile. | |||||
2014-05-31 | - Changed the name of the ProjectileLookVector method. | JoannisO | 2 | -3/+3 | |
Note: I still think the new name is unclear. Any other suggestions are welcome. | |||||
2014-05-29 | - Prefixed all args with "a_" | JoannisO | 2 | -6/+10 | |
- Added braces around the cases. | |||||
2014-05-28 | Code improvements | Howaner | 1 | -5/+2 | |
2014-05-28 | Fix skull bugs. | Howaner | 1 | -0/+5 | |
2014-05-28 | - Removed breaks. I thought it wouldn't compile without them but the | JoannisO | 1 | -2/+0 | |
issue was appearantly solved with an earlier commit. | |||||
2014-05-28 | - Fixed an issue where dispensers would only shoot arrows (appearantly | JoannisO | 1 | -33/+24 | |
some commits didn't come through) - Cleaned up the code according to suggestions. | |||||
2014-05-28 | - Implemented vertical dispensing for projectiles. | Joannis | 2 | -16/+40 | |
- Fixed some terrible commit issues on my side. | |||||
2014-05-27 | - Fixed the ampersands and asterisks to fit the format. | Joannis | 2 | -8/+8 | |
- Fixed the method "SpawnProjectileFromDispenser" to use CamelCasing. | |||||
2014-05-26 | - Added support for more types of projectiles in the Dispenser | JoannisO | 2 | -38/+51 | |
- Improved the method of spawning projectiles in the world - Added another method for spawning the projectiles | |||||
2014-05-26 | Added Arrow- and FireCharge-Dispensing to DispenserEntity. | JoannisO | 2 | -27/+95 | |
2014-04-27 | Added static const, initialized fields. | archshift | 2 | -1/+4 | |
2014-04-25 | Cmake generated projects for IDEs include headers in project files. | archshift | 1 | -0/+1 | |
2014-04-19 | Fixed Flint and Steel, reverted Minecart change, renamed a parameter name | jfhumann | 1 | -5/+5 | |
2014-04-19 | Fixed formatting, made function static. | madmaxoft | 2 | -13/+18 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 3 | -8/+13 | |
2014-04-12 | Some tweaks | STRWarrior | 1 | -5/+17 | |
GetPyramidLevel returns 0 when no layers were found, 1 for one layer etc. Auto adjust the minY and/or maxY to 0 if the beacon is low. | |||||
2014-04-12 | Removed debug message. | STRWarrior | 1 | -1/+0 | |
2014-04-12 | Simplefied GetPyramidLevel | STRWarrior | 1 | -10/+3 | |
2014-04-12 | Implemented the skeleton code for the beacon. | STRWarrior | 3 | -0/+153 | |
There is no handling for the GUI. It can now check how big the pyramid is under the beacon. | |||||
2014-04-03 | Fixed a few MSVC type warnings. | Mattes D | 1 | -1/+1 | |
2014-03-16 | Fixed double to float conversions. | madmaxoft | 1 | -1/+1 | |
2014-03-14 | Add fireball interact | Howaner | 1 | -0/+6 | |
2014-03-08 | Change TNT Fuse to ticks | Howaner | 1 | -1/+1 | |
2014-03-07 | Add Flower Pots | Howaner | 3 | -0/+210 | |
2014-02-28 | Documented the changes in cJukeboxEntity. | madmaxoft | 1 | -2/+3 | |
2014-02-24 | Fixed compilation in MSVC (forward class definitions). | madmaxoft | 2 | -0/+2 | |
2014-02-24 | BlockEntities is warnings free | Tycho | 6 | -3/+11 | |
2014-02-23 | Rename SkullEntity to MobHeadEntity | Howaner | 5 | -189/+189 | |
2014-02-23 | Add break to Protocol17x.cpp and use new comment delimiter | Howaner | 1 | -7/+7 | |
2014-02-23 | Add Heads completely | Howaner | 3 | -5/+3 | |
2014-02-23 | Add Skulls/Heads | Howaner | 3 | -0/+191 | |
2014-02-21 | Better Jukebox API | Howaner | 2 | -16/+48 | |
2014-02-19 | Rename SkullEntity to MobHeadEntity | Howaner | 5 | -189/+189 | |
2014-02-19 | Add break to Protocol17x.cpp and use new comment delimiter | Howaner | 1 | -7/+7 | |
2014-02-18 | Add Heads completely | Howaner | 3 | -5/+3 | |
2014-02-17 | Add Skulls/Heads | Howaner | 3 | -0/+191 | |
2014-02-15 | Fixed typographical error | Tiger Wang | 1 | -2/+1 | |
2014-02-15 | Removed debug messages again | Tiger Wang | 1 | -6/+0 | |
2014-02-13 | Added proper debug messages | Tiger Wang | 1 | -3/+8 | |
2014-02-13 | Fancy stuff with constant references | Tiger Wang | 1 | -2/+2 | |
2014-02-12 | Added more missing GetClassStatic()s | Tiger Wang | 2 | -0/+4 | |
2014-02-12 | Removed some unneeded BroadcastWholeWindow()s | Tiger Wang | 4 | -23/+2 | |
2014-02-12 | Changed inheritance a bit | Tiger Wang | 7 | -33/+47 | |
* cBlockEntityWithItems now inherits from cBlockEntityWindowOwner | |||||
2014-02-11 | Fixed #190 | Tiger Wang | 1 | -2/+67 | |
+ Hoppers now collect pickups above them | |||||
2014-02-11 | Fixed #612 | Tiger Wang | 2 | -0/+16 | |
* Chests send contents updates to client | |||||
2014-01-23 | Minor style improvements for the merged PR. | Mattes D | 1 | -4/+4 | |
2014-01-23 | Command block fixes 2 | andrew | 1 | -6/+20 | |
2014-01-19 | Removed unneeded paramters | Tiger Wang | 1 | -1/+1 | |
2014-01-19 | Changed SendBlockEntity format slightly | Tiger Wang | 1 | -24/+2 | |
* Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug | |||||
2014-01-19 | Improved command blocks | Tiger Wang | 1 | -5/+37 | |
* Their command and previous output are displayed on the client * They have a BlockHandler implementation, so you can't place blocks on them anymore + As a side effect, implemented UpdateBlockEntity | |||||
2014-01-18 | Fixed compiler error. | STRWarrior | 1 | -3/+3 | |
2014-01-18 | Command block fixes | andrew | 2 | -38/+5 | |
2014-01-18 | Parse the MC|AdvCdm plugin message | andrew | 1 | -0/+2 | |
2014-01-18 | Command blocks: Execute() | andrew | 1 | -5/+27 | |
2014-01-18 | Command block (de)serialization | andrew | 2 | -3/+42 | |
2014-01-18 | Basic command block implementation | andrew | 3 | -11/+271 | |
2014-01-16 | Removed obsoleted functions | Tiger Wang | 2 | -4/+4 | |
2014-01-06 | Fixed a few MSVC warnings. | madmaxoft | 2 | -5/+4 | |
2013-12-30 | Fixed compilation in VC2008. | madmaxoft | 1 | -2/+1 | |
Also removed an unused inline header file (yuck). | |||||
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 5 | -4/+9 | |
2013-12-22 | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2 | -2/+8 | |
2013-12-21 | Chunk is now warnings clean | Tycho Bickerstaff | 3 | -3/+3 | |
2013-12-21 | fixed hidden bug with furnaces ignoring time burnt | Tycho Bickerstaff | 1 | -1/+1 | |
this patch fixes an issue with furnaces where they would ignore the time burnt in setBurnTimes this did not cause a problem as this function was only called with the same value as the one it was using for time burnt | |||||
2013-12-21 | ChunkSender is now warnings clean | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-20 | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2 | -4/+4 | |
2013-12-19 | added blocks and blockentities | Tycho Bickerstaff | 1 | -0/+11 | |
2013-12-16 | Fixed multiple inheritance in ToLua++. | madmaxoft | 5 | -20/+20 | |
This fixes #422. | |||||
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -1/+1 | |
Ref.: #407 | |||||
2013-12-07 | Added basic ender chests | Tiger Wang | 3 | -10/+201 | |
Note that they just mirror chests now, so no per player inventory. | |||||
2013-12-06 | Fixed pickups spawning for BlockEntities | Tiger Wang | 1 | -1/+1 | |
2013-11-28 | Moved json includes to where they are really needed. | madmaxoft | 1 | -0/+1 | |
2013-11-27 | Fixed VC2008 compilation, normalized include paths. | madmaxoft | 5 | -5/+5 | |
2013-11-27 | Fixed the remaining derps | Alexander Harkness | 5 | -5/+5 | |
2013-11-25 | Further attempts to fix compile | Tiger Wang | 5 | -5/+5 | |
2013-11-24 | Attempt to fix compilation | Tiger Wang | 5 | -5/+5 | |
2013-11-24 | Moved source to src | Alexander Harkness | 21 | -0/+3033 | |