summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pickup.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2021-12-29Improved farmer AI & Fixed entity loading functions (#5351)Persson-dev1-28/+77
2021-05-03Add player statistics to API (#5193)nshah251-4/+4
2021-04-12Update entity sizesTiger Wang1-1/+1
2020-08-19Add Statistics and Achievements for newer Network standards12xx121-4/+4
2020-05-04Improve entity position updates (#4701)Tiger Wang1-5/+2
2020-05-01Unify entity spawn packet sendingTiger Wang1-1/+2
2020-04-16Using Super.Mattes D1-3/+3
2020-04-03Tweak pickup sound pitch (#4598)Mat1-1/+1
2020-03-05Stabilise MoveToWorld (#4004)Mat1-4/+4
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-9/+12
2019-08-11Fix building with clang 8.0 (#4346)Bond-0091-1/+1
2018-07-24Broadcast refactor (#4264)peterbell101-4/+2
2018-01-16Exp Orbs and Pickups are destroyed instantly by cacti. (#4136)Alexander Harkness1-0/+15
2018-01-14Rename cEntity swim states (#3996)Alexander Harkness1-15/+2
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly1-1/+1
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-12/+11
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-11/+12
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-12/+11
2017-07-12Changing pickup lifetime and combining semantics, making these adjustable in the lua api. (#3843)Lane Kolbly1-5/+11
2017-06-04Avoid pickups to sink into blocks and disappear (#3739)Pablo Beltrán1-2/+8
2017-02-15Updated sounds and effect IDs (#3422)mathiascode1-1/+1
2016-12-16Initial support for the 1.11 protocol.Mattes D1-1/+1
2016-10-12Spectators added (#2852)bibo381-0/+6
2016-09-03Entities now bail out of ticks if destroyed (#3363)LogicParrot1-0/+5
2016-04-18Fix issues below y = 0LogicParrot1-6/+0
2016-02-19Proper entity destruction in non-ticking chunksLogicParrot1-2/+4
2016-02-05Bulk clearing of whitespaceLogicParrot1-4/+4
2015-05-24Made -Weverything an error.tycho1-3/+3
2015-05-18Fixes #2052Tiger Wang1-0/+1
2015-03-31Changed air drag for pickupsDevToaster1-1/+1
2015-03-31Modified physics for more vanilla-like behaviorDevToaster1-1/+2
2015-01-16Converted cPickupEntity to std::chronoTycho1-9/+9
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-3/+3
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D1-9/+7
2014-09-01Pickups combine only within one chunk.madmaxoft1-2/+6
2014-07-17Fixed tabs used for alignment.madmaxoft1-1/+1
2014-07-17More trailing whitespace fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-6/+6
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner1-1/+1
2014-07-09Fixed arrow collection animationTiger Wang1-1/+1
2014-06-26Fixed a comment and changed CombineCount to short.Howaner1-2/+2
2014-06-24Optimize combining.Howaner1-3/+3
2014-06-24Better combining.Howaner1-3/+20
2014-06-24Fix pickup combining over the maximum stack size.Howaner1-4/+8
2014-05-12cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement()andrew1-0/+10
2014-04-12Entities handle chunks properly againTiger Wang1-32/+31
2014-03-15Add ExpOrb saving.Howaner1-1/+1
2014-02-05Fixed most of the reordering warningsTycho1-2/+2
2014-01-25Implemented pickup combiningTiger Wang1-0/+55
2014-01-24Miscellaneous improvementsTiger Wang1-10/+4
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-2/+3
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-0/+2
2013-10-24Fixed cPickup's constructor's parameter naming.madmaxoft1-2/+2
2013-10-24Pickups now have collection delay when vomitedTiger Wang1-3/+4
2013-09-19Implemented xoft's suggestionsTiger Wang1-2/+2
2013-09-18Fixed pickupsTiger Wang1-2/+2
2013-09-07Fixed formatting and removed gravity thingTiger Wang1-1/+0
2013-09-04Pickups are a little less jitteryTiger Wang1-2/+2
2013-08-25Moved entity spawning into cEntity::Initialize().madmaxoft1-14/+0
2013-08-24Fixed pickup behavior outside the world.madmaxoft1-3/+4
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-13/+12
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-3/+7
2013-07-08Pickups have an initial health of 5madmaxoft@gmail.com1-2/+2
2013-07-07Mobs are assigned MaxHealth from monsters.ini; reading monsters.ini doesn't need settings.ini values anymore.madmaxoft@gmail.com1-1/+2
2013-07-07Improved function names for protocol packet sending; alpha-sorted the function listsmadmaxoft@gmail.com1-1/+1
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-1/+1
2013-06-25Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code.madmaxoft@gmail.com1-4/+4
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-7/+7
2013-05-17Removed pickup loggingmadmaxoft@gmail.com1-4/+4
2013-05-15Pickup: fixed logging parameters causing a crash.madmaxoft@gmail.com1-3/+3
2013-05-13Added more logging to pickup collection code.madmaxoft@gmail.com1-0/+6
2013-04-28Pickup: Fixed a possible crash when a pickup went up above the world.madmaxoft@gmail.com1-15/+20
2013-04-22Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs.keyboard.osh@gmail.com1-143/+35
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-4/+5
2013-03-23Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions.keyboard.osh@gmail.com1-5/+5
2013-03-22Implemented BroadcastMovementUpdate function. Moved m_Pos,m_Rot,m_Speed to private members and made sure that all classes uses the public functions to access these members.keyboard.osh@gmail.com1-26/+26
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-0/+1
2013-02-21Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com1-1/+1
2013-01-28Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming.madmaxoft@gmail.com1-1/+1
2013-01-06Fixed disappearing pickups - wrong physics simulation.madmaxoft@gmail.com1-30/+40
2012-12-28cPickup now uses full cItem, instead of a pointermadmaxoft@gmail.com1-15/+6
2012-12-22MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)madmaxoft@gmail.com1-12/+10
2012-12-21Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com1-4/+1
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-6/+0
2012-10-24Fixed issues with pickups. sebi.noreply@gmail.com1-2/+6
2012-10-13Preparation for multiple fluid simulators.madmaxoft@gmail.com1-4/+2
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-11/+11
2012-08-24cPickup doesn't use cPackets.madmaxoft@gmail.com1-10/+15
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-59/+14
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com1-5/+4
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-316/+316
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-1/+0
2012-03-10Using references instead of pointers for sending packetsmadmaxoft@gmail.com1-1/+1
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-2/+2
2012-02-21Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :)madmaxoft@gmail.com1-1/+1
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth1-47/+42
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-41/+58
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-1/+7
2012-01-19Terrain generation is synchronous again, async generation has bugs.faketruth1-2/+2
2011-12-29- Pickups should now burn in firelapayo94@gmail.com1-3/+7
2011-12-24Very alpha water physic for pickups (The swim now)lapayo94@gmail.com1-5/+55
2011-12-22Digging leaves with shears now drops leaveslapayo94@gmail.com1-0/+2
2011-12-22Fixes:lapayo94@gmail.com1-5/+10
2011-12-21- Crafting fixed in 1.0.0lapayo94@gmail.com1-2/+4
2011-11-06Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch.admin@omencraft.com1-6/+11
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth1-0/+2
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-3/+3
2011-10-03MCServer c++ source filesfaketruth1-0/+229