summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-1/+1
| | | | Fixes #1618.
* Added cocoa pod.Howaner2014-12-011-0/+2
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-4/+4
|
* Functions in cPluginManager get references instead of pointers.Mattes D2014-10-151-1/+1
|
* Removed unused cBlockHayBaleHandler.Howaner2014-10-071-2/+1
|
* Added default value to switch and spruce gate to fence gate handlerMasy982014-09-271-0/+1
|
* Merge pull request #1415 from Masy98/blocksMattes D2014-09-261-0/+15
|\ | | | | Added 1.8 Blocks and Items
| * Merge branch 'master' into blocksMasy982014-09-261-39/+29
| |\ | | | | | | | | | | | | | | | Conflicts: src/Items/ItemHandler.cpp src/Simulator/IncrementalRedstoneSimulator.cpp
| * | Added Sea Lantern dropsMasy982014-09-121-0/+2
| | |
| * | Fixed incorrect handlersMasy982014-09-111-3/+3
| | |
| * | Added new blocks to the BlockInfoMasy982014-09-101-0/+1
| | |
| * | Added new blocks to the BlockHandlerMasy982014-09-101-0/+12
| | |
* | | Removed more unessicary includesTycho2014-09-261-2/+2
| |/ |/|
* | Fixed minor style issues.madmaxoft2014-09-171-1/+1
| |
* | Improved cBlockHandler::DropBlockTiger Wang2014-09-131-40/+28
| |
* | Spawn exp if you break a mob spawner.Howaner2014-09-121-0/+2
|/
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-9/+0
|
* Merge remote-tracking branch 'Hircine/Enchantments'madmaxoft2014-09-011-2/+37
|\
| * Added a_Digger checkJaume Aloy2014-08-301-28/+31
| |
| * More EnchantmentsJaume Aloy2014-08-221-1/+0
| | | | | | | | - Added Thorns and Respiration enchantments
| * Protection Enchantments, some fixesJaume Aloy2014-08-211-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.
| * Changed if in BlockHandlerJaume Aloy2014-08-191-5/+2
| |
| * FixesJaume Aloy2014-08-191-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
| * Changed if for switchJaume Aloy2014-08-191-11/+22
| |
| * Added more enchantments and some fixesJaume Aloy2014-08-191-4/+28
| | | | | | | | | | | | | | - Removed Debug messages - Added Punch enchantment effect - Added Silk Touch enchantment - Added Unbreaking enchantment effect
* | Code formatting fixes.Howaner2014-08-191-4/+2
|/
* Added beacon.Howaner2014-07-301-0/+1
|
* Fixed block dropsTiger Wang2014-07-241-8/+11
| | | | * Fixes #1242 (the issue addressed within)
* Merge remote-tracking branch 'origin/master' into saplingsandleavesTiger Wang2014-07-221-2/+2
|\ | | | | | | | | Conflicts: src/Defines.h
| * Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-2/+2
| |
* | Merge branch 'master' into saplingsandleavesTiger Wang2014-07-201-5/+6
|\| | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h
| * Added a extra wall sign handler.Howaner2014-07-181-3/+4
| | | | | | Fixes #1119
| * Basic style fixes.madmaxoft2014-07-171-2/+2
| |
* | Fixed issues relating to saplings and leavesTiger Wang2014-07-171-35/+11
|/ | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
* Fixed some meta resetting bugsTiger Wang2014-07-141-1/+1
| | | | | * Fixes #1174 * Fixes #1171
* Suggestions and bug fixTiger Wang2014-07-121-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
* SuggestionsTiger Wang2014-07-111-1/+2
|
* SuggestionsTiger Wang2014-07-111-5/+6
|
* Implemented trapped chests & othersTiger Wang2014-07-071-0/+1
| | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* Implemented tripwire(s) (hooks)Tiger Wang2014-06-281-0/+4
| | | | * Fixes #944
* Added a (disabled) block meta mirror / rotate test code.madmaxoft2014-06-231-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.
* Merge branch 'master' into GlobalFixesHowaner2014-06-171-0/+8
|\
| * Merge pull request #1099 from Howaner/BlocksMattes D2014-06-171-0/+3
| |\ | | | | | | Glass-made blocks don't drop pickups.
| | * Glass shouldn't drop.Howaner2014-06-161-0/+3
| | |
| * | Add pressure plate handlerHowaner2014-06-171-0/+5
| |/
* / Fix hay place sound.Howaner2014-05-281-1/+2
|/
* Rename CanChangeDirtToGrass to CanDirtGrowGrassHowaner2014-05-071-2/+2
|
* Merge branch 'master' into SlabsHowaner2014-05-071-0/+2
|\
| * Merge remote-tracking branch 'upstream/master' into Enchantingdaniel09162014-04-071-76/+65
| |\
| * | first changes for enchanting (not finished)daniel09162014-01-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | - 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...
* | | Merge branch 'master' into SlabsHowaner2014-04-061-0/+2
|\ \ \ | | |/ | |/|
| * | Merge pull request #840 from Howaner/NewBlocksMattes D2014-04-041-0/+2
| |\ \ | | | | | | | | Add tall flower handler.
| | * | Add tall flower handler.Howaner2014-03-281-0/+2
| | | |
* | | | Add CanChangeDirtToGrass function to Block Handlers.Howaner2014-04-061-0/+9
|/ / /
* / / Implemented lilypad placementTiger Wang2014-03-231-0/+2
|/ /
* | Merge pull request #809 from Howaner/BlockEntitysMattes D2014-03-161-0/+2
|\ \ | | | | | | More entity saving.
| * | Add anvil direction.Howaner2014-03-161-0/+2
| | |
* | | Add cakeHowaner2014-03-161-0/+2
|/ /
* | cBlockInfo-related changes from #723andrew2014-03-081-0/+1
| |
* | Add data backsending, when the Client interacts a Block and the Interact is cancelled.Howaner2014-03-051-0/+10
| |
* | cBlockInfo now manages the respective cBlockHandlerandrew2014-03-021-43/+2
| |
* | Merge pull request #700 from Howaner/GlobalFixesMattes D2014-02-201-0/+4
|\ \ | | | | | | Add new Trees (without Generator)
| * | Add new Trees (without Generator)Howaner2014-02-191-0/+4
| | |
* | | Rename SkullEntity to MobHeadEntityHowaner2014-02-191-2/+2
| | |
* | | Add Heads completelyHowaner2014-02-181-0/+2
|/ /
* | Improved Type safety of eBlockFaceTycho2014-02-041-3/+3
| | | | | | | | May Fix #640
* | Renamed cBlockQuartsHandler to cBlockQuartzHandler. Fixed not being able to place normal quartz blocks.STRWarrior2014-02-031-1/+1
| |
* | This renames the cBlockWoodHandler to cBlockSidewaysHandler, and implements a new cBlockQuartzHandler to handle the quartz pillars.STRWarrior2014-02-031-3/+6
| |
* | Fixed dark oak and acacia placement.madmaxoft2014-02-021-0/+1
| | | | | | | | Fixes #621.
* | Changed Signiture of OnUpdateTycho2014-02-021-7/+7
| |
* | Changed Signiture of OnDiggingTycho2014-02-011-1/+1
| |
* | Changed Signiture of OnDestroyedByPlayerTycho2014-02-011-1/+2
| |
* | Changed pointers to referencesTycho2014-02-011-10/+10
| |
* | Changed signitures of Several BLockHandler MethodsTycho2014-02-011-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* | Refactored GetPlacementBlockTypeMetaTycho2014-01-261-1/+1
| |
* | Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-18/+18
| |
* | First attempt at Implementing InterfacesTycho2014-01-251-1/+1
|/
* Improved command blocksTiger Wang2014-01-191-0/+2
| | | | | | | * 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
* Implented Nether Wart.STRWarrior2013-12-181-0/+2
|
* Provides a possible fix for repeater timingsTiger Wang2013-12-101-1/+1
| | | | Not completely reliable, but at least some types of clock work.
* Improved pickups spawning speed againTiger Wang2013-12-101-3/+2
|
* Readded redstone lamp handlerTiger Wang2013-12-081-0/+2
|
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-1/+1
| | | | Ref.: #407
* Fixed stationary water starting fires and flowing lava not.madmaxoft2013-12-081-2/+2
|
* Lava can spawn fire.madmaxoft2013-12-041-6/+6
| | | | Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65.
* Merge pull request #387 from mc-server/trapdoorsMattes D2013-11-301-0/+2
|\ | | | | Trapdoors, redstone fixes, and snow
| * Implemented trapdoors, fixes #43 and #105Tiger Wang2013-11-291-0/+2
| | | | | | | | Also updated redstone simulator to support it
* | Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft2013-11-301-1/+1
|/
* Moved source to srcAlexander Harkness2013-11-241-0/+465