3c936e1be8
Entity: removed dead maxFireTicks property
2017-12-07 16:37:32 +00:00
16fd37a039
Entity: Add getter & setter for fireTicks
2017-12-07 16:37:01 +00:00
e9e22db1e7
Cleaned up death animation handling, removed dead ticking from non-Living entities
2017-11-22 17:17:47 +00:00
74b074753f
Bulk addition of constant visibilities
...
thanks PhpStorm inspections plugin for annoying the shit out of me until
I did this.
2017-11-21 14:44:10 +00:00
a8ad956b29
Fixed keepMovement logic
2017-11-19 19:28:04 +00:00
db8a835a64
add a default value for Entity->setCanClimb()
2017-11-17 12:19:04 +00:00
460d540dbc
Further cleanup on ListTag and CompoundTag usage
2017-11-17 11:43:32 +00:00
3a16985d45
Cleaned up item & arrow pickup code
2017-11-15 12:14:42 +00:00
aa399a1109
migrate to new CompoundTag API ( #1515 )
2017-11-10 15:38:21 +00:00
d4494687d1
Fixed collision blocks not being recalculated after teleporting, close #1531
2017-11-09 15:11:42 +00:00
0e64c3dad8
fixed misusing isAlive(), close #1523
2017-11-07 09:32:38 +00:00
eab7b93483
Fixed misuse of kill() and close() when deleting entities ( #1490 )
2017-11-04 19:30:48 +00:00
a66a757f56
Cleaned up EntityEventPacket handling
2017-11-04 18:31:35 +00:00
d48880e31b
Remove redundant assert
2017-10-24 17:40:22 +01:00
7db8345424
Added rough support for reading entity saves with multiple save IDs (for PC 1.11 compatibility)
...
this will still always save using the legacy format to remain compatible with PC < 1.11.
TODO: entirely separate entity NBT format from entity implementation for proper multi-format compatibility
2017-10-22 10:16:24 +01:00
1dd2203ee5
Fixed burning mobs not getting onfire data flag set when read from disk
...
they'd just flash red and take damage for no apparent reason
2017-10-21 12:36:30 +01:00
18e4e5364f
Fixed getBlock() performance degradation caused by 781de3efab
, added Level->getBlockAt() to avoid creating vectors everywhere
2017-10-20 13:22:49 +01:00
98cfd0b398
fix entity rotation changes not getting broadcast until the entity moves
2017-10-20 10:13:19 +01:00
a245615531
fixed non-living entities lingering for a second after being kill()ed
...
only living entities should have death animation time
2017-10-19 20:51:50 +01:00
0a19a2611a
Re-organise some Entity methods
2017-10-19 19:03:11 +01:00
50be26958a
Added a helper function Entity->createBaseNBT() to cut down on boilerplate code
2017-10-19 17:36:51 +01:00
67c6fca0ed
Relocate a couple of Entity API methods and add some documentation
2017-10-19 17:05:27 +01:00
087badcb48
Remove deprecated effects methods from Entity
2017-10-19 16:35:44 +01:00
d9769360fe
Remove redundant code from Entity->entityBaseTick()
...
this will never be called because onUpdate() checks this and returns.
2017-10-19 16:32:45 +01:00
9fb93985d6
Cleaned up Entity->spawnTo()
2017-10-19 16:13:09 +01:00
2b22d5d8cc
Added EntityIds interface with constants
2017-10-19 15:43:55 +01:00
2db13bd114
added throwable eggs and refactor some projectile logic
...
close #1473
2017-10-19 14:12:50 +01:00
11cc20972f
extended death animation time
2017-10-19 13:39:51 +01:00
4821e7386d
fixed entities despawning too soon when killed
2017-10-19 13:39:10 +01:00
584810780a
Moved projectile-related classes to their own namespace
2017-10-19 12:27:44 +01:00
3e3157cbe1
fix tick diff debug spam when entities are spawned
2017-10-17 17:38:43 +01:00
07abd61f73
Added a FIXME for Entity->move()
2017-10-17 17:14:45 +01:00
15d6fd86e2
Added basic support for blocks with multiple AABBs, fixed stairs ( #1303 )
2017-10-12 16:29:24 +01:00
7e9b89e48a
Make Entity->checkObstruction() less confusing
2017-10-12 11:59:02 +01:00
be2d134994
Added API to allow flagging an entity not to be saved to disk when its chunk is saved ( #1452 )
2017-10-11 16:09:08 +01:00
78d49f8e66
Merge branch 'php/7.0' into mcpe-1.2
2017-09-03 15:02:41 +01:00
cb7911ee9c
Improved Absorption, now only applies to living entities, now controllable by plugins
2017-09-03 12:37:34 +01:00
7483f22e8b
Fixed a PhpStorm inspection
2017-09-03 12:10:56 +01:00
5d75d3d5b6
Merge branch 'php/7.0' into mcpe-1.2
2017-09-01 23:10:58 +01:00
67ad2d25b9
Added FireImmune data flag
2017-08-30 18:36:36 +01:00
190f4dd6ab
New entity metadata flags
2017-08-30 14:13:24 +01:00
fd52022065
Refactor of health int -> float and fixed armor being useless when
...
computed damage reduction is less than 1
2017-08-30 11:03:07 +01:00
6d6283b7f3
Fixed Player->sendPosition() not working correctly
2017-08-28 20:07:04 +01:00
95752ef542
Merge branch 'master' into mcpe-1.2
2017-08-23 13:20:35 +01:00
0f2ca99c67
Merge remote-tracking branch 'origin/pr/1310'
2017-08-23 10:44:33 +01:00
a7674c52e6
Micro optimization to movement update checking
...
No need to keep abs()ing this, because next time we have a movement update, motion < 0.00001 will be flattened to zero anyway.
2017-08-23 10:42:23 +01:00
a52fa93998
Remove Entity->length
2017-08-23 02:21:33 -04:00
770616d4ab
Merge branch 'master' into mcpe-1.2
2017-08-22 20:48:32 +01:00
3a5fc78c53
Fixed players getting kicked for flying when standing still when blocks near them get updated, fixed item movement being too slippery
2017-08-22 17:47:48 +01:00
445a67954d
Merge changes from master
2017-08-22 14:13:31 +01:00