Potion Effect Type Wrapper
Properties
Link copied to clipboard
Increases the maximum health of an entity with health that cannot be regenerated, but is refilled every 30 seconds.
Link copied to clipboard
Blinds an entity.
Link copied to clipboard
Warps vision on the client.
Link copied to clipboard
Decreases damage dealt to an entity.
Link copied to clipboard
Increases dig speed.
Link copied to clipboard
Stops fire damage.
Link copied to clipboard
Hurts an entity.
Link copied to clipboard
Heals an entity.
Link copied to clipboard
Increases the maximum health of an entity.
Link copied to clipboard
Increases hunger.
Link copied to clipboard
Increases damage dealt.
Link copied to clipboard
Grants invisibility.
Link copied to clipboard
Increases jump height.
Link copied to clipboard
Allows an entity to see in the dark.
Link copied to clipboard
Deals damage to an entity over time.
Link copied to clipboard
Regenerates health.
Link copied to clipboard
Increases the food level of an entity each tick.
Link copied to clipboard
Decreases movement speed.
Link copied to clipboard
Decreases dig speed.
Link copied to clipboard
Increases movement speed.
Link copied to clipboard
Allows breathing underwater.
Link copied to clipboard
Decreases damage dealt by an entity.
Link copied to clipboard
Deals damage to an entity over time and gives the health to the shooter.
Functions
Link copied to clipboard
Creates getClassById PotionEffect from this PotionEffectType, applying duration modifiers and checks.
Link copied to clipboard
Gets the effect type specified by the given name.
Link copied to clipboard
Returns the duration modifier applied to effects of this type.
Link copied to clipboard
Get the potion type bound to this wrapper.
Link copied to clipboard
Registers an effect type with the given object.
Link copied to clipboard
Stops accepting any effect type registrations.
Link copied to clipboard
Returns an array of all the registered PotionEffectTypes.