Lane Kolbly and Tiger Wang
87af95b67c
Updated armor cover calculation. ( #3858 )
...
* Updated armor damage calculation.
+ Added lua docs, added casts from float to int.
* Changed verbage in docstring and comment.
2017-07-23 10:46:38 +01:00
Lane Kolbly and Lukas Pioch
793acd267f
Changing pickup lifetime and combining semantics, making these adjustable in the lua api. ( #3843 )
2017-07-12 12:13:27 +02:00
Lane Kolbly and Lukas Pioch
647d9082b8
If entity is a player, send relmove packets.
2017-07-12 12:12:56 +02:00
Lane Kolbly and Lukas Pioch
a561886bf3
Implemented draggingitem API.
2017-07-10 05:46:04 +02:00
Lane Kolbly and Lukas Pioch
7c7f85117b
Added armor durability reduction when player is attacked.
2017-07-02 07:45:49 +02:00
Bond-009 and Lukas Pioch
cf22bc4e60
Players in creative and spectator aren't affected by cacti ( #3824 )
2017-07-02 07:39:19 +02:00
Mattes D and worktycho
885d80ccdb
Entity: Replaced a mutexed counter with a std::atomic. ( #3773 )
2017-06-15 16:06:50 +01:00
peterbell10 and Lukas Pioch
360d8eade0
FastRandom rewrite ( #3754 )
2017-06-13 21:35:30 +02:00
Lukas Pioch
7922e6addb
Fixes problems with windows:
...
- Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check
- Close open lua window in destructor, to avoid dangling pointers
2017-06-05 15:14:23 +02:00
Pablo Beltrán and Lukas Pioch
2b699dc749
Avoid pickups to sink into blocks and disappear ( #3739 )
...
* Avoid pickups to sink into blocks and disappear
2017-06-04 06:35:02 +02:00
Pablo Beltrán and Mattes D
8f1e55611e
Fixed exp orb ( #3744 )
...
Fixes #3740
Fixes #2667
2017-06-03 21:10:48 +02:00
Mattes D and GitHub
0551d78dff
Fixed tracer usage in Entity physics handling. ( #3720 )
2017-05-28 20:56:17 +02:00
Heiko Hund and worktycho
a0341d561a
Add rank prefix and suffix to player name in chat ( #3730 )
...
Fixes issue #1721
2017-05-27 02:15:56 +01:00
Lukas Pioch
73a3c4e3be
Exported boat
...
- 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-05-24 19:02:18 +02:00
Lukas Pioch
e35ac1bfb9
Clang 5.0 fixes
...
- Added override keyword
- Removed inherited member variables
2017-05-21 12:19:06 +02:00
Mattes D and worktycho
2c3c1f1527
Tracer replacement ( #3704 )
...
* Replaced cTracer usage with cLineBlockTracer.
* Exported new cLineBlockTracer utility functions to Lua API.
2017-05-11 13:34:36 +01:00
Lukas Pioch and Mattes D
7c4576a025
Exported cFallingBlock and cExpOrb ( #3700 )
2017-05-09 14:24:41 +02:00
Lukas Pioch and Mattes D
fb20517435
APIDoc: Documented missing functions and variables. ( #3634 )
2017-04-04 07:53:14 +02:00
Marvin Kopf and Mattes D
dbdcb85346
Added a nullptr check to cEntity::IsA ( #3659 )
...
Fixes #3603
2017-04-01 23:15:08 +02:00
Lukas Pioch
74ee255cae
Detach player from entity / object if he is dead
2017-03-19 09:48:15 +01:00
Bond-009 and Mattes D
6fe863c2ad
Fixed cactus detection and zombie pigman sword ( #3584 )
...
Fixes for issues #902 and #2917
2017-02-25 19:14:08 +01:00
Alex and Mattes D
9cb1ad546f
Changed fish launching mechanism ( #3520 )
...
Fish and other fishing loot now correctly fly towards played when reeled in.
2017-02-20 10:03:19 +01:00
mathiascode and Mattes D
dae2adde65
Updated sounds and effect IDs ( #3422 )
2017-02-15 06:05:24 +01:00
Pokechu22 and Mattes D
9c2a0bb7b9
Track skin part and main hand preferences ( #3498 )
2017-01-03 21:19:29 +01:00
Fabian Stein and Mattes D
c8b1d8a37d
Fix crash after calling OnTick on removed effect ( #3501 )
2016-12-30 00:06:30 +01:00
Fabian Stein and Mattes D
4170ab62c0
Fixed entity effect ticking ( #3497 )
...
Fixes #3386
2016-12-29 15:21:41 +01:00
mathiascode and Mattes D
efc7fed05b
Updated links and docs ( #3488 )
2016-12-19 17:08:19 +01:00
Mattes D
0e3b3be766
Initial support for the 1.11 protocol.
2016-12-16 00:07:22 +01:00
Mattes D
caa05e7935
Fixed minecart destruction using deallocated memory.
2016-12-15 14:57:48 +01:00
Lukas Pioch
0c10704d1f
Export GetPosition and GetSpeed from cEntity as a copy instead of a pointer to lua.
2016-12-10 13:32:11 +01:00
Marvin Kopf and Mattes D
ff4be64edc
Powered rails can kick-start minecarts ( #3472 )
2016-12-10 09:53:35 +01:00
Mattes D
0bffa29358
Removed ClientHandle.h dependencies from common headers.
2016-11-18 20:00:04 +01:00
mohe2015 and Mattes D
32b38fb264
Anticheat fastbreak ( #3411 )
...
Added block hardness checks when breaking blocks.
2016-11-06 19:30:19 +01:00
Lukas Pioch
b088123d18
Added SendMessageRaw for sending json string.
2016-10-21 11:17:39 +02:00
bibo38 and Mattes D
cb640ffea4
Spectators added ( #2852 )
2016-10-12 14:38:45 +02:00
LogicParrot and Mattes D
4e33569110
Fixed cProjectileEntity double destroy bug ( #3397 )
2016-10-09 17:22:34 +02:00
sgtbigman
7bcc3535fd
Initialize m_bIsInBed in cPlayer constructor.
...
This fixes an issue where the return value from the IsInBed method of
the cPlayer class in the lua API would not return a boolean value.
2016-10-08 00:58:43 -04:00
Moritz Borcherding and Mattes D
b268db4caa
Use cChunkDef::Height for Y coord comparison where applicable.
2016-09-27 14:32:20 +02:00
LogicParrot and GitHub
90be4e7efd
Entities now bail out of ticks if destroyed ( #3363 )
2016-09-03 14:31:27 +03:00
LogicParrot and GitHub
5625598afa
Improve cPlayer::DoMoveToWorld ( #3113 )
2016-09-03 10:39:52 +03:00
LogicParrot
c088f7ff0a
Proper respawn packets on dimension travel
2016-08-29 11:16:06 +03:00
ElNounch and Mattes D
e9d1a942d1
Delay EntityChangedWorld players' callback until Entity fully linked to world ( #3330 )
...
Otherwise, some API calls just don't seem to happen
.gitignore tweak for test executables
2016-08-22 19:43:43 +02:00
LogicParrot and GitHub
2f11655f00
Fix minecart destruction crash ( #3336 )
2016-08-20 23:12:48 +03:00
LogicParrot and GitHub
7b3a8a535a
Fixed minecraft with chest destruction crash ( #3335 )
2016-08-20 18:19:54 +03:00
Mattes D
d1dee3c909
Fixed RasPi builds of unit tests.
...
On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled.
Enforced the assumption that ASSERT code is generated only in Debug builds.
2016-08-04 20:47:53 +02:00
Mathias and Mattes D
e7b4d7a776
Dropped 1.7 support ( #3253 )
2016-07-21 09:47:42 +02:00
Mattes D
8eaa8613da
CMake: Remove needless minimum version specifications.
2016-07-18 22:11:42 +02:00
Mattes D
f8e1df2476
Updated API documentation.
2016-07-18 22:11:40 +02:00
beeduck and Mattes D
db65e11d57
Fixes for boat entities ( #3265 )
...
protocol for vehicles now properly handled, protocol for boat paddles now properly handled, boats can no longer spawn underwater, boats now properly float, boat metadata now properly broadcasted.
2016-07-18 22:10:00 +02:00
Altenius
510614e8ef
Fixed falling block spawning
...
Fixes #3222
2016-07-05 17:10:58 -04:00