cEntityEffect


Index:
Articles
Classes
Hooks

Quick navigation:
cArrowEntity
cBeaconEntity
cBlockArea
cBlockEntity
cBlockEntityWithItems
cBlockInfo
cBoat
cBoundingBox
cBrewingstandEntity
cChatColor
cChestEntity
cChunkDesc
cClientHandle
cCommandBlockEntity
cCompositeChat
cCraftingGrid
cCraftingRecipe
cCryptoHash
cCuboid
cDispenserEntity
cDropperEntity
cDropSpenserEntity
cEnchantments
cEntity
cEntityEffect
cExpBottleEntity
cExpOrb
cFallingBlock
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
ItemDamagenumber
number
(STATIC) Returns the potion color (used by the client for visuals), based on the potion's damage value
GetPotionEffectDuration
ItemDamagenumber
number
(STATIC) Returns the effect duration, in ticks, based on the potion's damage value
GetPotionEffectIntensity
ItemDamagenumber
shortnumber
(STATIC) Retrieves the intensity level from the potion's damage value. Returns 0 for level I potions, 1 for level II potions.
GetPotionEffectType
ItemDamagenumber
eTypeeType
(STATIC) Translates the potion's damage value into the entity effect that the potion gives
IsPotionDrinkable
ItemDamagenumber
boolean
(STATIC) Returns true if the potion with the given damage is drinkable
Generated on 2017-06-26 01:00:07, Build ID Unknown, Commit approx: bd025e2bdbaf86425b1d692ffc4aa87c3c086cc7