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
71b4c49490
Cave spider now poisons its victim, added IsPawn function to Entity
2014-06-17 11:39:21 -07:00
archshift
814cdca054
Added wither damage type, wither entity effect.
2014-06-17 11:39:21 -07:00
archshift
2574573c88
Monster: added IsUndead(), undead-specific entity effects
2014-06-17 11:39:20 -07:00
archshift
52abd90a28
Applies splash potion effects to mobs as well as players
2014-06-17 11:39:20 -07:00
archshift
68011a004a
Removed long function wrapping
2014-06-17 11:39:20 -07:00
archshift
3766ac96d7
ItemHandler: changed IsDrinkable() to take a short argument
2014-06-17 11:39:20 -07:00
archshift
a1a8b7c0ee
Splash potion: Adjusted speed, fixed spawn position
2014-06-17 11:39:20 -07:00
archshift
73cea7065d
Entity effect type: use 'eff' as a prefix instead of 'ef'
2014-06-17 11:39:20 -07:00
archshift
58f35af6e7
Added splash potion functionality
2014-06-17 11:39:20 -07:00
archshift
5803094d7d
Entity: only fire critical hit if damage type is physical
2014-06-17 11:39:20 -07:00
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
worktycho
2f2071afc1
Merge pull request #1101 from Howaner/FenceGate
...
Fix fence gate redstone simulator.
2014-06-17 18:39:21 +01: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
a4d4621fbe
Add parenthesis
2014-06-17 12:47:18 +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
7c4b8306aa
Glass shouldn't drop.
2014-06-16 23:05:29 +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
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
6ee562caf3
Merge branch 'master' of github.com:mc-server/MCServer
2014-06-16 15:13:10 +01:00
Tycho
ee50790398
Merge branch 'master' of github.com:mc-server/MCServer
2014-06-16 15:12:50 +01:00
Tycho
84c83e0deb
Fix a few warnings
2014-06-16 15:03:07 +01:00
Mattes D
24b0878af7
Merge pull request #1024 from worktycho/AllocationPool
...
First attempt at implementing an Allocation pool
2014-06-16 16:00:14 +02:00
Tycho
1e57161ecc
Added override
2014-06-16 14:12:10 +01:00
madmaxoft
6b503b45a0
Fixed a copypasta error in WormNestCaves generator settings.
2014-06-16 14:53:33 +02:00
madmaxoft
c41299b4d4
Updated the SandFlatRoofVillage prefabs.
2014-06-16 10:18:44 +02:00
madmaxoft
d9719e696c
Added random offsets to cGridStructGen.
...
Fixes #740 .
2014-06-15 23:34:44 +02:00
Mattes D
a72ec6300d
Merge pull request #1090 from mc-server/saveoncrash
...
Data is saved on crash
2014-06-15 23:16:37 +02:00
Tiger Wang
abbd11be6d
Players are saved regularly
...
* Fixes #1076
2014-06-15 20:28:08 +01:00
Tiger Wang
f822a46bdb
Fixed bad comparison crash
...
* Fixes #1095
2014-06-15 19:42:14 +01:00
Tiger Wang
2a6ca71a0b
Fixed daylight sensor unpowering
...
* Fixes #1094
2014-06-15 16:27:20 +01:00
Tycho
8a2aa6cb16
Changed names of callbacks
2014-06-14 20:24:52 +01:00
Tycho
6ddcf42409
Removed spaces
2014-06-14 20:10:49 +01:00
Tycho
41e5a64ff8
Documented starvation callbacks
2014-06-14 20:07:17 +01:00