Versions in this module Expand all Collapse all v1 v1.0.1 Jul 30, 2026 v1.0.0 Jul 30, 2026 Changes in this version + const DefaultConsumeDuration + var EnchantmentRarityCommon enchantmentRarityCommon + var EnchantmentRarityRare enchantmentRarityRare + var EnchantmentRarityUncommon enchantmentRarityUncommon + var EnchantmentRarityVeryRare enchantmentRarityVeryRare + var ToolTierCopper = ToolTier + var ToolTierDiamond = ToolTier + var ToolTierGold = ToolTier + var ToolTierIron = ToolTier + var ToolTierNetherite = ToolTier + var ToolTierStone = ToolTier + var ToolTierWood = ToolTier + var TypeAxe = ToolType + var TypeHoe = ToolType + var TypeNone = ToolType + var TypePickaxe = ToolType + var TypeShears = ToolType + var TypeShovel = ToolType + var TypeSword = ToolType + func ArmourTrimMaterials() []world.Item + func EnchantmentID(e EnchantmentType) (int, bool) + func RegisterEnchantment(id int, enchantment EnchantmentType) + type AmethystShard struct + func (AmethystShard) EncodeItem() (name string, meta int16) + func (AmethystShard) MaterialColour() string + func (AmethystShard) TrimMaterial() string + type Apple struct + func (Apple) AlwaysConsumable() bool + func (Apple) CompostChance() float64 + func (a Apple) Consume(_ *world.Tx, c Consumer) Stack + func (a Apple) EncodeItem() (name string, meta int16) + func (d Apple) ConsumeDuration() time.Duration + type Armour interface + DefencePoints func() float64 + KnockBackResistance func() float64 + Toughness func() float64 + type ArmourTier interface + BaseDurability func() float64 + EnchantmentValue func() int + KnockBackResistance func() float64 + Name func() string + Toughness func() float64 + func ArmourTiers() []ArmourTier + type ArmourTierChain struct + func (ArmourTierChain) BaseDurability() float64 + func (ArmourTierChain) EnchantmentValue() int + func (ArmourTierChain) KnockBackResistance() float64 + func (ArmourTierChain) Name() string + func (ArmourTierChain) Toughness() float64 + type ArmourTierCopper struct + func (ArmourTierCopper) BaseDurability() float64 + func (ArmourTierCopper) EnchantmentValue() int + func (ArmourTierCopper) KnockBackResistance() float64 + func (ArmourTierCopper) Name() string + func (ArmourTierCopper) Toughness() float64 + type ArmourTierDiamond struct + func (ArmourTierDiamond) BaseDurability() float64 + func (ArmourTierDiamond) EnchantmentValue() int + func (ArmourTierDiamond) KnockBackResistance() float64 + func (ArmourTierDiamond) Name() string + func (ArmourTierDiamond) Toughness() float64 + type ArmourTierGold struct + func (ArmourTierGold) BaseDurability() float64 + func (ArmourTierGold) EnchantmentValue() int + func (ArmourTierGold) KnockBackResistance() float64 + func (ArmourTierGold) Name() string + func (ArmourTierGold) Toughness() float64 + type ArmourTierIron struct + func (ArmourTierIron) BaseDurability() float64 + func (ArmourTierIron) EnchantmentValue() int + func (ArmourTierIron) KnockBackResistance() float64 + func (ArmourTierIron) Name() string + func (ArmourTierIron) Toughness() float64 + type ArmourTierLeather struct + Colour color.RGBA + func (ArmourTierLeather) BaseDurability() float64 + func (ArmourTierLeather) EnchantmentValue() int + func (ArmourTierLeather) KnockBackResistance() float64 + func (ArmourTierLeather) Name() string + func (ArmourTierLeather) Toughness() float64 + type ArmourTierNetherite struct + func (ArmourTierNetherite) BaseDurability() float64 + func (ArmourTierNetherite) EnchantmentValue() int + func (ArmourTierNetherite) KnockBackResistance() float64 + func (ArmourTierNetherite) Name() string + func (ArmourTierNetherite) Toughness() float64 + type ArmourTrim struct + Material ArmourTrimMaterial + Template SmithingTemplateType + func (trim ArmourTrim) Zero() bool + type ArmourTrimMaterial interface + MaterialColour func() string + TrimMaterial func() string + type Arrow struct + Tip potion.Potion + func (Arrow) OffHand() bool + func (a Arrow) EncodeItem() (name string, meta int16) + type Axe struct + Tier ToolTier + func (a Axe) AttackDamage() float64 + func (a Axe) BaseMiningEfficiency(world.Block) float64 + func (a Axe) DurabilityInfo() DurabilityInfo + func (a Axe) EnchantmentValue() int + func (a Axe) EncodeItem() (name string, meta int16) + func (a Axe) FuelInfo() FuelInfo + func (a Axe) HarvestLevel() int + func (a Axe) MaxCount() int + func (a Axe) RepairableBy(i Stack) bool + func (a Axe) SmeltInfo() SmeltInfo + func (a Axe) ToolType() ToolType + func (a Axe) UseOnBlock(pos cube.Pos, _ cube.Face, _ mgl64.Vec3, tx *world.Tx, _ User, ctx *UseContext) bool + type BakedPotato struct + func (BakedPotato) AlwaysConsumable() bool + func (BakedPotato) CompostChance() float64 + func (BakedPotato) Consume(_ *world.Tx, c Consumer) Stack + func (BakedPotato) EncodeItem() (name string, meta int16) + func (d BakedPotato) ConsumeDuration() time.Duration + type BannerPattern struct + Type BannerPatternType + func (b BannerPattern) EncodeItem() (name string, meta int16) + func (b BannerPattern) MaxCount() int + type BannerPatternType struct + func BannerPatterns() []BannerPatternType + func BordureIndentedBannerPattern() BannerPatternType + func CreeperBannerPattern() BannerPatternType + func FieldMasonedBannerPattern() BannerPatternType + func FlowBannerPattern() BannerPatternType + func FlowerBannerPattern() BannerPatternType + func GlobeBannerPattern() BannerPatternType + func GusterBannerPattern() BannerPatternType + func MojangBannerPattern() BannerPatternType + func PiglinBannerPattern() BannerPatternType + func SkullBannerPattern() BannerPatternType + func (b BannerPatternType) String() string + func (b BannerPatternType) Uint8() uint8 + type BeaconPayment interface + PayableForBeacon func() bool + type Beef struct + Cooked bool + func (Beef) AlwaysConsumable() bool + func (b Beef) Consume(_ *world.Tx, c Consumer) Stack + func (b Beef) EncodeItem() (name string, meta int16) + func (b Beef) SmeltInfo() SmeltInfo + func (d Beef) ConsumeDuration() time.Duration + type Beetroot struct + func (Beetroot) AlwaysConsumable() bool + func (Beetroot) CompostChance() float64 + func (b Beetroot) Consume(_ *world.Tx, c Consumer) Stack + func (b Beetroot) EncodeItem() (name string, meta int16) + func (d Beetroot) ConsumeDuration() time.Duration + type BeetrootSoup struct + func (BeetrootSoup) AlwaysConsumable() bool + func (BeetrootSoup) Consume(_ *world.Tx, c Consumer) Stack + func (BeetrootSoup) EncodeItem() (name string, meta int16) + func (BeetrootSoup) MaxCount() int + func (d BeetrootSoup) ConsumeDuration() time.Duration + type BlazePowder struct + func (BlazePowder) EncodeItem() (name string, meta int16) + type BlazeRod struct + func (BlazeRod) EncodeItem() (name string, meta int16) + func (BlazeRod) FuelInfo() FuelInfo + type Bone struct + func (Bone) EncodeItem() (name string, meta int16) + type BoneMeal struct + func (b BoneMeal) EncodeItem() (name string, meta int16) + func (b BoneMeal) UseOnBlock(pos cube.Pos, _ cube.Face, _ mgl64.Vec3, tx *world.Tx, _ User, ctx *UseContext) bool + type BoneMealAffected interface + BoneMeal func(pos cube.Pos, tx *world.Tx) BoneMealResult + type BoneMealResult int + const BoneMealResultArea + const BoneMealResultNone + const BoneMealResultSmall + type Book struct + func (Book) EncodeItem() (name string, meta int16) + func (b Book) EnchantmentValue() int + type BookAndQuill struct + Pages []string + func (BookAndQuill) EncodeItem() (name string, meta int16) + func (BookAndQuill) MaxCount() int + func (b BookAndQuill) DecodeNBT(data map[string]any) any + func (b BookAndQuill) DeletePage(page int) BookAndQuill + func (b BookAndQuill) EncodeNBT() map[string]any + func (b BookAndQuill) InsertPage(page int, text string) BookAndQuill + func (b BookAndQuill) Page(page int) (string, bool) + func (b BookAndQuill) SetPage(page int, text string) BookAndQuill + func (b BookAndQuill) SwapPages(pageOne, pageTwo int) BookAndQuill + func (b BookAndQuill) TotalPages() int + type Boots struct + Tier ArmourTier + Trim ArmourTrim + func (b Boots) Boots() bool + func (b Boots) DecodeNBT(data map[string]any) any + func (b Boots) DefencePoints() float64 + func (b Boots) DurabilityInfo() DurabilityInfo + func (b Boots) EnchantmentValue() int + func (b Boots) EncodeItem() (name string, meta int16) + func (b Boots) EncodeNBT() map[string]any + func (b Boots) KnockBackResistance() float64 + func (b Boots) MaxCount() int + func (b Boots) RepairableBy(i Stack) bool + func (b Boots) SmeltInfo() SmeltInfo + func (b Boots) Toughness() float64 + func (b Boots) Use(_ *world.Tx, _ User, ctx *UseContext) bool + func (b Boots) WithTrim(trim ArmourTrim) world.Item + type BootsType interface + Boots func() bool + type BottleOfEnchanting struct + func (b BottleOfEnchanting) EncodeItem() (name string, meta int16) + func (b BottleOfEnchanting) Use(tx *world.Tx, user User, ctx *UseContext) bool + type Bow struct + func (Bow) DurabilityInfo() DurabilityInfo + func (Bow) EnchantmentValue() int + func (Bow) EncodeItem() (name string, meta int16) + func (Bow) FuelInfo() FuelInfo + func (Bow) MaxCount() int + func (Bow) Release(releaser Releaser, tx *world.Tx, ctx *UseContext, duration time.Duration) + func (Bow) Requirements() []Stack + type Bowl struct + func (Bowl) EncodeItem() (name string, meta int16) + func (Bowl) FuelInfo() FuelInfo + type Bread struct + func (Bread) AlwaysConsumable() bool + func (Bread) CompostChance() float64 + func (Bread) Consume(_ *world.Tx, c Consumer) Stack + func (Bread) EncodeItem() (name string, meta int16) + func (d Bread) ConsumeDuration() time.Duration + type Brick struct + func (Brick) PotDecoration() bool + func (b Brick) EncodeItem() (name string, meta int16) + type Bucket struct + Content BucketContent + func (b Bucket) AlwaysConsumable() bool + func (b Bucket) CanConsume() bool + func (b Bucket) Consume(_ *world.Tx, c Consumer) Stack + func (b Bucket) ConsumeDuration() time.Duration + func (b Bucket) Empty() bool + func (b Bucket) EncodeItem() (name string, meta int16) + func (b Bucket) FuelInfo() FuelInfo + func (b Bucket) MaxCount() int + func (b Bucket) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, _ User, ...) bool + type BucketContent struct + func LiquidBucketContent(l world.Liquid) BucketContent + func MilkBucketContent() BucketContent + func (b BucketContent) Liquid() (world.Liquid, bool) + func (b BucketContent) LiquidType() string + func (b BucketContent) String() string + type Carrier interface + HeldItems func() (mainHand, offHand Stack) + type CarrotOnAStick struct + func (CarrotOnAStick) EncodeItem() (name string, meta int16) + func (CarrotOnAStick) MaxCount() int + type Charcoal struct + func (Charcoal) EncodeItem() (name string, meta int16) + func (Charcoal) FuelInfo() FuelInfo + type Chargeable interface + CanCharge func(releaser Releaser, tx *world.Tx, ctx *UseContext) bool + Charge func(releaser Releaser, tx *world.Tx, ctx *UseContext, duration time.Duration) bool + ContinueCharge func(releaser Releaser, tx *world.Tx, ctx *UseContext, duration time.Duration) + ReleaseCharge func(releaser Releaser, tx *world.Tx, ctx *UseContext) bool + type Chestplate struct + Tier ArmourTier + Trim ArmourTrim + func (c Chestplate) Chestplate() bool + func (c Chestplate) DecodeNBT(data map[string]any) any + func (c Chestplate) DefencePoints() float64 + func (c Chestplate) DurabilityInfo() DurabilityInfo + func (c Chestplate) EnchantmentValue() int + func (c Chestplate) EncodeItem() (name string, meta int16) + func (c Chestplate) EncodeNBT() map[string]any + func (c Chestplate) KnockBackResistance() float64 + func (c Chestplate) MaxCount() int + func (c Chestplate) RepairableBy(i Stack) bool + func (c Chestplate) SmeltInfo() SmeltInfo + func (c Chestplate) Toughness() float64 + func (c Chestplate) Use(_ *world.Tx, _ User, ctx *UseContext) bool + func (c Chestplate) WithTrim(trim ArmourTrim) world.Item + type ChestplateType interface + Chestplate func() bool + type Chicken struct + Cooked bool + func (Chicken) AlwaysConsumable() bool + func (c Chicken) Consume(_ *world.Tx, co Consumer) Stack + func (c Chicken) EncodeItem() (name string, meta int16) + func (c Chicken) SmeltInfo() SmeltInfo + func (d Chicken) ConsumeDuration() time.Duration + type ClayBall struct + func (ClayBall) EncodeItem() (name string, meta int16) + func (ClayBall) SmeltInfo() SmeltInfo + type Clock struct + func (w Clock) EncodeItem() (name string, meta int16) + type Coal struct + func (Coal) EncodeItem() (name string, meta int16) + func (Coal) FuelInfo() FuelInfo + type Cod struct + Cooked bool + func (Cod) AlwaysConsumable() bool + func (c Cod) Consume(_ *world.Tx, co Consumer) Stack + func (c Cod) EncodeItem() (name string, meta int16) + func (c Cod) SmeltInfo() SmeltInfo + func (d Cod) ConsumeDuration() time.Duration + type Colour struct + func ColourBlack() Colour + func ColourBlue() Colour + func ColourBrown() Colour + func ColourCyan() Colour + func ColourGreen() Colour + func ColourGrey() Colour + func ColourLightBlue() Colour + func ColourLightGrey() Colour + func ColourLime() Colour + func ColourMagenta() Colour + func ColourOrange() Colour + func ColourPink() Colour + func ColourPurple() Colour + func ColourRed() Colour + func ColourWhite() Colour + func ColourYellow() Colour + func Colours() []Colour + func (c Colour) RGBA() color.RGBA + func (c Colour) SignRGBA() color.RGBA + func (c Colour) SilverString() string + func (c Colour) String() string + func (c Colour) Uint8() uint8 + type Compass struct + func (Compass) EncodeItem() (name string, meta int16) + type Compostable interface + CompostChance func() float64 + type Consumable interface + AlwaysConsumable func() bool + Consume func(tx *world.Tx, c Consumer) Stack + ConsumeDuration func() time.Duration + type Consumer interface + Absorption func() float64 + AddEffect func(e effect.Effect) + Effects func() []effect.Effect + RemoveEffect func(e effect.Type) + Saturate func(food int, saturation float64) + SetAbsorption func(health float64) + type Cookie struct + func (Cookie) AlwaysConsumable() bool + func (Cookie) CompostChance() float64 + func (Cookie) Consume(_ *world.Tx, c Consumer) Stack + func (Cookie) EncodeItem() (name string, meta int16) + func (d Cookie) ConsumeDuration() time.Duration + type Cooldown interface + Cooldown func() time.Duration + type CopperIngot struct + func (CopperIngot) MaterialColour() string + func (CopperIngot) TrimMaterial() string + func (c CopperIngot) EncodeItem() (name string, meta int16) + type CopperNugget struct + func (CopperNugget) EncodeItem() (name string, meta int16) + type Crossbow struct + Item Stack + func (Crossbow) DurabilityInfo() DurabilityInfo + func (Crossbow) EnchantmentValue() int + func (Crossbow) EncodeItem() (name string, meta int16) + func (Crossbow) FuelInfo() FuelInfo + func (Crossbow) MaxCount() int + func (c Crossbow) CanCharge(releaser Releaser, _ *world.Tx, ctx *UseContext) bool + func (c Crossbow) Charge(releaser Releaser, _ *world.Tx, ctx *UseContext, duration time.Duration) bool + func (c Crossbow) ContinueCharge(releaser Releaser, tx *world.Tx, ctx *UseContext, duration time.Duration) + func (c Crossbow) DecodeNBT(data map[string]any) any + func (c Crossbow) EncodeNBT() map[string]any + func (c Crossbow) ReleaseCharge(releaser Releaser, tx *world.Tx, ctx *UseContext) bool + type Diamond struct + func (Diamond) EncodeItem() (name string, meta int16) + func (Diamond) MaterialColour() string + func (Diamond) PayableForBeacon() bool + func (Diamond) TrimMaterial() string + type DiscFragment struct + func (DiscFragment) EncodeItem() (name string, meta int16) + type DragonBreath struct + func (DragonBreath) EncodeItem() (name string, meta int16) + type DriedKelp struct + func (DriedKelp) AlwaysConsumable() bool + func (DriedKelp) CompostChance() float64 + func (DriedKelp) Consume(_ *world.Tx, c Consumer) Stack + func (DriedKelp) ConsumeDuration() time.Duration + func (DriedKelp) EncodeItem() (name string, meta int16) + type Drinkable interface + Drinkable func() bool + type DurabilityInfo struct + AttackDurability int + BreakDurability int + BrokenItem func() Stack + MaxDurability int + Persistent bool + type Durable interface + DurabilityInfo func() DurabilityInfo + type Dye struct + Colour Colour + func (d Dye) EncodeItem() (name string, meta int16) + func (d Dye) UseOnBlock(pos cube.Pos, _ cube.Face, _ mgl64.Vec3, tx *world.Tx, user User, ...) bool + type EchoShard struct + func (EchoShard) EncodeItem() (name string, meta int16) + type Egg struct + func (e Egg) EncodeItem() (name string, meta int16) + func (e Egg) MaxCount() int + func (e Egg) Use(tx *world.Tx, user User, ctx *UseContext) bool + type Elytra struct + func (Elytra) Chestplate() bool + func (Elytra) DefencePoints() float64 + func (Elytra) DurabilityInfo() DurabilityInfo + func (Elytra) EncodeItem() (name string, meta int16) + func (Elytra) MaxCount() int + func (Elytra) RepairableBy(i Stack) bool + func (Elytra) Use(_ *world.Tx, _ User, ctx *UseContext) bool + func (e Elytra) KnockBackResistance() float64 + func (e Elytra) Toughness() float64 + type Emerald struct + func (Emerald) EncodeItem() (name string, meta int16) + func (Emerald) MaterialColour() string + func (Emerald) PayableForBeacon() bool + func (Emerald) TrimMaterial() string + type Enchantable interface + EnchantmentValue func() int + type EnchantedApple struct + func (EnchantedApple) AlwaysConsumable() bool + func (EnchantedApple) Consume(_ *world.Tx, c Consumer) Stack + func (EnchantedApple) ConsumeDuration() time.Duration + func (EnchantedApple) EncodeItem() (name string, meta int16) + type EnchantedBook struct + func (EnchantedBook) EncodeItem() (name string, meta int16) + func (b EnchantedBook) MaxCount() int + type Enchantment struct + func NewEnchantment(t EnchantmentType, lvl int) Enchantment + func (e Enchantment) Level() int + func (e Enchantment) Type() EnchantmentType + type EnchantmentRarity interface + Cost func() int + Name func() string + Weight func() int + type EnchantmentType interface + CompatibleWithEnchantment func(t EnchantmentType) bool + CompatibleWithItem func(i world.Item) bool + Cost func(level int) (int, int) + MaxLevel func() int + Name func() string + Rarity func() EnchantmentRarity + func EnchantmentByID(id int) (EnchantmentType, bool) + func Enchantments() []EnchantmentType + type EnderEye struct + func (EnderEye) EncodeItem() (name string, meta int16) + func (EnderEye) MaxCount() int + func (EnderEye) UseOnBlock(pos cube.Pos, _ cube.Face, _ mgl64.Vec3, tx *world.Tx, _ User, ctx *UseContext) bool + type EnderPearl struct + func (EnderPearl) Cooldown() time.Duration + func (EnderPearl) EncodeItem() (name string, meta int16) + func (EnderPearl) MaxCount() int + func (e EnderPearl) Use(tx *world.Tx, user User, ctx *UseContext) bool + type Feather struct + func (Feather) EncodeItem() (name string, meta int16) + type FermentedSpiderEye struct + func (FermentedSpiderEye) EncodeItem() (name string, meta int16) + type FireCharge struct + func (f FireCharge) EncodeItem() (name string, meta int16) + func (f FireCharge) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user User, ...) bool + type Firework struct + Duration time.Duration + Explosions []FireworkExplosion + func (Firework) EncodeItem() (name string, meta int16) + func (Firework) OffHand() bool + func (f Firework) DecodeNBT(data map[string]any) any + func (f Firework) EncodeNBT() map[string]any + func (f Firework) RandomisedDuration() time.Duration + func (f Firework) Use(tx *world.Tx, user User, ctx *UseContext) bool + func (f Firework) UseOnBlock(pos cube.Pos, _ cube.Face, clickPos mgl64.Vec3, tx *world.Tx, user User, ...) bool + type FireworkExplosion struct + Colour Colour + Fade Colour + Fades bool + Shape FireworkShape + Trail bool + Twinkle bool + func (f FireworkExplosion) DecodeNBT(data map[string]any) any + func (f FireworkExplosion) EncodeNBT() map[string]any + type FireworkShape struct + func FireworkShapeBurst() FireworkShape + func FireworkShapeCreeperHead() FireworkShape + func FireworkShapeHugeSphere() FireworkShape + func FireworkShapeSmallSphere() FireworkShape + func FireworkShapeStar() FireworkShape + func FireworkShapes() []FireworkShape + func (f FireworkShape) Name() string + func (f FireworkShape) String() string + func (f FireworkShape) Uint8() uint8 + type FireworkStar struct + func (f FireworkStar) DecodeNBT(data map[string]any) any + func (f FireworkStar) EncodeItem() (name string, meta int16) + func (f FireworkStar) EncodeNBT() map[string]any + type Flint struct + func (Flint) EncodeItem() (name string, meta int16) + type FlintAndSteel struct + func (f FlintAndSteel) DurabilityInfo() DurabilityInfo + func (f FlintAndSteel) EncodeItem() (name string, meta int16) + func (f FlintAndSteel) MaxCount() int + func (f FlintAndSteel) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user User, ...) bool + type Fuel interface + FuelInfo func() FuelInfo + type FuelInfo struct + Duration time.Duration + Residue Stack + func (f FuelInfo) WithResidue(residue Stack) FuelInfo + type GhastTear struct + func (GhastTear) EncodeItem() (name string, meta int16) + type GlassBottle struct + func (g GlassBottle) EncodeItem() (name string, meta int16) + func (g GlassBottle) UseOnBlock(pos cube.Pos, _ cube.Face, _ mgl64.Vec3, tx *world.Tx, _ User, ctx *UseContext) bool + type Glinted interface + Glinted func() bool + type GlisteringMelonSlice struct + func (GlisteringMelonSlice) EncodeItem() (name string, meta int16) + type GlowstoneDust struct + func (g GlowstoneDust) EncodeItem() (name string, meta int16) + type GoatHorn struct + Type sound.Horn + func (GoatHorn) Cooldown() time.Duration + func (GoatHorn) MaxCount() int + func (GoatHorn) Release(Releaser, *world.Tx, *UseContext, time.Duration) + func (GoatHorn) Requirements() []Stack + func (g GoatHorn) EncodeItem() (name string, meta int16) + func (g GoatHorn) Use(tx *world.Tx, user User, _ *UseContext) bool + type GoldIngot struct + func (GoldIngot) EncodeItem() (name string, meta int16) + func (GoldIngot) MaterialColour() string + func (GoldIngot) PayableForBeacon() bool + func (GoldIngot) TrimMaterial() string + type GoldNugget struct + func (GoldNugget) EncodeItem() (name string, meta int16) + type GoldenApple struct + func (e GoldenApple) AlwaysConsumable() bool + func (e GoldenApple) Consume(_ *world.Tx, c Consumer) Stack + func (e GoldenApple) ConsumeDuration() time.Duration + func (e GoldenApple) EncodeItem() (name string, meta int16) + type GoldenCarrot struct + func (GoldenCarrot) AlwaysConsumable() bool + func (GoldenCarrot) Consume(_ *world.Tx, c Consumer) Stack + func (GoldenCarrot) EncodeItem() (name string, meta int16) + func (d GoldenCarrot) ConsumeDuration() time.Duration + type Gunpowder struct + func (Gunpowder) EncodeItem() (name string, meta int16) + type HandEquipped interface + HandEquipped func() bool + type HeartOfTheSea struct + func (HeartOfTheSea) EncodeItem() (name string, meta int16) + type Helmet struct + Tier ArmourTier + Trim ArmourTrim + func (h Helmet) DecodeNBT(data map[string]any) any + func (h Helmet) DefencePoints() float64 + func (h Helmet) DurabilityInfo() DurabilityInfo + func (h Helmet) EnchantmentValue() int + func (h Helmet) EncodeItem() (name string, meta int16) + func (h Helmet) EncodeNBT() map[string]any + func (h Helmet) Helmet() bool + func (h Helmet) KnockBackResistance() float64 + func (h Helmet) MaxCount() int + func (h Helmet) RepairableBy(i Stack) bool + func (h Helmet) SmeltInfo() SmeltInfo + func (h Helmet) Toughness() float64 + func (h Helmet) Use(_ *world.Tx, _ User, ctx *UseContext) bool + func (h Helmet) WithTrim(trim ArmourTrim) world.Item + type HelmetType interface + Helmet func() bool + type Hoe struct + Tier ToolTier + func (h Hoe) AttackDamage() float64 + func (h Hoe) BaseMiningEfficiency(world.Block) float64 + func (h Hoe) DurabilityInfo() DurabilityInfo + func (h Hoe) EnchantmentValue() int + func (h Hoe) EncodeItem() (name string, meta int16) + func (h Hoe) FuelInfo() FuelInfo + func (h Hoe) HarvestLevel() int + func (h Hoe) MaxCount() int + func (h Hoe) RepairableBy(i Stack) bool + func (h Hoe) SmeltInfo() SmeltInfo + func (h Hoe) ToolType() ToolType + func (h Hoe) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, _ User, ...) bool + type HoneyBottle struct + func (HoneyBottle) AlwaysConsumable() bool + func (HoneyBottle) Consume(_ *world.Tx, c Consumer) Stack + func (HoneyBottle) ConsumeDuration() time.Duration + func (HoneyBottle) EncodeItem() (name string, meta int16) + func (HoneyBottle) MaxCount() int + type Honeycomb struct + func (Honeycomb) EncodeItem() (name string, meta int16) + func (Honeycomb) UseOnBlock(pos cube.Pos, _ cube.Face, _ mgl64.Vec3, tx *world.Tx, user User, ...) bool + type InkSac struct + Glowing bool + func (i InkSac) EncodeItem() (name string, meta int16) + func (i InkSac) UseOnBlock(pos cube.Pos, _ cube.Face, _ mgl64.Vec3, tx *world.Tx, user User, ...) bool + type IronIngot struct + func (IronIngot) EncodeItem() (name string, meta int16) + func (IronIngot) MaterialColour() string + func (IronIngot) PayableForBeacon() bool + func (IronIngot) TrimMaterial() string + type IronNugget struct + func (IronNugget) EncodeItem() (name string, meta int16) + type LapisLazuli struct + func (LapisLazuli) EncodeItem() (name string, meta int16) + func (LapisLazuli) MaterialColour() string + func (LapisLazuli) TrimMaterial() string + type Leather struct + func (Leather) EncodeItem() (name string, meta int16) + type Leggings struct + Tier ArmourTier + Trim ArmourTrim + func (l Leggings) DecodeNBT(data map[string]any) any + func (l Leggings) DefencePoints() float64 + func (l Leggings) DurabilityInfo() DurabilityInfo + func (l Leggings) EnchantmentValue() int + func (l Leggings) EncodeItem() (name string, meta int16) + func (l Leggings) EncodeNBT() map[string]any + func (l Leggings) KnockBackResistance() float64 + func (l Leggings) Leggings() bool + func (l Leggings) MaxCount() int + func (l Leggings) RepairableBy(i Stack) bool + func (l Leggings) SmeltInfo() SmeltInfo + func (l Leggings) Toughness() float64 + func (l Leggings) Use(_ *world.Tx, _ User, ctx *UseContext) bool + func (l Leggings) WithTrim(trim ArmourTrim) world.Item + type LeggingsType interface + Leggings func() bool + type LingeringPotion struct + Type potion.Potion + func (l LingeringPotion) EncodeItem() (name string, meta int16) + func (l LingeringPotion) MaxCount() int + func (l LingeringPotion) Use(tx *world.Tx, user User, ctx *UseContext) bool + type MagmaCream struct + func (m MagmaCream) EncodeItem() (name string, meta int16) + type MaxCounter interface + MaxCount func() int + type MelonSlice struct + func (MelonSlice) CompostChance() float64 + func (m MelonSlice) AlwaysConsumable() bool + func (m MelonSlice) Consume(_ *world.Tx, c Consumer) Stack + func (m MelonSlice) ConsumeDuration() time.Duration + func (m MelonSlice) EncodeItem() (name string, meta int16) + type MushroomStew struct + func (MushroomStew) AlwaysConsumable() bool + func (MushroomStew) Consume(_ *world.Tx, c Consumer) Stack + func (MushroomStew) EncodeItem() (name string, meta int16) + func (MushroomStew) MaxCount() int + func (d MushroomStew) ConsumeDuration() time.Duration + type MusicDisc struct + DiscType sound.DiscType + func (MusicDisc) MaxCount() int + func (m MusicDisc) EncodeItem() (name string, meta int16) + type Mutton struct + Cooked bool + func (Mutton) AlwaysConsumable() bool + func (d Mutton) ConsumeDuration() time.Duration + func (m Mutton) Consume(_ *world.Tx, c Consumer) Stack + func (m Mutton) EncodeItem() (name string, meta int16) + func (m Mutton) SmeltInfo() SmeltInfo + type NautilusShell struct + func (NautilusShell) EncodeItem() (name string, meta int16) + func (NautilusShell) OffHand() bool + type NetherBrick struct + func (NetherBrick) EncodeItem() (name string, meta int16) + type NetherQuartz struct + func (NetherQuartz) EncodeItem() (name string, meta int16) + func (NetherQuartz) MaterialColour() string + func (NetherQuartz) TrimMaterial() string + type NetherStar struct + func (NetherStar) BlastProof() bool + func (NetherStar) EncodeItem() (name string, meta int16) + type NetheriteIngot struct + func (NetheriteIngot) EncodeItem() (name string, meta int16) + func (NetheriteIngot) MaterialColour() string + func (NetheriteIngot) PayableForBeacon() bool + func (NetheriteIngot) TrimMaterial() string + type NetheriteScrap struct + func (NetheriteScrap) EncodeItem() (name string, meta int16) + type OffHand interface + OffHand func() bool + type OptionalColour uint8 + func NewOptionalColour(c Colour) OptionalColour + func OptionalColours() []OptionalColour + func (oc OptionalColour) Colour() (Colour, bool) + func (oc OptionalColour) Prepend(str string) string + func (oc OptionalColour) Uint8() uint8 + type Paper struct + func (Paper) EncodeItem() (name string, meta int16) + type PhantomMembrane struct + func (PhantomMembrane) EncodeItem() (name string, meta int16) + type Pickaxe struct + Tier ToolTier + func (p Pickaxe) AttackDamage() float64 + func (p Pickaxe) BaseMiningEfficiency(world.Block) float64 + func (p Pickaxe) DurabilityInfo() DurabilityInfo + func (p Pickaxe) EnchantmentValue() int + func (p Pickaxe) EncodeItem() (name string, meta int16) + func (p Pickaxe) FuelInfo() FuelInfo + func (p Pickaxe) HarvestLevel() int + func (p Pickaxe) MaxCount() int + func (p Pickaxe) RepairableBy(i Stack) bool + func (p Pickaxe) SmeltInfo() SmeltInfo + func (p Pickaxe) ToolType() ToolType + type PoisonousPotato struct + func (PoisonousPotato) AlwaysConsumable() bool + func (d PoisonousPotato) ConsumeDuration() time.Duration + func (p PoisonousPotato) Consume(_ *world.Tx, c Consumer) Stack + func (p PoisonousPotato) EncodeItem() (name string, meta int16) + type PoppedChorusFruit struct + func (PoppedChorusFruit) EncodeItem() (name string, meta int16) + type Porkchop struct + Cooked bool + func (Porkchop) AlwaysConsumable() bool + func (d Porkchop) ConsumeDuration() time.Duration + func (p Porkchop) Consume(_ *world.Tx, c Consumer) Stack + func (p Porkchop) EncodeItem() (name string, meta int16) + func (p Porkchop) SmeltInfo() SmeltInfo + type Potion struct + Type potion.Potion + func (p Potion) AlwaysConsumable() bool + func (p Potion) Consume(_ *world.Tx, c Consumer) Stack + func (p Potion) ConsumeDuration() time.Duration + func (p Potion) EncodeItem() (name string, meta int16) + func (p Potion) MaxCount() int + type PotterySherd struct + Type SherdType + func (PotterySherd) PotDecoration() bool + func (s PotterySherd) EncodeItem() (name string, meta int16) + type PrismarineCrystals struct + func (p PrismarineCrystals) EncodeItem() (name string, meta int16) + type PrismarineShard struct + func (PrismarineShard) EncodeItem() (name string, meta int16) + type Pufferfish struct + func (Pufferfish) AlwaysConsumable() bool + func (d Pufferfish) ConsumeDuration() time.Duration + func (p Pufferfish) Consume(_ *world.Tx, c Consumer) Stack + func (p Pufferfish) EncodeItem() (name string, meta int16) + type PumpkinPie struct + func (PumpkinPie) AlwaysConsumable() bool + func (PumpkinPie) CompostChance() float64 + func (PumpkinPie) Consume(_ *world.Tx, c Consumer) Stack + func (PumpkinPie) EncodeItem() (name string, meta int16) + func (d PumpkinPie) ConsumeDuration() time.Duration + type Rabbit struct + Cooked bool + func (Rabbit) AlwaysConsumable() bool + func (d Rabbit) ConsumeDuration() time.Duration + func (r Rabbit) Consume(_ *world.Tx, c Consumer) Stack + func (r Rabbit) EncodeItem() (name string, meta int16) + func (r Rabbit) SmeltInfo() SmeltInfo + type RabbitFoot struct + func (RabbitFoot) EncodeItem() (name string, meta int16) + type RabbitHide struct + func (RabbitHide) EncodeItem() (name string, meta int16) + type RabbitStew struct + func (RabbitStew) AlwaysConsumable() bool + func (RabbitStew) Consume(_ *world.Tx, c Consumer) Stack + func (RabbitStew) EncodeItem() (name string, meta int16) + func (RabbitStew) MaxCount() int + func (d RabbitStew) ConsumeDuration() time.Duration + type RawCopper struct + func (RawCopper) EncodeItem() (name string, meta int16) + func (RawCopper) SmeltInfo() SmeltInfo + type RawGold struct + func (RawGold) EncodeItem() (name string, meta int16) + func (RawGold) SmeltInfo() SmeltInfo + type RawIron struct + func (RawIron) EncodeItem() (name string, meta int16) + func (RawIron) SmeltInfo() SmeltInfo + type RecoveryCompass struct + func (RecoveryCompass) EncodeItem() (name string, meta int16) + type RedstoneWire struct + func (RedstoneWire) EncodeItem() (name string, meta int16) + func (RedstoneWire) MaterialColour() string + func (RedstoneWire) TrimMaterial() string + type Releasable interface + Release func(releaser Releaser, tx *world.Tx, ctx *UseContext, duration time.Duration) + Requirements func() []Stack + type Releaser interface + GameMode func() world.GameMode + PlaySound func(sound world.Sound) + type Repairable interface + RepairableBy func(i Stack) bool + type ResinBrick struct + func (ResinBrick) EncodeItem() (name string, meta int16) + func (ResinBrick) MaterialColour() string + func (ResinBrick) TrimMaterial() string + type RottenFlesh struct + func (RottenFlesh) AlwaysConsumable() bool + func (RottenFlesh) Consume(_ *world.Tx, c Consumer) Stack + func (RottenFlesh) EncodeItem() (name string, meta int16) + func (d RottenFlesh) ConsumeDuration() time.Duration + type Salmon struct + Cooked bool + func (Salmon) AlwaysConsumable() bool + func (d Salmon) ConsumeDuration() time.Duration + func (s Salmon) Consume(_ *world.Tx, c Consumer) Stack + func (s Salmon) EncodeItem() (name string, meta int16) + func (s Salmon) SmeltInfo() SmeltInfo + type Scute struct + func (Scute) EncodeItem() (name string, meta int16) + type Shears struct + func (s Shears) BaseMiningEfficiency(world.Block) float64 + func (s Shears) DurabilityInfo() DurabilityInfo + func (s Shears) EncodeItem() (name string, meta int16) + func (s Shears) HarvestLevel() int + func (s Shears) MaxCount() int + func (s Shears) ToolType() ToolType + func (s Shears) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, _ User, ...) bool + type SherdType struct + func SherdTypeAngler() SherdType + func SherdTypeArcher() SherdType + func SherdTypeArmsUp() SherdType + func SherdTypeBlade() SherdType + func SherdTypeBrewer() SherdType + func SherdTypeBurn() SherdType + func SherdTypeDanger() SherdType + func SherdTypeExplorer() SherdType + func SherdTypeFlow() SherdType + func SherdTypeFriend() SherdType + func SherdTypeGuster() SherdType + func SherdTypeHeart() SherdType + func SherdTypeHeartbreak() SherdType + func SherdTypeHowl() SherdType + func SherdTypeMiner() SherdType + func SherdTypeMourner() SherdType + func SherdTypePlenty() SherdType + func SherdTypePrize() SherdType + func SherdTypeScrape() SherdType + func SherdTypeSheaf() SherdType + func SherdTypeShelter() SherdType + func SherdTypeSkull() SherdType + func SherdTypeSnort() SherdType + func SherdTypes() []SherdType + func (c SherdType) String() string + func (c SherdType) Uint8() uint8 + type Shovel struct + Tier ToolTier + func (s Shovel) AttackDamage() float64 + func (s Shovel) BaseMiningEfficiency(world.Block) float64 + func (s Shovel) DurabilityInfo() DurabilityInfo + func (s Shovel) EnchantmentValue() int + func (s Shovel) EncodeItem() (name string, meta int16) + func (s Shovel) FuelInfo() FuelInfo + func (s Shovel) HarvestLevel() int + func (s Shovel) MaxCount() int + func (s Shovel) RepairableBy(i Stack) bool + func (s Shovel) SmeltInfo() SmeltInfo + func (s Shovel) ToolType() ToolType + func (s Shovel) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, _ User, ...) bool + type ShulkerShell struct + func (ShulkerShell) EncodeItem() (name string, meta int16) + type Slimeball struct + func (Slimeball) EncodeItem() (name string, meta int16) + type SmeltInfo struct + Experience float64 + Food bool + Ores bool + Product Stack + type Smeltable interface + SmeltInfo func() SmeltInfo + type SmithingTemplate struct + Template SmithingTemplateType + func (t SmithingTemplate) EncodeItem() (name string, meta int16) + type SmithingTemplateType struct + func SmithingTemplates() []SmithingTemplateType + func TemplateBolt() SmithingTemplateType + func TemplateCoast() SmithingTemplateType + func TemplateDune() SmithingTemplateType + func TemplateEye() SmithingTemplateType + func TemplateFlow() SmithingTemplateType + func TemplateHost() SmithingTemplateType + func TemplateNetheriteUpgrade() SmithingTemplateType + func TemplateRaiser() SmithingTemplateType + func TemplateRib() SmithingTemplateType + func TemplateSentry() SmithingTemplateType + func TemplateShaper() SmithingTemplateType + func TemplateSilence() SmithingTemplateType + func TemplateSnout() SmithingTemplateType + func TemplateSpire() SmithingTemplateType + func TemplateTide() SmithingTemplateType + func TemplateVex() SmithingTemplateType + func TemplateWard() SmithingTemplateType + func TemplateWayFinder() SmithingTemplateType + func TemplateWild() SmithingTemplateType + func (s SmithingTemplateType) String() string + type Snowball struct + func (s Snowball) EncodeItem() (name string, meta int16) + func (s Snowball) MaxCount() int + func (s Snowball) Use(tx *world.Tx, user User, ctx *UseContext) bool + type SpawnEgg struct + ItemName string + func (e SpawnEgg) EncodeItem() (name string, meta int16) + func (e SpawnEgg) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user User, ...) bool + type SpiderEye struct + func (SpiderEye) AlwaysConsumable() bool + func (SpiderEye) Consume(_ *world.Tx, c Consumer) Stack + func (SpiderEye) EncodeItem() (name string, meta int16) + func (d SpiderEye) ConsumeDuration() time.Duration + type SplashPotion struct + Type potion.Potion + func (s SplashPotion) EncodeItem() (name string, meta int16) + func (s SplashPotion) MaxCount() int + func (s SplashPotion) Use(tx *world.Tx, user User, ctx *UseContext) bool + type Spyglass struct + func (Spyglass) EncodeItem() (name string, meta int16) + func (Spyglass) MaxCount() int + func (Spyglass) Release(Releaser, *world.Tx, *UseContext, time.Duration) + func (Spyglass) Requirements() []Stack + type Stack struct + func NewStack(t world.Item, count int) Stack + func (s Stack) AddStack(s2 Stack) (a, b Stack) + func (s Stack) AnvilCost() int + func (s Stack) AsBreakable() Stack + func (s Stack) AsUnbreakable() Stack + func (s Stack) AttackDamage() float64 + func (s Stack) Comparable(s2 Stack) bool + func (s Stack) Count() int + func (s Stack) CustomName() string + func (s Stack) Damage(d int) Stack + func (s Stack) Durability() int + func (s Stack) Empty() bool + func (s Stack) Enchantment(enchant EnchantmentType) (Enchantment, bool) + func (s Stack) Enchantments() []Enchantment + func (s Stack) Equal(s2 Stack) bool + func (s Stack) Grow(n int) Stack + func (s Stack) Item() world.Item + func (s Stack) Lore() []string + func (s Stack) MaxCount() int + func (s Stack) MaxDurability() int + func (s Stack) String() string + func (s Stack) Unbreakable() bool + func (s Stack) Value(key string) (val any, ok bool) + func (s Stack) Values() map[string]any + func (s Stack) WithAnvilCost(anvilCost int) Stack + func (s Stack) WithCustomName(a ...any) Stack + func (s Stack) WithDurability(d int) Stack + func (s Stack) WithEnchantments(enchants ...Enchantment) Stack + func (s Stack) WithForcedEnchantments(enchants ...Enchantment) Stack + func (s Stack) WithItem(t world.Item) Stack + func (s Stack) WithLore(lines ...string) Stack + func (s Stack) WithValue(key string, val any) Stack + func (s Stack) WithoutEnchantments(enchants ...EnchantmentType) Stack + type StewType struct + func BlindnessBluetStew() StewType + func BlindnessEyeblossomStew() StewType + func FireResistanceStew() StewType + func JumpBoostStew() StewType + func NauseaStew() StewType + func NightVisionPoppyStew() StewType + func NightVisionTorchflowerStew() StewType + func PoisonStew() StewType + func RegenerationStew() StewType + func SaturationDandelionStew() StewType + func SaturationOrchidStew() StewType + func StewTypes() []StewType + func WeaknessStew() StewType + func WitherStew() StewType + func (s StewType) Effects() []effect.Effect + func (s StewType) Uint8() uint8 + type Stick struct + func (Stick) FuelInfo() FuelInfo + func (s Stick) EncodeItem() (name string, meta int16) + type Strippable interface + Strip func() (world.Block, world.Sound, bool) + type Sugar struct + func (Sugar) EncodeItem() (name string, meta int16) + type SuspiciousStew struct + Type StewType + func (SuspiciousStew) AlwaysConsumable() bool + func (SuspiciousStew) MaxCount() int + func (d SuspiciousStew) ConsumeDuration() time.Duration + func (s SuspiciousStew) Consume(_ *world.Tx, c Consumer) Stack + func (s SuspiciousStew) EncodeItem() (name string, meta int16) + type Sword struct + Tier ToolTier + func (s Sword) AttackDamage() float64 + func (s Sword) BaseMiningEfficiency(b world.Block) float64 + func (s Sword) DurabilityInfo() DurabilityInfo + func (s Sword) EnchantmentValue() int + func (s Sword) EncodeItem() (name string, meta int16) + func (s Sword) FuelInfo() FuelInfo + func (s Sword) HarvestLevel() int + func (s Sword) MaxCount() int + func (s Sword) RepairableBy(i Stack) bool + func (s Sword) SmeltInfo() SmeltInfo + func (s Sword) ToolType() ToolType + type Throwable interface + SwingAnimation func() bool + type Tool interface + BaseMiningEfficiency func(b world.Block) float64 + HarvestLevel func() int + ToolType func() ToolType + type ToolNone struct + func (n ToolNone) BaseMiningEfficiency(world.Block) float64 + func (n ToolNone) HarvestLevel() int + func (n ToolNone) ToolType() ToolType + type ToolTier struct + BaseAttackDamage float64 + BaseMiningEfficiency float64 + Durability int + EnchantmentValue int + HarvestLevel int + Name string + func ToolTiers() []ToolTier + type ToolType struct + type Totem struct + func (Totem) EncodeItem() (name string, meta int16) + func (Totem) MaxCount() int + func (Totem) OffHand() bool + type Trimmable interface + WithTrim func(trim ArmourTrim) world.Item + type TropicalFish struct + func (TropicalFish) AlwaysConsumable() bool + func (TropicalFish) Consume(_ *world.Tx, c Consumer) Stack + func (TropicalFish) EncodeItem() (name string, meta int16) + func (d TropicalFish) ConsumeDuration() time.Duration + type TurtleShell struct + func (TurtleShell) DefencePoints() float64 + func (TurtleShell) DurabilityInfo() DurabilityInfo + func (TurtleShell) EnchantmentValue() int + func (TurtleShell) EncodeItem() (name string, meta int16) + func (TurtleShell) Helmet() bool + func (TurtleShell) KnockBackResistance() float64 + func (TurtleShell) MaxCount() int + func (TurtleShell) RepairableBy(i Stack) bool + func (TurtleShell) Toughness() float64 + func (TurtleShell) Use(_ *world.Tx, _ User, ctx *UseContext) bool + type Usable interface + Use func(tx *world.Tx, user User, ctx *UseContext) bool + type UsableOnBlock interface + UseOnBlock func(pos cube.Pos, face cube.Face, clickPos mgl64.Vec3, tx *world.Tx, user User, ...) bool + type UsableOnEntity interface + UseOnEntity func(e world.Entity, tx *world.Tx, user User, ctx *UseContext) bool + type UseContext struct + ConsumedItems []Stack + CountSub int + Damage int + FirstFunc func(comparable func(Stack) bool) (Stack, bool) + IgnoreBBox bool + NewItem Stack + NewItemSurvivalOnly bool + SwapHeldWithArmour func(i int) + func (ctx *UseContext) Consume(s Stack) + func (ctx *UseContext) DamageItem(d int) + func (ctx *UseContext) SubtractFromCount(d int) + type User interface + ReleaseItem func() + SetHeldItems func(mainHand, offHand Stack) + UseItem func() + UsingItem func() bool + type WarpedFungusOnAStick struct + func (WarpedFungusOnAStick) EncodeItem() (name string, meta int16) + func (WarpedFungusOnAStick) MaxCount() int + type Weapon interface + AttackDamage func() float64 + type Wheat struct + func (Wheat) CompostChance() float64 + func (w Wheat) EncodeItem() (name string, meta int16) + type WrittenBook struct + Author string + Generation WrittenBookGeneration + Pages []string + Title string + func (WrittenBook) EncodeItem() (name string, meta int16) + func (WrittenBook) MaxCount() int + func (w WrittenBook) DecodeNBT(data map[string]any) any + func (w WrittenBook) EncodeNBT() map[string]any + func (w WrittenBook) Page(page int) (string, bool) + func (w WrittenBook) TotalPages() int + type WrittenBookGeneration struct + func CopyGeneration() WrittenBookGeneration + func CopyOfCopyGeneration() WrittenBookGeneration + func OriginalGeneration() WrittenBookGeneration + func (g WrittenBookGeneration) String() string + func (g WrittenBookGeneration) Uint8() uint8