| Commit message (Collapse) | Author | Files | Lines |
|
* Outline function for teleporting.
* Created new handler for chorus fruit.
* Fixed AttemptTeleport failing.
* Better names, working sound effect.
* Corrected naming.
* Remove stray LOGD.
* Offset teleport to middle of block.
* Style Fixes
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Style Fixes 2
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Move FindTeleportDestination to static cPawn method.
* cBoundingBox interface.
* Cleanup includes.
* Maybe exported to API?
* Change a_World to reference, add to APIDesc.
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
|
|
|
|
* notchian totem of undying
* ...
* ....
* Update src/Entities/Pawn.cpp
Co-authored-by: Alexander Harkness <me@bearbin.net>
* DeductTotem func
* fixed build errors
* Added myself to CONTRIBUTORS
* Small changes
Co-authored-by: Peter <peter@cassoviacode.com>
Co-authored-by: Alexander Harkness <me@bearbin.net>
Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
|
|
* Fix potential destruction crashes
* Fix destructors accessing destroyted objects
* Fix cPlayer not destroying windows (Destroyed never called)
* Tentatively fixes #4608, fixes #3236, fixes #3262
- Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld()
* Add missing call to OnRemoveFromWorld
|
|
* add some const qualifiers to functions
* added changes suggested by @tigerw
Co-authored-by: 12xx12 <12xx12100@gmail.com>
|
|
|
|
Prevents fall damage after teleporting/portaling to a lower height.
Fixes #3457
|
|
|
|
- Added override keyword
- Removed inherited member variables
|
|
Added block hardness checks when breaking blocks.
|
|
|
|
* Fixes #3216
|
|
|
|
|
|
|
|
Fixes #2556
|
|
This not only provides fire resistence, but also prevents blaze fireballs.
See #2556
|
|
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
|
|
|
|
|
|
|
|
Changed effect map to take a pointer of the effect as a result.
|
|
|
|
|
|
Added second AddEntityEffect with a pass-by-value of the class.
|
|
|
|
Exported entity effect functions for ToLua and documented them in APIDesc.lua
|
|
Clears entity effects on death
|
|
|
|
Typedef'd std::map<cEntityEffect::eType, cEntityEffect> to tEffectMap
|
|
Implemented hunger, instant health, damage, poison, regen
Added "template" entity effect implementations
|
|
|
|
|
|
|
|
|
|
Fixes FS #297 and part of FS #403.
Added sizes to all entities.
Moved all damage-related functions from cPawn to cEntity
API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1429 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1294 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
Also added a few utility functions to cEntity for distinguishing the types (IsPlayer(), IsPickup() etc.)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1092 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
http://forum.mc-server.org/showthread.php?tid=625
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@800 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
Prepared for food
git-svn-id: http://mc-server.googlecode.com/svn/trunk@679 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
/tp command should work again :)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@314 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@223 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@156 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@144 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
- added right monster health and attack strength
- refactored the Pawn/Monster/Player class a little bit
- changed some namings to fit the style
git-svn-id: http://mc-server.googlecode.com/svn/trunk@140 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6
|