cEntityEffect


Index:
Articles
Classes
Hooks

Quick navigation:
BannerPattern
BossBarColor
BossBarDivisionType
cArrowEntity
cBeaconEntity
cBedEntity
cBlockArea
cBlockEntity
cBlockEntityWithItems
cBlockInfo
cBoat
cBoundingBox
cBrewingstandEntity
cChatColor
cChestEntity
cChunkDesc
cClientHandle
cColor
cCommandBlockEntity
cCompositeChat
cCraftingGrid
cCraftingRecipe
cCryptoHash
cCuboid
cDispenserEntity
cDropperEntity
cDropSpenserEntity
cEnchantments
cEnderCrystal
cEntity
cEntityEffect
cExpBottleEntity
cExpOrb
cFallingBlock
cFile
cFireChargeEntity
cFireworkEntity
cFloater
cFlowerPotEntity
cFurnaceEntity
cGhastFireballEntity
cHangingEntity
cHopperEntity
cIniFile
cInventory
cItem
cItemFrame
cItemGrid
cItems
cJson
cJukeboxEntity
cLeashKnot
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
cStringCompression
cTCPLink
cTeam
cThrownEggEntity
cThrownEnderPearlEntity
cThrownSnowballEntity
cTNTEntity
cUDPEndpoint
cUrlClient
cUrlParser
CustomStatistic
cUUID
cWebAdmin
cWindow
cWitherSkullEntity
cWorld
EffectID
HTTPFormData
HTTPRequest
HTTPTemplateRequest
ItemCategory
lxp
SmokeDirection
sqlite3
StatisticsManager
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 by APIDump on 2024-10-25 05:01:00, Build ID Unknown, Commit approx: 0325de7dacaf1e2feaea5eaab4791bc23d78f9e7