summaryrefslogtreecommitdiffstats
path: root/src/Blocks (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D10-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-02Replace buckets to the selected hotbar slot, rather than the first available. (#4580)Alexander Harkness1-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-28Updated Bookshelves drop behaviour (#4567)Xenoxis3-0/+29
* Updated BookShelves Drop Behaviour As described here : https://minecraft.gamepedia.com/Bookshelf#Loot * Update src/Blocks/BlockBookShelf.h * Update CONTRIBUTORS
2020-03-28Fix Snow Spawn on Cobblestone Slab (#4564)Xenoxis1-1/+1
2020-03-24Furnace and brewing stand drops (#4534)Mat2-6/+36
* Furnace drops contents * Brewing stand drops contents * Fix lit furnace drop * Fix brewing stand drop * Style * Style
2020-03-23Fix certain item drops (#4536)Mat6-12/+51
* Fix certain item drops * Revert unwanted changes * Revert unwanted changes * Revert change * Style fixes
2020-03-23Jukebox improvements (#4537)Mat2-1/+38
* Add jukebox block handler Co-authored-by: peterbell10 <peterbell10@live.co.uk>
2020-03-23Cocoa pods have three growing stagesMat1-2/+2
2020-03-22Don't push blocks outside world height limits (#4516)Mat1-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-22Don't remove items twice (#4524)Mat1-4/+2
* Don't remove items twice
2020-03-22Ender chest is not affected by piston (#4526)Mat1-1/+1
2020-03-17Silk touch pickaxe drops grass block (#4485)Mat3-101/+134
2019-10-28Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D20-193/+567
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D88-1286/+1944
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-1/+1
2019-08-11Fix building with clang 8.0 (#4346)Bond-0092-8/+10
2019-08-05Register vanilla blocks in BlockTypeRegistry.Mattes D2-1/+718
2019-06-11* Sponge: Add water absorbtion (#4333)Zach DeCook2-0/+159
Closes #1411
2019-05-11Create Ender Portal with Eyes of Ender (#4126)Zach DeCook3-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-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell1012-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-26Store and pass entity effect duration as an int not a short. (#4293)Alexander Harkness1-1/+1
Fixes #4292.
2018-08-23Fixes bed item 26 and 355 being spawned, only 355 spawns now (#4290)Rick van Schijndel1-0/+1
2018-08-02Experience orb (#4259)changyong guo3-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-27cWorld: Manually bind deprecated broadcast functions (#4265)peterbell102-2/+2
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell104-16/+5
Add check for number of empty lines between functions and fix the corresponding failures
2018-07-25At long last... Piston animations!Tiger Wang2-59/+105
* Fixes #3198 * Fixes #57 (again lol)
2018-07-24Broadcast refactor (#4264)peterbell103-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-30fix dispenser pickup display bug (#4247)changyong guo1-0/+7
fix dispenser pickup bug by ignore meta data during pickup creation
2018-02-05Deal with covered switches consistently (#4161)peterbell108-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-08Rewrite cClientHandle::HandleRightClick (#4089)9caihezi1-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-05Sugar cane can be near frosted ice (#4133)Bond-0091-1/+1
2018-01-05Item durability loss now depends on the item used. (#4123)Alexander Harkness1-4/+2
Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
2018-01-03Add the fmt library (#4065)peterbell101-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-03Concrete mixing (#4096)Zach DeCook3-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-27Lilypads can be on top of (frosted) ice (#4122)Bond-0091-2/+2
Fixes #4117
2017-12-26improve rain simulation (#4017)Alexander Harkness1-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-21cBlockRail: Fix assertion failure (#4075)peterbell101-3/+3
2017-11-20cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-00931-177/+168
2017-09-21Only allow snow to be placed where valid. Fixes #2920.peterbell101-12/+38
2017-09-21Only allow rails to be placed where valid.peterbell101-1/+8
Fixes #3507.
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly5-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-19Leaves now drop with the correct meta when broken by a pickaxe with silk touch (#4034)Bond-0091-0/+6
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch2-2/+2
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell103-118/+57
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot3-57/+118
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell103-118/+57
2017-08-31Drop enderchest when broken by a silk touck pick (#3986)Bond-0092-1/+6
2017-08-25Bed piston fix (#3956)Lane Kolbly6-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-24Minor changes (#3909)mathiascode3-3/+3
2017-08-21Fixed build for older clang versions (#3935)Bond-0091-1/+1
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán2-1/+66
2017-08-17Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly5-6/+6
2017-08-13Replaced includes with forward declarationsLukas Pioch2-4/+6
2017-08-06Removed unneeded includes (#3902)Lukas Pioch22-25/+3
2017-08-03Remove double includes part 2 (#3890)peterbell104-6/+0
2017-08-03Removed unused forward declarations (#3888)Lukas Pioch1-1/+0
2017-08-02Removed double includes (#3885)Lukas Pioch2-2/+0
2017-08-01cBlockHandler: take player by refpeterbell1045-142/+142
2017-08-01cWorld::SendBlockTo take player by refpeterbell108-10/+10
2017-07-28Check for intersection between placed blocks and entities. (#3850)Lane Kolbly6-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-18Break the cactus block when it grows next to a block. (#3851)Bond-0091-2/+6
2017-07-18Made cBlockHandler OnPlacedByPlayer call OnPlaced, made BlockRailHandler use NeighborChanged instead of OnNeighborChanged.Lane Kolbly2-16/+17
2017-07-17Allocate redstone component handlers upfrontpeterbell102-26/+26
2017-07-12Changing pickup lifetime and combining semantics, making these adjustable in the lua api. (#3843)Lane Kolbly1-0/+2
2017-07-07BigFlower fixes (#3826)peterbell109-20/+40
* BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision
2017-07-07Added bed entity (#3823)Lukas Pioch5-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-03cBlockInfo static initialisation (#3832)peterbell101-1/+1
2017-07-02You can't use beds when there are hostile mobs nearbyBond_0091-8/+32
2017-06-22Pressure plates can be placed on fences and hoppers (#3796)Bond-0091-2/+21
2017-06-21Fix shears (and vines)Bond-0091-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-19Generated tall flowers have flower type meta in both blockspeterbell101-1/+4
2017-06-14Double tall grass drops seeds when broken by water (#3763)dbhicks1-6/+15
2017-06-13FastRandom rewrite (#3754)peterbell1019-71/+59
2017-06-05Fixes problems with windows:Lukas Pioch3-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-21Clang 5.0 fixesLukas Pioch2-2/+2
- Added override keyword - Removed inherited member variables
2017-05-09BlockHandlers: vertical alignment.Mattes D1-159/+159
2017-05-09BlockCrops: Fixed RipeMeta off-by-one error properly.Mattes D2-6/+6
Ref.: #3691
2017-05-06Adjusted RipeMeta for off by one error (#3691)dbhicks1-2/+2
2017-04-06Replace double grass and large fern with placed blockLukas Pioch2-1/+28
2017-03-19Deadbushes drop sticksBond-0092-0/+47
2017-02-25BlockCrops: Fixed comments and reformatted control flow. (#3576)Mattes D1-46/+54
2017-02-15Updated sounds and effect IDs (#3422)mathiascode6-8/+8
2017-02-14Added some blocks and items (#3503)mathiascode7-11/+51
2017-02-05Fixed bindings for cBlockArea:Read and Write. (#3568)Mattes D3-4/+4
The original bindings accepted nil as the World param, causing a crash.
2017-01-28Changed big flowers so they don't need air above them.Altenius1-1/+11
2017-01-28Changed big flowers so they can only be placed on dirtAltenius1-1/+4
2016-12-09Fix meta mirror (#3470)Mattes D1-32/+56
2016-10-20StyleCheck: Add "else has to be on a separate line" (#3412)mohe20151-1/+2
2016-09-27Use cChunkDef::Height for Y coord comparison where applicable.Moritz Borcherding1-1/+1
2016-08-28Fix breaking ice in survival not giving a water's source (#3356)ElNounch1-2/+1
Fix #3355
2016-07-31Redstone fixes (#3285)Tiger Wang2-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-29Revert "Redstone fixes"Mattes D2-13/+3
2016-07-29Consolidated comparator codeTiger Wang1-0/+5
* As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did)
2016-07-29Comparators and pistons no longer update instantlyTiger Wang2-3/+8
* Fixes #3168.
2016-07-18CMake: Remove needless minimum version specifications.Mattes D1-2/+0
2016-07-07removed cast from BlockTrapdoor.h (#3256)gaurav sehgal2-3/+8
2016-07-06Fixed piston destroying other pistonsAltenius1-5/+9
Fixes #3251
2016-04-22Reduced unnecessary block updatesLogicParrot2-10/+9
2016-04-16Prevented snow from killing grassLogicParrot1-2/+4
2016-04-16Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usageLogicParrot4-15/+17
2016-02-06Fix Pickups of BlockFlowerDrahoslav Bednář1-2/+3
BlockMeta is handled correctly, when converting to pickups, so flowers now drops right flower type.
2016-02-05Bulk clearing of whitespaceLogicParrot56-171/+171
2016-02-04implement height logic for Acacia blocksKevin Riggle1-1/+12
2016-01-03Fixed typoMathias1-1/+1
2016-01-03More blocks that can't be mined with silktouchMathias1-1/+28
2016-01-01Renamed leftover strings to Cuberite / Server, as needed.Mattes D1-1/+1
Also upgraded the user setting file for MSVC to 2013.
2015-12-19Added HTTPS links wherever they are supported.Alexander Harkness1-6/+2
2015-12-18Reorganised the redstone simulatorTiger Wang8-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-17Moved variables into scope, removed unused variables and fixed variablesLukas Pioch1-8/+1
2015-12-13Strip meta from hopper on converting to pickupJulian Laubstein1-0/+6
2015-12-13blockheight mechanismGargaj5-1/+61
2015-12-13Set overgrown wart age to 3Safwat Halaby1-1/+5
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj20-28/+46
2015-12-12Nether wart only ages to 3Gargaj1-2/+2
See http://minecraft.gamepedia.com/Nether_Wart
2015-11-24Add enum for Sound and Particle EffectsDave Tucker3-3/+6
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-11-23Adjusted height validation using cChunkDef::IsValidHeight()Julian Laubstein1-1/+1
2015-11-07Refactored code to use vectors in the cPistonHandler classbibo382-50/+40
2015-11-07Added some code improvementsbibo382-22/+42
2015-11-07Renamed GetDirectionVec into VectorFromMetaData to improve code readability.bibo382-6/+6
2015-11-07Commented the GetDirectionVec methodbibo381-0/+3
2015-11-07Fixed the style problems and added some commentsbibo382-6/+18
2015-11-07Removed unused CanPull methodbibo381-11/+0
2015-11-07Extracted block moving code into a seperate methodbibo382-77/+52
2015-11-07Replaced the usage of pistonMeta with a direction vector to allow better meta value abstractionbibo382-73/+63
2015-11-07Fixed pulling/pushing of breakable blocks, which are not required to be movedbibo381-3/+20
2015-11-07Implemented the basic slime block pullingbibo381-17/+62
2015-11-07Implemented the SlimeBlock into the CanPush method to allow slimeblocks to work correctly when pushedbibo381-15/+26
2015-11-07Piston extension now works with the new recursive CanPushBlock method.bibo381-36/+41
2015-11-07Added the CanPushBlock method for the piston push check.bibo382-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-07Implemented the slime block dropping behaviour.bibo382-0/+34
Fixes #2530
2015-11-03Implemented brewingLukas Pioch1-4/+4
2015-09-25Prepared ScheduleTask for threading refactorTiger Wang1-20/+5
* Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations
2015-09-25Lilypads drop when not on source water.Mattes D1-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-17Added CircleCI for stylechecking.Mattes D2-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-14Fixed flint drop rates from 1/30 to 1/10 to match the wiki.David Erbelding1-1/+1
2015-08-19* Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it.Samuel Barney11-30/+256
* Blocks now have an effect upon plant growth, just like in vanilla.
2015-08-18Some warning fixesJulian Laubstein1-1/+1
2015-08-01Fixed Iron DoorNicholas W1-1/+6
2015-07-31Unified the doxy-comment format.Mattes D2-24/+23
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney20-31/+26
2015-07-16Spawn baby mobshallucino2-2/+2
2015-07-14Improved mapsTiger Wang73-265/+683
2015-07-14Fix duping doors (#1327)mmdk951-0/+4
2015-07-14Torches can now be placed on top of upside down stairs.Samuel Barney1-0/+16
2015-07-13Sapling Growth UpdateSamuel Barney1-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-03Moved grabbing the light value to after the transparency check.Samuel Barney1-3/+4
2015-07-03Added missing parensSamuel Barney1-1/+1
2015-07-03Grass now only dies if it has an opaque block above it.Samuel Barney1-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-01Added neighbor specification in the OnNeighborChanged() block callback.Mattes D5-44/+63
Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213.
2015-06-28Added a size check for portals.STRWarrior2-0/+26
Made the portal size configurable Alpha-sorted SetXYZNetherPortalXYZ functions
2015-06-24Buttons no longer click on when already on. Buttons now play sound when clicking off.Hax522-6/+26
2015-06-22Rebased version of CodeSamuel Barney7-54/+16
2015-06-19Externalized cPrefabPiecePool self-test.Mattes D1-0/+1
2015-06-14implemented DoesIgnoreBuildCollision on BlockFire to allow blocks to be placed on topMartin McArthur1-0/+5
2015-06-13Fixed typo in BlockDoor.hLane Kolbly1-1/+1
2015-06-06ComparatorsTiger Wang1-0/+79
2015-06-02Fixed warnings in MSVC.Mattes D8-0/+42
It complained about undefined return values or using uninitialized variables.
2015-05-24Made -Weverything an error.tycho4-6/+10
2015-05-23Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch1-1/+1
2015-05-21Added open/close and sound effects for all door typesb33duck1-3/+17
2015-05-20Added missing fencetypes to torchhandlerJulian Laubstein1-0/+5
2015-05-19Make -Werror disabling file onlytycho1-0/+1
Ad fix a load of warnings
2015-05-19Fixed compile and a few more warningstycho7-13/+26
2015-05-19Fixed a lot of warningstycho7-14/+23
2015-05-18Improved leaves a bit more.Alexander Harkness1-8/+20
Should fix #2058.
2015-05-17Fix sapling probability.Alexander Harkness1-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-16Fixed bad logic.Alexander Harkness1-1/+1
2015-05-16Should Fix sign flipping.Alexander Harkness1-2/+2
Fixes #1118
2015-05-16Bed uses bottom two bits for direction not threeworktycho1-2/+2
2015-05-09More style checking.Mattes D7-18/+18
Spaces around some operators are checked.
2015-04-29Clay blocks are handled with the OreHandlerjammet1-0/+1
2015-04-23Digging up a clay block spawns 4 clay items.jammet1-0/+5
Fixes #1884. Closes #1891.
2015-04-23Nether Quartz is handled in the Ore handler.jammet1-0/+5
Fixes #1885, Closes #1888
2015-04-21Fix door placing in connection with slabswraith111-5/+20
Except top-half slabs as transparent blocks for doors.
2015-04-16Fixed PolishedGranite et al crafting recipes.Mattes D1-1/+1
Fixes #1774. Ref.: #1859
2015-04-14Placing a fluid from bucket calls plugin hooks.Mattes D1-0/+17
Ref.: #1857.
2015-03-25Removed 0x6, 0x7 from BlockButton.Alexandre Guertin1-5/+3
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D1-5/+7
2015-03-20Added cPluginLua::cResettable interface, used for scheduled tasks.Mattes D1-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-20Removed Metavalue from Piston drops. Bugfix #1765bibo382-0/+12
2015-03-20Correct world height validations.Tommy Santerre5-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-14Fixed grass spread, closes #1743Tiger Wang1-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-09Buttons can be placed on the top and on the bottom face of a blockAlexandre Guertin1-1/+7
2015-03-05Reverted non-functional changesTiger Wang2-10/+8
2015-03-05Grass checks for sufficient light before spreadingAlexander Harkness1-1/+13
2015-02-28Added experience drops when mining oresSTRWarrior1-0/+59
2015-02-08Handle client 'leave bed' requestTiger Wang3-25/+32
* Fixes #1728
2015-01-23Fixed defect #43661 in Coverity list.Kirill Kirilenko1-1/+2
2014-12-25Fixed door placement.Mattes D1-1/+2
2014-12-24Refactored all player block placing to go through hooks.Mattes D12-421/+69
Fixes #1618.
2014-12-17NULL -> nullptrTiger Wang1-1/+1
2014-12-14"& 0x0f" isn't neededHowaner1-2/+2
2014-12-13FixesHowaner1-2/+2
2014-12-13Own classes for all windows.Howaner3-2/+3
2014-12-05BasicStyle: Added missing braces to control statements.Mattes D3-19/+84
2014-12-01Added cocoa pod.Howaner3-0/+99
2014-10-25Cleaned up simulatorsTiger Wang1-0/+1
2014-10-25Fixed some block checksTiger Wang2-4/+3
* Fixes #1330
2014-10-23Signs can be placed on wallsigns.Alexander Harkness1-1/+1
Fixes #1438
2014-10-23En masse NULL -> nullptr replaceTiger Wang7-11/+11
2014-10-21Moved tall grass pickups handle.Howaner1-0/+37
2014-10-20En masse NULL -> nullptr replaceTiger Wang7-11/+11
2014-10-19Added mechanics placeable on halfslabsJulian Laubstein4-10/+79
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D4-5/+22
2014-10-11Fixed compilation.Alexander Harkness1-1/+1
2014-10-07Corrected drops from dead bush, tall grass and cobweb.Howaner2-23/+24
2014-10-07Corrected IsBlockAttachable() in BlockVine.hHowaner1-5/+15
2014-10-07Removed BlockHaybale.h from CMakeLists.txtHowaner1-1/+0
2014-10-07Removed unused cBlockHayBaleHandler.Howaner2-24/+1
2014-10-03Comment suggestionsTiger Wang1-2/+3
2014-10-01Added Daylight Sensors to the "can't push" listMasy981-0/+2
2014-10-01Added missing 1.8 blocks, E_METAs and soundsMasy981-0/+2
2014-09-30Improved torch handlerTiger Wang1-70/+51
2014-09-30Code improvementsHowaner3-3/+7
2014-09-30Fixed 1.8 dirt typesHowaner1-1/+9
2014-09-30Fixed iron trapdoorsHowaner1-0/+5
2014-09-30Fixed 1.8 doors.Howaner1-1/+14
2014-09-30IndentationJulian Laubstein1-3/+3
2014-09-30Set right indentationJulian Laubstein1-3/+3
2014-09-30actual solving of the halfslap+torch problemJulian Laubstein1-1/+3
2014-09-29Style fixes.madmaxoft1-6/+8
2014-09-29Fixed codestyle again.Alexander Harkness1-1/+1
2014-09-29BlockStone.h: fix the codestylew00tc0d31-6/+5
2014-09-29BlockStone: drop the right cobblestone on onBreak().netchip1-3/+9
Signed-off-by: netchip <w00tc0d3@outlook.com>
2014-09-29Update BlockTorch.hJulian Laubstein1-3/+3
2014-09-29Added torches placeable on upside-down-halfslapsJulian Laubstein1-1/+3
2014-09-27Fixed minor style issues.madmaxoft1-1/+1
2014-09-27Added default value to switch and spruce gate to fence gate handlerMasy982-0/+6
2014-09-27Fixed convertToPickups for fence gatesMasy981-1/+1
2014-09-27Fixed convertToPickups for doorsMasy981-1/+38
2014-09-26Removed more unessicary includesTycho14-16/+31
2014-09-25Fixed styleTycho2-0/+103
2014-09-19Implemented mob spawner.Howaner1-0/+12
2014-09-17Fixed minor style issues.madmaxoft1-1/+1
2014-09-17Added first test to show the object can be createdTycho7-60/+90
2014-09-13Improved cBlockHandler::DropBlockTiger Wang3-44/+32
2014-09-12Only drop flint or gravel, not both.Howaner1-2/+4
2014-09-12Fixed farmland issues.Howaner7-57/+68
2014-09-12Added Sea Lantern dropsMasy982-0/+32
2014-09-12Spawn exp if you break a mob spawner.Howaner3-0/+45
2014-09-12Fixed iron ore drop.Howaner1-1/+2
2014-09-12Added flint drop and fence gate meta reset.Howaner2-0/+17
2014-09-11Possibly decoupled IncrementalRedstoneSimulator from the rest of the serverTycho1-0/+54
THis wil hopefully allow for unit testing
2014-09-11Added barrier blockMasy981-0/+1
2014-09-11Fixed incorrect handlersMasy981-3/+3
2014-09-10Added stone slab in BlockSlab.hMasy981-1/+3
2014-09-10Added new blocks to the BlockInfoMasy981-0/+1
2014-09-10Added new blocks to the BlockHandlerMasy981-0/+12
2014-09-09Removed old sound-configuration for SignPostsMasy981-6/+0
2014-09-09Removed old sound-configuration for RepeatersMasy981-6/+0
2014-09-09Removed old sound-configuration for TrapdoorsMasy981-5/+0
2014-09-09Removed old sound-configuration for doorsMasy982-10/+0
2014-09-09Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy9842-271/+0
2014-09-08TimeOfDay does not need to be an Int64Tycho1-2/+2
2014-08-31Check range of y in HasNearLogworktycho1-1/+1
Fixes #803
2014-08-30Added a_Digger checkJaume Aloy1-28/+31
2014-08-29Fixed conversion warning.Mattes D1-1/+1
2014-08-28Fixed anvil placing.Hownaer1-5/+6
2014-08-28Fixed spaces after "template" keyword.Mattes D2-6/+6
2014-08-22More EnchantmentsJaume Aloy1-1/+0
- Added Thorns and Respiration enchantments
2014-08-21Protection Enchantments, some fixesJaume Aloy1-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-20Removed old classes from the CMakeLists.txtHowaner1-2/+0
2014-08-19Code formatting fixes.Howaner25-150/+80
2014-08-19Changed if in BlockHandlerJaume Aloy1-5/+2
2014-08-19FixesJaume Aloy1-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-19Changed if for switchJaume Aloy2-12/+23
2014-08-19Added more enchantments and some fixesJaume Aloy2-16/+40
- Removed Debug messages - Added Punch enchantment effect - Added Silk Touch enchantment - Added Unbreaking enchantment effect
2014-08-11Moved the clicked-through block check to the top of the function.Howaner1-5/+0
2014-08-10Changed comment.Howaner1-3/+1
2014-08-08Added comment.Howaner1-0/+3
2014-08-08Send the old slab to the client when the interact cancelled.Howaner1-0/+11
2014-08-04Fixed signs not staying on other signsTiger Wang2-2/+4
2014-07-31Changed IsSolid to FullyOccupiesVoxelHowaner1-1/+1
2014-07-31Fixed water from ice and removed packed ice drop.Howaner1-2/+12
2014-07-30Added beacon.Howaner2-0/+2
2014-07-24Fixed block dropsTiger Wang3-12/+16
* Fixes #1242 (the issue addressed within)
2014-07-24Removed redundant semicolons and re-added warningarchshift1-4/+4
2014-07-23Fix item durability.Howaner3-17/+9
Fixes #1181
2014-07-23BlockLeaves: Fixed comment style.madmaxoft1-2/+2
2014-07-22Fix misguided comment on bits...Tiger Wang1-1/+1
...obviously written by someone very confused, also known as me
2014-07-22Suggestion and failed merge fixTiger Wang1-1/+1
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft6-10/+10
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-3/+4
2014-07-20Proper comment for DropBlock()Tiger Wang1-2/+5
2014-07-19Fixed style: spaces after commas.madmaxoft6-7/+7
2014-07-19Blocks/CMakeLists.txt: Fixed header list after merge of masterarchshift1-1/+2
2014-07-19Subdirs: Only add_library if not using MSVCarchshift1-1/+3
2014-07-19Blocks/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+92
2014-07-18Normalized code style for both sign handlers.madmaxoft2-16/+20
2014-07-18Removed cBlockSignPostHandler descend.Howaner1-2/+28
2014-07-18Added a extra wall sign handler.Howaner3-24/+81
Fixes #1119
2014-07-17Fixed issues relating to saplings and leavesTiger Wang5-47/+29
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
2014-07-17Fixed tabs used for alignment.madmaxoft1-2/+2
2014-07-17More trailing whitespace fixes.madmaxoft1-3/+3
2014-07-17Basic style fixes.madmaxoft39-73/+73
2014-07-17Normalized comments.madmaxoft20-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-17Fix sapling drop.Howaner1-1/+1
2014-07-15Fixed code formatting.madmaxoft2-6/+9
2014-07-15Added various missing blocks in the lists in BlockInfo.cppMasy981-1/+0
2014-07-15Added super typedefTycho3-3/+6
2014-07-15COnverted Lilypad back to mixinTycho1-8/+2
2014-07-15Revert "Converted some blockhandlers to use cClearMetaOnDrop"Tycho9-21/+67
This reverts commit 333f4f982cbd24ffcb376594eddef439b3f05e9e.
2014-07-14Fixed some meta resetting bugsTiger Wang6-27/+28
* Fixes #1174 * Fixes #1171
2014-07-14Added documentationTycho1-0/+6
2014-07-14Converted some blockhandlers to use cClearMetaOnDropTycho9-67/+21
2014-07-14Simplified ClearMetaOnDropTycho1-1/+1
2014-07-14Added cClearOnDrop Mixin to cPumpkinTycho1-2/+2
2014-07-14Added first implementation of cClearMetaOnDropTycho2-2/+21
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner4-5/+5
2014-07-12Suggestions and bug fixTiger Wang1-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-11SuggestionsTiger Wang2-2/+3
2014-07-11SuggestionsTiger Wang1-5/+6
2014-07-07Implemented trapped chests & othersTiger Wang4-38/+27
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-07-02Redstone simulator is alerted to lever unpoweringTiger Wang3-0/+5
* Fixed the "fix" that broke the fix for #535, thereby fixing said issue * Fixed #535
2014-06-28Implemented tripwire(s) (hooks)Tiger Wang4-2/+118
* Fixes #944
2014-06-28Added more block exceptions to torchesTiger Wang1-0/+4
2014-06-28Minor change to buttons and leversTiger Wang2-3/+3
+ They now detect if the block they are on occupies its voxel, instead of just being solid
2014-06-23Added a (disabled) block meta mirror / rotate test code.madmaxoft1-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-23Fixed the slab vertical mirroring.madmaxoft1-9/+6
2014-06-23Fixed sign and lever rotations.madmaxoft2-8/+9
2014-06-17Add fence gate sound.Howaner1-0/+1
2014-06-17Add UNUSED() TagsHowaner1-0/+6
2014-06-17Add door soundHowaner1-0/+1
2014-06-17Check block type from cBlockEntityHowaner1-8/+8
2014-06-17Add parenthesisHowaner1-2/+2
2014-06-17Add DoWithBlockEntityAt() to WorldInterface.hHowaner2-37/+61
2014-06-17Add end lines to BlockPressurePlate.hHowaner1-1/+5
2014-06-17Add pressure plate handlerHowaner2-0/+39
2014-06-16Fix doubleslab meta.Howaner1-0/+1
2014-06-16Glass shouldn't drop.Howaner1-0/+3
2014-06-16Fix a few warningsTycho1-3/+3
2014-06-14Cauldrons check the heightmapTiger Wang2-5/+9
2014-06-09Added Y coord checks and documentation to cBlockDoorHandler.madmaxoft1-19/+40
2014-06-08Fixed E_META_...Typos in BlockID.hnarroo1-2/+2
2014-06-05SuggestionsTiger Wang1-1/+3
2014-06-04Added checks for no downfall biomesTiger Wang1-1/+1
2014-06-01Suggestions twoTiger Wang1-3/+3
2014-06-01Implemented bed homesTiger Wang1-0/+2
+ Implemented bed home positions * Fixed some inventory and health server/client mismatches after world change
2014-05-31Moved the IsDoor check before the meta get.Howaner1-2/+1
2014-05-31Add doxy-commentHowaner1-3/+4
2014-05-30Better SetOpen() and IsOpen() function from the doors.Howaner2-77/+27
2014-05-29Add SetOpen() and IsOpen() to BlockDoor.h and fix door redstone bug.Howaner1-9/+80
2014-05-29Very minor code changesTiger Wang2-2/+2
2014-05-29Cauldrons fillTiger Wang2-0/+17
2014-05-29SuggestionsTiger Wang1-1/+6
2014-05-29Changed block send queue to use vectorsTiger Wang1-6/+17
As suggested by @worktycho.
2014-05-28Code improvementsHowaner1-6/+2
2014-05-28Fix hay place sound.Howaner2-1/+31
2014-05-28Fix fire break.Howaner1-2/+2
2014-05-28Fix skull bugs.Howaner1-2/+41
2014-05-25Hopefully fixed piston duplication issuesTiger Wang5-11/+294
* Fixes #879 * Fixes #714
2014-05-21Fixed cWither::KilledByandrew1-0/+1
2014-05-20Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew1-0/+27
2014-05-10Fixed compile problem.STRWarrior1-1/+1
2014-05-10A portal block now chooses a number between 2000 and 0STRWarrior1-1/+1
2014-05-10Each time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman.STRWarrior1-0/+14
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D3-6/+6
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D3-6/+6
2014-05-07Superfluous method override.Howaner1-6/+0
2014-05-07Add lava and water check to block handlers.Howaner2-2/+14
2014-05-07Rename CanChangeDirtToGrass to CanDirtGrowGrassHowaner6-9/+9
2014-05-05Add clicks, exp subtraction, item check, ...Howaner1-1/+1
2014-05-05Add anvil window and slot area.Howaner1-0/+7
2014-05-04Fixed portal Z direction loop coding failureTiger Wang1-10/+9
* Fixed portals created in the ZP/ZM direction eating its frame * Changed return type of a function
2014-04-25Missed these CMakeLists.archshift1-0/+1
2014-04-23The new leaves don't decay anymore.STRWarrior1-0/+1
Fixes #792
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2-1/+2
2014-04-07Fixed Errorsdaniel09161-1/+1
2014-04-06Remove old importHowaner2-3/+2
2014-04-06Add CanChangeDirtToGrass function to Block Handlers.Howaner6-3/+33
2014-04-04Fixed Clang warnings in itemhandlers.madmaxoft1-2/+2
2014-04-03Change CanBeAt() from big flowerHowaner1-5/+1
2014-04-03Remove old functionHowaner1-6/+0
2014-04-03Grass now grows under up-side-down slabsHowaner1-3/+12
2014-04-02With eXtra line!Tiger Wang1-0/+1
2014-04-02Removed extra bracketsTiger Wang1-5/+2
2014-04-01Fixed clang warnings in BlockHandlers.madmaxoft4-5/+6
2014-04-01Simplified the anvil placement code.madmaxoft1-11/+9
2014-03-31Realised suggestionsTiger Wang1-1/+4
2014-03-31Simplified and fixed slabs, fixes #835Tiger Wang1-33/+10
2014-03-31Fixed a few Y too high/low assertsTiger Wang1-2/+3
2014-03-30Fixed a few Clang warnings in BlockHandlers.madmaxoft11-48/+54
2014-03-30Fixed a few clang warnings.madmaxoft1-0/+6
2014-03-30Fixed chest rotator.madmaxoft1-2/+2
2014-03-29Added in MetaMirrorXY and MetaMirrorYZ to cBlockSignHandler.narroo1-0/+19
2014-03-29Add "a_RelY < cChunkDef::Height" to BlockBigFlowerHowaner1-0/+1
2014-03-28Some fixes to lilypadsTiger Wang1-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-28Add tallgrass drop to big flowers.Howaner2-8/+59
Add tallgrass drop, when a players break a tallgrass with the shear.
2014-03-28door -> flowerHowaner1-1/+1
2014-03-28Add tall flower handler.Howaner2-0/+99
2014-03-28Fixed non-virtual destructors warnings.madmaxoft2-2/+4
2014-03-27Change SpreadSource prefix to ssHowaner2-2/+2
2014-03-27Wrong if in BlockLeavesHowaner1-1/+1
2014-03-27Add SpreadSourceHowaner4-2/+13
2014-03-27Add new leaves to all classes.Howaner1-1/+1
2014-03-26Altered the rotates for cBlockSignHandler. The functions as a whole is still unfinished though; no wall sign or mirroring support yet.narroo1-2/+2
2014-03-26Fixed Minor typos.narroo3-9/+12
2014-03-25Added 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....)narroo1-2/+8
2014-03-25Fixed spelling; Rotater to Rotator.narroo15-46/+46
2014-03-25Changed Rotater to Rotator. Added partial sign post rotation support.narroo2-0/+12
2014-03-25Fixed clang compilationandrew1-13/+16
2014-03-25Fixed wither summoningandrew1-1/+24
2014-03-25Protocol: Wither metadataandrew1-3/+79
2014-03-24Add log pickups.Howaner1-1/+7
2014-03-24Wither invulnerabilityandrew1-0/+14
2014-03-24Added MetaRotate/Mirror Support for a number of classes.narroo12-84/+295
2014-03-23Implemented lilypad placementTiger Wang2-0/+86
2014-03-16Wrong if in BlockLeavesHowaner1-1/+1
2014-03-16Add new leaves to all classes.Howaner3-2/+4
2014-03-16Change if-clause in BlockCake.hHowaner1-1/+1
2014-03-16Add cakeHowaner2-0/+57
2014-03-16Fix anvil pickups.Howaner1-1/+1
2014-03-16Add anvil direction.Howaner2-0/+65
2014-03-09Silenced useless MSVC warnings in cMetaRotater.madmaxoft1-0/+21
2014-03-09Fixed VERIFYTiger Wang1-1/+1
2014-03-09Beds now work properly fixes #707Tiger Wang3-10/+76
Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho1-0/+2
2014-03-08Moved returnsworktycho1-3/+3
2014-03-08cBlockInfo-related changes from #723andrew1-0/+1
2014-03-07Fixed warningsTycho2-3/+21
2014-03-07Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner1-2/+3
2014-03-07Add Flower PotsHowaner1-80/+3
2014-03-06Fix commentHowaner1-1/+1
2014-03-05Add SendBlockTo to cWorldInterfaceHowaner8-9/+17
2014-03-05Set tnt step sound to step.grassHowaner1-1/+1
2014-03-05Add data backsending, when the Client interacts a Block and the Interact is cancelled.Howaner9-2/+92
2014-03-02ReformattedTycho10-20/+20
2014-03-02Reformated MetaRotaterTycho1-19/+30
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew3-63/+6
2014-03-02Add Trapdoor Functions to cWorld and fix Trapdoor Redstone BugsHowaner1-1/+3
2014-03-02Reverted BlockVineworktycho1-3/+27
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew11-15/+15
2014-03-01Fixed errorsTycho2-2/+2
2014-03-01Revesed typedefTycho1-1/+1
2014-03-01Implemented RotationsTycho11-170/+28
2014-03-01Final implementation of MetaRotaterTycho1-45/+51
2014-03-01Forgotten changes to cChunkInterface.madmaxoft1-2/+2
2014-03-01Removed cBlockHandler forward declaration from cChunkInterface.madmaxoft1-9/+22
Wasn't needed. Also reformatted the code.
2014-02-28Use switch in GetStepSoundHowaner1-7/+5
2014-02-28Fix Double Slabs, fix Slab Meta and add more things to burnableHowaner1-12/+23
2014-02-27Added some Metadate rotaters using templated MixinTycho10-16/+168
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-1/+1
2014-02-23BlockBed.cpp: Fixed Multiple people in one bed.TheJumper1-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-23Rename SkullEntity to MobHeadEntityHowaner2-10/+10
2014-02-23Add Heads completelyHowaner2-0/+71
2014-02-20Fix CauldronHowaner1-8/+11
2014-02-20Add 'Meta < 3' to CauldronHowaner1-5/+8
2014-02-20BlockBed.cpp: Fixed space at if statementTheJumper1-1/+1
Added a space after an if statement and before the first bracket to keep up code conventions.
2014-02-20BlockBed.cpp: Fixed Multiple people in one bed.TheJumper1-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-19Add BlockNewLeaves.h and rename Darkoac to DarkoakHowaner1-0/+42
2014-02-19Add new Trees (without Generator)Howaner2-0/+6
2014-02-19Rename SkullEntity to MobHeadEntityHowaner2-10/+10
2014-02-18Add Heads completelyHowaner2-0/+71
2014-02-09Fixed compile and some warnings in MSVSTiger Wang3-3/+3
2014-02-06Server internally uses new functionsTiger Wang1-1/+1
2014-02-05Fixed a bunch of MSVS warningsTiger Wang3-4/+4
* Possibly also fixed some bugs with pathfinding and TNT, though unlikely
2014-02-04Fix gcc not having operator ++ on enumsTycho1-6/+7
2014-02-04Improved Type safety of eBlockFaceTycho35-85/+86
May Fix #640
2014-02-04Fixed chest placement.madmaxoft1-2/+4
Fixes #624.
2014-02-03Named the different quartz block.STRWarrior1-1/+1
2014-02-03Fixed issues with farmlandTiger Wang2-1/+3
* Fixed farmland reversion checks not taking into account carrots and potatoes * Fixed #623
2014-02-03Fixed some issues.STRWarrior1-1/+2
Meta wasn't set if the block wasn't a pillar. Fixed typo.
2014-02-03Renamed cBlockQuartsHandler to cBlockQuartzHandler. Fixed not being able to place normal quartz blocks.STRWarrior2-4/+4
2014-02-03This renames the cBlockWoodHandler to cBlockSidewaysHandler, and implements a new cBlockQuartzHandler to handle the quartz pillars.STRWarrior3-5/+74
2014-02-02Fixed #624Tiger Wang1-0/+6
2014-02-02Fixed dark oak and acacia placement.madmaxoft1-0/+1
Fixes #621.
2014-02-02Added missing filesTycho2-0/+20
2014-02-02Changed Signiture of OnUpdateTycho13-26/+27
2014-02-02Fixed #620Tiger Wang1-1/+2
2014-02-01Changed Signiture of OnDiggingTycho3-4/+4
2014-02-01Changed Signiture of OnDestroyedByPlayerTycho11-13/+23
2014-02-01Changed pointers to referencesTycho51-230/+230
2014-02-01Changed signitures of Several BLockHandler MethodsTycho49-185/+194
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
2014-01-26Removed cWorld IncludeTycho3-3/+0
2014-01-26Refactored GetPlacementBlockTypeMetaTycho5-8/+6
2014-01-26Refactored cBlockHandler::OnUse and dependentsTycho15-142/+208
2014-01-25First attempt at Implementing InterfacesTycho17-33/+74
2014-01-20first changes for enchanting (not finished)daniel09162-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-19Fixed weird meta with curved railsTiger Wang1-5/+15
2014-01-19Added more rail functionalityTiger Wang1-4/+4
2014-01-19Improved command blocksTiger Wang2-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-17Removed internal cEntity::GetRot() usage.madmaxoft11-16/+16
2014-01-16Fixed #535Tiger Wang1-1/+1
2014-01-16Fixed #535Tiger Wang1-1/+1
2014-01-16Removed obsoleted functionsTiger Wang11-13/+13
2014-01-11Fixed glowstone drop countandrew1-2/+2
2014-01-11Renamed g_TorchPlaceable...Tiger Wang2-4/+4
...to g_FullyOccupiesVoxel, as recommended by @bearbin
2013-12-25(Hopefully) fixed if conditionstonibm191-4/+1
2013-12-25Implemented xoft suggestion (partly)tonibm191-25/+29
I only get it working in first condition. It seems it's not compatible with else if...
2013-12-25Fixed rails not updating with diagonalsTiger Wang1-0/+34
2013-12-24BLOCKTYPE...tonibm191-2/+2
2013-12-24Fixed compilationtonibm191-29/+9
2013-12-24Implemented xoft suggestiontonibm191-7/+11
2013-12-24Using BLOCKTYPE instead of inttonibm191-2/+2
2013-12-24Fixed commentstonibm191-8/+8
2013-12-24Changed a little how detection works and added comments.tonibm191-28/+31
2013-12-24Storing Y -1 and -2 blocks in a variabletonibm191-5/+7
2013-12-24Using parenthesistonibm191-8/+8
2013-12-24Fixed a possible crashtonibm191-39/+42
2013-12-23Improved iron golem detection algorithmtonibm191-3/+16
- You need to make it like in vanilla - Only used blocks are removed
2013-12-23You can now spawn iron golems.tonibm191-3/+20
You can spawn them like in vanilla.
2013-12-22You can spawn snow golems with snow blocks and pumpkins.STRWarrior1-0/+15
2013-12-22Fixed cacus breaking when next to any non-air block.STRWarrior1-1/+1
2013-12-22merged in warnings changesTycho Bickerstaff1-1/+5
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff1-1/+5
2013-12-21Piston is now warnings cleanTycho Bickerstaff1-1/+1
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft4-5/+5
2013-12-20Fixed melon and pumpkin growing.madmaxoft1-1/+1
2013-12-20Fixed missing parenthesis.madmaxoft1-4/+4
2013-12-20Fixed assertion during dirt block OnUpdate()Tiger Wang1-1/+1
2013-12-19Fixed dust from being placed on nonsolidsTiger Wang1-1/+1
2013-12-19added blocks and blockentitiesTycho Bickerstaff1-1/+5
2013-12-18Implented Nether Wart.STRWarrior2-0/+54
2013-12-10Provides a possible fix for repeater timingsTiger Wang1-1/+1
Not completely reliable, but at least some types of clock work.
2013-12-10fixed unused expression warnings in blockFireTycho Bickerstaff1-7/+6
2013-12-10more cmake stuffTycho Bickerstaff1-0/+7
2013-12-10Improved pickups spawning speed againTiger Wang1-3/+2
2013-12-08Readded redstone lamp handlerTiger Wang1-0/+2
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-1/+1
Ref.: #407
2013-12-08Fixed stationary water starting fires and flowing lava not.madmaxoft1-2/+2
2013-12-07Fixed water starting firesTiger Wang1-1/+0
2013-12-07Fixed some new 1.7 client crash bugsTiger Wang3-0/+35
Some technical blocks were removed; trying to render them as items caused a crash.
2013-12-07Added basic ender chestsTiger Wang2-4/+46
Note that they just mirror chests now, so no per player inventory.
2013-12-06Fixed duplication glitch with QueueSetBlockTiger Wang1-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-06Added trapdoor cursor Y detectionTiger Wang1-2/+0
2013-12-06Fixed trapdoors not overriding OnUseTiger Wang1-1/+1
2013-12-06Cleaned up torch code and added commentsTiger Wang1-31/+7
2013-12-06Removed another export and inline'd stuffTiger Wang1-5/+5
2013-12-06Removed exporting of a torch functionTiger Wang1-3/+3
2013-12-04Lava can spawn fire.madmaxoft2-6/+87
Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65.
2013-11-30Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft10-56/+73
2013-11-30Grass doesn't spread to podzol or grassless dirt blocks.madmaxoft1-2/+3
2013-11-30Fixed thin snow CanBeAt checkingTiger Wang1-1/+13
Now takes into account the possibility that thin snow can be on top of full thin snow.
2013-11-30Properly fixed snow height, fixes #98 and #264Tiger Wang2-16/+39
2013-11-29Stairs reset meta when dropped, fixes #269Tiger Wang1-2/+22
Additionally, they now have walking sounds.
2013-11-29Implemented trapdoors, fixes #43 and #105Tiger Wang2-0/+110
Also updated redstone simulator to support it
2013-11-29Removed unneeded CPP filesTiger Wang11-221/+77
Also removed unneeded #include in BlockStems
2013-11-24Moved source to srcAlexander Harkness69-0/+5903