potion

package
v0.8.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 2 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Potion

type Potion struct {
	// contains filtered or unexported fields
}

Potion holds the effects given by the potion type.

func All

func All() []Potion

All ...

func Awkward

func Awkward() Potion

Awkward ...

func FireResistance

func FireResistance() Potion

FireResistance ...

func From added in v0.5.0

func From(id int32) Potion

From returns a Potion by the ID given.

func Harming

func Harming() Potion

Harming ...

func Healing

func Healing() Potion

Healing ...

func Invisibility

func Invisibility() Potion

Invisibility ...

func Leaping

func Leaping() Potion

Leaping ...

func LongFireResistance

func LongFireResistance() Potion

LongFireResistance ...

func LongInvisibility

func LongInvisibility() Potion

LongInvisibility ...

func LongLeaping

func LongLeaping() Potion

LongLeaping ...

func LongMundane

func LongMundane() Potion

LongMundane ...

func LongNightVision

func LongNightVision() Potion

LongNightVision ...

func LongPoison

func LongPoison() Potion

LongPoison ...

func LongRegeneration

func LongRegeneration() Potion

LongRegeneration ...

func LongSlowFalling

func LongSlowFalling() Potion

LongSlowFalling ...

func LongSlowness

func LongSlowness() Potion

LongSlowness ...

func LongStrength

func LongStrength() Potion

LongStrength ...

func LongSwiftness

func LongSwiftness() Potion

LongSwiftness ...

func LongTurtleMaster

func LongTurtleMaster() Potion

LongTurtleMaster ...

func LongWaterBreathing

func LongWaterBreathing() Potion

LongWaterBreathing ...

func LongWeakness

func LongWeakness() Potion

LongWeakness ...

func Mundane

func Mundane() Potion

Mundane ...

func NightVision

func NightVision() Potion

NightVision ...

func Poison

func Poison() Potion

Poison ...

func Regeneration

func Regeneration() Potion

Regeneration ...

func SlowFalling

func SlowFalling() Potion

SlowFalling ...

func Slowness

func Slowness() Potion

Slowness ...

func Strength

func Strength() Potion

Strength ...

func StrongHarming

func StrongHarming() Potion

StrongHarming ...

func StrongHealing

func StrongHealing() Potion

StrongHealing ...

func StrongLeaping

func StrongLeaping() Potion

StrongLeaping ...

func StrongPoison

func StrongPoison() Potion

StrongPoison ...

func StrongRegeneration

func StrongRegeneration() Potion

StrongRegeneration ...

func StrongSlowness

func StrongSlowness() Potion

StrongSlowness ...

func StrongStrength

func StrongStrength() Potion

StrongStrength ...

func StrongSwiftness

func StrongSwiftness() Potion

StrongSwiftness ...

func StrongTurtleMaster

func StrongTurtleMaster() Potion

StrongTurtleMaster ...

func Swiftness

func Swiftness() Potion

Swiftness ...

func Thick

func Thick() Potion

Thick ...

func TurtleMaster

func TurtleMaster() Potion

TurtleMaster ...

func Water

func Water() Potion

Water ...

func WaterBreathing

func WaterBreathing() Potion

WaterBreathing ...

func Weakness

func Weakness() Potion

Weakness ...

func Wither

func Wither() Potion

Wither ...

func (Potion) Effects

func (p Potion) Effects() []effect.Effect

Effects returns the effects of the potion.

func (Potion) Uint8

func (p Potion) Uint8() uint8

Uint8 returns the potion type as a uint8.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL