summaryrefslogtreecommitdiffstats
path: root/src/Blocks (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-01Fixed clang warnings in BlockHandlers.madmaxoft4-5/+6
2014-04-01Simplified the anvil placement code.madmaxoft1-11/+9
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-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-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-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-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