summaryrefslogtreecommitdiffstats
path: root/src/Blocks (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-17NULL -> nullptrTiger Wang1-1/+1
2014-12-14"& 0x0f" isn't neededHowaner1-2/+2
2014-12-13FixesHowaner1-2/+2
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