summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/DispenserEntity.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-06-16BlockEntities: Support cloning self.Mattes D1-4/+5
2017-05-24Exported boatLukas Pioch1-1/+6
- NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions
2017-03-22Fireworks can be fired from a dispenserBond-0091-1/+4
2016-06-15- Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update.QUSpilPrgm1-1/+1
- Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
2016-06-03Update Dispensers and let them act more like in VanillaQUSpilPrgm1-9/+80
- 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
2015-07-16Spawn baby mobshallucino1-1/+1
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D1-11/+24
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-12convert old style casts to fix warningsSteven Riehl1-5/+2
2014-09-26Removed more unessicary includesTycho1-3/+0
2014-09-25Fixed dispender direction bugHowaner1-1/+1
2014-09-17Added first test to show the object can be createdTycho1-1/+1
2014-09-13Implemented Chest MinecartsTiger Wang1-1/+0
2014-06-11DispenserEntity code cleanup after PR merge.madmaxoft1-23/+18
2014-06-05- Fixed a lot of alignmentJoannisO1-7/+7
2014-06-04- Removed the code that removed fireworks from a dispenser even thoughtJoannisO1-3/+0
they weren't launched.
2014-06-04- Fixed variable names in a function.JoannisO1-2/+2
2014-06-04- Fixed a lot of astethicsJoannisO1-13/+13
2014-06-03- Fixed an issue where there were 2 "DispChunk"-s in the same function.JoannisO1-16/+5
Resused the initial one.
2014-06-03- Fixed a bug where I didn't return anything in the GetShootVectorJoannisO1-0/+2
function. This was however passed as "working" by GCC.
2014-06-03- Fixed a bug where I used the FireCharge ITEM instead of the ProjectileJoannisO1-1/+1
ENUM
2014-06-03- Cleaned up the code massivelyJoannisO1-84/+29
- 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-16/+58
- 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-2/+2
Note: I still think the new name is unclear. Any other suggestions are welcome.
2014-05-29- Prefixed all args with "a_"JoannisO1-5/+9
- Added braces around the cases.
2014-05-28- Removed breaks. I thought it wouldn't compile without them but theJoannisO1-2/+0
issue was appearantly solved with an earlier commit.
2014-05-28- Fixed an issue where dispensers would only shoot arrows (appearantlyJoannisO1-33/+24
some commits didn't come through) - Cleaned up the code according to suggestions.
2014-05-28- Implemented vertical dispensing for projectiles.Joannis1-15/+39
- Fixed some terrible commit issues on my side.
2014-05-27- Fixed the ampersands and asterisks to fit the format.Joannis1-7/+7
- Fixed the method "SpawnProjectileFromDispenser" to use CamelCasing.
2014-05-26- Added support for more types of projectiles in the DispenserJoannisO1-38/+44
- 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-19/+88
2014-04-19Fixed Flint and Steel, reverted Minecart change, renamed a parameter namejfhumann1-5/+5
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-1/+2
2014-03-14Add fireball interactHowaner1-0/+6
2014-03-08Change TNT Fuse to ticksHowaner1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-15Removed BlockEntities' constructors from the API.madmaxoft1-10/+0
Plugins shouldn't construct block entities, rather, they will query them either from the cWorld (while playing), or from cChunkDesc (while generating).
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-16Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX.madmaxoft1-1/+1
Also slightly improved the spawning algorithm.
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-225/+225
2013-06-22Dispensers spawn fire if it has Flint and steel.nielsbreu@gmail.com1-0/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1619 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-21Dispensers dispense primed TNTmadmaxoft@gmail.com1-0/+13
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1617 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-3/+3
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-19/+29
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-40/+99
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-189/+21
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-17/+14
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-132/+117
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-31/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1348 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-6/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-26Dispensers can spawn mobsluksor111@gmail.com1-10/+19
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1106 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-26Dispensers can dispense items and liquids nowluksor111@gmail.com1-2/+145
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/+192
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