summaryrefslogtreecommitdiffstats
path: root/src/Blocks (unfollow)
Commit message (Collapse)AuthorFilesLines
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