enchantment

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: MIT Imports: 1 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlastProtection

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

BlastProtection is an armour enchantment that decreases explosion damage.

func (BlastProtection) CompatibleWith

func (e BlastProtection) CompatibleWith(s item.Stack) bool

CompatibleWith ...

func (BlastProtection) Level

func (e BlastProtection) Level() int

Level ...

func (BlastProtection) MaxLevel

func (e BlastProtection) MaxLevel() int

MaxLevel ...

func (BlastProtection) Name

func (e BlastProtection) Name() string

Name ...

func (BlastProtection) WithLevel

func (e BlastProtection) WithLevel(level int) item.Enchantment

WithLevel ...

type FireProtection

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

FireProtection is an armour enchantment that decreases fire damage.

func (FireProtection) CompatibleWith

func (e FireProtection) CompatibleWith(s item.Stack) bool

CompatibleWith ...

func (FireProtection) Level

func (e FireProtection) Level() int

Level ...

func (FireProtection) MaxLevel

func (e FireProtection) MaxLevel() int

MaxLevel ...

func (FireProtection) Name

func (e FireProtection) Name() string

Name ...

func (FireProtection) WithLevel

func (e FireProtection) WithLevel(level int) item.Enchantment

WithLevel ...

type ProjectileProtection

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

ProjectileProtection is an armour enchantment that reduces damage from projectiles.

func (ProjectileProtection) CompatibleWith

func (e ProjectileProtection) CompatibleWith(s item.Stack) bool

CompatibleWith ...

func (ProjectileProtection) Level

func (e ProjectileProtection) Level() int

Level ...

func (ProjectileProtection) MaxLevel

func (e ProjectileProtection) MaxLevel() int

MaxLevel ...

func (ProjectileProtection) Name

func (e ProjectileProtection) Name() string

Name ...

func (ProjectileProtection) WithLevel

func (e ProjectileProtection) WithLevel(level int) item.Enchantment

WithLevel ...

type Protection

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

Protection is an armour enchantment which increases the damage reduction.

func (Protection) CompatibleWith

func (e Protection) CompatibleWith(s item.Stack) bool

CompatibleWith ...

func (Protection) Level

func (e Protection) Level() int

Level ...

func (Protection) MaxLevel

func (e Protection) MaxLevel() int

MaxLevel ...

func (Protection) Name

func (e Protection) Name() string

Name ...

func (Protection) WithLevel

func (e Protection) WithLevel(level int) item.Enchantment

WithLevel ...

Jump to

Keyboard shortcuts

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