KingCol13
|
1d1fa91401
|
Chorus fruit teleport (#5259)
* 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>
|
2021-07-10 20:05:00 +00:00 |
|
Tiger Wang
|
6e80f7544d
|
Update entity sizes
|
2021-04-12 22:35:07 +01:00 |
|
Damián Imrich
|
59e906ec6c
|
Implementation of totem of undying behaviour (#5111)
* 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>
|
2021-01-22 09:05:18 +00:00 |
|
Tiger Wang
|
16aeb84cd3
|
Fix potential destruction crashes (#5095)
* 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
|
2021-01-02 13:50:34 +00:00 |
|
12xx12
|
53549a1a4c
|
Add some const qualifiers to functions (#4874)
* add some const qualifiers to functions
* added changes suggested by @tigerw
Co-authored-by: 12xx12 <12xx12100@gmail.com>
|
2020-09-16 22:01:20 +00:00 |
|
Mattes D
|
9ee47e5999
|
Using Super.
|
2020-04-16 20:07:48 +00:00 |
|
peterbell10
|
e27290f7d2
|
cPawn: Reset last ground height in ResetPosition (#4261)
Prevents fall damage after teleporting/portaling to a lower height.
Fixes #3457
|
2018-07-23 17:26:48 +01:00 |
|
peterbell10
|
79eb4c3aed
|
Implement invisibility effect
|
2017-08-03 15:34:38 +02:00 |
|
Lukas Pioch
|
e35ac1bfb9
|
Clang 5.0 fixes
- Added override keyword
- Removed inherited member variables
|
2017-05-21 12:19:06 +02:00 |
|
mohe2015
|
32b38fb264
|
Anticheat fastbreak (#3411)
Added block hardness checks when breaking blocks.
|
2016-11-06 19:30:19 +01:00 |
|
Mattes D
|
f8e1df2476
|
Updated API documentation.
|
2016-07-18 22:11:40 +02:00 |
|
Tiger Wang
|
a5ec2d8ca2
|
Fixed fall damage
* Fixes #3216
|
2016-06-01 23:46:24 +01:00 |
|
LogicParrot
|
b3d4e0fca6
|
Fixed death on teleportation or leaving Minecart (#3181)
|
2016-05-03 10:48:39 +03:00 |
|
LogicParrot
|
4aade202e0
|
cMonster::m_Target safety across worlds
|
2016-02-03 22:50:17 +02:00 |
|
Gargaj
|
66e6589883
|
blockheight mechanism
|
2015-12-13 15:16:15 +01:00 |
|
bibo38
|
435bae104d
|
Implemented the Water Breathing Potion functionality.
Fixes #2556
|
2015-11-01 11:50:03 +01:00 |
|
bibo38
|
73b8be0fef
|
Implemented the FireResistence potion effects.
This not only provides fire resistence, but also prevents blaze fireballs.
See #2556
|
2015-10-31 23:06:10 +01:00 |
|
Tycho
|
2a9664d6ca
|
Initial convertion of a_Dt to std::chrono
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
|
2015-01-11 21:12:26 +00:00 |
|
archshift
|
4191be7ddb
|
Removed redundant semicolons and re-added warning
|
2014-07-24 11:21:37 -07:00 |
|
madmaxoft
|
430d8b42a5
|
Updated cPawn::KilledBy signature for custom death messages.
|
2014-07-17 11:07:10 +02:00 |
|
archshift
|
4e6395d6ff
|
For now, removed creator member from Entity Effect for pointer safety
|
2014-07-11 17:27:29 -07:00 |
|
archshift
|
f5529e544c
|
EntityEffects.x -> EntityEffect.x, Object-Oriented effects
Changed effect map to take a pointer of the effect as a result.
|
2014-06-18 22:54:14 -07:00 |
|
archshift
|
68c30790db
|
Entity effects: changed User to Creator, removed pawn pass-by-value
|
2014-06-17 11:39:22 -07:00 |
|
madmaxoft
|
fa1d85feca
|
Added the OnEntityAddEffect hook.
|
2014-06-17 11:39:22 -07:00 |
|
archshift
|
9e8361976b
|
Entity Effects: Clarified user, added it to AddEntityEffect
Added second AddEntityEffect with a pass-by-value of the class.
|
2014-06-17 11:39:22 -07:00 |
|
madmaxoft
|
e289fe4dd7
|
Changed the AddEntityEffect() params for easier calls.
|
2014-06-17 11:39:21 -07:00 |
|
archshift
|
5b2b6e0615
|
Pawn: renamed HandleEntityEffects to HandleEntityEffect
Exported entity effect functions for ToLua and documented them in APIDesc.lua
|
2014-06-17 11:39:21 -07:00 |
|
archshift
|
2185c72c2c
|
Implemented drinkable potions, noeffect entity effect,
Clears entity effects on death
|
2014-06-17 11:39:20 -07:00 |
|
archshift
|
1eb04a48ee
|
Implemented milk, added documentation to Pawn.h
|
2014-06-17 11:39:19 -07:00 |
|
archshift
|
e98ffccd80
|
Pawn: Enabled entity effect broadcast, added typedef
Typedef'd std::map<cEntityEffect::eType, cEntityEffect> to tEffectMap
|
2014-06-17 11:39:19 -07:00 |
|
archshift
|
481f05b011
|
Entity effects: Added handlers for entity effects
Implemented hunger, instant health, damage, poison, regen
Added "template" entity effect implementations
|
2014-06-17 11:39:19 -07:00 |
|
archshift
|
aa7b3f33b9
|
cPawn: Remove unused m_bBurnable
|
2014-06-17 11:17:33 -07:00 |
|
archshift
|
87b1bfaf2a
|
Moved Effects.h to EntityEffects.h, added initial impl
|
2014-06-17 11:17:32 -07:00 |
|
Alexander Harkness
|
675b4aa878
|
Moved source to src
|
2013-11-24 14:19:41 +00:00 |
|