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) 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) 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) 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) WithLevel ¶
func (e Protection) WithLevel(level int) item.Enchantment
WithLevel ...
type SilkTouch ¶ added in v0.1.0
type SilkTouch struct {
// contains filtered or unexported fields
}
SilkTouch is an enchantment that allows many blocks to drop themselves instead of their usual items when mined.
func (SilkTouch) CompatibleWith ¶ added in v0.1.0
CompatibleWith ...
Click to show internal directories.
Click to hide internal directories.