summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/DispenserEntity.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-5/+25
2017-06-16BlockEntities: Support cloning self.Mattes D1-3/+3
2016-07-18Updated API documentation.Mattes D1-3/+3
2016-06-03Update Dispensers and let them act more like in VanillaQUSpilPrgm1-1/+1
- Added code to make bonemeal, potions, minecarts, XP bottles and boats work inside dispensers - Dispensers are now able to place TNT if the block is transparent but not air - Added return value that indicates the success of pumpkin, melon, sugarcane and cactus growing functions - Changed return value of "GrowRipePlant" so that it actually indicates if the block was able to grow - Fixed "GrowSugarcane" and "GrowCactus" in "GrowRipePlant" so that it only grows them a single block
2016-02-05Bulk clearing of whitespaceLogicParrot1-3/+3
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D1-2/+3
2014-11-27BlockEntities: Removed the extra semicolon.Mattes D1-1/+1
2014-10-19cLuaState: cBlockEntity descendants are pushed with proper class type.Mattes D1-2/+2
2014-06-11DispenserEntity code cleanup after PR merge.madmaxoft1-7/+12
2014-06-04- Fixed a lot of astethicsJoannisO1-1/+4
2014-06-03- Cleaned up the code massivelyJoannisO1-6/+2
- Stopped using cChunk in the GetShootVector class. Parameter is now the Metadata of the block - Stopped using cChunk in the SpawnProjectileFromDispenser method now using coordinates and finding the chunk by itself. - Removed the matrix calculations from GetShootVector.
2014-06-03- Added doxy comments and exported to luaJoannis1-6/+6
- Manipulation of the ShootVector is not to be done by the function that wants to spawn a projectile.
2014-05-31- Changed the name of the ProjectileLookVector method.JoannisO1-1/+1
Note: I still think the new name is unclear. Any other suggestions are welcome.
2014-05-29- Prefixed all args with "a_"JoannisO1-1/+1
- Added braces around the cases.
2014-05-28- Implemented vertical dispensing for projectiles.Joannis1-1/+1
- Fixed some terrible commit issues on my side.
2014-05-27- Fixed the ampersands and asterisks to fit the format.Joannis1-1/+1
- Fixed the method "SpawnProjectileFromDispenser" to use CamelCasing.
2014-05-26- Added support for more types of projectiles in the DispenserJoannisO1-0/+7
- Improved the method of spawning projectiles in the world - Added another method for spawning the projectiles
2014-05-26Added Arrow- and FireCharge-Dispensing to DispenserEntity.JoannisO1-8/+7
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-15Removed BlockEntities' constructors from the API.madmaxoft1-3/+0
Plugins shouldn't construct block entities, rather, they will query them either from the cWorld (while playing), or from cChunkDesc (while generating).
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-41/+41
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-28Block entities now receive the cChunk param in their Tick() functionmadmaxoft@gmail.com1-2/+2
They can safely access that chunk and any of its neighbors during ticking. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1526 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26Fixed cItemGrid API, no more changeable GetSlot().madmaxoft@gmail.com1-0/+6
Also fixed possible water and lava duplication glitches in the dispenser. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1520 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26Implemented droppersmadmaxoft@gmail.com1-40/+5
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-05-25cChestEntity and cDispenserEntity now inherit from a common ancestor, cBlockEntityWithItemsmadmaxoft@gmail.com1-14/+24
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1507 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10Dispensers rewritten to use ItemGridmadmaxoft@gmail.com1-8/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1383 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-01Proper fix for FS #347. Also unification of ticking block entities.madmaxoft@gmail.com1-10/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1348 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-26Dispensers can dispense items and liquids nowluksor111@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1105 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-19Added dispensers (they can't dispense items yet)luksor111@gmail.com1-0/+55
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