summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockDropSpenser.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-05-14Re-implement up/down placement metadata (#5219)Tiger Wang1-2/+2
+ Use player position when placing blocks which can face up or down, seems to better correspond to Vanilla behaviour. * Fixes #4651
2020-10-05Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell101-1/+1
* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2020-09-25Unify block entity pickup conversionTiger Wang1-23/+2
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
2020-09-20BlockHandler initialisation is a constant expression (#4891)Tiger Wang1-9/+4
* BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net>
2020-04-16Using Super.Mattes D1-2/+2
2020-04-11Fix rotation metas on blocksAlexander Harkness1-2/+2
2020-04-10Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness1-38/+2
Also add observer block handler.
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-9/+33
2018-06-30fix dispenser pickup display bug (#4247)changyong guo1-0/+7
fix dispenser pickup bug by ignore meta data during pickup creation
2017-08-01cBlockHandler: take player by refpeterbell101-2/+2
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-07-14Improved mapsTiger Wang1-1/+6
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-2/+2
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-05-25Hopefully fixed piston duplication issuesTiger Wang1-2/+2
* Fixes #879 * Fixes #714
2014-03-25Fixed spelling; Rotater to Rotator.narroo1-3/+3
2014-03-02ReformattedTycho1-2/+2
2014-03-01Fixed errorsTycho1-1/+1
2014-03-01Implemented RotationsTycho1-0/+1
2014-02-27Added some Metadate rotaters using templated MixinTycho1-2/+16
2014-02-04Improved Type safety of eBlockFaceTycho1-1/+1
May Fix #640
2014-02-01Changed pointers to referencesTycho1-1/+1
2014-02-01Changed signitures of Several BLockHandler MethodsTycho1-1/+1
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
2014-01-17Removed internal cEntity::GetRot() usage.madmaxoft1-1/+1
2014-01-16Removed obsoleted functionsTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-09-09Fixed DropSpensers not rotating properlyTiger Wang1-1/+1
2013-08-05Added the Carpet block.madmaxoft1-0/+2
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-39/+39
2013-05-26Implemented droppersmadmaxoft@gmail.com1-7/+6
Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-0/+2
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-8/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-19Added dispensers (they can't dispense items yet)luksor111@gmail.com1-1/+8
Fixed crash when digging snow Moved BlockPlace hook check, so Core plugin will no longer block item usage Player chat messages are now visible in the console git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-5/+5
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+22
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6