Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-05-26 | added check for harvestation in oreblock handler (#5226) | 12xx12 | 1 | -1/+7 | |
2021-05-14 | Re-implement up/down placement metadata (#5219) | Tiger Wang | 5 | -23/+33 | |
+ Use player position when placing blocks which can face up or down, seems to better correspond to Vanilla behaviour. * Fixes #4651 | |||||
2021-05-05 | Move item placement into item handlers (#5184) | Tiger Wang | 49 | -1628/+342 | |
* Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> | |||||
2021-05-03 | Add player statistics to API (#5193) | nshah25 | 4 | -5/+5 | |
* Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2021-04-30 | Chest, weather, crash, and miscellaneous fixes (#5215) | Tiger Wang | 3 | -8/+3 | |
* 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 | |||||
2021-04-12 | Improve bed handling robustness | Tiger Wang | 2 | -77/+77 | |
+ Boot the player out if the bed was destroyed | |||||
2021-04-12 | Unify multiprotocol entity animations | Tiger Wang | 1 | -3/+1 | |
2021-04-12 | Fix sending incorrect date values on world change | Tiger Wang | 4 | -8/+8 | |
Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | |||||
2021-03-28 | Do not fake a tool when converting to pickups (#5170) | Tiger Wang | 66 | -68/+67 | |
* When the cause of destruction was world-induced (CanBeAt check failed) there is no tool. Pass the nullptr directly to ConvertToPickups and let it handle it. * Fixes #4795 - Remove unused a_Digger parameter to ConvertToPickups. | |||||
2021-03-28 | Unify DoWithBlockEntity (#5168) | Tiger Wang | 4 | -19/+12 | |
+ 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 | |||||
2021-03-19 | Don't send ping updates one packet at a time | Tiger Wang | 1 | -1/+1 | |
* Use the batch update feature of the packet. * Lengthen interval between time and ping update packets (ref. http://github.com/cuberite/cuberite/issues/4082#issuecomment-348675321). | |||||
2021-03-15 | Adding basic Banner functionality (#4806) | 12xx12 | 3 | -2/+55 | |
+ Added item and block for banners Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2021-03-15 | Derive HugeMushroom from the base handler | Tiger Wang | 1 | -2/+2 | |
ConvertToPickups is already overridden. | |||||
2021-03-15 | Change Cobblestone block handler to default | Tiger Wang | 1 | -1/+1 | |
Cobblestone shouldn't be handled with the Stone handler. | |||||
2021-03-15 | Remove DoesDropOnUnsuitable | Tiger Wang | 4 | -43/+1 | |
This is only overridden false in Vines and Snow. It is called when a CanBeAt check fails, to determine whether DropBlockAsPickups is called. However, Vines and Snow already drop nothing without the right tool, so this function is superfluous. | |||||
2021-03-15 | Properly deprecate more XYZ parameter'd functions (#5147) | Tiger Wang | 1 | -13/+10 | |
* Fixes #5144 | |||||
2021-03-05 | Add block handler for huge mushroom blocks (#5143) | Mat | 3 | -2/+57 | |
2021-03-05 | Adding Boss bar (#5025) | 12xx12 | 1 | -1/+2 | |
+ Add boss bar Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2021-02-20 | Mark UNREACHABLE with intrinsics | Tiger Wang | 5 | -11/+5 | |
2021-02-06 | Adds playerlist header and footer broadcasting (1.8-1.13) | dImrich | 1 | -0/+1 | |
2021-01-18 | cChunk: don't inherit from cChunkDef (#5106) | Tiger Wang | 4 | -4/+4 | |
2021-01-11 | Convert most calls to blocking GetHeight/GetBiomeAt to direct chunk accesses | Tiger Wang | 1 | -2/+3 | |
* Hopefully fixes #5094 | |||||
2020-12-21 | Comment and code style fix | Tiger Wang | 1 | -19/+20 | |
+ Add static keyword - Don't capture everything in lambda | |||||
2020-12-19 | New pull request for daylight sensor (#5066) | Aiden Neill | 3 | -1/+57 | |
* Fixes #4918 Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-12-18 | Added dimension check to nether portal (#5068) | cflep | 1 | -0/+6 | |
+ Added dimension check to nether portal | |||||
2020-11-26 | Note Block Left Click Fix V2 (#5052) | Derek Qu | 3 | -1/+46 | |
+ Add function to play note block on left click | |||||
2020-11-06 | Add correct implementation of crops (#4802) | 0ddlyoko | 3 | -86/+139 | |
* [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-11 | Adding Silverfish Spawning Blocks (#4946) | 12xx12 | 3 | -1/+91 | |
* added breaking, spawning, animation * checkstyle * added undocumented API symbols * added changes suggested by @peterbell10 * added natural ore like generation * fixed spawning two silverfishes * fixed clang * fixed clang try 2 * updated comment unified offset * final clang fix * added spawning for more silverfishes if one was damaged * fixed spawning on one hit kill * fixed spawning on one hit kill fixed spawning by potion damage * fixed clang * fixed broken build * fixed broken build * I should read the error message properly fixed build now? * added small changes suggested by @peterbell10 Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-10-09 | added check if the digger is a nullptr (#4981) | 12xx12 | 3 | -0/+9 | |
Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-10-08 | Merged OnBreak with OnPlayerBreak (#4967) | 12xx12 | 16 | -54/+87 | |
Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-10-05 | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 97 | -337/+405 | |
* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-09-29 | Doors: check power & toggle correctly | Tiger Wang | 1 | -12/+8 | |
* Fixed upper half ignoring its updates * Fixes #4945 * Fixed doors playing sound effects when they didn't actually toggle | |||||
2020-09-28 | Fortune Drops (#4932) | KingCol13 | 12 | -71/+146 | |
+ Implemented and standardized all clamped discrete random drops. + Changed cItems Add from push_back to emplace_back. Implement fortune for crops. + Enabled hoes to be enchanted with efficiency, silk touch and fortune. Made leaves, gravel and crops affected by fortune. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-09-25 | Remove unused Temporary namespace | Tiger Wang | 2 | -712/+0 | |
2020-09-25 | Grass spread: check chunk & light validity correctly | Tiger Wang | 1 | -2/+2 | |
2020-09-25 | Fix the build. Merge conflict between two PRs (#4936) | Alexander Harkness | 1 | -1/+1 | |
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 | Put phonograph on right part of visual spectrum | Tiger Wang | 2 | -1/+2 | |
2020-09-25 | Unify block entity pickup conversion | Tiger Wang | 64 | -192/+81 | |
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it | |||||
2020-09-24 | Fix ice behaviour in world (#4927) | 12xx12 | 4 | -3/+89 | |
+ Added proper ice melting under light influence Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-09-23 | Limit fortune level, style fixes | Tiger Wang | 5 | -35/+41 | |
2020-09-21 | Trapdoor crash fix (#4890) | theophriene | 1 | -6/+28 | |
* [WIP] Trapdoor crash fix * Fixed code style * Updated commentary in the code * Updated commentary in the code again * Fix copy-past error * Fix another copy-past error! * Fixed orientation & clipping * Remove redundant clause * Some code cleanup * Fixed compilation error * Moved logic into helper function, slightly reorganised the caller * Fixed comments * Fixed comments, what an idiot * Added to CONTRIBUTORS * Fixed bitwise error * Use cYawRotator * Reduce indent Co-authored-by: Elias Thomson <fiv.pids@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-09-20 | Implement fortune for ores, glowstone and sea lanterns (#4897) | KingCol13 | 5 | -19/+48 | |
* Implemented fortune for ores, glowstone and sea lanterns (but nothing organic or flint). * Cleanup printf * Stopped playing golf, gave the Camels a FirstHump and moved the FortuneDropMult comment. Thanks for the review :). * Got rid of FortuneDropMult and replaced with Peter's massive optimization/simplification. * Fixed default lapis max droprate (8 -> 9). * Clamp max drops for non-redstone ores to 10. * Comment justifying the clamp. | |||||
2020-09-20 | Cauldron: backport "use" behaviour to 1.12 (#4902) | Tiger Wang | 1 | -10/+20 | |
* Cauldron: backport "use" behaviour to 1.12 | |||||
2020-09-20 | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 96 | -1997/+1610 | |
* BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2020-09-20 | Added armor and shulker box cleaning (#4875) | 12xx12 | 1 | -2/+57 | |
+ Added armor and shulker box cleaning | |||||
2020-09-20 | Added end portal and enchanting table block entities | 12xx12 | 5 | -228/+88 | |
2020-09-19 | Fix silk-touching glowing redstone (#4893) | KingCol13 | 2 | -1/+7 | |
* Add src/BlocksRedstoneOre.h to CMakeLists.txt * Fixed silk touch pickaxe not dropping redstone ore (and dropping null item instead) | |||||
2020-09-17 | BlockHandler: no dynamic allocation (#4862) | Tiger Wang | 2 | -204/+526 | |
* BlockHandler: no dynamic allocation | |||||
2020-09-13 | Rail: avoid invalid game states (#4864) | Tiger Wang | 1 | -12/+10 | |
+ Check CanBeAt Ref: #4859 Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2020-09-05 | Add more statistic tracking (#4837) | 12xx12 | 4 | -0/+6 | |
+ 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-08-28 | Remove unneeded MarkDirty, SendToClients parameters of SetMeta | Tiger Wang | 4 | -14/+10 | |
Partially reverts #3129, whose addition of these parameters was superseded by #3149 that fixed generated leaves' metas. References: https://github.com/cuberite/cuberite/pull/4417#discussion_r334950513 e0bcd754009f16480437b2c1fa5e7fbedab31496 | |||||
2020-08-27 | Changed tree-growing functions in cWorld to use Vector3i coords. | Mattes D | 1 | -2/+2 | |
2020-08-09 | Fix enderchest placement rotation | ion232 | 1 | -2/+2 | |
2020-08-08 | Remove the redstone solid block handler | Tiger Wang | 2 | -26/+4 | |
- 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-05 | Update bed behavior (#4545) | Mat | 2 | -7/+30 | |
2020-08-04 | Simply Y-check in door handler | Tiger Wang | 1 | -1/+1 | |
2020-08-04 | Continue with placement when using iron doors | Tiger Wang | 1 | -2/+4 | |
2020-08-04 | Door drops respect player gamemode | Tiger Wang | 2 | -12/+11 | |
* Rely on caller to handle converting to pickups, all OnBroken needs to do is to maintain the unity of the door * Fixes #4797 * Fixes #4796 | |||||
2020-08-04 | Corrected wakeup sequences | Tiger Wang | 6 | -131/+63 | |
* Pistons/Ice no longer need to FastSetBlock first (#4600), and the former don't drop items when broken in creative - Begin migration away from stationary fluids * Tick the chunk after applying a client's changed * Broadcast pending blocks at the end of a tick | |||||
2020-08-04 | OnBroken/OnPlaced are for entity actions | Tiger Wang | 6 | -121/+64 | |
* Call OnPlaced/OnBroken in PlaceBlock/DigBlock - Remove unused Placing/Breaking handlers * Have the blockhandler's Check handle neighbour updating, instead of QueueTickBlockNeighbors | |||||
2020-08-02 | Always use relative coordinates in AddBlock | Tiger Wang | 1 | -2/+1 | |
+ Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available | |||||
2020-08-02 | Delegate simulator wakeup to cChunk | Tiger Wang | 1 | -12/+8 | |
2020-08-01 | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 1 | -1/+1 | |
2020-07-26 | Toggleables: update simulators when changed | Tiger Wang | 2 | -4/+26 | |
2020-07-26 | Use SimulateChunk in redstone simulator | Tiger Wang | 1 | -12/+7 | |
+ Improved performance, reduces bottleneck in chunkmap lookup * Stop allocating and throwing away lots of small vectors in Update/GetValidSourcePositions return values - Remove unused GetPowerLevel virtual | |||||
2020-07-25 | Correct placement for tripwire hooks | Tiger Wang | 1 | -22/+29 | |
https://github.com/cuberite/cuberite/commit/487f9a2aa9b5497495cef1ac3b9c7a603e69f862#r40900869 | |||||
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-07-06 | Comment capitalisation | Tiger Wang | 1 | -2/+2 | |
2020-07-06 | Use enum to represent light states | Tiger Wang | 1 | -19/+34 | |
2020-07-06 | Made grass spreader prettier | Tiger Wang | 1 | -63/+89 | |
2020-07-04 | cWindow: Convert XYZ to Vector3 (#4764) | MaxwellScroggs | 3 | -3/+3 | |
2020-06-26 | Cactus cannot be placed on a forbidden blocks (#4767) | morsmordere | 1 | -0/+34 | |
Co-authored-by: Franklin T Kong <ftk@umich.edu> Co-authored-by: aiugai <aiugai@umich.edu> Fixes #4641 Overrode GetPlacementBlockTypeMeta for CactusBlock, which gets called before a player places the cactus block, so it returns true if the placement is allowed or false if not, in which case the cactus does not drop as a block but stays in the player's hand which is the expected behavior. Tested in Minecraft client 1.12.2. | |||||
2020-05-16 | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 1 | -11/+2 | |
* Make our CMake slightly less insane | |||||
2020-05-15 | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2 | -7/+1 | |
* 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-05-06 | Fixed various MSVC warnings. | Mattes D | 1 | -0/+1 | |
2020-05-04 | Improve entity position updates (#4701) | Tiger Wang | 1 | -4/+2 | |
* Make puking pickups fly nicer * Improve entity position updates * Move determination of whether a delta is too big for a packet into the protocol handlers + Less jittery movement + Generalise CollectEntity to take any entity | |||||
2020-05-03 | Buttons can now be triggered by arrows. (#4670) | DrButcher | 1 | -18/+115 | |
* Buttons can now be triggered by arrows. | |||||
2020-04-24 | Fix incorrect relative coords usage in farmland handler (#4690) | peterbell10 | 1 | -2/+2 | |
2020-04-24 | Prevent bookshelf pickup crash | mathiascode | 1 | -1/+1 | |
If no tool was involved in the creation of a bookshelf pickup (e.g. explosion), the server would crash due to a missing nullptr check. Removed the IsTool check completely, since we don't use it elsewhere, and vanilla doesn't do such checks either. | |||||
2020-04-21 | Vector3 in Handlers (#4680) | Mattes D | 58 | -654/+1397 | |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | |||||
2020-04-18 | Re-implement repeater locking | Tiger Wang | 1 | -15/+19 | |
2020-04-17 | More Vector3 in cBlockHandler (#4644) | Mattes D | 15 | -183/+303 | |
* cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | |||||
2020-04-17 | Implement glowing redstone ore | Peter Bell | 2 | -187/+267 | |
2020-04-16 | ಠ_ಠ (#4660) | Tiger Wang | 1 | -0/+23 | |
+ Provisional handling for observers | |||||
2020-04-16 | Using Super. | Mattes D | 65 | -163/+177 | |
2020-04-15 | Trapdoor can be placed anywhere since 1.9 | Bond_009 | 1 | -12/+0 | |
2020-04-12 | Removed extended ASCII, and added a check against it. (#4642) | Mattes D | 2 | -1/+2 | |
2020-04-11 | Fix rotation metas on blocks | Alexander Harkness | 8 | -31/+31 | |
2020-04-11 | fixing rotation - rel. #4625 | GefaketHD | 2 | -15/+9 | |
2020-04-10 | Replace all single-digit hex constants with two-digit version | Alexander Harkness | 3 | -15/+15 | |
2020-04-10 | Remove silly empty cBlockGlazedTerracotta class | Alexander Harkness | 3 | -21/+6 | |
2020-04-10 | Reduce line length on templates | Alexander Harkness | 1 | -2/+19 | |
2020-04-10 | Add additional spacing between template/function definitions | Alexander Harkness | 1 | -0/+9 | |
2020-04-10 | Add doxy-comments to new functions | Alexander Harkness | 1 | -2/+4 | |
2020-04-10 | Fix comment text | Alexander Harkness | 1 | -8/+4 | |
2020-04-10 | Add mixins for blocks that rotate based on player yaw at placement | Alexander Harkness | 18 | -408/+197 | |
Also add observer block handler. | |||||
2020-04-10 | Brewing stands do not have rotation | Alexander Harkness | 1 | -2/+2 | |
2020-04-10 | Add Terracotta handlers | Alexander Harkness | 3 | -0/+52 | |
2020-04-10 | Correct Black Glazed Terracotta block handler | Alexander Harkness | 1 | -1/+1 | |
2020-04-03 | New hotfix to prevent calling OnBroken (#4600) | Alexander Harkness | 3 | -11/+14 | |
* Fix stack overflow in breaking ice. Stupid fix, but it does work and is used in other places too... * Replace hotfix for pistons with better one * Fix comments in BlockBed handler | |||||
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 10 | -2/+17 | |
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-04-02 | Replace buckets to the selected hotbar slot, rather than the first available. (#4580) | Alexander Harkness | 1 | -5/+35 | |
* Replace buckets to the selected hotbar slot, rather than the first available. Replicates vanilla behaviour, as well as being more logical. * Refactor cInventory::AddItem. Behaviour is now documented * Add new cInventory::ReplaceOneEquippedItem and ::SetEquippedItem methods * Return empty potion to the same slot after drinking * Replace buckets correctly in other situations, not simply water and lava Uses the new ReplaceOneEquippedItem method * Correct collecting water from source block with bottle * Add cPlayer::ReplaceOneEquippedItemTossRest method * Handle stacked filled buckets (in theory) Use new cPlayer::ReplaceOneEquippedItemTossRest method | |||||
2020-03-28 | Updated Bookshelves drop behaviour (#4567) | Xenoxis | 3 | -0/+29 | |
* Updated BookShelves Drop Behaviour As described here : https://minecraft.gamepedia.com/Bookshelf#Loot * Update src/Blocks/BlockBookShelf.h * Update CONTRIBUTORS | |||||
2020-03-28 | Fix Snow Spawn on Cobblestone Slab (#4564) | Xenoxis | 1 | -1/+1 | |
2020-03-24 | Furnace and brewing stand drops (#4534) | Mat | 2 | -6/+36 | |
* Furnace drops contents * Brewing stand drops contents * Fix lit furnace drop * Fix brewing stand drop * Style * Style | |||||
2020-03-23 | Fix certain item drops (#4536) | Mat | 6 | -12/+51 | |
* Fix certain item drops * Revert unwanted changes * Revert unwanted changes * Revert change * Style fixes | |||||
2020-03-23 | Jukebox improvements (#4537) | Mat | 2 | -1/+38 | |
* Add jukebox block handler Co-authored-by: peterbell10 <peterbell10@live.co.uk> | |||||
2020-03-23 | Cocoa pods have three growing stages | Mat | 1 | -2/+2 | |
2020-03-22 | Don't push blocks outside world height limits (#4516) | Mat | 1 | -0/+5 | |
* Don't push blocks outside world height limits * Style fix * Apply suggestion Co-Authored-By: peterbell10 <peterbell10@live.co.uk> * Apply suggestion Co-Authored-By: peterbell10 <peterbell10@live.co.uk> * Improvements * Add block type check back * Revert line break changes * Update BlockPiston.cpp Co-authored-by: peterbell10 <peterbell10@live.co.uk> | |||||
2020-03-22 | Don't remove items twice (#4524) | Mat | 1 | -4/+2 | |
* Don't remove items twice | |||||
2020-03-22 | Ender chest is not affected by piston (#4526) | Mat | 1 | -1/+1 | |
2020-03-17 | Silk touch pickaxe drops grass block (#4485) | Mat | 3 | -101/+134 | |
2019-10-28 | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 20 | -193/+567 | |
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 88 | -1286/+1944 | |
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 1 | -1/+1 | |
2019-08-11 | Fix building with clang 8.0 (#4346) | Bond-009 | 2 | -8/+10 | |
2019-08-05 | Register vanilla blocks in BlockTypeRegistry. | Mattes D | 2 | -1/+718 | |
2019-06-11 | * Sponge: Add water absorbtion (#4333) | Zach DeCook | 2 | -0/+159 | |
Closes #1411 | |||||
2019-05-11 | Create Ender Portal with Eyes of Ender (#4126) | Zach DeCook | 3 | -0/+261 | |
The algorithm was designed so All portals must be facing the center, no matter which block had the eye inserted in last. Note: Still need to create a block entity so that portals don't become invisible when you relog. Addresses part of #3445 Fixes #3695 | |||||
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 12 | -15/+16 | |
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-08-26 | Store and pass entity effect duration as an int not a short. (#4293) | Alexander Harkness | 1 | -1/+1 | |
Fixes #4292. | |||||
2018-08-23 | Fixes bed item 26 and 355 being spawned, only 355 spawns now (#4290) | Rick van Schijndel | 1 | -0/+1 | |
2018-08-02 | Experience orb (#4259) | changyong guo | 3 | -2/+6 | |
* Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216 | |||||
2018-07-27 | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 2 | -2/+2 | |
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 4 | -16/+5 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-07-25 | At long last... Piston animations! | Tiger Wang | 2 | -59/+105 | |
* Fixes #3198 * Fixes #57 (again lol) | |||||
2018-07-24 | Broadcast refactor (#4264) | peterbell10 | 3 | -9/+59 | |
* 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-06-30 | fix dispenser pickup display bug (#4247) | changyong guo | 1 | -0/+7 | |
fix dispenser pickup bug by ignore meta data during pickup creation | |||||
2018-02-05 | Deal with covered switches consistently (#4161) | peterbell10 | 8 | -32/+8 | |
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | |||||
2018-01-08 | Rewrite cClientHandle::HandleRightClick (#4089) | 9caihezi | 1 | -1/+2 | |
* Add hand parameter to distinguish main hand/off hand. * Add a new function cClientHandle::HandleUseItem to separate the functionality of using an item without a target block. This matches the protocol with client version >= 1.9 * Always actively update the status of a block if the placement fails (by out of reach or rejected by plugin). * Do not call plugin callback CallHookPlayerRightClick(-1, 255, -1, -1, 0, 0, 0) when using item. The CallHookPlayerUsingItem will still be called. Now at most one of CallHookPlayerRightClick, CallHookPlayerUsingBlock, CallHookPlayerUsingItem and CallHookPlayerEating will be called based on the type of action (not including the used version of callbacks). * Do not count using item as BlockInteractionsRate check (Using item takes time). * Now we can open chests(etc.) when sneaking as long as the player's hand is empty. This is what vanilla server does. | |||||
2018-01-05 | Sugar cane can be near frosted ice (#4133) | Bond-009 | 1 | -1/+1 | |
2018-01-05 | Item durability loss now depends on the item used. (#4123) | Alexander Harkness | 1 | -4/+2 | |
Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | |||||
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. | |||||
2018-01-03 | Concrete mixing (#4096) | Zach DeCook | 3 | -0/+109 | |
Adds a block handler for concrete powder and implements hardening to concrete. Concrete powder turns into concrete when: * It is next to water when it receives a block update * It falls onto a water block (even with Physics SandInstantFall=1) | |||||
2017-12-27 | Lilypads can be on top of (frosted) ice (#4122) | Bond-009 | 1 | -2/+2 | |
Fixes #4117 | |||||
2017-12-26 | improve rain simulation (#4017) | Alexander Harkness | 1 | -1/+1 | |
* Uses vanilla logic to decide which blocks rain falls through. * Rain falls infinitely above the world, and stops at y=0. * Entities will now be extinguished if they are under rain-blocking blocks, and fire will now be extinguished by rain similarly. * Create IsWeatherWetAtXYZ to identify wetness at a particular location. * Use new code for enderman rain detection. * Fixes issue #916 * Disable warnings for global constructors in the fire simulator. | |||||
2017-11-21 | cBlockRail: Fix assertion failure (#4075) | peterbell10 | 1 | -3/+3 | |
2017-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 31 | -177/+168 | |
2017-09-21 | Only allow snow to be placed where valid. Fixes #2920. | peterbell10 | 1 | -12/+38 | |
2017-09-21 | Only allow rails to be placed where valid. | peterbell10 | 1 | -1/+8 | |
Fixes #3507. | |||||
2017-09-19 | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 5 | -9/+9 | |
* 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 | Leaves now drop with the correct meta when broken by a pickaxe with silk touch (#4034) | Bond-009 | 1 | -0/+6 | |
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2 | -2/+2 | |
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 3 | -118/+57 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 3 | -57/+118 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 3 | -118/+57 | |
2017-08-31 | Drop enderchest when broken by a silk touck pick (#3986) | Bond-009 | 2 | -1/+6 | |
2017-08-25 | Bed piston fix (#3956) | Lane Kolbly | 6 | -9/+12 | |
* Threaded world interface into ConvertBlockToPickups * Changed how cBlockPiston::PushBlocks sets the old block to air, so that the block exists for the DropBlock call. * Removed unused a_Digger argument. * Removed incorrect comment * This time actually removed a_Digger references. | |||||
2017-08-24 | Minor changes (#3909) | mathiascode | 3 | -3/+3 | |
2017-08-21 | Fixed build for older clang versions (#3935) | Bond-009 | 1 | -1/+1 | |
2017-08-21 | Fully implemented leashes (#3798) | Pablo Beltrán | 2 | -1/+66 | |
2017-08-17 | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 5 | -6/+6 | |
2017-08-13 | Replaced includes with forward declarations | Lukas Pioch | 2 | -4/+6 | |
2017-08-06 | Removed unneeded includes (#3902) | Lukas Pioch | 22 | -25/+3 | |
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 4 | -6/+0 | |
2017-08-03 | Removed unused forward declarations (#3888) | Lukas Pioch | 1 | -1/+0 | |
2017-08-02 | Removed double includes (#3885) | Lukas Pioch | 2 | -2/+0 | |
2017-08-01 | cBlockHandler: take player by ref | peterbell10 | 45 | -142/+142 | |
2017-08-01 | cWorld::SendBlockTo take player by ref | peterbell10 | 8 | -10/+10 | |
2017-07-28 | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 6 | -1/+122 | |
* Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement. | |||||
2017-07-18 | Break the cactus block when it grows next to a block. (#3851) | Bond-009 | 1 | -2/+6 | |
2017-07-18 | Made cBlockHandler OnPlacedByPlayer call OnPlaced, made BlockRailHandler use NeighborChanged instead of OnNeighborChanged. | Lane Kolbly | 2 | -16/+17 | |
2017-07-17 | Allocate redstone component handlers upfront | peterbell10 | 2 | -26/+26 | |
2017-07-12 | Changing pickup lifetime and combining semantics, making these adjustable in the lua api. (#3843) | Lane Kolbly | 1 | -0/+2 | |
2017-07-07 | BigFlower fixes (#3826) | peterbell10 | 9 | -20/+40 | |
* BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision | |||||
2017-07-07 | Added bed entity (#3823) | Lukas Pioch | 5 | -12/+88 | |
* 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-07-03 | cBlockInfo static initialisation (#3832) | peterbell10 | 1 | -1/+1 | |
2017-07-02 | You can't use beds when there are hostile mobs nearby | Bond_009 | 1 | -8/+32 | |
2017-06-22 | Pressure plates can be placed on fences and hoppers (#3796) | Bond-009 | 1 | -2/+21 | |
2017-06-21 | Fix shears (and vines) | Bond-009 | 1 | -1/+7 | |
* Shears now lose durability when breaking any block * Leaves don't drop 2 leaves anymore when broken by shears * Removed the chance to drop saplings or apples when leaves are broken by shears * Vines can't be attached to ender chests, pistons and redstone repeaters | |||||
2017-06-19 | Generated tall flowers have flower type meta in both blocks | peterbell10 | 1 | -1/+4 | |
2017-06-14 | Double tall grass drops seeds when broken by water (#3763) | dbhicks | 1 | -6/+15 | |
2017-06-13 | FastRandom rewrite (#3754) | peterbell10 | 19 | -71/+59 | |
2017-06-05 | Fixes problems with windows: | Lukas Pioch | 3 | -3/+3 | |
- Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | |||||
2017-05-21 | Clang 5.0 fixes | Lukas Pioch | 2 | -2/+2 | |
- Added override keyword - Removed inherited member variables | |||||
2017-05-09 | BlockHandlers: vertical alignment. | Mattes D | 1 | -159/+159 | |
2017-05-09 | BlockCrops: Fixed RipeMeta off-by-one error properly. | Mattes D | 2 | -6/+6 | |
Ref.: #3691 | |||||
2017-05-06 | Adjusted RipeMeta for off by one error (#3691) | dbhicks | 1 | -2/+2 | |
2017-04-06 | Replace double grass and large fern with placed block | Lukas Pioch | 2 | -1/+28 | |
2017-03-19 | Deadbushes drop sticks | Bond-009 | 2 | -0/+47 | |
2017-02-25 | BlockCrops: Fixed comments and reformatted control flow. (#3576) | Mattes D | 1 | -46/+54 | |
2017-02-15 | Updated sounds and effect IDs (#3422) | mathiascode | 6 | -8/+8 | |
2017-02-14 | Added some blocks and items (#3503) | mathiascode | 7 | -11/+51 | |
2017-02-05 | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 3 | -4/+4 | |
The original bindings accepted nil as the World param, causing a crash. | |||||
2017-01-28 | Changed big flowers so they don't need air above them. | Altenius | 1 | -1/+11 | |
2017-01-28 | Changed big flowers so they can only be placed on dirt | Altenius | 1 | -1/+4 | |
2016-12-09 | Fix meta mirror (#3470) | Mattes D | 1 | -32/+56 | |
2016-10-20 | StyleCheck: Add "else has to be on a separate line" (#3412) | mohe2015 | 1 | -1/+2 | |
2016-09-27 | Use cChunkDef::Height for Y coord comparison where applicable. | Moritz Borcherding | 1 | -1/+1 | |
2016-08-28 | Fix breaking ice in survival not giving a water's source (#3356) | ElNounch | 1 | -2/+1 | |
Fix #3355 | |||||
2016-07-31 | Redstone fixes (#3285) | Tiger Wang | 2 | -3/+13 | |
* Comparators and pistons no longer update instantly * Fixes #3168. * Consolidated comparator code * As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did) | |||||
2016-07-29 | Revert "Redstone fixes" | Mattes D | 2 | -13/+3 | |
2016-07-29 | Consolidated comparator code | Tiger Wang | 1 | -0/+5 | |
* As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did) | |||||
2016-07-29 | Comparators and pistons no longer update instantly | Tiger Wang | 2 | -3/+8 | |
* Fixes #3168. | |||||
2016-07-18 | CMake: Remove needless minimum version specifications. | Mattes D | 1 | -2/+0 | |
2016-07-07 | removed cast from BlockTrapdoor.h (#3256) | gaurav sehgal | 2 | -3/+8 | |
2016-07-06 | Fixed piston destroying other pistons | Altenius | 1 | -5/+9 | |
Fixes #3251 | |||||
2016-04-22 | Reduced unnecessary block updates | LogicParrot | 2 | -10/+9 | |
2016-04-16 | Prevented snow from killing grass | LogicParrot | 1 | -2/+4 | |
2016-04-16 | Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usage | LogicParrot | 4 | -15/+17 | |
2016-02-06 | Fix Pickups of BlockFlower | Drahoslav Bednář | 1 | -2/+3 | |
BlockMeta is handled correctly, when converting to pickups, so flowers now drops right flower type. | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 56 | -171/+171 | |
2016-02-04 | implement height logic for Acacia blocks | Kevin Riggle | 1 | -1/+12 | |
2016-01-03 | Fixed typo | Mathias | 1 | -1/+1 | |
2016-01-03 | More blocks that can't be mined with silktouch | Mathias | 1 | -1/+28 | |
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-19 | Added HTTPS links wherever they are supported. | Alexander Harkness | 1 | -6/+2 | |
2015-12-18 | Reorganised the redstone simulator | Tiger Wang | 8 | -46/+90 | |
-> 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 | -8/+1 | |
2015-12-13 | Strip meta from hopper on converting to pickup | Julian Laubstein | 1 | -0/+6 | |
2015-12-13 | blockheight mechanism | Gargaj | 5 | -1/+61 | |
2015-12-13 | Set overgrown wart age to 3 | Safwat Halaby | 1 | -1/+5 | |
2015-12-13 | allow use failures to propagate from the entity/block to the player | Gargaj | 20 | -28/+46 | |
2015-12-12 | Nether wart only ages to 3 | Gargaj | 1 | -2/+2 | |
See http://minecraft.gamepedia.com/Nether_Wart | |||||
2015-11-24 | Add enum for Sound and Particle Effects | Dave Tucker | 3 | -3/+6 | |
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | |||||
2015-11-23 | Adjusted height validation using cChunkDef::IsValidHeight() | Julian Laubstein | 1 | -1/+1 | |
2015-11-07 | Refactored code to use vectors in the cPistonHandler class | bibo38 | 2 | -50/+40 | |
2015-11-07 | Added some code improvements | bibo38 | 2 | -22/+42 | |
2015-11-07 | Renamed GetDirectionVec into VectorFromMetaData to improve code readability. | bibo38 | 2 | -6/+6 | |
2015-11-07 | Commented the GetDirectionVec method | bibo38 | 1 | -0/+3 | |
2015-11-07 | Fixed the style problems and added some comments | bibo38 | 2 | -6/+18 | |
2015-11-07 | Removed unused CanPull method | bibo38 | 1 | -11/+0 | |
2015-11-07 | Extracted block moving code into a seperate method | bibo38 | 2 | -77/+52 | |
2015-11-07 | Replaced the usage of pistonMeta with a direction vector to allow better meta value abstraction | bibo38 | 2 | -73/+63 | |
2015-11-07 | Fixed pulling/pushing of breakable blocks, which are not required to be moved | bibo38 | 1 | -3/+20 | |
2015-11-07 | Implemented the basic slime block pulling | bibo38 | 1 | -17/+62 | |
2015-11-07 | Implemented the SlimeBlock into the CanPush method to allow slimeblocks to work correctly when pushed | bibo38 | 1 | -15/+26 | |
2015-11-07 | Piston extension now works with the new recursive CanPushBlock method. | bibo38 | 1 | -36/+41 | |
2015-11-07 | Added the CanPushBlock method for the piston push check. | bibo38 | 2 | -24/+41 | |
This allows the recursive check for blocks to push, which is needed to implement the slime blocks into the piston system. | |||||
2015-11-07 | Implemented the slime block dropping behaviour. | bibo38 | 2 | -0/+34 | |
Fixes #2530 | |||||
2015-11-03 | Implemented brewing | Lukas Pioch | 1 | -4/+4 | |
2015-09-25 | Prepared ScheduleTask for threading refactor | Tiger Wang | 1 | -20/+5 | |
* Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations | |||||
2015-09-25 | Lilypads drop when not on source water. | Mattes D | 1 | -0/+16 | |
Lilypad blocks now break and drop as items when the block below them changes to non-water or non-source water. Fixes #2404. | |||||
2015-09-17 | Added CircleCI for stylechecking. | Mattes D | 2 | -6/+12 | |
This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks | |||||
2015-09-14 | Fixed flint drop rates from 1/30 to 1/10 to match the wiki. | David Erbelding | 1 | -1/+1 | |
2015-08-19 | * Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it. | Samuel Barney | 11 | -30/+256 | |
* Blocks now have an effect upon plant growth, just like in vanilla. | |||||
2015-08-18 | Some warning fixes | Julian Laubstein | 1 | -1/+1 | |
2015-08-01 | Fixed Iron Door | Nicholas W | 1 | -1/+6 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 2 | -24/+23 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 20 | -31/+26 | |
2015-07-16 | Spawn baby mobs | hallucino | 2 | -2/+2 | |
2015-07-14 | Improved maps | Tiger Wang | 73 | -265/+683 | |
2015-07-14 | Fix duping doors (#1327) | mmdk95 | 1 | -0/+4 | |
2015-07-14 | Torches can now be placed on top of upside down stairs. | Samuel Barney | 1 | -0/+16 | |
2015-07-13 | Sapling Growth Update | Samuel Barney | 1 | -7/+135 | |
* Growth has been slowed down * Saplings do not grow if they do not have enough space to grow * Saplings do not grow unless the light level is 9 or above * Dark Oak doesn't grow unless it is in a 2x2 Jungle Trees now will grow into a large tree when 2x2 saplings are used. | |||||
2015-07-03 | Moved grabbing the light value to after the transparency check. | Samuel Barney | 1 | -3/+4 | |
2015-07-03 | Added missing parens | Samuel Barney | 1 | -1/+1 | |
2015-07-03 | Grass now only dies if it has an opaque block above it. | Samuel Barney | 1 | -4/+7 | |
Grass only spreads to a dirt block if the light level is above 4 and the block above it is transparent. | |||||
2015-07-01 | Added neighbor specification in the OnNeighborChanged() block callback. | Mattes D | 5 | -44/+63 | |
Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213. | |||||
2015-06-28 | Added a size check for portals. | STRWarrior | 2 | -0/+26 | |
Made the portal size configurable Alpha-sorted SetXYZNetherPortalXYZ functions | |||||
2015-06-24 | Buttons no longer click on when already on. Buttons now play sound when clicking off. | Hax52 | 2 | -6/+26 | |
2015-06-22 | Rebased version of Code | Samuel Barney | 7 | -54/+16 | |
2015-06-19 | Externalized cPrefabPiecePool self-test. | Mattes D | 1 | -0/+1 | |
2015-06-14 | implemented DoesIgnoreBuildCollision on BlockFire to allow blocks to be placed on top | Martin McArthur | 1 | -0/+5 | |
2015-06-13 | Fixed typo in BlockDoor.h | Lane Kolbly | 1 | -1/+1 | |
2015-06-06 | Comparators | Tiger Wang | 1 | -0/+79 | |
2015-06-02 | Fixed warnings in MSVC. | Mattes D | 8 | -0/+42 | |
It complained about undefined return values or using uninitialized variables. | |||||
2015-05-24 | Made -Weverything an error. | tycho | 4 | -6/+10 | |
2015-05-23 | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 1 | -1/+1 | |
2015-05-21 | Added open/close and sound effects for all door types | b33duck | 1 | -3/+17 | |
2015-05-20 | Added missing fencetypes to torchhandler | Julian Laubstein | 1 | -0/+5 | |
2015-05-19 | Make -Werror disabling file only | tycho | 1 | -0/+1 | |
Ad fix a load of warnings | |||||
2015-05-19 | Fixed compile and a few more warnings | tycho | 7 | -13/+26 | |
2015-05-19 | Fixed a lot of warnings | tycho | 7 | -14/+23 | |
2015-05-18 | Improved leaves a bit more. | Alexander Harkness | 1 | -8/+20 | |
Should fix #2058. | |||||
2015-05-17 | Fix sapling probability. | Alexander Harkness | 1 | -1/+1 | |
Probability is 5% of leaves drop a sapling. This should really be different for jungle leaves (2.5%) and the Fortune enchantment should increase the probability. | |||||
2015-05-16 | Fixed bad logic. | Alexander Harkness | 1 | -1/+1 | |
2015-05-16 | Should Fix sign flipping. | Alexander Harkness | 1 | -2/+2 | |
Fixes #1118 | |||||
2015-05-16 | Bed uses bottom two bits for direction not three | worktycho | 1 | -2/+2 | |
2015-05-09 | More style checking. | Mattes D | 7 | -18/+18 | |
Spaces around some operators are checked. | |||||
2015-04-29 | Clay blocks are handled with the OreHandler | jammet | 1 | -0/+1 | |
2015-04-23 | Digging up a clay block spawns 4 clay items. | jammet | 1 | -0/+5 | |
Fixes #1884. Closes #1891. | |||||
2015-04-23 | Nether Quartz is handled in the Ore handler. | jammet | 1 | -0/+5 | |
Fixes #1885, Closes #1888 | |||||
2015-04-21 | Fix door placing in connection with slabs | wraith11 | 1 | -5/+20 | |
Except top-half slabs as transparent blocks for doors. | |||||
2015-04-16 | Fixed PolishedGranite et al crafting recipes. | Mattes D | 1 | -1/+1 | |
Fixes #1774. Ref.: #1859 | |||||
2015-04-14 | Placing a fluid from bucket calls plugin hooks. | Mattes D | 1 | -0/+17 | |
Ref.: #1857. | |||||
2015-03-25 | Removed 0x6, 0x7 from BlockButton. | Alexandre Guertin | 1 | -5/+3 | |
2015-03-21 | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 1 | -5/+7 | |
2015-03-20 | Added cPluginLua::cResettable interface, used for scheduled tasks. | Mattes D | 1 | -3/+3 | |
This allows plugins to register objects that can "survive" the plugin unloading - they will simply bail out if the plugin is already unloaded, instead of referencing bad plugin data. Fixes #1556. | |||||
2015-03-20 | Removed Metavalue from Piston drops. Bugfix #1765 | bibo38 | 2 | -0/+12 | |
2015-03-20 | Correct world height validations. | Tommy Santerre | 5 | -6/+6 | |
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-14 | Fixed grass spread, closes #1743 | Tiger Wang | 1 | -3/+3 | |
- Removed the salt parameter in cFastRandom functions, it wasn't doing what we thought it was following the move to C++11 | |||||
2015-03-09 | Buttons can be placed on the top and on the bottom face of a block | Alexandre Guertin | 1 | -1/+7 | |
2015-03-05 | Reverted non-functional changes | Tiger Wang | 2 | -10/+8 | |
2015-03-05 | Grass checks for sufficient light before spreading | Alexander Harkness | 1 | -1/+13 | |
2015-02-28 | Added experience drops when mining ores | STRWarrior | 1 | -0/+59 | |
2015-02-08 | Handle client 'leave bed' request | Tiger Wang | 3 | -25/+32 | |
* Fixes #1728 | |||||
2015-01-23 | Fixed defect #43661 in Coverity list. | Kirill Kirilenko | 1 | -1/+2 | |
2014-12-25 | Fixed door placement. | Mattes D | 1 | -1/+2 | |
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 12 | -421/+69 | |
Fixes #1618. | |||||
2014-12-17 | NULL -> nullptr | Tiger Wang | 1 | -1/+1 | |
2014-12-14 | "& 0x0f" isn't needed | Howaner | 1 | -2/+2 | |
2014-12-13 | Fixes | Howaner | 1 | -2/+2 | |
2014-12-13 | Own classes for all windows. | Howaner | 3 | -2/+3 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 3 | -19/+84 | |
2014-12-01 | Added cocoa pod. | Howaner | 3 | -0/+99 | |
2014-10-25 | Cleaned up simulators | Tiger Wang | 1 | -0/+1 | |
2014-10-25 | Fixed some block checks | Tiger Wang | 2 | -4/+3 | |
* Fixes #1330 | |||||
2014-10-23 | Signs can be placed on wallsigns. | Alexander Harkness | 1 | -1/+1 | |
Fixes #1438 | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 7 | -11/+11 | |
2014-10-21 | Moved tall grass pickups handle. | Howaner | 1 | -0/+37 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 7 | -11/+11 | |
2014-10-19 | Added mechanics placeable on halfslabs | Julian Laubstein | 4 | -10/+79 | |
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 4 | -5/+22 | |
2014-10-11 | Fixed compilation. | Alexander Harkness | 1 | -1/+1 | |
2014-10-07 | Corrected drops from dead bush, tall grass and cobweb. | Howaner | 2 | -23/+24 | |
2014-10-07 | Corrected IsBlockAttachable() in BlockVine.h | Howaner | 1 | -5/+15 | |
2014-10-07 | Removed BlockHaybale.h from CMakeLists.txt | Howaner | 1 | -1/+0 | |
2014-10-07 | Removed unused cBlockHayBaleHandler. | Howaner | 2 | -24/+1 | |
2014-10-03 | Comment suggestions | Tiger Wang | 1 | -2/+3 | |
2014-10-01 | Added Daylight Sensors to the "can't push" list | Masy98 | 1 | -0/+2 | |
2014-10-01 | Added missing 1.8 blocks, E_METAs and sounds | Masy98 | 1 | -0/+2 | |
2014-09-30 | Improved torch handler | Tiger Wang | 1 | -70/+51 | |
2014-09-30 | Code improvements | Howaner | 3 | -3/+7 | |
2014-09-30 | Fixed 1.8 dirt types | Howaner | 1 | -1/+9 | |
2014-09-30 | Fixed iron trapdoors | Howaner | 1 | -0/+5 | |
2014-09-30 | Fixed 1.8 doors. | Howaner | 1 | -1/+14 | |
2014-09-30 | Indentation | Julian Laubstein | 1 | -3/+3 | |
2014-09-30 | Set right indentation | Julian Laubstein | 1 | -3/+3 | |
2014-09-30 | actual solving of the halfslap+torch problem | Julian Laubstein | 1 | -1/+3 | |
2014-09-29 | Style fixes. | madmaxoft | 1 | -6/+8 | |
2014-09-29 | Fixed codestyle again. | Alexander Harkness | 1 | -1/+1 | |
2014-09-29 | BlockStone.h: fix the codestyle | w00tc0d3 | 1 | -6/+5 | |
2014-09-29 | BlockStone: drop the right cobblestone on onBreak(). | netchip | 1 | -3/+9 | |
Signed-off-by: netchip <w00tc0d3@outlook.com> | |||||
2014-09-29 | Update BlockTorch.h | Julian Laubstein | 1 | -3/+3 | |
2014-09-29 | Added torches placeable on upside-down-halfslaps | Julian Laubstein | 1 | -1/+3 | |
2014-09-27 | Fixed minor style issues. | madmaxoft | 1 | -1/+1 | |
2014-09-27 | Added default value to switch and spruce gate to fence gate handler | Masy98 | 2 | -0/+6 | |
2014-09-27 | Fixed convertToPickups for fence gates | Masy98 | 1 | -1/+1 | |
2014-09-27 | Fixed convertToPickups for doors | Masy98 | 1 | -1/+38 | |
2014-09-26 | Removed more unessicary includes | Tycho | 14 | -16/+31 | |
2014-09-25 | Fixed style | Tycho | 2 | -0/+103 | |
2014-09-19 | Implemented mob spawner. | Howaner | 1 | -0/+12 | |
2014-09-17 | Fixed minor style issues. | madmaxoft | 1 | -1/+1 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 7 | -60/+90 | |
2014-09-13 | Improved cBlockHandler::DropBlock | Tiger Wang | 3 | -44/+32 | |
2014-09-12 | Only drop flint or gravel, not both. | Howaner | 1 | -2/+4 | |
2014-09-12 | Fixed farmland issues. | Howaner | 7 | -57/+68 | |
2014-09-12 | Added Sea Lantern drops | Masy98 | 2 | -0/+32 | |
2014-09-12 | Spawn exp if you break a mob spawner. | Howaner | 3 | -0/+45 | |
2014-09-12 | Fixed iron ore drop. | Howaner | 1 | -1/+2 | |
2014-09-12 | Added flint drop and fence gate meta reset. | Howaner | 2 | -0/+17 | |
2014-09-11 | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 1 | -0/+54 | |
THis wil hopefully allow for unit testing | |||||
2014-09-11 | Added barrier block | Masy98 | 1 | -0/+1 | |
2014-09-11 | Fixed incorrect handlers | Masy98 | 1 | -3/+3 | |
2014-09-10 | Added stone slab in BlockSlab.h | Masy98 | 1 | -1/+3 | |
2014-09-10 | Added new blocks to the BlockInfo | Masy98 | 1 | -0/+1 | |
2014-09-10 | Added new blocks to the BlockHandler | Masy98 | 1 | -0/+12 | |
2014-09-09 | Removed old sound-configuration for SignPosts | Masy98 | 1 | -6/+0 | |
2014-09-09 | Removed old sound-configuration for Repeaters | Masy98 | 1 | -6/+0 | |
2014-09-09 | Removed old sound-configuration for Trapdoors | Masy98 | 1 | -5/+0 | |
2014-09-09 | Removed old sound-configuration for doors | Masy98 | 2 | -10/+0 | |
2014-09-09 | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 42 | -271/+0 | |
2014-09-08 | TimeOfDay does not need to be an Int64 | Tycho | 1 | -2/+2 | |
2014-08-31 | Check range of y in HasNearLog | worktycho | 1 | -1/+1 | |
Fixes #803 | |||||
2014-08-30 | Added a_Digger check | Jaume Aloy | 1 | -28/+31 | |
2014-08-29 | Fixed conversion warning. | Mattes D | 1 | -1/+1 | |
2014-08-28 | Fixed anvil placing. | Hownaer | 1 | -5/+6 | |
2014-08-28 | Fixed spaces after "template" keyword. | Mattes D | 2 | -6/+6 | |
2014-08-22 | More Enchantments | Jaume Aloy | 1 | -1/+0 | |
- Added Thorns and Respiration enchantments | |||||
2014-08-21 | Protection Enchantments, some fixes | Jaume Aloy | 1 | -7/+8 | |
- Protection echantments (fire, blast, feather falling, protection and projectile). It isn't finished, add secondary effects and optimize the code. - Removed some brackets. - Silk touch fixed. | |||||
2014-08-20 | Removed old classes from the CMakeLists.txt | Howaner | 1 | -2/+0 | |
2014-08-19 | Code formatting fixes. | Howaner | 25 | -150/+80 | |
2014-08-19 | Changed if in BlockHandler | Jaume Aloy | 1 | -5/+2 | |
2014-08-19 | Fixes | Jaume Aloy | 1 | -35/+35 | |
- Changed m_TicksLeftBurning > 0 for IsOnFire() - Tried to do the changes in BlockHandler.cpp - Removed m_Creator in ArrowEntity - Added m_Enchantments in ProjectileEntity CreatorData - Added blank lines between functions | |||||
2014-08-19 | Changed if for switch | Jaume Aloy | 2 | -12/+23 | |
2014-08-19 | Added more enchantments and some fixes | Jaume Aloy | 2 | -16/+40 | |
- Removed Debug messages - Added Punch enchantment effect - Added Silk Touch enchantment - Added Unbreaking enchantment effect | |||||
2014-08-11 | Moved the clicked-through block check to the top of the function. | Howaner | 1 | -5/+0 | |
2014-08-10 | Changed comment. | Howaner | 1 | -3/+1 | |
2014-08-08 | Added comment. | Howaner | 1 | -0/+3 | |
2014-08-08 | Send the old slab to the client when the interact cancelled. | Howaner | 1 | -0/+11 | |
2014-08-04 | Fixed signs not staying on other signs | Tiger Wang | 2 | -2/+4 | |
2014-07-31 | Changed IsSolid to FullyOccupiesVoxel | Howaner | 1 | -1/+1 | |
2014-07-31 | Fixed water from ice and removed packed ice drop. | Howaner | 1 | -2/+12 | |
2014-07-30 | Added beacon. | Howaner | 2 | -0/+2 | |
2014-07-24 | Fixed block drops | Tiger Wang | 3 | -12/+16 | |
* Fixes #1242 (the issue addressed within) | |||||
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 1 | -4/+4 | |
2014-07-23 | Fix item durability. | Howaner | 3 | -17/+9 | |
Fixes #1181 | |||||
2014-07-23 | BlockLeaves: Fixed comment style. | madmaxoft | 1 | -2/+2 | |
2014-07-22 | Fix misguided comment on bits... | Tiger Wang | 1 | -1/+1 | |
...obviously written by someone very confused, also known as me | |||||
2014-07-22 | Suggestion and failed merge fix | Tiger Wang | 1 | -1/+1 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 6 | -10/+10 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 1 | -3/+4 | |
2014-07-20 | Proper comment for DropBlock() | Tiger Wang | 1 | -2/+5 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 6 | -7/+7 | |
2014-07-19 | Blocks/CMakeLists.txt: Fixed header list after merge of master | archshift | 1 | -1/+2 | |
2014-07-19 | Subdirs: Only add_library if not using MSVC | archshift | 1 | -1/+3 | |
2014-07-19 | Blocks/CMakeLists.txt: Replaced glob with list of files | archshift | 1 | -5/+92 | |
2014-07-18 | Normalized code style for both sign handlers. | madmaxoft | 2 | -16/+20 | |
2014-07-18 | Removed cBlockSignPostHandler descend. | Howaner | 1 | -2/+28 | |
2014-07-18 | Added a extra wall sign handler. | Howaner | 3 | -24/+81 | |
Fixes #1119 | |||||
2014-07-17 | Fixed issues relating to saplings and leaves | Tiger Wang | 5 | -47/+29 | |
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | |||||
2014-07-17 | Fixed tabs used for alignment. | madmaxoft | 1 | -2/+2 | |
2014-07-17 | More trailing whitespace fixes. | madmaxoft | 1 | -3/+3 | |
2014-07-17 | Basic style fixes. | madmaxoft | 39 | -73/+73 | |
2014-07-17 | Normalized comments. | madmaxoft | 20 | -55/+55 | |
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-17 | Fix sapling drop. | Howaner | 1 | -1/+1 | |
2014-07-15 | Fixed code formatting. | madmaxoft | 2 | -6/+9 | |
2014-07-15 | Added various missing blocks in the lists in BlockInfo.cpp | Masy98 | 1 | -1/+0 | |
2014-07-15 | Added super typedef | Tycho | 3 | -3/+6 | |
2014-07-15 | COnverted Lilypad back to mixin | Tycho | 1 | -8/+2 | |
2014-07-15 | Revert "Converted some blockhandlers to use cClearMetaOnDrop" | Tycho | 9 | -21/+67 | |
This reverts commit 333f4f982cbd24ffcb376594eddef439b3f05e9e. | |||||
2014-07-14 | Fixed some meta resetting bugs | Tiger Wang | 6 | -27/+28 | |
* Fixes #1174 * Fixes #1171 | |||||
2014-07-14 | Added documentation | Tycho | 1 | -0/+6 | |
2014-07-14 | Converted some blockhandlers to use cClearMetaOnDrop | Tycho | 9 | -67/+21 | |
2014-07-14 | Simplified ClearMetaOnDrop | Tycho | 1 | -1/+1 | |
2014-07-14 | Added cClearOnDrop Mixin to cPumpkin | Tycho | 1 | -2/+2 | |
2014-07-14 | Added first implementation of cClearMetaOnDrop | Tycho | 2 | -2/+21 | |
2014-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 4 | -5/+5 | |
2014-07-12 | Suggestions and bug fix | Tiger Wang | 1 | -7/+5 | |
* Fixed hoppers pushing/pulling to/from (trapped)chests that do not form a double-chest with the chest type directly connected to said hopper; thank you, @madmaxoft | |||||
2014-07-11 | Suggestions | Tiger Wang | 2 | -2/+3 | |
2014-07-11 | Suggestions | Tiger Wang | 1 | -5/+6 | |
2014-07-07 | Implemented trapped chests & others | Tiger Wang | 4 | -38/+27 | |
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | |||||
2014-07-02 | Redstone simulator is alerted to lever unpowering | Tiger Wang | 3 | -0/+5 | |
* Fixed the "fix" that broke the fix for #535, thereby fixing said issue * Fixed #535 | |||||
2014-06-28 | Implemented tripwire(s) (hooks) | Tiger Wang | 4 | -2/+118 | |
* Fixes #944 | |||||
2014-06-28 | Added more block exceptions to torches | Tiger Wang | 1 | -0/+4 | |
2014-06-28 | Minor change to buttons and levers | Tiger Wang | 2 | -3/+3 | |
+ They now detect if the block they are on occupies its voxel, instead of just being solid | |||||
2014-06-23 | Added a (disabled) block meta mirror / rotate test code. | madmaxoft | 1 | -2/+87 | |
This will perform basic sanity checks on block metadata mirroring and rotating. cMetaRotator must disable its asserts in order for this to work. | |||||
2014-06-23 | Fixed the slab vertical mirroring. | madmaxoft | 1 | -9/+6 | |
2014-06-23 | Fixed sign and lever rotations. | madmaxoft | 2 | -8/+9 | |
2014-06-17 | Add fence gate sound. | Howaner | 1 | -0/+1 | |
2014-06-17 | Add UNUSED() Tags | Howaner | 1 | -0/+6 | |
2014-06-17 | Add door sound | Howaner | 1 | -0/+1 | |
2014-06-17 | Check block type from cBlockEntity | Howaner | 1 | -8/+8 | |
2014-06-17 | Add parenthesis | Howaner | 1 | -2/+2 | |
2014-06-17 | Add DoWithBlockEntityAt() to WorldInterface.h | Howaner | 2 | -37/+61 | |
2014-06-17 | Add end lines to BlockPressurePlate.h | Howaner | 1 | -1/+5 | |
2014-06-17 | Add pressure plate handler | Howaner | 2 | -0/+39 | |
2014-06-16 | Fix doubleslab meta. | Howaner | 1 | -0/+1 | |
2014-06-16 | Glass shouldn't drop. | Howaner | 1 | -0/+3 | |
2014-06-16 | Fix a few warnings | Tycho | 1 | -3/+3 | |
2014-06-14 | Cauldrons check the heightmap | Tiger Wang | 2 | -5/+9 | |
2014-06-09 | Added Y coord checks and documentation to cBlockDoorHandler. | madmaxoft | 1 | -19/+40 | |
2014-06-08 | Fixed E_META_...Typos in BlockID.h | narroo | 1 | -2/+2 | |
2014-06-05 | Suggestions | Tiger Wang | 1 | -1/+3 | |
2014-06-04 | Added checks for no downfall biomes | Tiger Wang | 1 | -1/+1 | |
2014-06-01 | Suggestions two | Tiger Wang | 1 | -3/+3 | |
2014-06-01 | Implemented bed homes | Tiger Wang | 1 | -0/+2 | |
+ Implemented bed home positions * Fixed some inventory and health server/client mismatches after world change | |||||
2014-05-31 | Moved the IsDoor check before the meta get. | Howaner | 1 | -2/+1 | |
2014-05-31 | Add doxy-comment | Howaner | 1 | -3/+4 | |
2014-05-30 | Better SetOpen() and IsOpen() function from the doors. | Howaner | 2 | -77/+27 | |
2014-05-29 | Add SetOpen() and IsOpen() to BlockDoor.h and fix door redstone bug. | Howaner | 1 | -9/+80 | |
2014-05-29 | Very minor code changes | Tiger Wang | 2 | -2/+2 | |
2014-05-29 | Cauldrons fill | Tiger Wang | 2 | -0/+17 | |
2014-05-29 | Suggestions | Tiger Wang | 1 | -1/+6 | |
2014-05-29 | Changed block send queue to use vectors | Tiger Wang | 1 | -6/+17 | |
As suggested by @worktycho. | |||||
2014-05-28 | Code improvements | Howaner | 1 | -6/+2 | |
2014-05-28 | Fix hay place sound. | Howaner | 2 | -1/+31 | |
2014-05-28 | Fix fire break. | Howaner | 1 | -2/+2 | |
2014-05-28 | Fix skull bugs. | Howaner | 1 | -2/+41 | |
2014-05-25 | Hopefully fixed piston duplication issues | Tiger Wang | 5 | -11/+294 | |
* Fixes #879 * Fixes #714 | |||||
2014-05-21 | Fixed cWither::KilledBy | andrew | 1 | -0/+1 | |
2014-05-20 | Cleaned up cPlayer::UpdateMovementStats; Wither achievements | andrew | 1 | -0/+27 | |
2014-05-10 | Fixed compile problem. | STRWarrior | 1 | -1/+1 | |
2014-05-10 | A portal block now chooses a number between 2000 and 0 | STRWarrior | 1 | -1/+1 | |
2014-05-10 | Each time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman. | STRWarrior | 1 | -0/+14 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 3 | -6/+6 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 3 | -6/+6 | |
2014-05-07 | Superfluous method override. | Howaner | 1 | -6/+0 | |
2014-05-07 | Add lava and water check to block handlers. | Howaner | 2 | -2/+14 | |
2014-05-07 | Rename CanChangeDirtToGrass to CanDirtGrowGrass | Howaner | 6 | -9/+9 | |
2014-05-05 | Add clicks, exp subtraction, item check, ... | Howaner | 1 | -1/+1 | |
2014-05-05 | Add anvil window and slot area. | Howaner | 1 | -0/+7 | |
2014-05-04 | Fixed portal Z direction loop coding failure | Tiger Wang | 1 | -10/+9 | |
* Fixed portals created in the ZP/ZM direction eating its frame * Changed return type of a function | |||||
2014-04-25 | Missed these CMakeLists. | archshift | 1 | -0/+1 | |
2014-04-23 | The new leaves don't decay anymore. | STRWarrior | 1 | -0/+1 | |
Fixes #792 | |||||
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2 | -1/+2 | |
2014-04-07 | Fixed Errors | daniel0916 | 1 | -1/+1 | |
2014-04-06 | Remove old import | Howaner | 2 | -3/+2 | |
2014-04-06 | Add CanChangeDirtToGrass function to Block Handlers. | Howaner | 6 | -3/+33 | |
2014-04-04 | Fixed Clang warnings in itemhandlers. | madmaxoft | 1 | -2/+2 | |
2014-04-03 | Change CanBeAt() from big flower | Howaner | 1 | -5/+1 | |
2014-04-03 | Remove old function | Howaner | 1 | -6/+0 | |
2014-04-03 | Grass now grows under up-side-down slabs | Howaner | 1 | -3/+12 | |
2014-04-02 | With eXtra line! | Tiger Wang | 1 | -0/+1 | |
2014-04-02 | Removed extra brackets | Tiger Wang | 1 | -5/+2 | |
2014-04-01 | Fixed clang warnings in BlockHandlers. | madmaxoft | 4 | -5/+6 | |
2014-04-01 | Simplified the anvil placement code. | madmaxoft | 1 | -11/+9 | |
2014-03-31 | Realised suggestions | Tiger Wang | 1 | -1/+4 | |
2014-03-31 | Simplified and fixed slabs, fixes #835 | Tiger Wang | 1 | -33/+10 | |
2014-03-31 | Fixed a few Y too high/low asserts | Tiger Wang | 1 | -2/+3 | |
2014-03-30 | Fixed a few Clang warnings in BlockHandlers. | madmaxoft | 11 | -48/+54 | |
2014-03-30 | Fixed a few clang warnings. | madmaxoft | 1 | -0/+6 | |
2014-03-30 | Fixed chest rotator. | madmaxoft | 1 | -2/+2 | |
2014-03-29 | Added in MetaMirrorXY and MetaMirrorYZ to cBlockSignHandler. | narroo | 1 | -0/+19 | |
2014-03-29 | Add "a_RelY < cChunkDef::Height" to BlockBigFlower | Howaner | 1 | -0/+1 | |
2014-03-28 | Some fixes to lilypads | Tiger Wang | 1 | -61/+5 | |
* Fixed placement on lava * Fixed placement on side of blocks * Fixed placement through blocks + Added washing-away of pads + Added ice as a block that fully occupies its voxel | |||||
2014-03-28 | Add tallgrass drop to big flowers. | Howaner | 2 | -8/+59 | |
Add tallgrass drop, when a players break a tallgrass with the shear. | |||||
2014-03-28 | door -> flower | Howaner | 1 | -1/+1 | |
2014-03-28 | Add tall flower handler. | Howaner | 2 | -0/+99 | |
2014-03-28 | Fixed non-virtual destructors warnings. | madmaxoft | 2 | -2/+4 | |
2014-03-27 | Change SpreadSource prefix to ss | Howaner | 2 | -2/+2 | |
2014-03-27 | Wrong if in BlockLeaves | Howaner | 1 | -1/+1 | |
2014-03-27 | Add SpreadSource | Howaner | 4 | -2/+13 | |
2014-03-27 | Add new leaves to all classes. | Howaner | 1 | -1/+1 | |
2014-03-26 | Altered the rotates for cBlockSignHandler. The functions as a whole is still unfinished though; no wall sign or mirroring support yet. | narroo | 1 | -2/+2 | |
2014-03-26 | Fixed Minor typos. | narroo | 3 | -9/+12 | |
2014-03-25 | Added a comment about the behavior of doors under mirros. Simply put, the current implementation of MetaMirror causes glitchy behavior. The door class itself needs to be edited. (I've got an idea on that....) | narroo | 1 | -2/+8 | |
2014-03-25 | Fixed spelling; Rotater to Rotator. | narroo | 15 | -46/+46 | |
2014-03-25 | Changed Rotater to Rotator. Added partial sign post rotation support. | narroo | 2 | -0/+12 | |
2014-03-25 | Fixed clang compilation | andrew | 1 | -13/+16 | |
2014-03-25 | Fixed wither summoning | andrew | 1 | -1/+24 | |
2014-03-25 | Protocol: Wither metadata | andrew | 1 | -3/+79 | |
2014-03-24 | Add log pickups. | Howaner | 1 | -1/+7 | |
2014-03-24 | Wither invulnerability | andrew | 1 | -0/+14 | |
2014-03-24 | Added MetaRotate/Mirror Support for a number of classes. | narroo | 12 | -84/+295 | |
2014-03-23 | Implemented lilypad placement | Tiger Wang | 2 | -0/+86 | |
2014-03-16 | Wrong if in BlockLeaves | Howaner | 1 | -1/+1 | |
2014-03-16 | Add new leaves to all classes. | Howaner | 3 | -2/+4 | |
2014-03-16 | Change if-clause in BlockCake.h | Howaner | 1 | -1/+1 | |
2014-03-16 | Add cake | Howaner | 2 | -0/+57 | |
2014-03-16 | Fix anvil pickups. | Howaner | 1 | -1/+1 | |
2014-03-16 | Add anvil direction. | Howaner | 2 | -0/+65 | |
2014-03-09 | Silenced useless MSVC warnings in cMetaRotater. | madmaxoft | 1 | -0/+21 | |
2014-03-09 | Fixed VERIFY | Tiger Wang | 1 | -1/+1 | |
2014-03-09 | Beds now work properly fixes #707 | Tiger Wang | 3 | -10/+76 | |
Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp | |||||
2014-03-08 | Fixed issues with int vs size_t and a few other warnings | Tycho | 1 | -0/+2 | |
2014-03-08 | Moved returns | worktycho | 1 | -3/+3 | |
2014-03-08 | cBlockInfo-related changes from #723 | andrew | 1 | -0/+1 | |
2014-03-07 | Fixed warnings | Tycho | 2 | -3/+21 | |
2014-03-07 | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 1 | -2/+3 | |
2014-03-07 | Add Flower Pots | Howaner | 1 | -80/+3 | |
2014-03-06 | Fix comment | Howaner | 1 | -1/+1 | |
2014-03-05 | Add SendBlockTo to cWorldInterface | Howaner | 8 | -9/+17 | |
2014-03-05 | Set tnt step sound to step.grass | Howaner | 1 | -1/+1 | |
2014-03-05 | Add data backsending, when the Client interacts a Block and the Interact is cancelled. | Howaner | 9 | -2/+92 | |
2014-03-02 | Reformatted | Tycho | 10 | -20/+20 | |
2014-03-02 | Reformated MetaRotater | Tycho | 1 | -19/+30 | |
2014-03-02 | cBlockInfo now manages the respective cBlockHandler | andrew | 3 | -63/+6 | |
2014-03-02 | Add Trapdoor Functions to cWorld and fix Trapdoor Redstone Bugs | Howaner | 1 | -1/+3 | |
2014-03-02 | Reverted BlockVine | worktycho | 1 | -3/+27 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 11 | -15/+15 | |
2014-03-01 | Fixed errors | Tycho | 2 | -2/+2 | |
2014-03-01 | Revesed typedef | Tycho | 1 | -1/+1 | |
2014-03-01 | Implemented Rotations | Tycho | 11 | -170/+28 | |
2014-03-01 | Final implementation of MetaRotater | Tycho | 1 | -45/+51 | |
2014-03-01 | Forgotten changes to cChunkInterface. | madmaxoft | 1 | -2/+2 | |
2014-03-01 | Removed cBlockHandler forward declaration from cChunkInterface. | madmaxoft | 1 | -9/+22 | |
Wasn't needed. Also reformatted the code. | |||||
2014-02-28 | Use switch in GetStepSound | Howaner | 1 | -7/+5 | |
2014-02-28 | Fix Double Slabs, fix Slab Meta and add more things to burnable | Howaner | 1 | -12/+23 | |
2014-02-27 | Added some Metadate rotaters using templated Mixin | Tycho | 10 | -16/+168 | |
2014-02-23 | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 1 | -1/+1 | |
2014-02-23 | BlockBed.cpp: Fixed Multiple people in one bed. | TheJumper | 1 | -7/+18 | |
OnUse in BlockBed.cpp now checks whether bit flag 0x4 in the Data values of the bed is set before somebody can try to sleep in the bed. | |||||
2014-02-23 | Rename SkullEntity to MobHeadEntity | Howaner | 2 | -10/+10 | |
2014-02-23 | Add Heads completely | Howaner | 2 | -0/+71 | |
2014-02-20 | Fix Cauldron | Howaner | 1 | -8/+11 | |
2014-02-20 | Add 'Meta < 3' to Cauldron | Howaner | 1 | -5/+8 | |
2014-02-20 | BlockBed.cpp: Fixed space at if statement | TheJumper | 1 | -1/+1 | |
Added a space after an if statement and before the first bracket to keep up code conventions. | |||||
2014-02-20 | BlockBed.cpp: Fixed Multiple people in one bed. | TheJumper | 1 | -7/+18 | |
OnUse in BlockBed.cpp now checks whether bit flag 0x4 in the Data values of the bed is set before somebody can try to sleep in the bed. | |||||
2014-02-19 | Add BlockNewLeaves.h and rename Darkoac to Darkoak | Howaner | 1 | -0/+42 | |
2014-02-19 | Add new Trees (without Generator) | Howaner | 2 | -0/+6 | |
2014-02-19 | Rename SkullEntity to MobHeadEntity | Howaner | 2 | -10/+10 | |
2014-02-18 | Add Heads completely | Howaner | 2 | -0/+71 | |
2014-02-09 | Fixed compile and some warnings in MSVS | Tiger Wang | 3 | -3/+3 | |
2014-02-06 | Server internally uses new functions | Tiger Wang | 1 | -1/+1 | |
2014-02-05 | Fixed a bunch of MSVS warnings | Tiger Wang | 3 | -4/+4 | |
* Possibly also fixed some bugs with pathfinding and TNT, though unlikely | |||||
2014-02-04 | Fix gcc not having operator ++ on enums | Tycho | 1 | -6/+7 | |
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 35 | -85/+86 | |
May Fix #640 | |||||
2014-02-04 | Fixed chest placement. | madmaxoft | 1 | -2/+4 | |
Fixes #624. | |||||
2014-02-03 | Named the different quartz block. | STRWarrior | 1 | -1/+1 | |
2014-02-03 | Fixed issues with farmland | Tiger Wang | 2 | -1/+3 | |
* Fixed farmland reversion checks not taking into account carrots and potatoes * Fixed #623 | |||||
2014-02-03 | Fixed some issues. | STRWarrior | 1 | -1/+2 | |
Meta wasn't set if the block wasn't a pillar. Fixed typo. | |||||
2014-02-03 | Renamed cBlockQuartsHandler to cBlockQuartzHandler. Fixed not being able to place normal quartz blocks. | STRWarrior | 2 | -4/+4 | |
2014-02-03 | This renames the cBlockWoodHandler to cBlockSidewaysHandler, and implements a new cBlockQuartzHandler to handle the quartz pillars. | STRWarrior | 3 | -5/+74 | |
2014-02-02 | Fixed #624 | Tiger Wang | 1 | -0/+6 | |
2014-02-02 | Fixed dark oak and acacia placement. | madmaxoft | 1 | -0/+1 | |
Fixes #621. | |||||
2014-02-02 | Added missing files | Tycho | 2 | -0/+20 | |
2014-02-02 | Changed Signiture of OnUpdate | Tycho | 13 | -26/+27 | |
2014-02-02 | Fixed #620 | Tiger Wang | 1 | -1/+2 | |
2014-02-01 | Changed Signiture of OnDigging | Tycho | 3 | -4/+4 | |
2014-02-01 | Changed Signiture of OnDestroyedByPlayer | Tycho | 11 | -13/+23 | |
2014-02-01 | Changed pointers to references | Tycho | 51 | -230/+230 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 49 | -185/+194 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-26 | Removed cWorld Include | Tycho | 3 | -3/+0 | |
2014-01-26 | Refactored GetPlacementBlockTypeMeta | Tycho | 5 | -8/+6 | |
2014-01-26 | Refactored cBlockHandler::OnUse and dependents | Tycho | 15 | -142/+208 | |
2014-01-25 | First attempt at Implementing Interfaces | Tycho | 17 | -33/+74 | |
2014-01-20 | first changes for enchanting (not finished) | daniel0916 | 2 | -0/+39 | |
- added enchanting table block handler and added it to the blockhandler - added enchanting window - drop item in the slot 0 when the player close the window - added enchanting packet (1.7 only) - some more... | |||||
2014-01-19 | Fixed weird meta with curved rails | Tiger Wang | 1 | -5/+15 | |
2014-01-19 | Added more rail functionality | Tiger Wang | 1 | -4/+4 | |
2014-01-19 | Improved command blocks | Tiger Wang | 2 | -0/+34 | |
* 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-17 | Removed internal cEntity::GetRot() usage. | madmaxoft | 11 | -16/+16 | |
2014-01-16 | Fixed #535 | Tiger Wang | 1 | -1/+1 | |
2014-01-16 | Fixed #535 | Tiger Wang | 1 | -1/+1 | |
2014-01-16 | Removed obsoleted functions | Tiger Wang | 11 | -13/+13 | |
2014-01-11 | Fixed glowstone drop count | andrew | 1 | -2/+2 | |
2014-01-11 | Renamed g_TorchPlaceable... | Tiger Wang | 2 | -4/+4 | |
...to g_FullyOccupiesVoxel, as recommended by @bearbin | |||||
2013-12-25 | (Hopefully) fixed if conditions | tonibm19 | 1 | -4/+1 | |
2013-12-25 | Implemented xoft suggestion (partly) | tonibm19 | 1 | -25/+29 | |
I only get it working in first condition. It seems it's not compatible with else if... | |||||
2013-12-25 | Fixed rails not updating with diagonals | Tiger Wang | 1 | -0/+34 | |
2013-12-24 | BLOCKTYPE... | tonibm19 | 1 | -2/+2 | |
2013-12-24 | Fixed compilation | tonibm19 | 1 | -29/+9 | |
2013-12-24 | Implemented xoft suggestion | tonibm19 | 1 | -7/+11 | |
2013-12-24 | Using BLOCKTYPE instead of int | tonibm19 | 1 | -2/+2 | |
2013-12-24 | Fixed comments | tonibm19 | 1 | -8/+8 | |
2013-12-24 | Changed a little how detection works and added comments. | tonibm19 | 1 | -28/+31 | |
2013-12-24 | Storing Y -1 and -2 blocks in a variable | tonibm19 | 1 | -5/+7 | |
2013-12-24 | Using parenthesis | tonibm19 | 1 | -8/+8 | |
2013-12-24 | Fixed a possible crash | tonibm19 | 1 | -39/+42 | |
2013-12-23 | Improved iron golem detection algorithm | tonibm19 | 1 | -3/+16 | |
- You need to make it like in vanilla - Only used blocks are removed | |||||
2013-12-23 | You can now spawn iron golems. | tonibm19 | 1 | -3/+20 | |
You can spawn them like in vanilla. | |||||
2013-12-22 | You can spawn snow golems with snow blocks and pumpkins. | STRWarrior | 1 | -0/+15 | |
2013-12-22 | Fixed cacus breaking when next to any non-air block. | STRWarrior | 1 | -1/+1 | |
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 1 | -1/+5 | |
2013-12-22 | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 1 | -1/+5 | |
2013-12-21 | Piston 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 | 4 | -5/+5 | |
2013-12-20 | Fixed melon and pumpkin growing. | madmaxoft | 1 | -1/+1 | |
2013-12-20 | Fixed missing parenthesis. | madmaxoft | 1 | -4/+4 | |
2013-12-20 | Fixed assertion during dirt block OnUpdate() | Tiger Wang | 1 | -1/+1 | |
2013-12-19 | Fixed dust from being placed on nonsolids | Tiger Wang | 1 | -1/+1 | |
2013-12-19 | added blocks and blockentities | Tycho Bickerstaff | 1 | -1/+5 | |
2013-12-18 | Implented Nether Wart. | STRWarrior | 2 | -0/+54 | |
2013-12-10 | Provides a possible fix for repeater timings | Tiger Wang | 1 | -1/+1 | |
Not completely reliable, but at least some types of clock work. | |||||
2013-12-10 | fixed unused expression warnings in blockFire | Tycho Bickerstaff | 1 | -7/+6 | |
2013-12-10 | more cmake stuff | Tycho Bickerstaff | 1 | -0/+7 | |
2013-12-10 | Improved pickups spawning speed again | Tiger Wang | 1 | -3/+2 | |
2013-12-08 | Readded redstone lamp handler | Tiger Wang | 1 | -0/+2 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -1/+1 | |
Ref.: #407 | |||||
2013-12-08 | Fixed stationary water starting fires and flowing lava not. | madmaxoft | 1 | -2/+2 | |
2013-12-07 | Fixed water starting fires | Tiger Wang | 1 | -1/+0 | |
2013-12-07 | Fixed some new 1.7 client crash bugs | Tiger Wang | 3 | -0/+35 | |
Some technical blocks were removed; trying to render them as items caused a crash. | |||||
2013-12-07 | Added basic ender chests | Tiger Wang | 2 | -4/+46 | |
Note that they just mirror chests now, so no per player inventory. | |||||
2013-12-06 | Fixed duplication glitch with QueueSetBlock | Tiger Wang | 1 | -2/+2 | |
If a coordinate was queued, and then the block there was broken, it would reappear: double items! Also now just sets meta if previous and current blocktypes matched. | |||||
2013-12-06 | Added trapdoor cursor Y detection | Tiger Wang | 1 | -2/+0 | |
2013-12-06 | Fixed trapdoors not overriding OnUse | Tiger Wang | 1 | -1/+1 | |
2013-12-06 | Cleaned up torch code and added comments | Tiger Wang | 1 | -31/+7 | |
2013-12-06 | Removed another export and inline'd stuff | Tiger Wang | 1 | -5/+5 | |
2013-12-06 | Removed exporting of a torch function | Tiger Wang | 1 | -3/+3 | |
2013-12-04 | Lava can spawn fire. | madmaxoft | 2 | -6/+87 | |
Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65. | |||||
2013-11-30 | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 10 | -56/+73 | |
2013-11-30 | Grass doesn't spread to podzol or grassless dirt blocks. | madmaxoft | 1 | -2/+3 | |
2013-11-30 | Fixed thin snow CanBeAt checking | Tiger Wang | 1 | -1/+13 | |
Now takes into account the possibility that thin snow can be on top of full thin snow. | |||||
2013-11-30 | Properly fixed snow height, fixes #98 and #264 | Tiger Wang | 2 | -16/+39 | |
2013-11-29 | Stairs reset meta when dropped, fixes #269 | Tiger Wang | 1 | -2/+22 | |
Additionally, they now have walking sounds. | |||||
2013-11-29 | Implemented trapdoors, fixes #43 and #105 | Tiger Wang | 2 | -0/+110 | |
Also updated redstone simulator to support it | |||||
2013-11-29 | Removed unneeded CPP files | Tiger Wang | 11 | -221/+77 | |
Also removed unneeded #include in BlockStems | |||||
2013-11-24 | Moved source to src | Alexander Harkness | 69 | -0/+5903 | |