cEntityEffect


Index:
Articles
Classes
Hooks

Quick navigation:
cArrowEntity
cBeaconEntity
cBlockArea
cBlockEntity
cBlockEntityWithItems
cBlockInfo
cBoundingBox
cBrewingstandEntity
cChatColor
cChestEntity
cChunkDesc
cClientHandle
cCommandBlockEntity
cCompositeChat
cCraftingGrid
cCraftingRecipe
cCryptoHash
cCuboid
cDispenserEntity
cDropperEntity
cDropSpenserEntity
cEnchantments
cEntity
cEntityEffect
cExpBottleEntity
cFile
cFireChargeEntity
cFireworkEntity
cFloater
cFlowerPotEntity
cFurnaceEntity
cGhastFireballEntity
cHangingEntity
cHopperEntity
cIniFile
cInventory
cItem
cItemFrame
cItemGrid
cItems
cJson
cJukeboxEntity
cLineBlockTracer
cLuaWindow
cMap
cMapManager
cMobHeadEntity
cMobSpawnerEntity
cMojangAPI
cMonster
cNetwork
cNoteEntity
cObjective
cPainting
cPawn
cPickup
cPlayer
cPlugin
cPluginLua
cPluginManager
cProjectileEntity
cRankManager
cRoot
cScoreboard
cServer
cServerHandle
cSignEntity
cSplashPotionEntity
cStatManager
cStringCompression
cTCPLink
cTeam
cThrownEggEntity
cThrownEnderPearlEntity
cThrownSnowballEntity
cTNTEntity
cTracer
cUDPEndpoint
cUrlClient
cUrlParser
cWebAdmin
cWindow
cWitherSkullEntity
cWorld
HTTPFormData
HTTPRequest
HTTPTemplateRequest
ItemCategory
lxp
sqlite3
TakeDamageInfo
tolua
Vector3d
Vector3f
Vector3i
Globals

Contents


cEntityEffect class


Constants

NameValueNotes
effAbsorption 22
effBlindness 15
effFireResistance 12
effHaste 3
effHealthBoost 21
effHunger 17
effInstantDamage 7
effInstantHealth 6
effInvisibility 14
effJumpBoost 8
effMiningFatigue 4
effNausea 9
effNightVision 16
effNoEffect 0
effPoison 19
effRegeneration 10
effResistance 11
effSaturation 23
effSlowness 2
effSpeed 1
effStrength 5
effWaterBreathing 13
effWeakness 18
effWither 20

Functions

NameParametersReturn valueNotes
GetPotionColor ItemDamage number (STATIC) Returns the potion color (used by the client for visuals), based on the potion's damage value
GetPotionEffectDuration ItemDamage number (STATIC) Returns the effect duration, in ticks, based on the potion's damage value
GetPotionEffectIntensity ItemDamage short (STATIC) Retrieves the intensity level from the potion's damage value. Returns 0 for level I potions, 1 for level II potions.
GetPotionEffectType ItemDamage cEntityEffect (STATIC) Translates the potion's damage value into the entity effect that the potion gives
IsPotionDrinkable ItemDamage boolean (STATIC) Returns true if the potion with the given damage is drinkable
Generated on 2016-08-22 23:53:06, Build ID Unknown, Commit approx: 2ed4af74edd14ae17e1c6c64d44caa7b7fc30d5a