Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add player statistics to API (#5193) | nshah25 | 2021-05-03 | 10 | -13/+14 |
| | | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Chest, weather, crash, and miscellaneous fixes (#5215) | Tiger Wang | 2021-04-30 | 5 | -248/+194 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Alpha-sort cChestEntity * Chests: use SendUpdateBlockEntity * Pathfinder: fix out of range Y * 1.13: correct weather packet ID * Chests: fix neighbour scanner + Add OnAddToWorld and overload to scan neighbours there, instead of in the constructor/OnUse. This fixes hoppers accessing newly loaded double chests and seeing a null m_Neighbour, thus thinking its a single chest. * Fix typo in cross coords computation. * Simplify hopper logic. * Block entities: ASSERT that type is correct If you match the block type first before calling DoWithBlockEntity, the corresponding block entity must either be empty or correspond to the block type. * Chunk: fix some forgotten PendingSendBE cleanup + Add cleanup in SetAllData, WriteBlockArea - Remove RemoveBlockEntity (used once), HasBlockEntity (not used) * Replace MakeIndex with MakeIndexNoCheck * Remove extraneous MarkDirty in hopper & chests | ||||
* | Repaired Hoppers Treating Chests as two entities (#5202) | npresley0506 | 2021-04-23 | 3 | -71/+67 |
| | | | | | | | | | | | | | | | * Repaired Hoppers Treating Chests as two entities * Style changes * style fixes * Fixed style issues, also condensed logic in MoveItemsFromChest * Used m_Neighbour, fixed styling * GetNeighbour not ReturnNeighbour Co-authored-by: npresley <npresley@umich.edu> | ||||
* | Fix sending incorrect date values on world change | Tiger Wang | 2021-04-12 | 6 | -26/+34 |
| | | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | ||||
* | Added override specifiers to overridden functions. | Mattes D | 2021-04-12 | 1 | -1/+1 |
| | | | | Needed for clang-11 compatibility. | ||||
* | Unify DoWithBlockEntity (#5168) | Tiger Wang | 2021-03-28 | 5 | -35/+13 |
| | | | | | | + DoWith calls now broadcast the block entity and mark the chunk dirty + Add block entity change queue to synchronise BE updates with block updates * Fixed a few incorrect assertions about BE type - Remove manual overloads | ||||
* | Mob heads, banners cannot be used | Tiger Wang | 2021-03-18 | 4 | -53/+59 |
| | | | | * Fixed UsedBy returning true, blocking block placement | ||||
* | Adding basic Banner functionality (#4806) | 12xx12 | 2021-03-15 | 4 | -0/+131 |
| | | | | | | + Added item and block for banners Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Properly deprecate more XYZ parameter'd functions (#5147) | Tiger Wang | 2021-03-15 | 2 | -2/+2 |
| | | | * Fixes #5144 | ||||
* | Mark UNREACHABLE with intrinsics | Tiger Wang | 2021-02-20 | 1 | -1/+0 |
| | |||||
* | cChunk: don't inherit from cChunkDef (#5106) | Tiger Wang | 2021-01-18 | 1 | -2/+2 |
| | |||||
* | Fix potential destruction crashes (#5095) | Tiger Wang | 2021-01-02 | 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 | ||||
* | Command Blocks: fix a crash | Tiger Wang | 2020-12-30 | 1 | -3/+3 |
| | | | | * Don't store a temporary | ||||
* | Comment and code style fix | Tiger Wang | 2020-12-21 | 1 | -13/+8 |
| | | | | | + Add static keyword - Don't capture everything in lambda | ||||
* | Add correct implementation of crops (#4802) | 0ddlyoko | 2020-11-06 | 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> | ||||
* | Remove BLOCKENTITY_PROTODEF | Tiger Wang | 2020-10-24 | 21 | -153/+10 |
| | |||||
* | Adding more customize options to mob spawners and improving the way to look for surrounding entities (#4955) | 12xx12 | 2020-10-10 | 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> | ||||
* | Beacon now checks for players in surrounding square (#4972) | 12xx12 | 2020-10-09 | 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> | ||||
* | Remove SetProperty(...cPlayer) | Tiger Wang | 2020-10-03 | 4 | -4/+4 |
| | | | | Enchantment table, anvil windows are already opened one per-player. | ||||
* | Fixing Mob spawner behaviour (#4930) | 12xx12 | 2020-09-27 | 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> | ||||
* | Do not call into things we don't own in destructors | Tiger Wang | 2020-09-25 | 2 | -14/+0 |
| | | | | | - Remove improper accesses in cChunk destructor * Fixes #4894 | ||||
* | Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) | KingCol13 | 2020-09-25 | 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. | ||||
* | BlockEntity: clarify ConvertToPickups behaviour | Tiger Wang | 2020-09-25 | 1 | -1/+1 |
| | |||||
* | Unify block entity pickup conversion | Tiger Wang | 2020-09-25 | 11 | -1/+68 |
| | | | | | - Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it | ||||
* | Small cleanup in Jukeboxes | Tiger Wang | 2020-09-25 | 2 | -13/+18 |
| | | | | * Fixed creative players not tracking stats, and the code trying to "place" a record when they used one | ||||
* | Limit fortune level, style fixes | Tiger Wang | 2020-09-23 | 1 | -3/+2 |
| | |||||
* | Implement Dropspenser Hook (#4903) | KrystilizeNevaDies | 2020-09-21 | 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> | ||||
* | Added end portal and enchanting table block entities | 12xx12 | 2020-09-20 | 6 | -19/+178 |
| | |||||
* | Add more statistic tracking (#4837) | 12xx12 | 2020-09-05 | 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> | ||||
* | Use pitch lookup in noteblock block entity (#4826) | 12xx12 | 2020-09-05 | 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> | ||||
* | Streamline startup sequence | Tiger Wang | 2020-09-05 | 1 | -1/+1 |
| | | | | | * Clean up cRoot & main * Move some OS-specifics into OSSupport | ||||
* | Remove redundant DoWithChunkAt in chests | Tiger Wang | 2020-08-28 | 2 | -12/+6 |
| | |||||
* | Remove unused variables in ChestEntity/BlockEntityWithItems | Tiger Wang | 2020-08-21 | 2 | -4/+0 |
| | |||||
* | Add Statistics and Achievements for newer Network standards | 12xx12 | 2020-08-19 | 1 | -1/+1 |
| | |||||
* | Remove the redstone solid block handler | Tiger Wang | 2020-08-08 | 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 | ||||
* | Always use relative coordinates in AddBlock | Tiger Wang | 2020-08-02 | 3 | -42/+44 |
| | | | | | + Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available | ||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -19/+19 |
| | |||||
* | Call BlockEntityWithItems from ChestEntity slot changed handler | Tiger Wang | 2020-07-26 | 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 | ||||
* | Precompile unordered_map/set | Tiger Wang | 2020-07-19 | 1 | -1/+0 |
| | | | | | | + Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | ||||
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 1 | -8/+2 |
| | | | * Make our CMake slightly less insane | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 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 | ||||
* | Update submodules (#4727) | peterbell10 | 2020-05-09 | 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. | ||||
* | Update DispenserEntity.cpp | Lukas Pioch | 2020-04-25 | 1 | -1/+1 |
| | | | Removed unneeded cast | ||||
* | Fixed spawning of mobs from dispenser | Lukas Pioch | 2020-04-25 | 1 | -2/+3 |
| | |||||
* | Using Super. | Mattes D | 2020-04-16 | 37 | -59/+59 |
| | |||||
* | Block entity for beacon was not created (#4618) | Lukas Pioch | 2020-04-04 | 1 | -0/+1 |
| | |||||
* | Manage block entity lifetime with unique_ptr (#4080) | peterbell10 | 2020-04-03 | 2 | -29/+29 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 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 | ||||
* | Lock hopper when powered by redstone (#4347) | Bond-009 | 2020-03-27 | 2 | -4/+25 |
| | | | | | | | | | * Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat <mail@mathias.is> | ||||
* | Play sound when brewing is complete | Mat | 2020-03-23 | 1 | -0/+1 |
| | |||||
* | Jukebox improvements (#4537) | Mat | 2020-03-23 | 2 | -4/+23 |
| | | | | | * Add jukebox block handler Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Don't remove items twice (#4524) | Mat | 2020-03-22 | 1 | -1/+1 |
| | | | * Don't remove items twice | ||||
* | Remove leading slash from command block commands (#4502) | Mat | 2020-03-19 | 1 | -6/+20 |
| | |||||
* | Prevent container item duplication (#4476) | Mat | 2020-03-04 | 2 | -15/+0 |
| | |||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 3 | -22/+22 |
| | |||||
* | Fixed crash in hopper while pulling items from blockentity above itself (#4412) | NiLSPACE | 2019-10-04 | 1 | -2/+2 |
| | |||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 38 | -399/+420 |
| | |||||
* | Wake up redstone simulator on slot changes for blockentities (#4348) | Bond-009 | 2019-08-11 | 2 | -0/+16 |
| | | | | | Fix #1898 Fix #2194 Fix #3063 | ||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 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 | ||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 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. | ||||
* | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 2018-07-27 | 2 | -3/+3 |
| | | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 6 | -12/+4 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Broadcast refactor (#4264) | peterbell10 | 2018-07-24 | 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 | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 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. | ||||
* | Smelting Gives Experience (#4094) | Alex Sweet | 2018-04-11 | 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 | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 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. | ||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -4/+3 |
| | |||||
* | Fixed 2 small warnings (#4055) | Bond-009 | 2017-10-02 | 2 | -7/+3 |
| | |||||
* | BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038) | Bond-009 | 2017-09-25 | 5 | -14/+12 |
| | |||||
* | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 2017-09-19 | 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 | ||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 2 | -2/+2 |
| | |||||
* | Fix switch warnings (#4013) | peterbell10 | 2017-09-14 | 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 | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 4 | -107/+43 |
| | |||||
* | Changed some int parameters to vector parameters (#3937) | Bond-009 | 2017-09-07 | 1 | -2/+2 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 4 | -43/+107 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 4 | -107/+43 |
| | |||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 2 | -9/+14 |
| | |||||
* | Award player an achievement when creating a beacon (#3930) | Bond-009 | 2017-08-21 | 1 | -13/+36 |
| | |||||
* | cBeaconEntity fix no world crash | peterbell10 | 2017-08-18 | 1 | -1/+4 |
| | |||||
* | Merge pull request #3489 from cuberite/EntityOwnership | Tiger Wang | 2017-08-18 | 1 | -2/+2 |
|\ | | | | | * Changed entity ownership model to use smart pointers | ||||
| * | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -2/+2 |
| | | |||||
* | | Sitting cats block enderchests from opening (#3906) | Bond-009 | 2017-08-17 | 2 | -25/+11 |
|/ | |||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 1 | -1/+0 |
| | |||||
* | Added basic ocelot behavior (#3829) | Bond-009 | 2017-07-12 | 1 | -2/+29 |
| | |||||
* | Added bed entity (#3823) | Lukas Pioch | 2017-07-07 | 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 | ||||
* | Added 1.12 blocks (#3760) | Bond-009 | 2017-06-30 | 2 | -3/+41 |
| | |||||
* | cBlockArea supports block entities. (#3795) | Mattes D | 2017-06-24 | 2 | -3/+56 |
| | |||||
* | Fixed missing "override" | Mattes D | 2017-06-16 | 1 | -1/+1 |
| | |||||
* | BlockEntities: Support cloning self. | Mattes D | 2017-06-16 | 37 | -231/+538 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 2 | -7/+7 |
| | |||||
* | Fixes problems with windows: | Lukas Pioch | 2017-06-05 | 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 | ||||
* | Fixed double chests (#3741) | peterbell10 | 2017-06-03 | 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. | ||||
* | Minor cBrewingRecipes cleanup (#3731) | peterbell10 | 2017-05-28 | 1 | -4/+4 |
| | |||||
* | Double chest window fix (#3735) | peterbell10 | 2017-05-28 | 2 | -52/+130 |
| | |||||
* | Broadcast mob head changes | mathiascode | 2017-05-28 | 1 | -0/+5 |
| | |||||
* | Exported boat | Lukas Pioch | 2017-05-24 | 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 | ||||
* | Clang 5.0 fixes | Lukas Pioch | 2017-05-21 | 7 | -7/+7 |
| | | | | | - Added override keyword - Removed inherited member variables | ||||
* | Fixed invisible chests (#3722) | Pablo Beltrán | 2017-05-21 | 3 | -5/+15 |
| | | | Fixes #3479, #3403, #3696 | ||||
* | Corrected brewingstand and added support for fuel | Lukas Pioch | 2017-05-08 | 2 | -19/+66 |
| | |||||
* | Added a nullptr check to cEntity::IsA (#3659) | Marvin Kopf | 2017-04-01 | 1 | -1/+1 |
| | | | Fixes #3603 | ||||
* | Fireworks can be fired from a dispenser | Bond-009 | 2017-03-22 | 1 | -1/+4 |
| | |||||
* | Updated sounds and effect IDs (#3422) | mathiascode | 2017-02-15 | 3 | -10/+10 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 1 | -8/+118 |
| | |||||
* | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 2017-02-05 | 1 | -1/+1 |
| | | | The original bindings accepted nil as the World param, causing a crash. | ||||
* | Removed ClientHandle.h dependencies from common headers. | Mattes D | 2016-11-18 | 5 | -6/+12 |
| | |||||
* | Fixed type-casting-related warnings. | Mattes D | 2016-08-24 | 1 | -2/+1 |
| | |||||
* | CMake: Remove needless minimum version specifications. | Mattes D | 2016-07-18 | 1 | -2/+0 |
| | |||||
* | Updated API documentation. | Mattes D | 2016-07-18 | 2 | -4/+4 |
| | |||||
* | - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update. | QUSpilPrgm | 2016-06-15 | 2 | -4/+4 |
| | | | | - Fixes a range check inside cIncrementalRedstoneSimulator::Simulate | ||||
* | Update Dispensers and let them act more like in Vanilla | QUSpilPrgm | 2016-06-03 | 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 | ||||
* | Reduced unnecessary block updates | LogicParrot | 2016-04-22 | 2 | -2/+1 |
| | |||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 1 | -1/+1 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 20 | -159/+159 |
| | |||||
* | Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8 | bibo38 | 2016-01-11 | 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 | ||||
* | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2016-01-01 | 1 | -1/+1 |
| | | | | Also upgraded the user setting file for MSVC to 2013. | ||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 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 | ||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | allow use failures to propagate from the entity/block to the player | Gargaj | 2015-12-13 | 29 | -33/+52 |
| | |||||
* | Add enum for Sound and Particle Effects | Dave Tucker | 2015-11-24 | 3 | -10/+12 |
| | | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | ||||
* | Fix memory leak | worktycho | 2015-11-08 | 1 | -1/+1 |
| | | | Fixes CID 132249 | ||||
* | Implemented brewing | Lukas Pioch | 2015-11-03 | 4 | -0/+449 |
| | |||||
* | Update Loops required for JsonCPP | Lukas Pioch | 2015-10-26 | 1 | -2/+2 |
| | |||||
* | Added CircleCI for stylechecking. | Mattes D | 2015-09-17 | 2 | -4/+24 |
| | | | | This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks | ||||
* | Fixes #2485 | Tiger Wang | 2015-09-02 | 1 | -1/+0 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 9 | -60/+49 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 2 | -4/+4 |
| | |||||
* | Spawn baby mobs | hallucino | 2015-07-16 | 1 | -1/+1 |
| | |||||
* | Fixed DropSpenser sound #2333 | mmdk95 | 2015-07-12 | 1 | -2/+2 |
| | |||||
* | (Ender) Chests are obstructed by opaque blocks. | Nounours Heureux | 2015-07-07 | 2 | -15/+13 |
| | |||||
* | Merge pull request #2224 from cuberite/ChunkQueueCollapsing | worktycho | 2015-07-04 | 1 | -0/+1 |
|\ | | | | | Chunk queue collapsing: MK II | ||||
| * | Reinstate "Chunk queue collapsing" | Tiger Wang | 2015-06-10 | 1 | -0/+1 |
| | | | | | | | | | | This reinstates commit f36acb683594daff5af3971dcbe3c3a171628b78 and reverts commit adfbc42c021e1bcfcb355933c0fd784306ce0e18. | ||||
* | | Fixes #2245 | Tiger Wang | 2015-06-17 | 1 | -1/+1 |
| | | | | | | | | Whoops :/ | ||||
* | | Fixed override | tycho | 2015-06-15 | 1 | -1/+1 |
|/ | | | | This was causing a compile error in clang 3.6 | ||||
* | Merge pull request #2144 from mc-server/comparators | Alexander Harkness | 2015-06-09 | 2 | -1/+19 |
|\ | | | | | Redstone improvements [SEE DESC] | ||||
| * | Comparators | Tiger Wang | 2015-06-06 | 2 | -1/+19 |
| | | |||||
* | | Revert "Chunk queue collapsing" | worktycho | 2015-06-07 | 1 | -1/+0 |
| | | |||||
* | | Rewrote ChunkSending queue for significantly improved performance | tycho | 2015-06-05 | 1 | -0/+1 |
| | | |||||
* | | Fixes multiple furnace issues, including from loading world storage | HaoTNN | 2015-06-03 | 2 | -14/+37 |
| | | |||||
* | | Merge branch 'master' of https://github.com/mc-server/MCServer | HaoTNN | 2015-06-03 | 4 | -11/+29 |
|\| | |||||
| * | Fix comments | tycho | 2015-05-28 | 2 | -6/+9 |
| | | |||||
| * | Made -Weverything an error. | tycho | 2015-05-24 | 3 | -9/+19 |
| | | |||||
| * | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 2 | -2/+2 |
| |\ | |||||
| * | | Make -Werror disabling file only | tycho | 2015-05-19 | 2 | -2/+7 |
| | | | | | | | | | | | | Ad fix a load of warnings | ||||
* | | | Merge remote-tracking branch 'upstream/master' | HaoTNN | 2015-05-23 | 2 | -2/+2 |
|\ \ \ | | |/ | |/| | |||||
| * | | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2015-05-23 | 2 | -2/+2 |
| |/ | |||||
* / | Fixes lit furnace issue in #2051 | haotnn | 2015-05-19 | 1 | -0/+1 |
|/ | |||||
* | Improved hoppers | Tiger Wang | 2015-05-11 | 2 | -27/+16 |
| | | | | * Fixes #1994 | ||||
* | More style checking. | Mattes D | 2015-05-09 | 2 | -2/+2 |
| | | | | Spaces around some operators are checked. | ||||
* | Merge pull request #1826 from mc-server/UnifyPacketizer | Mattes D | 2015-03-24 | 3 | -14/+28 |
|\ | | | | | Unify packetizer | ||||
| * | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 3 | -14/+28 |
| | | |||||
* | | Correct world height validations. | Tommy Santerre | 2015-03-20 | 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 | ||||
* | Removed unwanted base classes from Lua API. | Mattes D | 2015-03-19 | 1 | -0/+2 |
| | |||||
* | Moved window code into cpp files | Howaner | 2015-03-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into Inventory | Howaner | 2015-01-25 | 13 | -13/+13 |
|\ | |||||
| * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 13 | -13/+13 |
| | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | | Merge branch 'master' into Inventory | Howaner | 2014-12-17 | 1 | -2/+2 |
|\| | |||||
| * | NULL -> nullptr | Tiger Wang | 2014-12-17 | 1 | -2/+2 |
| | | |||||
* | | Own classes for all windows. | Howaner | 2014-12-13 | 6 | -3/+6 |
|/ | |||||
* | MobSpawner fixes. | Howaner | 2014-12-01 | 3 | -3/+10 |
| | |||||
* | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. | Howaner | 2014-11-29 | 3 | -57/+12 |
| | |||||
* | Merge branch 'master' into MobSpawner | Howaner | 2014-11-29 | 16 | -24/+25 |
|\ | |||||
| * | BlockEntities: Removed the extra semicolon. | Mattes D | 2014-11-27 | 16 | -24/+25 |
| | | |||||
* | | Finished mob spawner implementation. | Howaner | 2014-11-18 | 13 | -121/+10 |
| | | |||||
* | | Merge branch 'master' into MobSpawner | Howaner | 2014-11-18 | 31 | -735/+274 |
|\| | | | | | | | | | Conflicts: MCServer/Plugins/Core | ||||
| * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 16 | -54/+64 |
| | | |||||
| * | Fixed trailing whitespace. | Mattes D | 2014-10-21 | 2 | -2/+2 |
| | | |||||
| * | Merged branch 'master' of git://github.com/sriehl/MCServer | Mattes D | 2014-10-21 | 8 | -97/+64 |
| |\ | |||||
| | * | fix std:min call, include algorithm and compare same type | Steven Riehl | 2014-10-12 | 1 | -2/+2 |
| | | | |||||
| | * | refactor an if block to std::min | Steven Riehl | 2014-10-12 | 1 | -4/+1 |
| | | | |||||
| | * | convert old style casts to fix warnings | Steven Riehl | 2014-10-12 | 8 | -105/+74 |
| | | | |||||
| * | | cLuaState: cBlockEntity descendants are pushed with proper class type. | Mattes D | 2014-10-19 | 16 | -25/+62 |
| | | | |||||
| * | | Furnaces now update their block entity type | Tiger Wang | 2014-10-18 | 1 | -2/+4 |
| | | | | | | | | | | | | Therefore improving cChunk's variable boundary checking. | ||||
| * | | Simpler code. | Alexander Harkness | 2014-10-18 | 1 | -3/+2 |
| | | | |||||
| * | | Nullptr? | Alexander Harkness | 2014-10-16 | 1 | -2/+2 |
| | | | |||||
| * | | Fixed a number of stylistic issues. | Alexander Harkness | 2014-10-16 | 1 | -7/+7 |
| | | | |||||
| * | | Improved furnaces | Tiger Wang | 2014-10-03 | 2 | -142/+109 |
| |/ | | | | | | | | | | | | | | | * Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070 | ||||
| * | Removed WSSCompact | Tiger Wang | 2014-09-30 | 24 | -437/+0 |
| | | |||||
| * | Compilation fix | Tiger Wang | 2014-09-28 | 1 | -2/+2 |
| | | |||||
| * | Suggestions | Tiger Wang | 2014-09-27 | 3 | -9/+8 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into chestcarts | Tiger Wang | 2014-09-27 | 24 | -41/+19 |
| |\ | | | | | | | | | | | | | Conflicts: src/Entities/Minecart.cpp | ||||
| * | | Implemented Chest Minecarts | Tiger Wang | 2014-09-13 | 7 | -7/+2 |
| | | | |||||
* | | | Fixed compile errors. | Howaner | 2014-09-27 | 2 | -42/+42 |
| | | | |||||
* | | | Merge branch 'master' into MobSpawner | Howaner | 2014-09-26 | 24 | -41/+19 |
|\ \ \ | | |/ | |/| | | | | | | | | | | Conflicts: src/MobSpawner.h src/Mobs/Monster.h | ||||
| * | | Removed more unessicary includes | Tycho | 2014-09-26 | 22 | -35/+12 |
| | | | |||||
| * | | Merge pull request #1419 from mc-server/redstoneTests | worktycho | 2014-09-26 | 2 | -4/+5 |
| |\ \ | | | | | | | | | Added test mocking to IncrementalRedstoneSimulator | ||||
| | * | | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -1/+1 |
| | | | | |||||
| | * | | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 2014-09-11 | 2 | -4/+5 |
| | |/ | | | | | | | | | | THis wil hopefully allow for unit testing | ||||
| * | | Fixed dispender direction bug | Howaner | 2014-09-25 | 1 | -1/+1 |
| | | | |||||
| * | | A few compiler warning fixes | Chris Darnell | 2014-09-23 | 1 | -1/+1 |
| |/ | |||||
* | | Implemented mob spawner. | Howaner | 2014-09-19 | 3 | -43/+323 |
| | | |||||
* | | Created MobSpawnerEntity class. | Howaner | 2014-09-17 | 4 | -1/+165 |
|/ | |||||
* | Added Y-wise asserts to signs. | Mattes D | 2014-09-06 | 1 | -0/+1 |
| | | | | This should help detect #1313's second case. | ||||
* | Merge pull request #1365 from mc-server/coverityFixes | Mattes D | 2014-09-01 | 1 | -5/+4 |
|\ | | | | | Coverity fixes | ||||
| * | Fixed style. | madmaxoft | 2014-09-01 | 1 | -1/+2 |
| | | |||||
| * | Changed null check to assert | worktycho | 2014-08-31 | 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. | ||||
* | | Rewrited furnace.txt loading. | Howaner | 2014-08-31 | 1 | -1/+1 |
|/ | |||||
* | Fixed style. | madmaxoft | 2014-08-30 | 1 | -2/+3 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-08-29 | 4 | -9/+38 |
|\ | | | | | | | | | Conflicts: src/Server.cpp | ||||
| * | Fixed potential null dereference | Tycho | 2014-08-10 | 1 | -5/+5 |
| | | | | | | | | Fixes CID 70466 | ||||
| * | Fixed style issues | Tycho | 2014-08-06 | 2 | -2/+5 |
| | | |||||
| * | Fixed multiple inhertance being output by tolua | Tycho | 2014-08-06 | 2 | -6/+10 |
| | | |||||
| * | Removed dependecy of redstone simulator on NoteBlock | Tycho | 2014-08-05 | 2 | -1/+13 |
| | | |||||
| * | Refactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity Directly | Tycho | 2014-08-05 | 2 | -3/+13 |
| | | |||||
* | | Improved command block security | Tiger Wang | 2014-08-29 | 1 | -6/+19 |
|/ | |||||
* | Fixed a bug who can used from hacked clients. | Howaner | 2014-08-02 | 1 | -0/+2 |
| | |||||
* | Use "default:" in switch. | Howaner | 2014-07-31 | 1 | -3/+6 |
| | |||||
* | Renamed "select..." methods to "set..." and better IsValidEffect() function. | Howaner | 2014-07-31 | 2 | -51/+15 |
| | |||||
* | Updated documentation. | Howaner | 2014-07-31 | 1 | -3/+3 |
| | |||||
* | Renamed functions and added beacon json saving. | Howaner | 2014-07-31 | 2 | -46/+44 |
| | |||||
* | Added window update. | Howaner | 2014-07-30 | 1 | -0/+23 |
| | |||||
* | Added beacon load/save. | Howaner | 2014-07-30 | 1 | -0/+3 |
| | |||||
* | Changed return type from GetPrimaryPotion() and GetSecondaryPotion() | Howaner | 2014-07-30 | 1 | -2/+2 |
| | |||||
* | Exported the beacon. | Howaner | 2014-07-30 | 2 | -17/+27 |
| | |||||
* | Added beacon. | Howaner | 2014-07-30 | 3 | -32/+337 |
| | |||||
* | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 3 | -4/+4 |
| | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 8 | -12/+12 |
| | |||||
* | Code style: Fixed braces on separate lines. | madmaxoft | 2014-07-19 | 3 | -3/+6 |
| | |||||
* | Subdirs: Only add_library if not using MSVC | archshift | 2014-07-19 | 1 | -1/+3 |
| | |||||
* | BlockEntities/CMakeLists.txt: Replaced glob with list of files | archshift | 2014-07-19 | 1 | -5/+35 |
| | |||||
* | Fixed spaces before commas. | madmaxoft | 2014-07-18 | 1 | -2/+2 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 10 | -11/+11 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 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. | ||||
* | Fixed a DropSpenser AddFace bug | Tiger Wang | 2014-07-15 | 1 | -1/+1 |
| | |||||
* | Pass cItem by reference. | madmaxoft | 2014-07-15 | 1 | -1/+1 |
| | | | | Fixes CID 66445. | ||||
* | Fixed Issue with Comparing agast the wrong chest, potentially causing crashes. | worktycho | 2014-07-13 | 1 | -7/+7 |
| | |||||
* | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 1 | -1/+1 |
| | |||||
* | cHopperEntity: Simplified chest conditions. | madmaxoft | 2014-07-12 | 1 | -10/+4 |
| | |||||
* | cChestEntity: Renamed a member to avoid confusion. | madmaxoft | 2014-07-12 | 2 | -8/+9 |
| | |||||
* | Fixed alignment. | madmaxoft | 2014-07-12 | 1 | -2/+3 |
| | |||||
* | Suggestions and bug fix | Tiger Wang | 2014-07-12 | 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 | ||||
* | Suggestions | Tiger Wang | 2014-07-11 | 1 | -4/+4 |
| | |||||
* | Made things consistent | Tiger Wang | 2014-07-08 | 1 | -4/+5 |
| | |||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 4 | -13/+36 |
| | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
* | Properly implemented enderchests | Tiger Wang | 2014-06-29 | 2 | -93/+44 |
| | |||||
* | Fixed crashes in HopperEntity. | Mattes D | 2014-06-24 | 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 | ||||
* | Chests don't open if obstructed | Tiger Wang | 2014-06-22 | 1 | -0/+13 |
| | | | | * Fixes FS383 | ||||
* | Merge branch 'master' into GlobalFixes | Howaner | 2014-06-17 | 2 | -22/+94 |
|\ | |||||
| * | DispenserEntity code cleanup after PR merge. | madmaxoft | 2014-06-11 | 2 | -30/+30 |
| | | |||||
| * | - Fixed a lot of alignment | JoannisO | 2014-06-05 | 1 | -7/+7 |
| | | |||||
| * | - Removed the code that removed fireworks from a dispenser even thought | JoannisO | 2014-06-04 | 1 | -3/+0 |
| | | | | | | they weren't launched. | ||||
| * | - Fixed variable names in a function. | JoannisO | 2014-06-04 | 1 | -2/+2 |
| | | |||||
| * | - Fixed a lot of astethics | JoannisO | 2014-06-04 | 2 | -14/+17 |
| | | |||||
| * | - Fixed an issue where there were 2 "DispChunk"-s in the same function. | JoannisO | 2014-06-03 | 1 | -16/+5 |
| | | | | | | Resused the initial one. | ||||
| * | - Fixed a bug where I didn't return anything in the GetShootVector | JoannisO | 2014-06-03 | 1 | -0/+2 |
| | | | | | | function. This was however passed as "working" by GCC. | ||||
| * | - Fixed a bug where I used the FireCharge ITEM instead of the Projectile | JoannisO | 2014-06-03 | 1 | -1/+1 |
| | | | | | | ENUM | ||||
| * | - Cleaned up the code massively | JoannisO | 2014-06-03 | 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. | ||||
| * | - Added doxy comments and exported to lua | Joannis | 2014-06-03 | 2 | -22/+64 |
| | | | | | | | | - Manipulation of the ShootVector is not to be done by the function that wants to spawn a projectile. | ||||
| * | - Changed the name of the ProjectileLookVector method. | JoannisO | 2014-05-31 | 2 | -3/+3 |
| | | | | | | | | Note: I still think the new name is unclear. Any other suggestions are welcome. | ||||
| * | - Prefixed all args with "a_" | JoannisO | 2014-05-29 | 2 | -6/+10 |
| | | | | | | - Added braces around the cases. | ||||
| * | - Removed breaks. I thought it wouldn't compile without them but the | JoannisO | 2014-05-28 | 1 | -2/+0 |
| | | | | | | issue was appearantly solved with an earlier commit. | ||||
| * | - Fixed an issue where dispensers would only shoot arrows (appearantly | JoannisO | 2014-05-28 | 1 | -33/+24 |
| | | | | | | | | some commits didn't come through) - Cleaned up the code according to suggestions. | ||||
| * | - Implemented vertical dispensing for projectiles. | Joannis | 2014-05-28 | 2 | -16/+40 |
| | | | | | | - Fixed some terrible commit issues on my side. | ||||
| * | - Fixed the ampersands and asterisks to fit the format. | Joannis | 2014-05-27 | 2 | -8/+8 |
| | | | | | | - Fixed the method "SpawnProjectileFromDispenser" to use CamelCasing. | ||||
| * | - Added support for more types of projectiles in the Dispenser | JoannisO | 2014-05-26 | 2 | -38/+51 |
| | | | | | | | | - Improved the method of spawning projectiles in the world - Added another method for spawning the projectiles | ||||
| * | Added Arrow- and FireCharge-Dispensing to DispenserEntity. | JoannisO | 2014-05-26 | 2 | -27/+95 |
| | | |||||
* | | Code improvements | Howaner | 2014-05-28 | 1 | -5/+2 |
| | | |||||
* | | Fix skull bugs. | Howaner | 2014-05-28 | 1 | -0/+5 |
|/ | |||||
* | Added static const, initialized fields. | archshift | 2014-04-27 | 2 | -1/+4 |
| | |||||
* | Cmake generated projects for IDEs include headers in project files. | archshift | 2014-04-25 | 1 | -0/+1 |
| | |||||
* | Merge pull request #909 from jfhumann/fixes | Mattes D | 2014-04-22 | 3 | -11/+16 |
|\ | | | | | | | | | Bug fixes and optimizations. We need to visit the API functions and check that they return only those values expected. `cWorld::CreateProjectile()` seems affected, too, by the same issue of ToLua returning extra values. In the cleanest form, these functions will need moving to ManualBindings.cpp | ||||
| * | Fixed Flint and Steel, reverted Minecart change, renamed a parameter name | jfhumann | 2014-04-19 | 1 | -5/+5 |
| | | |||||
| * | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 3 | -8/+13 |
| | | |||||
* | | Fixed formatting, made function static. | madmaxoft | 2014-04-19 | 2 | -13/+18 |
| | | |||||
* | | Some tweaks | STRWarrior | 2014-04-12 | 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. | ||||
* | | Removed debug message. | STRWarrior | 2014-04-12 | 1 | -1/+0 |
| | | |||||
* | | Simplefied GetPyramidLevel | STRWarrior | 2014-04-12 | 1 | -10/+3 |
| | | |||||
* | | Implemented the skeleton code for the beacon. | STRWarrior | 2014-04-12 | 3 | -0/+153 |
|/ | | | | There is no handling for the GUI. It can now check how big the pyramid is under the beacon. | ||||
* | Fixed a few MSVC type warnings. | Mattes D | 2014-04-03 | 1 | -1/+1 |
| | |||||
* | Fixed double to float conversions. | madmaxoft | 2014-03-16 | 1 | -1/+1 |
| | |||||
* | Add fireball interact | Howaner | 2014-03-14 | 1 | -0/+6 |
| | |||||
* | Change TNT Fuse to ticks | Howaner | 2014-03-08 | 1 | -1/+1 |
| | |||||
* | Add Flower Pots | Howaner | 2014-03-07 | 3 | -0/+210 |
| | |||||
* | Documented the changes in cJukeboxEntity. | madmaxoft | 2014-02-28 | 1 | -2/+3 |
| | |||||
* | Merge pull request #709 from Howaner/GlobalFixes | Mattes D | 2014-02-28 | 2 | -16/+48 |
|\ | | | | | Add 'Group not found', when the Server load the users.ini and add auto g... | ||||
| * | Better Jukebox API | Howaner | 2014-02-21 | 2 | -16/+48 |
| | | |||||
* | | Fixed compilation in MSVC (forward class definitions). | madmaxoft | 2014-02-24 | 2 | -0/+2 |
| | | |||||
* | | BlockEntities is warnings free | Tycho | 2014-02-24 | 6 | -3/+11 |
|/ | |||||
* | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-19 | 5 | -189/+189 |
| | |||||
* | Add break to Protocol17x.cpp and use new comment delimiter | Howaner | 2014-02-19 | 1 | -7/+7 |
| | |||||
* | Add Heads completely | Howaner | 2014-02-18 | 3 | -5/+3 |
| | |||||
* | Add Skulls/Heads | Howaner | 2014-02-17 | 3 | -0/+191 |
| | |||||
* | Fixed typographical error | Tiger Wang | 2014-02-15 | 1 | -2/+1 |
| | |||||
* | Removed debug messages again | Tiger Wang | 2014-02-15 | 1 | -6/+0 |
| | |||||
* | Added proper debug messages | Tiger Wang | 2014-02-13 | 1 | -3/+8 |
| | |||||
* | Fancy stuff with constant references | Tiger Wang | 2014-02-13 | 1 | -2/+2 |
| | |||||
* | Added more missing GetClassStatic()s | Tiger Wang | 2014-02-12 | 2 | -0/+4 |
| | |||||
* | Removed some unneeded BroadcastWholeWindow()s | Tiger Wang | 2014-02-12 | 4 | -23/+2 |
| | |||||
* | Changed inheritance a bit | Tiger Wang | 2014-02-12 | 7 | -33/+47 |
| | | | | * cBlockEntityWithItems now inherits from cBlockEntityWindowOwner | ||||
* | Fixed #190 | Tiger Wang | 2014-02-11 | 1 | -2/+67 |
| | | | | + Hoppers now collect pickups above them | ||||
* | Fixed #612 | Tiger Wang | 2014-02-11 | 2 | -0/+16 |
| | | | | * Chests send contents updates to client | ||||
* | Minor style improvements for the merged PR. | Mattes D | 2014-01-23 | 1 | -4/+4 |
| | |||||
* | Command block fixes 2 | andrew | 2014-01-23 | 1 | -6/+20 |
| | |||||
* | Removed unneeded paramters | Tiger Wang | 2014-01-19 | 1 | -1/+1 |
| | |||||
* | Changed SendBlockEntity format slightly | Tiger Wang | 2014-01-19 | 1 | -24/+2 |
| | | | | | * Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug | ||||
* | Improved command blocks | Tiger Wang | 2014-01-19 | 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 | ||||
* | Command block fixes | andrew | 2014-01-18 | 2 | -38/+5 |
| | |||||
* | Parse the MC|AdvCdm plugin message | andrew | 2014-01-18 | 1 | -0/+2 |
| | |||||
* | Command blocks: Execute() | andrew | 2014-01-18 | 1 | -5/+27 |
| | |||||
* | Command block (de)serialization | andrew | 2014-01-18 | 2 | -3/+42 |
| | |||||
* | Basic command block implementation | andrew | 2014-01-18 | 3 | -11/+271 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 2 | -4/+4 |
| | |||||
* | Fixed a few MSVC warnings. | madmaxoft | 2014-01-06 | 2 | -5/+4 |
| | |||||
* | Fixed compilation in VC2008. | madmaxoft | 2013-12-30 | 1 | -2/+1 |
| | | | | Also removed an unused inline header file (yuck). | ||||
* | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2013-12-22 | 2 | -2/+8 |
| | |||||
* | Chunk is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 3 | -3/+3 |
| | |||||
* | fixed hidden bug with furnaces ignoring time burnt | Tycho Bickerstaff | 2013-12-21 | 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 | ||||
* | ChunkSender is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-20 | 2 | -4/+4 |
|\ | |||||
| * | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 2 | -4/+4 |
| | | |||||
* | | added blocks and blockentities | Tycho Bickerstaff | 2013-12-19 | 1 | -0/+11 |
|/ | |||||
* | Fixed multiple inheritance in ToLua++. | madmaxoft | 2013-12-16 | 5 | -20/+20 |
| | | | | This fixes #422. | ||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures | Tiger Wang | 2013-12-08 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp | ||||
| * | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | | | | | Ref.: #407 | ||||
* | | Added basic ender chests | Tiger Wang | 2013-12-07 | 3 | -10/+201 |
| | | | | | | | | Note that they just mirror chests now, so no per player inventory. | ||||
* | | Fixed pickups spawning for BlockEntities | Tiger Wang | 2013-12-06 | 1 | -1/+1 |
|/ | |||||
* | Moved json includes to where they are really needed. | madmaxoft | 2013-11-28 | 1 | -0/+1 |
| | |||||
* | Fixed VC2008 compilation, normalized include paths. | madmaxoft | 2013-11-27 | 5 | -5/+5 |
| | |||||
* | Fixed the remaining derps | Alexander Harkness | 2013-11-27 | 5 | -5/+5 |
| | |||||
* | Further attempts to fix compile | Tiger Wang | 2013-11-25 | 5 | -5/+5 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 5 | -5/+5 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -0/+5 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 21 | -0/+3033 |