summaryrefslogtreecommitdiffstats
path: root/src/Entities (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-28Fixed a MSVC warning.madmaxoft1-1/+1
2014-04-28Fixed projectile source filenames, indentationsarchshift17-58/+58
2014-04-27Fixed warnings.madmaxoft1-0/+1
2014-04-27Fixed ToLua errors, added newlinesarchshift18-19/+19
2014-04-27Redstone simulator now directly accesses cChunkTiger Wang2-2/+2
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes
2014-04-27Fixed ToLua issuesarchshift8-19/+16
2014-04-27Moved cFireworkEntity out of ProjectileEntity.harchshift4-115/+115
2014-04-27Moved cGhastFireballEntity out of ProjectileEntity.harchshift4-74/+83
2014-04-27Moved cFireChargeEntity out of ProjectileEntity.harchshift4-82/+88
2014-04-27Moved cThrownSnowballEntity out of ProjectileEntity.harchshift4-74/+83
2014-04-27Moved cExpBottleEntity out of ProjectileEntity.harchshift4-52/+61
2014-04-27Moved cThrownEnderPearl out of ProjectileEntity.harchshift4-86/+94
2014-04-27Moved cThrownEggEntity out of ProjectileEntity.harchshift4-90/+99
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift4-280/+291
2014-04-27Added static const, initialized fields.archshift1-0/+2
2014-04-26More small fixes.archshift1-1/+1
2014-04-26Further refactored, Reverted Minecart changearchshift4-17/+23
Other small changes.
2014-04-26FixesHowaner2-11/+14
2014-04-26Moved switch{} out of GetArmorCoverAgainst().archshift2-5/+29
2014-04-26Fixed a couple more warnings.archshift2-21/+17
2014-04-26Change m_InvulnerableTicks description again again :DHowaner1-1/+1
2014-04-26Change m_InvulnerableTicks description again.Howaner1-1/+1
2014-04-26Change m_InvulnerableTicks descriptionHowaner1-1/+1
2014-04-26Add entity invulnerableHowaner8-26/+61
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift1-0/+1
2014-04-25Creator not user.archshift2-5/+5
2014-04-25Comments for TrySpawnChicken() and TeleportUser().archshift1-0/+2
2014-04-25Rename spawn chicken method, Initialize m_HasTeleported.archshift2-4/+5
2014-04-25Fix formattingr.ramazanov1-9/+15
2014-04-25Fix for clangr.ramazanov1-5/+1
2014-04-25Mobs shouldn't burn when it's Raining & Mob Knockback is far too muchr.ramazanov1-8/+5
2014-04-25Chicken eggs and ender pearls can hit entities.archshift2-7/+66
Fixed warning by adding dedicated m_HasTeleported for fired arrows.
2014-04-23Mobs shouldn't burn when it's Raining #906r.ramazanov1-9/+30
Mob Knockback is far too much #776
2014-04-23Renamed getter and setter for IsFireproof.archshift2-3/+3
2014-04-23Fireproof status getter and setter.archshift2-0/+16
2014-04-22Fixed indentation and changed m_Fireproof to m_IsFireproof.archshift2-14/+14
2014-04-22Lay foundation for fireproof entities.archshift2-3/+15
Prevent any entities with the m_Fireproof flag from taking fire or lava damage.
2014-04-21reverted the revert of the minecart collision detection fix.jfhumann1-2/+1
2014-04-21Mobs shouldn't burn when it's Raining #906r.ramazanov1-5/+12
2014-04-19Fixed Flint and Steel, reverted Minecart change, renamed a parameter namejfhumann3-4/+5
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann3-6/+7
2014-04-18Fixed #906Tiger Wang1-0/+10
2014-04-17Added new AI rulesTiger Wang4-39/+36
+ Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT
2014-04-12Entities handle chunks properly againTiger Wang6-118/+118
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty
2014-04-05Fixed Endiannes conversion routines for floats and doubles.madmaxoft1-1/+1
This bug has been introduced in 8825d30aabbee8cb2e452dc5a17deb6f9b6892a7. This change fixes #854.
2014-04-05Removed debugging log from entity physics handling.madmaxoft1-1/+2
2014-04-05Added cPlayer:SendRotation() API function.madmaxoft2-0/+17
2014-04-03Documented the units and range for entity rotations.madmaxoft1-7/+7
2014-03-29Fixed the OnProjectileHitBlock hook not stopping projectiles.STRWarrior1-1/+1
2014-03-29Added HOOK_PROJECTILE_HIT_BLOCK.STRWarrior1-0/+5
2014-03-29Fixed error when the hook gets called.STRWarrior1-1/+0
2014-03-29Added HOOK_PROJECTILE_HIT_ENTITYSTRWarrior1-0/+6
2014-03-29Fixed #721 and FS439Tiger Wang1-0/+1
2014-03-25Ender crystalsandrew3-11/+102
2014-03-25More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney2-3/+1
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
2014-03-25Added newlines. Without them, the files would not compile.Samuel Barney2-2/+2
2014-03-20Plugins can set flying speed.madmaxoft2-75/+118
2014-03-20Rewritten player speeds to be relative unit-less.madmaxoft2-7/+11
Value of 1 means "default speed", 2 means "double the speed", 0.5 means "half the speed". This allows for easier plugins and is more future-proof.
2014-03-20Minor Entity.cpp cleanupTiger Wang1-12/+9
2014-03-15Add item frame saving.Howaner4-44/+119
2014-03-15Add health and age load to pickup's.Howaner2-16/+22
2014-03-15Add ExpOrb saving.Howaner3-10/+34
2014-03-11Unified Matrix4 codeandrew1-1/+1
2014-03-11TakeDamage now has the cThrownSnowballEntity instead of the creator's object.STRWarrior1-1/+1
2014-03-11Snowballs now actualy hurt other entities.STRWarrior2-2/+25
3 damage for blazes and 1 for the ender dragon. Otherwise 0
2014-03-11Unified Vector classesandrew2-3/+2
2014-03-09Fixed #778 - stack overflow.comTiger Wang1-1/+1
2014-03-09Beds now work properly fixes #707Tiger Wang1-3/+14
Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp
2014-03-09CheckBlockInteractionsRate() fixed & enabledTiger Wang2-35/+1
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho2-4/+4
2014-03-08Change TNT Fuse to ticksHowaner2-11/+11
2014-03-08Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner2-17/+33
2014-03-05Added extra awesomeness to TNTTiger Wang3-195/+205
+ TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew4-14/+14
2014-03-01Shortened enumsandrew1-2/+2
2014-03-01Exported and documented cScoreboardandrew1-18/+3
2014-02-28Fixed multiple gcc warnings about unused params.madmaxoft2-1/+12
2014-02-28Moved common cGroupManager code to a separate function.madmaxoft1-7/+11
This fixes my concerns in PR #709.
2014-02-27Removed unneeded includes in Player.cppTiger Wang1-7/+0
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang2-43/+56
+ Added fireworks
2014-02-24Small improvements to boats.STRWarrior1-3/+7
2014-02-21Remove users.ini generation in Player.cpp and use the CheckUsers() FunctionHowaner1-6/+1
2014-02-21Add 'Group not found', when the Server load the users.ini and add auto generate from users.iniHowaner1-1/+5
2014-02-18Changed BlockFace type to eBlockFaceTiger Wang2-13/+26
2014-02-18Added a braceTiger Wang1-0/+2
==== { } { __ } { | | } ==== REMOVE ALL THE BRACES!!
2014-02-18Properly exported and documented paintingsTiger Wang1-2/+2
2014-02-18Implemented paintings, fixes #689Tiger Wang3-0/+87
+ Implemented paintings
2014-02-18Implemented item frames, a part of #689Tiger Wang3-0/+153
+ Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!)
2014-02-17Map item handler; Fixed several bugsandrew1-0/+3
2014-02-16Links sent via chat messages are clickable.madmaxoft1-1/+2
Fixes #658.
2014-02-16Fixed minor formatting issues from #682Tiger Wang3-16/+3
- Removed unused PlaySoundEffect * Simplified and parenthesised code
2014-02-16Replace random Float Generation and broadcast the Exp Pickup SoundHowaner2-9/+4
2014-02-16Add Exp Bottle EffectsHowaner4-1/+23
2014-02-16Disable Hunger DeathHowaner1-1/+7
2014-02-15Implemented cCompositeChat.madmaxoft1-0/+1
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
2014-02-15If a player is called "Notch" he drops an apple. http://minecraft.gamepedia.com/NotchSTRWarrior1-0/+6
2014-02-12Made player jump reset less ambiguousTiger Wang1-1/+2
2014-02-11Fixed #627Tiger Wang1-2/+2
- Attack() is now called from cAggressive instead of cMonster * Monsters can no longer attack through walls * Should fix last remnants of player damage after teleporting (that both STR and bearbin contributed fixes to :P)
2014-02-09Fixed a boat ASSERTTiger Wang1-2/+8
2014-02-07Improved chat messaging functionsTiger Wang2-17/+8
* Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API.
2014-02-06Server internally uses new functionsTiger Wang1-6/+4
2014-02-06Added more chat functionsTiger Wang1-1/+0
2014-02-05Removed deprecated HasCommand functionSTRWarrior2-14/+0
2014-02-05Fixed most of the reordering warningsTycho4-11/+11
2014-02-05Fixed annoying creative on fire bugTiger Wang2-0/+20
2014-02-04Added more SendMessageXXX() functionsTiger Wang1-0/+4
2014-02-04Improved Type safety of eBlockFaceTycho3-22/+22
May Fix #640
2014-02-03Pickup constructor no longer exportedTiger Wang3-4/+8
It didn't do anything without Initialize() exported, anyway, pickups are spawned with cWorld.
2014-02-03Added SendMessageXXX() to cPlayerTiger Wang1-0/+3
As requested by @bearbin, one no longer needs to download a file that links to Core. The server does it! Hopefully this encourages standards compliance.
2014-02-03Fixed a crash bugTiger Wang1-3/+3
2014-02-03Server now handles join messages alsoTiger Wang1-1/+7
* Revised as well hook documentation
2014-02-03Fixed compilationtonibm191-1/+0
2014-02-03Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm191-0/+1
2014-02-02Creative players take Plugin damageTiger Wang2-3/+4
2014-02-01Removed "player destroying" hookdaniel09161-3/+1
2014-01-29Removed debug message when a firework entity hit a solid block.STRWarrior1-2/+0
2014-01-29Bottle o' Enchanting spawns an experience orb.STRWarrior1-1/+2
2014-01-25Rail speed tweakTiger Wang1-2/+2
2014-01-25Two minor changesTiger Wang1-5/+3
2014-01-25Implemented fall damage for mobsTiger Wang3-5/+8
+ Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros
2014-01-25Implemented pickup combiningTiger Wang1-0/+55
* Fixes FS393 * Part of #131
2014-01-25Added "player destroying" and "player destroyed" hooksdaniel09161-0/+4
Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473
2014-01-25All mobs now drown (fixes #54)Tiger Wang4-127/+130
* Implemented mob drowning * Iron Golems and squids are excluded
2014-01-24Miscellaneous improvementsTiger Wang1-10/+4
2014-01-24removed hook from enchanting commitdaniel09161-4/+0
2014-01-24Removed unused ReferenceManagerTiger Wang2-45/+1
2014-01-24Added more minecart powered rail directionsTiger Wang1-3/+63
2014-01-24Some updates for enchantingdaniel09161-0/+4
2014-01-24Fixed crash with failed entity-loading.madmaxoft1-1/+2
This should fix issues reported in: http://forum.mc-server.org/showthread.php?tid=1328 http://forum.mc-server.org/showthread.php?tid=1308
2014-01-24Fixed indentation once and for all.Mike Hunsinger1-31/+31
2014-01-24Fixed indentation and doxygen comments... For real this time.Mike Hunsinger1-3/+3
2014-01-24Fixed spacing and doxycomments.Mike Hunsinger2-6/+6
2014-01-23Split TossItem into three Toss functions (Held, Equipped and Pickup)Mike Hunsinger2-50/+66
2014-01-22Fixed compilation on VC2008tonibm191-0/+1
2014-01-21Scoreboard protocol supportandrew1-6/+11
2014-01-20Scoreboard deserializationandrew2-3/+26
2014-01-19Begin implementing ascending railsTiger Wang2-2/+45
2014-01-19Added one more direction into collision checksTiger Wang1-26/+51
* Added direction XM_XP * Improved performance, thanks STR and xoft
2014-01-19Minecart improvements and fixesTiger Wang1-33/+43
* Fixed curved rails * Fixed detector rails in certain situations * Fixed powered rails and others passing bad meta to SnapToRail()
2014-01-19Added more rail functionalityTiger Wang1-14/+0
2014-01-19Scoreboard improvementsandrew1-4/+4
2014-01-19Basic scoreboard implementationandrew2-1/+62
2014-01-19Exported cFloater to the Lua API.STRWarrior1-3/+7
2014-01-18Minecart collision and general improvementsTiger Wang2-70/+242
+ Implemented collision on one type of rail * Improved curved rails somewhat * Fixed a crash bug
2014-01-17Removed internal cEntity::GetRot() usage.madmaxoft3-7/+7
2014-01-16Disabled excessive entity-related logging in Debug mode.madmaxoft1-1/+11
2014-01-16Removed obsoleted functionsTiger Wang5-27/+25
2014-01-16Changed GetContent function.STRWarrior1-1/+1
2014-01-15OBSOLETE'd obsolete functionsTiger Wang1-2/+2
2014-01-15Implemented Ctrl-Q drop stackTiger Wang1-3/+8
Also fixed an issue with TossItems not respecting count.
2014-01-15Furnace minecarts now stop being active after a while.STRWarrior2-2/+19
2014-01-15First implementation for furnace minecarts.STRWarrior2-1/+23
2014-01-14Yes newline at end of file :DTiger Wang1-1/+5
2014-01-13Final improvements to MinecartsTiger Wang3-93/+292
* Fixed curved rails being a little broken + Implemented detector rails + Implemented block collisions on rails * Fixed snapping to rail - Removed minecart physics conditions in Entity.cpp as minecarts use their own simulator when on rails Fixes #148 and #217; partially implemented #215. This is Cave Johnson, and we're done here.
2014-01-13Detaching improvementsTiger Wang4-4/+34
* Players now search for an area around themselves to teleport to when detaching from something
2014-01-12Fixed server crash.STRWarrior1-1/+1
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior2-6/+7
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior2-3/+11
2014-01-12Multiple enhancements and fixes to minecartsTiger Wang3-132/+190
+ They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails
2013-12-31Fixed a cPlayer::IsGameModeAdventure. It was determined based off of gmCreate rather than gmAdventure.Morgan Redshaw1-2/+2
2013-12-30Fixed compilation in VC2008.madmaxoft1-2/+4
Also removed an unused inline header file (yuck).
2013-12-26Server now handles death messagesTiger Wang1-0/+16
2013-12-25Fixed Parentheses.STRWarrior1-2/+2
2013-12-25You are now able to sweep mobs to your position using fishing rods.STRWarrior2-12/+142
2013-12-25Braced up some codeTiger Wang1-0/+2
2013-12-25Used IsGamemodeCreative() functionTiger Wang1-1/+1
2013-12-24Fixed comments in main.cpp and Player.cppTiger Wang1-1/+1
2013-12-24Improved knockback animationTiger Wang1-3/+3
* Critical hits now actually increase damage * Looking down at an entity and hitting them still produces upwards motion (as per Vanilla experience) * Reduced force to be more realistic
2013-12-24finally removed them all?Alexander Harkness1-1/+1
2013-12-23Improved player fall particle positionsTiger Wang1-5/+2
2013-12-23Clarified some code in Player.cppTiger Wang1-2/+5
2013-12-23Fixed a comment in Entity.cppTiger Wang1-1/+1
2013-12-22Implemented knockback and critical hitTiger Wang1-4/+21
2013-12-22Implemented fall particlesTiger Wang1-3/+18
2013-12-22merged in warnings changesTycho Bickerstaff3-7/+17
2013-12-22Fishing underground is slower and fishing while raining is faster.STRWarrior1-0/+15
2013-12-22Fixed compiler warnings.STRWarrior1-2/+2
2013-12-22Fishing now uses a countdown instead of a random number each tick.STRWarrior2-12/+29
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff3-5/+13
2013-12-21Floater now dissapears when the player doesn't have an fishing rod equipped.STRWarrior2-0/+32
2013-12-21Root is now warnings cleanTycho Bickerstaff1-2/+2
2013-12-21ChunkSender is now warnings cleanTycho Bickerstaff2-5/+5
2013-12-21You could now only get fish from non-source blocks. Fixed it.STRWarrior1-1/+1
2013-12-21Fixed bug where you could get fish from non-source blocks.STRWarrior1-1/+1
2013-12-20Fixed bug where the floater could pop in the water while you could already get a fish.STRWarrior1-2/+2
2013-12-20More reordering fixes.madmaxoft3-7/+16
2013-12-20Sorted a few constructors to remove warnings.madmaxoft5-32/+36
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-1/+1
2013-12-19Fixed #include in Floater.cpp.STRWarrior1-1/+1
2013-12-19The floater now actualy dives under water.STRWarrior1-1/+1
2013-12-19Fixed PlayerAbilities and creativeTiger Wang1-0/+18
2013-12-19Implented IsFishing, SetIsFishing and GetFloaterID().STRWarrior2-0/+12
2013-12-19Added cFloater class.STRWarrior3-0/+90
2013-12-16Boats drop a boat pickup when destroyed by hand. You can now actualy use boats.STRWarrior2-3/+33
2013-12-16Added HandleSpeedFromAttachee so an entity can override the function.STRWarrior2-4/+15
2013-12-16Fixed cClientHandle::Tick() being called from two threads.madmaxoft2-24/+0
When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187.
2013-12-15Server saves if a player is flying.STRWarrior1-1/+3
2013-12-15Renamed ShootTo function to ForceSetSpeed.STRWarrior2-3/+3
2013-12-15This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior2-0/+13
2013-12-15Fixed indentation.madmaxoft1-1/+1
2013-12-15Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() functionSTRWarrior2-1/+45
2013-12-15cPlayer is using the broadcast functions.STRWarrior1-3/+3
2013-12-14Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.STRWarrior1-1/+2
2013-12-14Added E_EFFECT_<Effect>STRWarrior2-3/+32
2013-12-14Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison.STRWarrior1-1/+9
2013-12-14Exported the cTNTEntitySTRWarrior1-2/+6
2013-12-14Fixed not getting XP from mobs.STRWarrior1-1/+1
2013-12-14Improved player permissions loggingTiger Wang1-1/+1
2013-12-14Fixes to redstone wire and torchesTiger Wang1-1/+1
+ Wires now power blocks around the block beneath * Torches no longer power off if it is on a linked powered block * Enhanced code, split functions, etc.
2013-12-14Groups.ini and Users.ini are now generatedTiger Wang1-1/+6
2013-12-13Using "a_ClosestPlayer != NULL" in cExpOrb.STRWarrior1-1/+1
2013-12-11ExpOrbs now move.STRWarrior1-4/+8
2013-12-11moved entities to globsTycho Bickerstaff1-1/+5
2013-12-10more cmakeTycho Bickerstaff1-0/+7
2013-12-08Fixed angle normalization typo.madmaxoft1-1/+1
2013-12-08Fixed normalizing large angles.madmaxoft1-6/+3
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft3-3/+3
Ref.: #407
2013-12-07Renamed animation functionTiger Wang1-3/+3
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
2013-12-06Puking now uses GetEyeHeight()Tiger Wang1-1/+1
2013-12-06Fixed eating using wrong animationTiger Wang1-1/+1
2013-12-06Tools make a sound when breaking, fixes #266Tiger Wang2-2/+5
2013-11-27Fixed VC2008 compilation, normalized include paths.madmaxoft1-1/+1
2013-11-27Fixed some of tiger's derpyness.Alexander Harkness1-2/+2
2013-11-26Hopefully fixed last of the Linux compile errorsTiger Wang1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-2/+2
2013-11-24Moved source to srcAlexander Harkness18-0/+6466