summaryrefslogtreecommitdiffstats
path: root/src/Blocks (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-06-01Suggestions twoTiger Wang1-3/+3
2014-05-29SuggestionsTiger Wang1-1/+6
2014-05-29Changed block send queue to use vectorsTiger Wang1-6/+17
As suggested by @worktycho.
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