archshift
8eceaf9b0c
Player: made healing instantaneous
2014-06-17 11:39:20 -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
615152eb8c
Pawn.cpp: fixed effect iterator BAD_ACCESS
...
Erasure was occurring before the iterator increased, causing a bad access. Solved by storing map pairs in variables and manually updating iterator before erasure.
Fixed mix-up in function arguments on food poisoning
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
a9a4c9c6b2
EntityEffect: read-only getters, added user and distance modifier fields
...
User: the pawn that uses or produces the entity effect (drinks/throws a potion)
Distance modifier: the potency modifier from splash potion effectivity radius
2014-06-17 11:39:19 -07:00
archshift
2123173202
Player: Removed food-poisoning-specific code, set duration to 30 seconds
...
http://minecraft.gamepedia.com/Hunger#Behavior
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
90145a9514
Added iterator on tick to manage entity effect duration
2014-06-17 11:17:33 -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
archshift
c1692a2e3b
Added classes for splash potions and wither skulls
2014-06-17 11:17:32 -07:00
Howaner
2da7768298
Merge branch 'master' into Blocks
2014-06-17 19:50:26 +02:00
Howaner
bcf798f260
Fix fence gate sound (Redstone simulator).
2014-06-17 19:47:32 +02:00
worktycho
2f2071afc1
Merge pull request #1101 from Howaner/FenceGate
...
Fix fence gate redstone simulator.
2014-06-17 18:39:21 +01:00
Howaner
bde51d8778
Add fence gate sound.
2014-06-17 19:08:36 +02:00
Howaner
c60ba8a52d
Merge branch 'master' into GlobalFixes
2014-06-17 19:03:56 +02:00
Howaner
8de8768f02
Add UNUSED() Tags
2014-06-17 17:01:23 +02:00
Howaner
0d08b9a62e
Add door sound
2014-06-17 17:00:51 +02:00
STRWarrior
008a6ce311
Added crBlocked and crNoPermission
2014-06-17 16:19:31 +02:00
STRWarrior
15ae4ce233
HandleCommand now returns an CommandResult enum.
2014-06-17 14:55:15 +02:00
Howaner
8e927e6e2b
Check block type from cBlockEntity
2014-06-17 14:45:29 +02:00
Mattes D
f682646d3a
Merge pull request #1099 from Howaner/Blocks
...
Glass-made blocks don't drop pickups.
2014-06-17 14:03:24 +02:00
Mattes D
532d388d07
Merge pull request #1102 from Howaner/PressurePlate
...
Add pressure plate handler
2014-06-17 13:52:00 +02:00
Howaner
7e985f3c7d
Add more documentation.
2014-06-17 13:44:07 +02:00
Howaner
ce06ec1632
derp
2014-06-17 13:33:41 +02:00
STRWarrior
8928310fd8
Fixed possible confusion.
...
If a command handler gets an error then the player will receive an unknown command error. This can be confusing for players.
2014-06-17 13:27:04 +02:00
Howaner
da88c98034
Add comment.
2014-06-17 13:25:36 +02:00
Howaner
a4d4621fbe
Add parenthesis
2014-06-17 12:47:18 +02:00
Howaner
37de63895f
The same: Float, not Double
2014-06-17 12:45:12 +02:00
Howaner
d89f03b90c
Float, not Double
2014-06-17 12:43:45 +02:00
Howaner
1086b8ba05
Revert "Fix right click bugs."
...
This reverts commit 61b6fdde75
.
2014-06-17 01:18:09 +02:00
Howaner
46b84aa8b6
The motion is already set in AddBasicEntity()
2014-06-17 01:17:35 +02:00
Howaner
a89524d533
Add DoWithBlockEntityAt() to WorldInterface.h
2014-06-17 01:15:38 +02:00
Howaner
1316d2d24d
Add end lines to BlockPressurePlate.h
2014-06-17 00:41:31 +02:00
Howaner
43ff96f664
Add pressure plate handler
2014-06-17 00:40:35 +02:00
Howaner
a10b716ba2
Fix fence gate redstone simulator.
2014-06-17 00:22:57 +02:00
Howaner
a1fd0b0335
Split Broadcast Sound Effect function call in multiple lines.
2014-06-16 23:41:23 +02:00
Howaner
9dea609194
Fix doubleslab meta.
2014-06-16 23:35:30 +02:00
Howaner
7c4b8306aa
Glass shouldn't drop.
2014-06-16 23:05:29 +02:00
Howaner
b45e85a678
This isn't needed
2014-06-16 22:57:27 +02:00
Howaner
885a50d77a
Fix bow sound and creative arrow pickup.
2014-06-16 22:57:13 +02:00
madmaxoft
d6979ad95d
Fixed GCC compilation.
2014-06-16 22:53:08 +02:00
madmaxoft
9c3086d88c
Fixed MSVC builds.
2014-06-16 22:42:50 +02:00
Howaner
e50423991e
Add bow charging animation
2014-06-16 21:57:23 +02:00
Tycho
74cd730589
FIxed second weird enum
2014-06-16 18:06:09 +01:00
Tycho
6fa99a211e
Refactored reversing logic into seperate function
2014-06-16 17:55:58 +01:00
worktycho
4fddbf9dfc
Merge pull request #883 from mc-server/CutOffLighting
...
Lighting reads blocktypes only for blocks under heightmap.
2014-06-16 17:37:07 +01:00
madmaxoft
d379f27ea4
Fixed gcc compilation.
2014-06-16 16:51:30 +02:00
Tycho
3a7c0c8ce9
Fixed tigers weird enums
2014-06-16 15:29:49 +01:00