54453d0b0a
Refactored entity IDs in packets for consistency and to clarify on types
2017-06-05 15:41:27 +01:00
ad4659365a
Use default amplifier 0 instead of implicit null
...
(how did nobody ever notice this?!)
2017-06-03 11:06:22 +01:00
8a7259aa73
Merge #826 : use getEffectLevel() instead of getAmplifier() + 1
...
Closes #412
2017-05-05 19:01:04 +08:00
1c2895eb12
Fixed absorption application logic, close #518
2017-04-05 21:16:40 +01:00
9a35b4fbc8
Removed redundant TODO comment
2017-03-21 14:03:53 +00:00
940b20c191
Implemented Absorption effect
...
This is a little buggy due to a client-sided bug. https://bugs.mojang.com/browse/MCPE-20520
TODO: add attribute save/restore
2017-03-21 13:23:57 +00:00
c21768df26
Updated Effect constants, removed incorrect/misleading SWIFTNESS constant
...
So what? I'd rather crash plugins than have them suddenly behave strangely because SWIFTNESS is now an alias for SPEED instead of HASTE.
2017-03-21 11:49:18 +00:00
2d927db264
Implemented Instant Health and Instant Damage effects
2017-03-21 11:38:08 +00:00
78278a0b93
Fixed a mistake in old effect handling
2017-03-12 20:15:21 +00:00
955dc38be4
Fixed botch-job implementation of Health Boost, will now actually work and not crash the server
2017-03-12 20:06:39 +00:00
f58ee2028e
Moved effects stuff to json
2017-03-12 19:52:57 +00:00
6c5dbd7359
Merge branch 'master' into api3/network
2017-03-12 12:22:11 +00:00
7fb3c7343f
Fit attribute value to range when applying slowness, close #410
...
According to http://minecraft.gamepedia.com/Status_effect#Slowness , anything higher than slowness 7 will cause the player to be unable to move. Therefore this value should be clamped to a minimum of 0, not crash.
2017-03-09 21:01:10 +00:00
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00
1ee689e759
Fixed mess of entity ID 0 for players, fixed emeralds
2017-03-02 11:04:00 +00:00
10c8632417
Fixed effect amplifier overflow crash, close #147 ( #191 )
2016-12-27 21:30:54 +00:00
5d16ecc003
Entity Effect Events ( #141 )
...
Add EntityEffectEvent class that the EntityEffectAddEvent and
EntityEffectRemoveEvent classes extend. Add event calls to Effect class.
2016-12-06 11:59:49 +00:00
ce72f634b0
Update some old code
2016-10-27 10:55:04 +01:00
09ce8fab82
Fixed speed and slowness potions
2016-03-07 18:12:54 +08:00
e79976bdac
Added events
2016-02-11 22:07:04 +08:00
52e8781d36
Implemented hunger-related regen and damage
2016-02-11 01:53:51 +08:00
329a525ea1
Implemented food and hunger
2016-02-10 22:49:48 +08:00
31ef7721b1
Removed network channels, bumped protocol
2015-08-12 14:59:48 +02:00
3e2cce3c2c
use cleanup
2015-08-07 21:26:24 +02:00
ef738ef299
Fixed effect entity id
2015-06-19 15:34:33 +02:00
c0782caab9
Added alternate name for Swiftness
2015-04-15 16:15:17 +02:00
68ea9b067f
Added health boost potion effect, added Player->sendTip(), MCPE 0.11.0 build 4
2015-04-15 12:33:16 +02:00
0b176b3fe0
Implemented Channeled packet sending
2015-04-14 18:24:40 +02:00
410f6ba618
Fixed some potion effect names
2015-04-12 12:46:06 +02:00
0c041ebca3
Added base translation system
2015-04-11 01:32:08 +02:00
71657a2a4e
Improved effects, threading changes
2015-04-08 17:31:06 +02:00
3cae81c01b
Added Nausea effect
2015-04-08 13:40:48 +02:00
d5ba2a72a5
Added strength, weakness, resistance effects, fixed entity area
2015-03-29 14:49:47 +02:00
58253be0a0
Implemented swiftness, added invisible status to FloatingTextParticle
2015-03-20 17:19:06 +01:00
ebc8928c21
Implemented effect colors
2015-03-20 02:31:54 +01:00
275a1e3f60
Water breathing potion
2015-03-19 10:14:35 +01:00
2ae80031f0
New implementation of sending/setting/getting entity data, added effect saving
2015-03-17 00:01:54 +01:00
bc31df37d0
Added invisibility potion, metadata sending for invisibility/nametags
2015-03-16 19:05:31 +01:00
4ec584d800
Added real memory and thread usage
2015-03-16 11:56:00 +01:00
4383e272eb
Added Effects base, /effect and methods
2015-03-15 23:15:54 +01:00