Documentation
¶
Index ¶
- func BreakDuration(b world.Block, i item.Stack, ctx BreakContext) time.Duration
- func BreaksInstantly(b world.Block) bool
- func NextHash() uint64
- func SlabBlocks() []world.Block
- func StairsBlocks() []world.Block
- func WallBlocks() []world.Block
- type Activatable
- type Air
- func (Air) EncodeBlock() (string, map[string]any)
- func (Air) EncodeItem() (name string, meta int16)
- func (Air) HasLiquidDrops() bool
- func (Air) Hash() (uint64, uint64)
- func (Air) LightDiffusionLevel() uint8
- func (Air) Model() world.BlockModel
- func (Air) PortalInterior(target world.Dimension) bool
- func (Air) ReplaceableBy(world.Block) bool
- type Amethyst
- type AncientDebris
- func (a AncientDebris) BreakInfo() BreakInfo
- func (AncientDebris) EncodeBlock() (string, map[string]any)
- func (AncientDebris) EncodeItem() (name string, meta int16)
- func (AncientDebris) Hash() (uint64, uint64)
- func (AncientDebris) Model() world.BlockModel
- func (AncientDebris) SmeltInfo() item.SmeltInfo
- type Andesite
- type Anvil
- func (Anvil) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (a Anvil) Break() world.Block
- func (a Anvil) BreakInfo() BreakInfo
- func (Anvil) Damage() (damagePerBlock, maxDamage float64)
- func (a Anvil) EncodeBlock() (string, map[string]any)
- func (a Anvil) EncodeItem() (name string, meta int16)
- func (b Anvil) FacingDirection() cube.Direction
- func (a Anvil) Hash() (uint64, uint64)
- func (Anvil) Landed(tx *world.Tx, pos cube.Pos)
- func (Anvil) LightDiffusionLevel() uint8
- func (a Anvil) Model() world.BlockModel
- func (a Anvil) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (g Anvil) Solidifies(cube.Pos, *world.Tx) bool
- func (a Anvil) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Anvil) WithFacing(facing cube.Direction) world.Block
- type AnvilType
- type Attachment
- type Bamboo
- func (b Bamboo) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (b Bamboo) BreakInfo() BreakInfo
- func (b Bamboo) EncodeBlock() (string, map[string]any)
- func (b Bamboo) EncodeItem() (name string, meta int16)
- func (b Bamboo) FlammabilityInfo() FlammabilityInfo
- func (b Bamboo) FuelInfo() item.FuelInfo
- func (b Bamboo) Hash() (uint64, uint64)
- func (Bamboo) Instrument() sound.Instrument
- func (Bamboo) LightDiffusionLevel() uint8
- func (b Bamboo) Model() world.BlockModel
- func (b Bamboo) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (b Bamboo) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (b Bamboo) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type BambooBlock
- func (b BambooBlock) BreakInfo() BreakInfo
- func (b BambooBlock) EncodeBlock() (name string, properties map[string]any)
- func (b BambooBlock) EncodeItem() (name string, meta int16)
- func (BambooBlock) FlammabilityInfo() FlammabilityInfo
- func (BambooBlock) FuelInfo() item.FuelInfo
- func (b BambooBlock) Hash() (uint64, uint64)
- func (BambooBlock) Instrument() sound.Instrument
- func (BambooBlock) Model() world.BlockModel
- func (b BambooBlock) PillarAxis() cube.Axis
- func (b BambooBlock) Strip() (world.Block, world.Sound, bool)
- func (b BambooBlock) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b BambooBlock) WithAxis(axis cube.Axis) world.Block
- type BambooLeafSize
- type BambooMosaic
- func (b BambooMosaic) BreakInfo() BreakInfo
- func (BambooMosaic) EncodeBlock() (string, map[string]any)
- func (BambooMosaic) EncodeItem() (name string, meta int16)
- func (BambooMosaic) FlammabilityInfo() FlammabilityInfo
- func (BambooMosaic) FuelInfo() item.FuelInfo
- func (BambooMosaic) Hash() (uint64, uint64)
- func (BambooMosaic) Instrument() sound.Instrument
- func (BambooMosaic) Model() world.BlockModel
- func (BambooMosaic) RepairsWoodTools() bool
- type BambooSapling
- func (b BambooSapling) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (b BambooSapling) BreakInfo() BreakInfo
- func (b BambooSapling) EncodeBlock() (string, map[string]any)
- func (b BambooSapling) FlammabilityInfo() FlammabilityInfo
- func (b BambooSapling) HasLiquidDrops() bool
- func (b BambooSapling) Hash() (uint64, uint64)
- func (BambooSapling) Instrument() sound.Instrument
- func (BambooSapling) LightDiffusionLevel() uint8
- func (BambooSapling) Model() world.BlockModel
- func (b BambooSapling) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (b BambooSapling) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- type Banner
- func (b Banner) BreakInfo() BreakInfo
- func (b Banner) DecodeNBT(m map[string]any) any
- func (b Banner) DyeColour() item.Colour
- func (b Banner) EncodeBlock() (name string, properties map[string]any)
- func (b Banner) EncodeItem() (name string, meta int16)
- func (b Banner) EncodeNBT() map[string]any
- func (Banner) FuelInfo() item.FuelInfo
- func (b Banner) Hash() (uint64, uint64)
- func (Banner) LightDiffusionLevel() uint8
- func (Banner) MaxCount() int
- func (Banner) Model() world.BlockModel
- func (b Banner) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (b Banner) Pick() item.Stack
- func (b Banner) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Banner) WithColour(colour item.Colour) world.Block
- type BannerPatternLayer
- type BannerPatternType
- func BannerPatternByID(id string) (BannerPatternType, bool)
- func BannerPatternTypes() []BannerPatternType
- func BorderBannerPattern() BannerPatternType
- func BricksBannerPattern() BannerPatternType
- func CircleBannerPattern() BannerPatternType
- func CreeperBannerPattern() BannerPatternType
- func CrossBannerPattern() BannerPatternType
- func CurlyBorderBannerPattern() BannerPatternType
- func DiagonalLeftBannerPattern() BannerPatternType
- func DiagonalRightBannerPattern() BannerPatternType
- func DiagonalUpLeftBannerPattern() BannerPatternType
- func DiagonalUpRightBannerPattern() BannerPatternType
- func FlowBannerPattern() BannerPatternType
- func FlowerBannerPattern() BannerPatternType
- func GlobeBannerPattern() BannerPatternType
- func GradientBannerPattern() BannerPatternType
- func GradientUpBannerPattern() BannerPatternType
- func GusterBannerPattern() BannerPatternType
- func HalfHorizontalBannerPattern() BannerPatternType
- func HalfHorizontalBottomBannerPattern() BannerPatternType
- func HalfVerticalBannerPattern() BannerPatternType
- func HalfVerticalRightBannerPattern() BannerPatternType
- func MojangBannerPattern() BannerPatternType
- func PiglinBannerPattern() BannerPatternType
- func RhombusBannerPattern() BannerPatternType
- func SkullBannerPattern() BannerPatternType
- func SmallStripesBannerPattern() BannerPatternType
- func SquareBottomLeftBannerPattern() BannerPatternType
- func SquareBottomRightBannerPattern() BannerPatternType
- func SquareTopLeftBannerPattern() BannerPatternType
- func SquareTopRightBannerPattern() BannerPatternType
- func StraightCrossBannerPattern() BannerPatternType
- func StripeBottomBannerPattern() BannerPatternType
- func StripeCentreBannerPattern() BannerPatternType
- func StripeDownLeftBannerPattern() BannerPatternType
- func StripeDownRightBannerPattern() BannerPatternType
- func StripeLeftBannerPattern() BannerPatternType
- func StripeMiddleBannerPattern() BannerPatternType
- func StripeRightBannerPattern() BannerPatternType
- func StripeTopBannerPattern() BannerPatternType
- func TriangleBottomBannerPattern() BannerPatternType
- func TriangleTopBannerPattern() BannerPatternType
- func TrianglesBottomBannerPattern() BannerPatternType
- func TrianglesTopBannerPattern() BannerPatternType
- type Barrel
- func (b Barrel) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (b Barrel) AddViewer(v ContainerViewer, tx *world.Tx, pos cube.Pos)
- func (b Barrel) BreakInfo() BreakInfo
- func (b Barrel) DecodeNBT(data map[string]any) any
- func (b Barrel) EncodeBlock() (string, map[string]any)
- func (b Barrel) EncodeItem() (name string, meta int16)
- func (b Barrel) EncodeNBT() map[string]any
- func (b Barrel) FlammabilityInfo() FlammabilityInfo
- func (Barrel) FuelInfo() item.FuelInfo
- func (b Barrel) Hash() (uint64, uint64)
- func (Barrel) Instrument() sound.Instrument
- func (b Barrel) Inventory(*world.Tx, cube.Pos) *inventory.Inventory
- func (Barrel) Model() world.BlockModel
- func (b Barrel) RemoveViewer(v ContainerViewer, tx *world.Tx, pos cube.Pos)
- func (b Barrel) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Barrel) WithName(a ...any) world.Item
- type Barrier
- func (s Barrier) CanDisplace(b world.Liquid) bool
- func (Barrier) EncodeBlock() (string, map[string]any)
- func (Barrier) EncodeItem() (name string, meta int16)
- func (Barrier) Hash() (uint64, uint64)
- func (Barrier) LightDiffusionLevel() uint8
- func (Barrier) Model() world.BlockModel
- func (Barrier) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- type Basalt
- func (b Basalt) BreakInfo() BreakInfo
- func (b Basalt) EncodeBlock() (name string, properties map[string]any)
- func (b Basalt) EncodeItem() (name string, meta int16)
- func (b Basalt) Hash() (uint64, uint64)
- func (Basalt) Instrument() sound.Instrument
- func (Basalt) Model() world.BlockModel
- func (b Basalt) PillarAxis() cube.Axis
- func (b Basalt) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Basalt) WithAxis(axis cube.Axis) world.Block
- type Beacon
- func (b Beacon) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (b Beacon) BreakInfo() BreakInfo
- func (s Beacon) CanDisplace(b world.Liquid) bool
- func (b Beacon) DecodeNBT(data map[string]any) any
- func (Beacon) EncodeBlock() (string, map[string]any)
- func (Beacon) EncodeItem() (name string, meta int16)
- func (b Beacon) EncodeNBT() map[string]any
- func (Beacon) Hash() (uint64, uint64)
- func (Beacon) Instrument() sound.Instrument
- func (b Beacon) Level() int
- func (Beacon) LightDiffusionLevel() uint8
- func (Beacon) LightEmissionLevel() uint8
- func (Beacon) Model() world.BlockModel
- func (b Beacon) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (b Beacon) Tick(currentTick int64, pos cube.Pos, tx *world.Tx)
- type BeaconSource
- type Bed
- func (b Bed) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (b Bed) BreakInfo() BreakInfo
- func (s Bed) CanDisplace(b world.Liquid) bool
- func (Bed) CanRespawnOn() bool
- func (b Bed) DecodeNBT(data map[string]interface{}) interface{}
- func (b Bed) DyeColour() item.Colour
- func (b Bed) EncodeBlock() (name string, properties map[string]interface{})
- func (b Bed) EncodeItem() (name string, meta int16)
- func (b Bed) EncodeNBT() map[string]interface{}
- func (b Bed) EntityLand(_ cube.Pos, _ *world.Tx, e world.Entity, distance *float64)
- func (b Bed) FacingDirection() cube.Direction
- func (b Bed) Hash() (uint64, uint64)
- func (Bed) LightDiffusionLevel() uint8
- func (Bed) MaxCount() int
- func (Bed) Model() world.BlockModel
- func (b Bed) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (b Bed) SafeSpawn(pos cube.Pos, tx *world.Tx) (cube.Pos, bool)
- func (Bed) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (b Bed) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Bed) WithColour(colour item.Colour) world.Block
- func (b Bed) WithFacing(facing cube.Direction) world.Block
- type Bedrock
- type BeetrootSeeds
- func (b BeetrootSeeds) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (b BeetrootSeeds) BreakInfo() BreakInfo
- func (c BeetrootSeeds) CalculateGrowthChance(pos cube.Pos, tx *world.Tx) float64
- func (BeetrootSeeds) CompostChance() float64
- func (b BeetrootSeeds) EncodeBlock() (name string, properties map[string]any)
- func (b BeetrootSeeds) EncodeItem() (name string, meta int16)
- func (c BeetrootSeeds) GrowthStage() int
- func (c BeetrootSeeds) HasLiquidDrops() bool
- func (b BeetrootSeeds) Hash() (uint64, uint64)
- func (c BeetrootSeeds) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (b BeetrootSeeds) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (BeetrootSeeds) SameCrop(c Crop) bool
- func (b BeetrootSeeds) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Blackstone
- type BlackstoneType
- type BlastFurnace
- func (b BlastFurnace) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (s BlastFurnace) AddViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (b BlastFurnace) BreakInfo() BreakInfo
- func (b BlastFurnace) DecodeNBT(data map[string]interface{}) interface{}
- func (s BlastFurnace) Durations() (remaining time.Duration, max time.Duration, cook time.Duration)
- func (b BlastFurnace) EncodeBlock() (name string, properties map[string]interface{})
- func (b BlastFurnace) EncodeItem() (name string, meta int16)
- func (b BlastFurnace) EncodeNBT() map[string]interface{}
- func (s BlastFurnace) Experience() int
- func (s BlastFurnace) ExtractItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (b BlastFurnace) FacingDirection() cube.Direction
- func (b BlastFurnace) Hash() (uint64, uint64)
- func (s BlastFurnace) InsertItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (BlastFurnace) Instrument() sound.Instrument
- func (s BlastFurnace) Inventory(*world.Tx, cube.Pos) *inventory.Inventory
- func (b BlastFurnace) LightEmissionLevel() uint8
- func (BlastFurnace) Model() world.BlockModel
- func (s BlastFurnace) RemoveViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (s BlastFurnace) ResetExperience() int
- func (b BlastFurnace) Tick(_ int64, pos cube.Pos, tx *world.Tx)
- func (b BlastFurnace) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (b BlastFurnace) WithFacing(facing cube.Direction) world.Block
- type BlueIce
- type Bone
- func (b Bone) BreakInfo() BreakInfo
- func (b Bone) EncodeBlock() (name string, properties map[string]any)
- func (b Bone) EncodeItem() (name string, meta int16)
- func (b Bone) Hash() (uint64, uint64)
- func (b Bone) Instrument() sound.Instrument
- func (Bone) Model() world.BlockModel
- func (b Bone) PillarAxis() cube.Axis
- func (b Bone) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Bone) WithAxis(axis cube.Axis) world.Block
- type Bookshelf
- func (b Bookshelf) BreakInfo() BreakInfo
- func (Bookshelf) EncodeBlock() (string, map[string]any)
- func (Bookshelf) EncodeItem() (name string, meta int16)
- func (Bookshelf) FlammabilityInfo() FlammabilityInfo
- func (Bookshelf) FuelInfo() item.FuelInfo
- func (Bookshelf) Hash() (uint64, uint64)
- func (Bookshelf) Instrument() sound.Instrument
- func (Bookshelf) Model() world.BlockModel
- type BreakContext
- type BreakInfo
- type Breakable
- type BrewingStand
- func (b BrewingStand) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (b BrewingStand) AddViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (b BrewingStand) BreakInfo() BreakInfo
- func (s BrewingStand) CanDisplace(b world.Liquid) bool
- func (b BrewingStand) DecodeNBT(data map[string]any) any
- func (b BrewingStand) Duration() time.Duration
- func (b BrewingStand) EncodeBlock() (string, map[string]any)
- func (b BrewingStand) EncodeItem() (name string, meta int16)
- func (b BrewingStand) EncodeNBT() map[string]any
- func (b BrewingStand) ExtractItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (b BrewingStand) Fuel() (fuel, maxFuel int32)
- func (b BrewingStand) Hash() (uint64, uint64)
- func (b BrewingStand) InsertItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (b BrewingStand) Inventory(*world.Tx, cube.Pos) *inventory.Inventory
- func (BrewingStand) LightDiffusionLevel() uint8
- func (b BrewingStand) Model() world.BlockModel
- func (b BrewingStand) RemoveViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (b BrewingStand) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (b BrewingStand) Tick(_ int64, pos cube.Pos, tx *world.Tx)
- func (b BrewingStand) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type Bricks
- type Cactus
- func (c Cactus) BreakInfo() BreakInfo
- func (Cactus) CompostChance() float64
- func (c Cactus) EncodeBlock() (name string, properties map[string]any)
- func (c Cactus) EncodeItem() (name string, meta int16)
- func (c Cactus) EntityInside(_ cube.Pos, _ *world.Tx, e world.Entity)
- func (c Cactus) Hash() (uint64, uint64)
- func (Cactus) LightDiffusionLevel() uint8
- func (c Cactus) Model() world.BlockModel
- func (c Cactus) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (c Cactus) RandomTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (c Cactus) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type Cake
- func (c Cake) Activate(pos cube.Pos, face cube.Face, tx *world.Tx, u item.User, ctx *item.UseContext) bool
- func (c Cake) BreakInfo() BreakInfo
- func (s Cake) CanDisplace(b world.Liquid) bool
- func (c Cake) EncodeBlock() (name string, properties map[string]any)
- func (c Cake) EncodeItem() (name string, meta int16)
- func (c Cake) EntityInside(pos cube.Pos, tx *world.Tx, e world.Entity)
- func (c Cake) Hash() (uint64, uint64)
- func (c Cake) Ignite(pos cube.Pos, tx *world.Tx, _ world.Entity) bool
- func (Cake) LightDiffusionLevel() uint8
- func (c Cake) LightEmissionLevel() uint8
- func (c Cake) Model() world.BlockModel
- func (c Cake) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (c Cake) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c Cake) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Calcite
- type Campfire
- func (c Campfire) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, ctx *item.UseContext) bool
- func (c Campfire) BreakInfo() BreakInfo
- func (s Campfire) CanDisplace(b world.Liquid) bool
- func (c Campfire) DecodeNBT(data map[string]any) any
- func (c Campfire) EncodeBlock() (name string, properties map[string]any)
- func (c Campfire) EncodeItem() (name string, meta int16)
- func (c Campfire) EncodeNBT() map[string]any
- func (c Campfire) EntityInside(pos cube.Pos, tx *world.Tx, e world.Entity)
- func (b Campfire) FacingDirection() cube.Direction
- func (c Campfire) Hash() (uint64, uint64)
- func (c Campfire) Ignite(pos cube.Pos, tx *world.Tx, _ world.Entity) bool
- func (Campfire) Instrument() sound.Instrument
- func (Campfire) LightDiffusionLevel() uint8
- func (c Campfire) LightEmissionLevel() uint8
- func (Campfire) Model() world.BlockModel
- func (c Campfire) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (Campfire) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c Campfire) Splash(tx *world.Tx, pos cube.Pos)
- func (c Campfire) Tick(_ int64, pos cube.Pos, tx *world.Tx)
- func (c Campfire) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Campfire) WithFacing(facing cube.Direction) world.Block
- type CampfireItem
- type Candle
- func (c Candle) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, ctx *item.UseContext) bool
- func (c Candle) BreakInfo() BreakInfo
- func (s Candle) CanDisplace(b world.Liquid) bool
- func (c Candle) EncodeBlock() (name string, properties map[string]any)
- func (c Candle) EncodeItem() (name string, meta int16)
- func (c Candle) EntityInside(pos cube.Pos, tx *world.Tx, e world.Entity)
- func (c Candle) Hash() (uint64, uint64)
- func (c Candle) Ignite(pos cube.Pos, tx *world.Tx, _ world.Entity) bool
- func (Candle) LightDiffusionLevel() uint8
- func (c Candle) LightEmissionLevel() uint8
- func (c Candle) Model() world.BlockModel
- func (c Candle) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (Candle) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c Candle) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type Carpet
- func (c Carpet) BreakInfo() BreakInfo
- func (s Carpet) CanDisplace(b world.Liquid) bool
- func (b Carpet) DyeColour() item.Colour
- func (c Carpet) EncodeBlock() (name string, properties map[string]any)
- func (c Carpet) EncodeItem() (name string, meta int16)
- func (c Carpet) FlammabilityInfo() FlammabilityInfo
- func (Carpet) HasLiquidDrops() bool
- func (c Carpet) Hash() (uint64, uint64)
- func (Carpet) LightDiffusionLevel() uint8
- func (Carpet) Model() world.BlockModel
- func (c Carpet) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (Carpet) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c Carpet) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Carpet) WithColour(colour item.Colour) world.Block
- type Carrot
- func (c Carrot) AlwaysConsumable() bool
- func (c Carrot) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (c Carrot) BreakInfo() BreakInfo
- func (c Carrot) CalculateGrowthChance(pos cube.Pos, tx *world.Tx) float64
- func (Carrot) CompostChance() float64
- func (c Carrot) Consume(_ *world.Tx, co item.Consumer) item.Stack
- func (c Carrot) ConsumeDuration() time.Duration
- func (c Carrot) EncodeBlock() (name string, properties map[string]any)
- func (c Carrot) EncodeItem() (name string, meta int16)
- func (c Carrot) GrowthStage() int
- func (c Carrot) HasLiquidDrops() bool
- func (c Carrot) Hash() (uint64, uint64)
- func (c Carrot) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (c Carrot) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (Carrot) SameCrop(c Crop) bool
- func (c Carrot) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Chest
- func (c Chest) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (c Chest) AddViewer(v ContainerViewer, tx *world.Tx, pos cube.Pos)
- func (c Chest) BreakInfo() BreakInfo
- func (s Chest) CanDisplace(b world.Liquid) bool
- func (c Chest) DecodeNBT(data map[string]any) any
- func (c Chest) EncodeBlock() (name string, properties map[string]any)
- func (Chest) EncodeItem() (name string, meta int16)
- func (c Chest) EncodeNBT() map[string]any
- func (b Chest) FacingDirection() cube.Direction
- func (c Chest) FlammabilityInfo() FlammabilityInfo
- func (Chest) FuelInfo() item.FuelInfo
- func (c Chest) Hash() (uint64, uint64)
- func (Chest) Instrument() sound.Instrument
- func (c Chest) Inventory(tx *world.Tx, pos cube.Pos) *inventory.Inventory
- func (Chest) LightDiffusionLevel() uint8
- func (Chest) Model() world.BlockModel
- func (c Chest) Paired() bool
- func (c Chest) RemoveViewer(v ContainerViewer, tx *world.Tx, pos cube.Pos)
- func (Chest) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c Chest) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Chest) WithFacing(facing cube.Direction) world.Block
- func (c Chest) WithName(a ...any) world.Item
- type ChiseledQuartz
- func (c ChiseledQuartz) BreakInfo() BreakInfo
- func (ChiseledQuartz) EncodeBlock() (name string, properties map[string]any)
- func (c ChiseledQuartz) EncodeItem() (name string, meta int16)
- func (ChiseledQuartz) Hash() (uint64, uint64)
- func (ChiseledQuartz) Instrument() sound.Instrument
- func (ChiseledQuartz) Model() world.BlockModel
- type Cinnabar
- type CinnabarBricks
- func (c CinnabarBricks) BreakInfo() BreakInfo
- func (CinnabarBricks) EncodeBlock() (string, map[string]any)
- func (CinnabarBricks) EncodeItem() (name string, meta int16)
- func (CinnabarBricks) Hash() (uint64, uint64)
- func (CinnabarBricks) Instrument() sound.Instrument
- func (CinnabarBricks) Model() world.BlockModel
- type Clay
- func (c Clay) BreakInfo() BreakInfo
- func (c Clay) EncodeBlock() (name string, properties map[string]any)
- func (c Clay) EncodeItem() (name string, meta int16)
- func (Clay) Hash() (uint64, uint64)
- func (c Clay) Instrument() sound.Instrument
- func (Clay) Model() world.BlockModel
- func (Clay) SmeltInfo() item.SmeltInfo
- type CloseAction
- type Coal
- func (c Coal) BreakInfo() BreakInfo
- func (Coal) EncodeBlock() (name string, properties map[string]any)
- func (Coal) EncodeItem() (name string, meta int16)
- func (Coal) FlammabilityInfo() FlammabilityInfo
- func (Coal) FuelInfo() item.FuelInfo
- func (Coal) Hash() (uint64, uint64)
- func (Coal) Instrument() sound.Instrument
- func (Coal) Model() world.BlockModel
- type CoalOre
- func (c CoalOre) BreakInfo() BreakInfo
- func (c CoalOre) EncodeBlock() (string, map[string]any)
- func (c CoalOre) EncodeItem() (name string, meta int16)
- func (c CoalOre) Hash() (uint64, uint64)
- func (CoalOre) Instrument() sound.Instrument
- func (CoalOre) Model() world.BlockModel
- func (CoalOre) SmeltInfo() item.SmeltInfo
- type Cobblestone
- func (c Cobblestone) BreakInfo() BreakInfo
- func (c Cobblestone) EncodeBlock() (string, map[string]any)
- func (c Cobblestone) EncodeItem() (name string, meta int16)
- func (c Cobblestone) Hash() (uint64, uint64)
- func (Cobblestone) Instrument() sound.Instrument
- func (Cobblestone) Model() world.BlockModel
- func (c Cobblestone) RepairsStoneTools() bool
- func (Cobblestone) SmeltInfo() item.SmeltInfo
- type Cobweb
- func (c Cobweb) BreakInfo() BreakInfo
- func (Cobweb) Cobweb()
- func (Cobweb) EncodeBlock() (string, map[string]any)
- func (Cobweb) EncodeItem() (name string, meta int16)
- func (Cobweb) EntityInside(_ cube.Pos, _ *world.Tx, e world.Entity)
- func (Cobweb) HasLiquidDrops() bool
- func (Cobweb) Hash() (uint64, uint64)
- func (Cobweb) LightDiffusionLevel() uint8
- func (Cobweb) Model() world.BlockModel
- type CocoaBean
- func (c CocoaBean) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (c CocoaBean) BreakInfo() BreakInfo
- func (CocoaBean) CompostChance() float64
- func (c CocoaBean) EncodeBlock() (name string, properties map[string]any)
- func (c CocoaBean) EncodeItem() (name string, meta int16)
- func (b CocoaBean) FacingDirection() cube.Direction
- func (c CocoaBean) HasLiquidDrops() bool
- func (c CocoaBean) Hash() (uint64, uint64)
- func (CocoaBean) LightDiffusionLevel() uint8
- func (c CocoaBean) Model() world.BlockModel
- func (c CocoaBean) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (c CocoaBean) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (c CocoaBean) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (b CocoaBean) WithFacing(facing cube.Direction) world.Block
- type CommandBlock
- func (s CommandBlock) CanDisplace(b world.Liquid) bool
- func (c CommandBlock) EncodeBlock() (name string, properties map[string]any)
- func (CommandBlock) EncodeItem() (name string, meta int16)
- func (c CommandBlock) Hash() (uint64, uint64)
- func (CommandBlock) Model() world.BlockModel
- func (CommandBlock) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- type Composter
- func (c Composter) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, ctx *item.UseContext) bool
- func (c Composter) BreakInfo() BreakInfo
- func (s Composter) CanDisplace(b world.Liquid) bool
- func (c Composter) EncodeBlock() (string, map[string]any)
- func (c Composter) EncodeItem() (name string, meta int16)
- func (c Composter) ExtractItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (c Composter) FlammabilityInfo() FlammabilityInfo
- func (c Composter) FuelInfo() item.FuelInfo
- func (c Composter) Hash() (uint64, uint64)
- func (c Composter) InsertItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (Composter) Instrument() sound.Instrument
- func (Composter) LightDiffusionLevel() uint8
- func (c Composter) Model() world.BlockModel
- func (c Composter) ScheduledTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (c Composter) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- type Concrete
- func (c Concrete) BreakInfo() BreakInfo
- func (b Concrete) DyeColour() item.Colour
- func (c Concrete) EncodeBlock() (name string, properties map[string]any)
- func (c Concrete) EncodeItem() (name string, meta int16)
- func (c Concrete) Hash() (uint64, uint64)
- func (Concrete) Instrument() sound.Instrument
- func (Concrete) Model() world.BlockModel
- func (b Concrete) WithColour(colour item.Colour) world.Block
- type ConcretePowder
- func (c ConcretePowder) BreakInfo() BreakInfo
- func (b ConcretePowder) DyeColour() item.Colour
- func (c ConcretePowder) EncodeBlock() (name string, properties map[string]any)
- func (c ConcretePowder) EncodeItem() (name string, meta int16)
- func (c ConcretePowder) Hash() (uint64, uint64)
- func (ConcretePowder) Instrument() sound.Instrument
- func (ConcretePowder) Model() world.BlockModel
- func (c ConcretePowder) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (c ConcretePowder) Solidifies(pos cube.Pos, tx *world.Tx) bool
- func (b ConcretePowder) WithColour(colour item.Colour) world.Block
- type Container
- type ContainerOpener
- type ContainerViewer
- type ContinueCrackAction
- type Copper
- func (c Copper) BreakInfo() BreakInfo
- func (c Copper) CanOxidate() bool
- func (c Copper) EncodeBlock() (string, map[string]any)
- func (c Copper) EncodeItem() (name string, meta int16)
- func (c Copper) Hash() (uint64, uint64)
- func (Copper) Instrument() sound.Instrument
- func (Copper) Model() world.BlockModel
- func (c Copper) OxidationLevel() OxidationType
- func (c Copper) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (c Copper) Strip() (world.Block, world.Sound, bool)
- func (c Copper) Wax(cube.Pos, mgl64.Vec3) (world.Block, bool)
- func (c Copper) WithOxidationLevel(o OxidationType) Oxidisable
- type CopperBars
- func (c CopperBars) BreakInfo() BreakInfo
- func (s CopperBars) CanDisplace(b world.Liquid) bool
- func (c CopperBars) CanOxidate() bool
- func (c CopperBars) EncodeBlock() (name string, properties map[string]any)
- func (c CopperBars) EncodeItem() (name string, meta int16)
- func (c CopperBars) Hash() (uint64, uint64)
- func (CopperBars) LightDiffusionLevel() uint8
- func (CopperBars) Model() world.BlockModel
- func (c CopperBars) OxidationLevel() OxidationType
- func (c CopperBars) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (c CopperBars) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c CopperBars) Strip() (world.Block, world.Sound, bool)
- func (c CopperBars) Wax(cube.Pos, mgl64.Vec3) (world.Block, bool)
- func (c CopperBars) WithOxidationLevel(o OxidationType) Oxidisable
- type CopperChain
- func (c CopperChain) BreakInfo() BreakInfo
- func (s CopperChain) CanDisplace(b world.Liquid) bool
- func (c CopperChain) CanOxidate() bool
- func (c CopperChain) EncodeBlock() (name string, properties map[string]any)
- func (c CopperChain) EncodeItem() (name string, meta int16)
- func (c CopperChain) Hash() (uint64, uint64)
- func (CopperChain) LightDiffusionLevel() uint8
- func (c CopperChain) Model() world.BlockModel
- func (c CopperChain) OxidationLevel() OxidationType
- func (b CopperChain) PillarAxis() cube.Axis
- func (c CopperChain) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (CopperChain) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c CopperChain) Strip() (world.Block, world.Sound, bool)
- func (c CopperChain) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (c CopperChain) Wax(cube.Pos, mgl64.Vec3) (world.Block, bool)
- func (b CopperChain) WithAxis(axis cube.Axis) world.Block
- func (c CopperChain) WithOxidationLevel(o OxidationType) Oxidisable
- type CopperDoor
- func (d CopperDoor) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User, _ *item.UseContext) bool
- func (d CopperDoor) BreakInfo() BreakInfo
- func (s CopperDoor) CanDisplace(b world.Liquid) bool
- func (d CopperDoor) CanOxidate() bool
- func (d CopperDoor) EncodeBlock() (name string, properties map[string]any)
- func (d CopperDoor) EncodeItem() (name string, meta int16)
- func (b CopperDoor) FacingDirection() cube.Direction
- func (d CopperDoor) Hash() (uint64, uint64)
- func (CopperDoor) Instrument() sound.Instrument
- func (CopperDoor) LightDiffusionLevel() uint8
- func (d CopperDoor) Model() world.BlockModel
- func (d CopperDoor) NeighbourUpdateTick(pos, changedNeighbour cube.Pos, tx *world.Tx)
- func (d CopperDoor) OxidationLevel() OxidationType
- func (d CopperDoor) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (d CopperDoor) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (d CopperDoor) Strip() (world.Block, world.Sound, bool)
- func (d CopperDoor) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (d CopperDoor) Wax(cube.Pos, mgl64.Vec3) (world.Block, bool)
- func (b CopperDoor) WithFacing(facing cube.Direction) world.Block
- func (d CopperDoor) WithOxidationLevel(o OxidationType) Oxidisable
- type CopperGolemPose
- type CopperGolemStatue
- func (c CopperGolemStatue) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (c CopperGolemStatue) BreakInfo() BreakInfo
- func (s CopperGolemStatue) CanDisplace(b world.Liquid) bool
- func (c CopperGolemStatue) CanOxidate() bool
- func (c CopperGolemStatue) DecodeNBT(data map[string]any) any
- func (c CopperGolemStatue) EncodeBlock() (string, map[string]any)
- func (c CopperGolemStatue) EncodeItem() (name string, meta int16)
- func (c CopperGolemStatue) EncodeNBT() map[string]any
- func (b CopperGolemStatue) FacingDirection() cube.Direction
- func (c CopperGolemStatue) Hash() (uint64, uint64)
- func (CopperGolemStatue) LightDiffusionLevel() uint8
- func (CopperGolemStatue) Model() world.BlockModel
- func (c CopperGolemStatue) OxidationLevel() OxidationType
- func (c CopperGolemStatue) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (c CopperGolemStatue) Strip() (world.Block, world.Sound, bool)
- func (c CopperGolemStatue) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (c CopperGolemStatue) Wax(cube.Pos, mgl64.Vec3) (world.Block, bool)
- func (b CopperGolemStatue) WithFacing(facing cube.Direction) world.Block
- func (c CopperGolemStatue) WithOxidationLevel(o OxidationType) Oxidisable
- type CopperGrate
- func (c CopperGrate) BreakInfo() BreakInfo
- func (s CopperGrate) CanDisplace(b world.Liquid) bool
- func (c CopperGrate) CanOxidate() bool
- func (c CopperGrate) EncodeBlock() (string, map[string]any)
- func (c CopperGrate) EncodeItem() (name string, meta int16)
- func (c CopperGrate) Hash() (uint64, uint64)
- func (CopperGrate) Instrument() sound.Instrument
- func (CopperGrate) LightDiffusionLevel() uint8
- func (CopperGrate) Model() world.BlockModel
- func (c CopperGrate) OxidationLevel() OxidationType
- func (c CopperGrate) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (c CopperGrate) Strip() (world.Block, world.Sound, bool)
- func (c CopperGrate) Wax(cube.Pos, mgl64.Vec3) (world.Block, bool)
- func (c CopperGrate) WithOxidationLevel(o OxidationType) Oxidisable
- type CopperLantern
- func (c CopperLantern) BreakInfo() BreakInfo
- func (s CopperLantern) CanDisplace(b world.Liquid) bool
- func (c CopperLantern) CanOxidate() bool
- func (c CopperLantern) EncodeBlock() (name string, properties map[string]any)
- func (c CopperLantern) EncodeItem() (name string, meta int16)
- func (c CopperLantern) Hash() (uint64, uint64)
- func (CopperLantern) LightDiffusionLevel() uint8
- func (CopperLantern) LightEmissionLevel() uint8
- func (c CopperLantern) Model() world.BlockModel
- func (c CopperLantern) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (c CopperLantern) OxidationLevel() OxidationType
- func (c CopperLantern) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (CopperLantern) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c CopperLantern) Strip() (world.Block, world.Sound, bool)
- func (c CopperLantern) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (c CopperLantern) Wax(cube.Pos, mgl64.Vec3) (world.Block, bool)
- func (c CopperLantern) WithOxidationLevel(o OxidationType) Oxidisable
- type CopperOre
- func (c CopperOre) BreakInfo() BreakInfo
- func (c CopperOre) EncodeBlock() (string, map[string]any)
- func (c CopperOre) EncodeItem() (name string, meta int16)
- func (c CopperOre) Hash() (uint64, uint64)
- func (CopperOre) Instrument() sound.Instrument
- func (CopperOre) Model() world.BlockModel
- func (CopperOre) SmeltInfo() item.SmeltInfo
- type CopperTorch
- func (t CopperTorch) BreakInfo() BreakInfo
- func (t CopperTorch) EncodeBlock() (name string, properties map[string]any)
- func (t CopperTorch) EncodeItem() (name string, meta int16)
- func (t CopperTorch) HasLiquidDrops() bool
- func (t CopperTorch) Hash() (uint64, uint64)
- func (CopperTorch) LightDiffusionLevel() uint8
- func (t CopperTorch) LightEmissionLevel() uint8
- func (CopperTorch) Model() world.BlockModel
- func (t CopperTorch) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (t CopperTorch) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type CopperTrapdoor
- func (t CopperTrapdoor) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User, _ *item.UseContext) bool
- func (t CopperTrapdoor) BreakInfo() BreakInfo
- func (s CopperTrapdoor) CanDisplace(b world.Liquid) bool
- func (t CopperTrapdoor) CanOxidate() bool
- func (t CopperTrapdoor) EncodeBlock() (name string, properties map[string]any)
- func (t CopperTrapdoor) EncodeItem() (name string, meta int16)
- func (b CopperTrapdoor) FacingDirection() cube.Direction
- func (t CopperTrapdoor) Hash() (uint64, uint64)
- func (CopperTrapdoor) Instrument() sound.Instrument
- func (CopperTrapdoor) LightDiffusionLevel() uint8
- func (t CopperTrapdoor) Model() world.BlockModel
- func (t CopperTrapdoor) OxidationLevel() OxidationType
- func (t CopperTrapdoor) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (t CopperTrapdoor) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (t CopperTrapdoor) Strip() (world.Block, world.Sound, bool)
- func (t CopperTrapdoor) UseOnBlock(pos cube.Pos, face cube.Face, clickPos mgl64.Vec3, tx *world.Tx, ...) bool
- func (t CopperTrapdoor) Wax(cube.Pos, mgl64.Vec3) (world.Block, bool)
- func (b CopperTrapdoor) WithFacing(facing cube.Direction) world.Block
- func (t CopperTrapdoor) WithOxidationLevel(o OxidationType) Oxidisable
- type CopperType
- type Coral
- func (c Coral) BreakInfo() BreakInfo
- func (s Coral) CanDisplace(b world.Liquid) bool
- func (c Coral) EncodeBlock() (name string, properties map[string]any)
- func (c Coral) EncodeItem() (name string, meta int16)
- func (c Coral) HasLiquidDrops() bool
- func (c Coral) Hash() (uint64, uint64)
- func (Coral) Instrument() sound.Instrument
- func (Coral) LightDiffusionLevel() uint8
- func (Coral) Model() world.BlockModel
- func (c Coral) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (c Coral) ScheduledTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (c Coral) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c Coral) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type CoralBlock
- func (c CoralBlock) BreakInfo() BreakInfo
- func (c CoralBlock) EncodeBlock() (name string, properties map[string]any)
- func (c CoralBlock) EncodeItem() (name string, meta int16)
- func (c CoralBlock) Hash() (uint64, uint64)
- func (CoralBlock) Instrument() sound.Instrument
- func (CoralBlock) Model() world.BlockModel
- func (c CoralBlock) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (c CoralBlock) ScheduledTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- type CoralType
- type CraftingTable
- func (c CraftingTable) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (c CraftingTable) BreakInfo() BreakInfo
- func (c CraftingTable) EncodeBlock() (name string, properties map[string]interface{})
- func (c CraftingTable) EncodeItem() (name string, meta int16)
- func (CraftingTable) FuelInfo() item.FuelInfo
- func (CraftingTable) Hash() (uint64, uint64)
- func (CraftingTable) Instrument() sound.Instrument
- func (CraftingTable) Model() world.BlockModel
- type Crop
- type DamageSource
- type DeadBush
- func (d DeadBush) BreakInfo() BreakInfo
- func (s DeadBush) CanDisplace(b world.Liquid) bool
- func (d DeadBush) EncodeBlock() (string, map[string]any)
- func (d DeadBush) EncodeItem() (name string, meta int16)
- func (d DeadBush) FlammabilityInfo() FlammabilityInfo
- func (d DeadBush) HasLiquidDrops() bool
- func (DeadBush) Hash() (uint64, uint64)
- func (DeadBush) LightDiffusionLevel() uint8
- func (DeadBush) Model() world.BlockModel
- func (d DeadBush) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (DeadBush) ReplaceableBy(world.Block) bool
- func (d DeadBush) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (d DeadBush) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type DecoratedPot
- func (p DecoratedPot) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, ctx *item.UseContext) bool
- func (p DecoratedPot) BreakInfo() BreakInfo
- func (s DecoratedPot) CanDisplace(b world.Liquid) bool
- func (p DecoratedPot) DecodeNBT(data map[string]any) any
- func (p DecoratedPot) EncodeBlock() (name string, properties map[string]any)
- func (p DecoratedPot) EncodeItem() (name string, meta int16)
- func (p DecoratedPot) EncodeNBT() map[string]any
- func (p DecoratedPot) ExtractItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (b DecoratedPot) FacingDirection() cube.Direction
- func (p DecoratedPot) Hash() (uint64, uint64)
- func (p DecoratedPot) InsertItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (DecoratedPot) LightDiffusionLevel() uint8
- func (p DecoratedPot) Model() world.BlockModel
- func (p DecoratedPot) Pick() item.Stack
- func (p DecoratedPot) ProjectileHit(pos cube.Pos, tx *world.Tx, _ world.Entity, _ cube.Face)
- func (p DecoratedPot) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (p DecoratedPot) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b DecoratedPot) WithFacing(facing cube.Direction) world.Block
- type DecoratedPotWobbleAction
- type Deepslate
- func (d Deepslate) BreakInfo() BreakInfo
- func (d Deepslate) EncodeBlock() (string, map[string]any)
- func (d Deepslate) EncodeItem() (name string, meta int16)
- func (d Deepslate) Hash() (uint64, uint64)
- func (Deepslate) Instrument() sound.Instrument
- func (Deepslate) Model() world.BlockModel
- func (b Deepslate) PillarAxis() cube.Axis
- func (d Deepslate) SmeltInfo() item.SmeltInfo
- func (d Deepslate) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Deepslate) WithAxis(axis cube.Axis) world.Block
- type DeepslateBricks
- func (d DeepslateBricks) BreakInfo() BreakInfo
- func (d DeepslateBricks) EncodeBlock() (string, map[string]any)
- func (d DeepslateBricks) EncodeItem() (name string, meta int16)
- func (d DeepslateBricks) Hash() (uint64, uint64)
- func (DeepslateBricks) Instrument() sound.Instrument
- func (DeepslateBricks) Model() world.BlockModel
- func (d DeepslateBricks) SmeltInfo() item.SmeltInfo
- type DeepslateTiles
- func (d DeepslateTiles) BreakInfo() BreakInfo
- func (d DeepslateTiles) EncodeBlock() (string, map[string]any)
- func (d DeepslateTiles) EncodeItem() (name string, meta int16)
- func (d DeepslateTiles) Hash() (uint64, uint64)
- func (DeepslateTiles) Instrument() sound.Instrument
- func (DeepslateTiles) Model() world.BlockModel
- func (d DeepslateTiles) SmeltInfo() item.SmeltInfo
- type DeepslateType
- type Diamond
- type DiamondOre
- func (d DiamondOre) BreakInfo() BreakInfo
- func (d DiamondOre) EncodeBlock() (string, map[string]any)
- func (d DiamondOre) EncodeItem() (name string, meta int16)
- func (d DiamondOre) Hash() (uint64, uint64)
- func (DiamondOre) Instrument() sound.Instrument
- func (DiamondOre) Model() world.BlockModel
- func (DiamondOre) SmeltInfo() item.SmeltInfo
- type Diorite
- type Dirt
- func (d Dirt) BreakInfo() BreakInfo
- func (d Dirt) EncodeBlock() (string, map[string]any)
- func (d Dirt) EncodeItem() (name string, meta int16)
- func (d Dirt) Hash() (uint64, uint64)
- func (Dirt) Model() world.BlockModel
- func (d Dirt) Shovel() (world.Block, bool)
- func (d Dirt) SoilFor(block world.Block) bool
- func (d Dirt) Till() (world.Block, bool)
- type DirtPath
- func (p DirtPath) BreakInfo() BreakInfo
- func (DirtPath) EncodeBlock() (string, map[string]any)
- func (DirtPath) EncodeItem() (name string, meta int16)
- func (DirtPath) Hash() (uint64, uint64)
- func (DirtPath) LightDiffusionLevel() uint8
- func (DirtPath) Model() world.BlockModel
- func (p DirtPath) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (p DirtPath) Till() (world.Block, bool)
- type DoubleFlower
- func (d DoubleFlower) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (d DoubleFlower) BreakInfo() BreakInfo
- func (DoubleFlower) CompostChance() float64
- func (d DoubleFlower) EncodeBlock() (string, map[string]any)
- func (d DoubleFlower) EncodeItem() (name string, meta int16)
- func (d DoubleFlower) FlammabilityInfo() FlammabilityInfo
- func (d DoubleFlower) HasLiquidDrops() bool
- func (d DoubleFlower) Hash() (uint64, uint64)
- func (DoubleFlower) LightDiffusionLevel() uint8
- func (DoubleFlower) Model() world.BlockModel
- func (d DoubleFlower) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (d DoubleFlower) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type DoubleFlowerType
- type DoubleTallGrass
- func (d DoubleTallGrass) BreakInfo() BreakInfo
- func (d DoubleTallGrass) CompostChance() float64
- func (d DoubleTallGrass) EncodeBlock() (string, map[string]any)
- func (d DoubleTallGrass) EncodeItem() (name string, meta int16)
- func (d DoubleTallGrass) FlammabilityInfo() FlammabilityInfo
- func (d DoubleTallGrass) HasLiquidDrops() bool
- func (d DoubleTallGrass) Hash() (uint64, uint64)
- func (DoubleTallGrass) LightDiffusionLevel() uint8
- func (DoubleTallGrass) Model() world.BlockModel
- func (d DoubleTallGrass) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (DoubleTallGrass) ReplaceableBy(world.Block) bool
- func (d DoubleTallGrass) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type DoubleTallGrassType
- type DragonEgg
- func (d DragonEgg) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User, _ *item.UseContext) bool
- func (d DragonEgg) BreakInfo() BreakInfo
- func (s DragonEgg) CanDisplace(b world.Liquid) bool
- func (DragonEgg) EncodeBlock() (string, map[string]any)
- func (DragonEgg) EncodeItem() (name string, meta int16)
- func (DragonEgg) Hash() (uint64, uint64)
- func (DragonEgg) LightDiffusionLevel() uint8
- func (d DragonEgg) LightEmissionLevel() uint8
- func (DragonEgg) Model() world.BlockModel
- func (d DragonEgg) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (d DragonEgg) Punch(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User)
- func (d DragonEgg) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (g DragonEgg) Solidifies(cube.Pos, *world.Tx) bool
- type DriedKelp
- func (d DriedKelp) BreakInfo() BreakInfo
- func (DriedKelp) CompostChance() float64
- func (DriedKelp) EncodeBlock() (string, map[string]any)
- func (DriedKelp) EncodeItem() (name string, meta int16)
- func (DriedKelp) FlammabilityInfo() FlammabilityInfo
- func (DriedKelp) FuelInfo() item.FuelInfo
- func (DriedKelp) Hash() (uint64, uint64)
- func (DriedKelp) Model() world.BlockModel
- type Dripstone
- type Emerald
- func (e Emerald) BreakInfo() BreakInfo
- func (Emerald) EncodeBlock() (string, map[string]any)
- func (Emerald) EncodeItem() (name string, meta int16)
- func (Emerald) Hash() (uint64, uint64)
- func (e Emerald) Instrument() sound.Instrument
- func (Emerald) Model() world.BlockModel
- func (Emerald) PowersBeacon() bool
- type EmeraldOre
- func (e EmeraldOre) BreakInfo() BreakInfo
- func (e EmeraldOre) EncodeBlock() (string, map[string]any)
- func (e EmeraldOre) EncodeItem() (name string, meta int16)
- func (e EmeraldOre) Hash() (uint64, uint64)
- func (EmeraldOre) Instrument() sound.Instrument
- func (EmeraldOre) Model() world.BlockModel
- func (EmeraldOre) SmeltInfo() item.SmeltInfo
- type EnchantingTable
- func (EnchantingTable) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (e EnchantingTable) BreakInfo() BreakInfo
- func (s EnchantingTable) CanDisplace(b world.Liquid) bool
- func (e EnchantingTable) DecodeNBT(map[string]any) any
- func (EnchantingTable) EncodeBlock() (string, map[string]any)
- func (EnchantingTable) EncodeItem() (name string, meta int16)
- func (e EnchantingTable) EncodeNBT() map[string]any
- func (EnchantingTable) Hash() (uint64, uint64)
- func (EnchantingTable) Instrument() sound.Instrument
- func (EnchantingTable) LightDiffusionLevel() uint8
- func (EnchantingTable) LightEmissionLevel() uint8
- func (e EnchantingTable) Model() world.BlockModel
- func (EnchantingTable) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- type EndBricks
- type EndPortal
- func (e EndPortal) DecodeNBT(map[string]any) any
- func (EndPortal) EncodeBlock() (string, map[string]any)
- func (EndPortal) EncodeNBT() map[string]any
- func (EndPortal) EntityInside(_ cube.Pos, tx *world.Tx, e world.Entity)
- func (EndPortal) HasLiquidDrops() bool
- func (EndPortal) Hash() (uint64, uint64)
- func (EndPortal) LightDiffusionLevel() uint8
- func (EndPortal) LightEmissionLevel() uint8
- func (EndPortal) Model() world.BlockModel
- func (EndPortal) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (EndPortal) Portal() world.Dimension
- type EndPortalFrame
- func (f EndPortalFrame) DecodeNBT(map[string]any) any
- func (f EndPortalFrame) EncodeBlock() (string, map[string]any)
- func (EndPortalFrame) EncodeItem() (name string, meta int16)
- func (EndPortalFrame) EncodeNBT() map[string]any
- func (f EndPortalFrame) EndPortalFrameState() (eye bool, facing cube.Direction)
- func (b EndPortalFrame) FacingDirection() cube.Direction
- func (f EndPortalFrame) Hash() (uint64, uint64)
- func (f EndPortalFrame) InsertEndPortalEye() (world.Block, bool)
- func (EndPortalFrame) Instrument() sound.Instrument
- func (EndPortalFrame) LightEmissionLevel() uint8
- func (f EndPortalFrame) Model() world.BlockModel
- func (f EndPortalFrame) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (b EndPortalFrame) WithFacing(facing cube.Direction) world.Block
- type EndRod
- func (e EndRod) BreakInfo() BreakInfo
- func (s EndRod) CanDisplace(b world.Liquid) bool
- func (e EndRod) EncodeBlock() (string, map[string]any)
- func (EndRod) EncodeItem() (name string, meta int16)
- func (e EndRod) Hash() (uint64, uint64)
- func (EndRod) LightDiffusionLevel() uint8
- func (EndRod) LightEmissionLevel() uint8
- func (e EndRod) Model() world.BlockModel
- func (EndRod) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (e EndRod) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type EndStone
- type EnderChest
- func (c EnderChest) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (c EnderChest) AddViewer(tx *world.Tx, pos cube.Pos)
- func (c EnderChest) BreakInfo() BreakInfo
- func (s EnderChest) CanDisplace(b world.Liquid) bool
- func (c EnderChest) DecodeNBT(map[string]interface{}) interface{}
- func (c EnderChest) EncodeBlock() (name string, properties map[string]interface{})
- func (EnderChest) EncodeItem() (name string, meta int16)
- func (c EnderChest) EncodeNBT() map[string]interface{}
- func (b EnderChest) FacingDirection() cube.Direction
- func (c EnderChest) Hash() (uint64, uint64)
- func (EnderChest) Instrument() sound.Instrument
- func (EnderChest) LightDiffusionLevel() uint8
- func (c EnderChest) LightEmissionLevel() uint8
- func (EnderChest) Model() world.BlockModel
- func (c EnderChest) RemoveViewer(tx *world.Tx, pos cube.Pos)
- func (EnderChest) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c EnderChest) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b EnderChest) WithFacing(facing cube.Direction) world.Block
- type EntityInsider
- type EntityLander
- type EntityStepper
- type Explodable
- type ExplodableEntity
- type ExplosionConfig
- type Farmland
- func (f Farmland) BreakInfo() BreakInfo
- func (f Farmland) EncodeBlock() (name string, properties map[string]any)
- func (f Farmland) EncodeItem() (name string, meta int16)
- func (f Farmland) EntityLand(pos cube.Pos, tx *world.Tx, e world.Entity, _ *float64)
- func (f Farmland) Hash() (uint64, uint64)
- func (Farmland) Model() world.BlockModel
- func (f Farmland) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (f Farmland) RandomTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (f Farmland) SoilFor(block world.Block) bool
- type Fern
- func (g Fern) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (g Fern) BreakInfo() BreakInfo
- func (g Fern) CompostChance() float64
- func (g Fern) EncodeBlock() (name string, properties map[string]any)
- func (g Fern) EncodeItem() (name string, meta int16)
- func (g Fern) FlammabilityInfo() FlammabilityInfo
- func (g Fern) HasLiquidDrops() bool
- func (Fern) Hash() (uint64, uint64)
- func (Fern) LightDiffusionLevel() uint8
- func (Fern) Model() world.BlockModel
- func (g Fern) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (Fern) ReplaceableBy(world.Block) bool
- func (g Fern) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Fire
- func (f Fire) EncodeBlock() (name string, properties map[string]any)
- func (f Fire) EntityInside(_ cube.Pos, _ *world.Tx, e world.Entity)
- func (f Fire) HasLiquidDrops() bool
- func (f Fire) Hash() (uint64, uint64)
- func (Fire) LightDiffusionLevel() uint8
- func (f Fire) LightEmissionLevel() uint8
- func (Fire) Model() world.BlockModel
- func (f Fire) NeighbourUpdateTick(pos, changedNeighbour cube.Pos, tx *world.Tx)
- func (f Fire) PortalInterior(target world.Dimension) bool
- func (f Fire) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (Fire) ReplaceableBy(world.Block) bool
- func (f Fire) ScheduledTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (f Fire) Start(tx *world.Tx, pos cube.Pos)
- type FireDamageSource
- type FireType
- type FlammabilityInfo
- type Flammable
- type FletchingTable
- func (f FletchingTable) BreakInfo() BreakInfo
- func (FletchingTable) EncodeBlock() (string, map[string]any)
- func (FletchingTable) EncodeItem() (string, int16)
- func (FletchingTable) FuelInfo() item.FuelInfo
- func (FletchingTable) Hash() (uint64, uint64)
- func (FletchingTable) Instrument() sound.Instrument
- func (FletchingTable) Model() world.BlockModel
- type Flower
- func (f Flower) BoneMeal(pos cube.Pos, tx *world.Tx) (result item.BoneMealResult)
- func (f Flower) BreakInfo() BreakInfo
- func (Flower) CompostChance() float64
- func (f Flower) EncodeBlock() (string, map[string]any)
- func (f Flower) EncodeItem() (name string, meta int16)
- func (f Flower) EntityInside(_ cube.Pos, _ *world.Tx, e world.Entity)
- func (f Flower) FlammabilityInfo() FlammabilityInfo
- func (Flower) HasLiquidDrops() bool
- func (f Flower) Hash() (uint64, uint64)
- func (Flower) LightDiffusionLevel() uint8
- func (Flower) Model() world.BlockModel
- func (f Flower) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (f Flower) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type FlowerType
- func Allium() FlowerType
- func AzureBluet() FlowerType
- func BlueOrchid() FlowerType
- func Cornflower() FlowerType
- func Dandelion() FlowerType
- func FlowerTypes() []FlowerType
- func LilyOfTheValley() FlowerType
- func OrangeTulip() FlowerType
- func OxeyeDaisy() FlowerType
- func PinkTulip() FlowerType
- func Poppy() FlowerType
- func RedTulip() FlowerType
- func WhiteTulip() FlowerType
- func WitherRose() FlowerType
- type Frictional
- type Froglight
- func (f Froglight) BreakInfo() BreakInfo
- func (f Froglight) EncodeBlock() (name string, properties map[string]any)
- func (f Froglight) EncodeItem() (name string, meta int16)
- func (f Froglight) Hash() (uint64, uint64)
- func (f Froglight) LightEmissionLevel() uint8
- func (Froglight) Model() world.BlockModel
- func (b Froglight) PillarAxis() cube.Axis
- func (f Froglight) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Froglight) WithAxis(axis cube.Axis) world.Block
- type FroglightType
- type Furnace
- func (f Furnace) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (s Furnace) AddViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (f Furnace) BreakInfo() BreakInfo
- func (f Furnace) DecodeNBT(data map[string]interface{}) interface{}
- func (s Furnace) Durations() (remaining time.Duration, max time.Duration, cook time.Duration)
- func (f Furnace) EncodeBlock() (name string, properties map[string]interface{})
- func (f Furnace) EncodeItem() (name string, meta int16)
- func (f Furnace) EncodeNBT() map[string]interface{}
- func (s Furnace) Experience() int
- func (s Furnace) ExtractItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (b Furnace) FacingDirection() cube.Direction
- func (f Furnace) Hash() (uint64, uint64)
- func (s Furnace) InsertItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (Furnace) Instrument() sound.Instrument
- func (s Furnace) Inventory(*world.Tx, cube.Pos) *inventory.Inventory
- func (f Furnace) LightEmissionLevel() uint8
- func (Furnace) Model() world.BlockModel
- func (s Furnace) RemoveViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (s Furnace) ResetExperience() int
- func (f Furnace) Tick(_ int64, pos cube.Pos, tx *world.Tx)
- func (f Furnace) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (b Furnace) WithFacing(facing cube.Direction) world.Block
- type Glass
- type GlassPane
- func (p GlassPane) BreakInfo() BreakInfo
- func (s GlassPane) CanDisplace(b world.Liquid) bool
- func (GlassPane) EncodeBlock() (string, map[string]any)
- func (GlassPane) EncodeItem() (name string, meta int16)
- func (GlassPane) Hash() (uint64, uint64)
- func (GlassPane) Instrument() sound.Instrument
- func (GlassPane) LightDiffusionLevel() uint8
- func (GlassPane) Model() world.BlockModel
- func (p GlassPane) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- type GlazedTerracotta
- func (t GlazedTerracotta) BreakInfo() BreakInfo
- func (b GlazedTerracotta) DyeColour() item.Colour
- func (t GlazedTerracotta) EncodeBlock() (name string, properties map[string]any)
- func (t GlazedTerracotta) EncodeItem() (name string, meta int16)
- func (b GlazedTerracotta) FacingDirection() cube.Direction
- func (t GlazedTerracotta) Hash() (uint64, uint64)
- func (GlazedTerracotta) Instrument() sound.Instrument
- func (GlazedTerracotta) Model() world.BlockModel
- func (t GlazedTerracotta) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b GlazedTerracotta) WithColour(colour item.Colour) world.Block
- func (b GlazedTerracotta) WithFacing(facing cube.Direction) world.Block
- type Glowstone
- func (g Glowstone) BreakInfo() BreakInfo
- func (Glowstone) CanRedstoneWireStepDown(cube.Pos, cube.Pos, *world.Tx) bool
- func (Glowstone) EncodeBlock() (string, map[string]any)
- func (Glowstone) EncodeItem() (name string, meta int16)
- func (Glowstone) Hash() (uint64, uint64)
- func (g Glowstone) Instrument() sound.Instrument
- func (Glowstone) LightEmissionLevel() uint8
- func (Glowstone) Model() world.BlockModel
- func (Glowstone) RedstoneNonConductive()
- type Gold
- type GoldOre
- func (g GoldOre) BreakInfo() BreakInfo
- func (g GoldOre) EncodeBlock() (string, map[string]any)
- func (g GoldOre) EncodeItem() (name string, meta int16)
- func (g GoldOre) Hash() (uint64, uint64)
- func (GoldOre) Instrument() sound.Instrument
- func (GoldOre) Model() world.BlockModel
- func (GoldOre) SmeltInfo() item.SmeltInfo
- type Granite
- type Grass
- func (g Grass) BoneMeal(pos cube.Pos, tx *world.Tx) (result item.BoneMealResult)
- func (g Grass) BreakInfo() BreakInfo
- func (Grass) CompostChance() float64
- func (Grass) EncodeBlock() (string, map[string]any)
- func (Grass) EncodeItem() (name string, meta int16)
- func (Grass) Hash() (uint64, uint64)
- func (Grass) Model() world.BlockModel
- func (g Grass) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (g Grass) Shovel() (world.Block, bool)
- func (g Grass) SoilFor(block world.Block) bool
- func (g Grass) Till() (world.Block, bool)
- type Gravel
- func (g Gravel) BreakInfo() BreakInfo
- func (Gravel) EncodeBlock() (string, map[string]any)
- func (Gravel) EncodeItem() (name string, meta int16)
- func (Gravel) Hash() (uint64, uint64)
- func (Gravel) Instrument() sound.Instrument
- func (Gravel) Model() world.BlockModel
- func (g Gravel) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (g Gravel) SoilFor(block world.Block) bool
- func (g Gravel) Solidifies(cube.Pos, *world.Tx) bool
- type Grindstone
- func (g Grindstone) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (g Grindstone) BreakInfo() BreakInfo
- func (g Grindstone) EncodeBlock() (string, map[string]any)
- func (g Grindstone) EncodeItem() (name string, meta int16)
- func (b Grindstone) FacingDirection() cube.Direction
- func (g Grindstone) Hash() (uint64, uint64)
- func (Grindstone) LightDiffusionLevel() uint8
- func (g Grindstone) Model() world.BlockModel
- func (g Grindstone) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (g Grindstone) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Grindstone) WithFacing(facing cube.Direction) world.Block
- type GrindstoneAttachment
- type HasAxis
- type HasColour
- type HasFacing
- type HayBale
- func (h HayBale) BreakInfo() BreakInfo
- func (HayBale) CompostChance() float64
- func (h HayBale) EncodeBlock() (name string, properties map[string]interface{})
- func (HayBale) EncodeItem() (name string, meta int16)
- func (h HayBale) EntityLand(_ cube.Pos, _ *world.Tx, e world.Entity, distance *float64)
- func (HayBale) FlammabilityInfo() FlammabilityInfo
- func (h HayBale) Hash() (uint64, uint64)
- func (HayBale) Instrument() sound.Instrument
- func (HayBale) Model() world.BlockModel
- func (b HayBale) PillarAxis() cube.Axis
- func (h HayBale) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b HayBale) WithAxis(axis cube.Axis) world.Block
- type Honeycomb
- type Hopper
- func (Hopper) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (h Hopper) AddViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (h Hopper) BreakInfo() BreakInfo
- func (s Hopper) CanDisplace(b world.Liquid) bool
- func (Hopper) CanRedstoneWireStepDown(cube.Pos, cube.Pos, *world.Tx) bool
- func (h Hopper) DecodeNBT(data map[string]any) any
- func (h Hopper) EncodeBlock() (string, map[string]any)
- func (Hopper) EncodeItem() (name string, meta int16)
- func (h Hopper) EncodeNBT() map[string]any
- func (h Hopper) Hash() (uint64, uint64)
- func (h Hopper) Inventory(*world.Tx, cube.Pos) *inventory.Inventory
- func (Hopper) LightDiffusionLevel() uint8
- func (Hopper) Model() world.BlockModel
- func (h Hopper) RemoveViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (Hopper) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (h Hopper) Tick(_ int64, pos cube.Pos, tx *world.Tx)
- func (h Hopper) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (h Hopper) WithName(a ...any) world.Item
- type HopperExtractable
- type HopperInsertable
- type InfestedCobblestone
- func (i InfestedCobblestone) BreakInfo() BreakInfo
- func (InfestedCobblestone) EncodeBlock() (string, map[string]any)
- func (InfestedCobblestone) EncodeItem() (name string, meta int16)
- func (InfestedCobblestone) Hash() (uint64, uint64)
- func (InfestedCobblestone) Instrument() sound.Instrument
- func (InfestedCobblestone) Model() world.BlockModel
- type InfestedDeepslate
- func (i InfestedDeepslate) BreakInfo() BreakInfo
- func (i InfestedDeepslate) EncodeBlock() (string, map[string]any)
- func (InfestedDeepslate) EncodeItem() (name string, meta int16)
- func (i InfestedDeepslate) Hash() (uint64, uint64)
- func (InfestedDeepslate) Instrument() sound.Instrument
- func (InfestedDeepslate) Model() world.BlockModel
- func (b InfestedDeepslate) PillarAxis() cube.Axis
- func (i InfestedDeepslate) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b InfestedDeepslate) WithAxis(axis cube.Axis) world.Block
- type InfestedStone
- func (i InfestedStone) BreakInfo() BreakInfo
- func (InfestedStone) EncodeBlock() (string, map[string]any)
- func (InfestedStone) EncodeItem() (name string, meta int16)
- func (InfestedStone) Hash() (uint64, uint64)
- func (InfestedStone) Instrument() sound.Instrument
- func (InfestedStone) Model() world.BlockModel
- type InfestedStoneBricks
- func (i InfestedStoneBricks) BreakInfo() BreakInfo
- func (i InfestedStoneBricks) EncodeBlock() (string, map[string]any)
- func (i InfestedStoneBricks) EncodeItem() (name string, meta int16)
- func (i InfestedStoneBricks) Hash() (uint64, uint64)
- func (InfestedStoneBricks) Instrument() sound.Instrument
- func (InfestedStoneBricks) Model() world.BlockModel
- type InvisibleBedrock
- type Iron
- type IronBars
- func (i IronBars) BreakInfo() BreakInfo
- func (s IronBars) CanDisplace(b world.Liquid) bool
- func (IronBars) EncodeBlock() (string, map[string]any)
- func (IronBars) EncodeItem() (name string, meta int16)
- func (IronBars) Hash() (uint64, uint64)
- func (IronBars) LightDiffusionLevel() uint8
- func (IronBars) Model() world.BlockModel
- func (i IronBars) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- type IronChain
- func (c IronChain) BreakInfo() BreakInfo
- func (s IronChain) CanDisplace(b world.Liquid) bool
- func (c IronChain) EncodeBlock() (string, map[string]any)
- func (IronChain) EncodeItem() (name string, meta int16)
- func (c IronChain) Hash() (uint64, uint64)
- func (IronChain) LightDiffusionLevel() uint8
- func (c IronChain) Model() world.BlockModel
- func (b IronChain) PillarAxis() cube.Axis
- func (IronChain) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (c IronChain) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b IronChain) WithAxis(axis cube.Axis) world.Block
- type IronOre
- func (i IronOre) BreakInfo() BreakInfo
- func (i IronOre) EncodeBlock() (string, map[string]any)
- func (i IronOre) EncodeItem() (name string, meta int16)
- func (i IronOre) Hash() (uint64, uint64)
- func (IronOre) Instrument() sound.Instrument
- func (IronOre) Model() world.BlockModel
- func (IronOre) SmeltInfo() item.SmeltInfo
- type ItemFrame
- func (i ItemFrame) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, ctx *item.UseContext) bool
- func (i ItemFrame) BreakInfo() BreakInfo
- func (s ItemFrame) CanDisplace(b world.Liquid) bool
- func (i ItemFrame) DecodeNBT(data map[string]any) any
- func (i ItemFrame) EncodeBlock() (name string, properties map[string]any)
- func (i ItemFrame) EncodeItem() (name string, meta int16)
- func (i ItemFrame) EncodeNBT() map[string]any
- func (i ItemFrame) Hash() (uint64, uint64)
- func (ItemFrame) LightDiffusionLevel() uint8
- func (ItemFrame) Model() world.BlockModel
- func (i ItemFrame) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (i ItemFrame) Pick() item.Stack
- func (i ItemFrame) Punch(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User)
- func (ItemFrame) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (i ItemFrame) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Jukebox
- func (j Jukebox) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, ctx *item.UseContext) bool
- func (j Jukebox) BreakInfo() BreakInfo
- func (j Jukebox) DecodeNBT(data map[string]any) any
- func (j Jukebox) Disc() (sound.DiscType, bool)
- func (Jukebox) EncodeBlock() (string, map[string]any)
- func (Jukebox) EncodeItem() (name string, meta int16)
- func (j Jukebox) EncodeNBT() map[string]any
- func (j Jukebox) ExtractItem(_ Hopper, _ cube.Pos, _ *world.Tx) bool
- func (j Jukebox) FuelInfo() item.FuelInfo
- func (Jukebox) Hash() (uint64, uint64)
- func (j Jukebox) InsertItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (Jukebox) Instrument() sound.Instrument
- func (Jukebox) Model() world.BlockModel
- type Kelp
- func (k Kelp) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (k Kelp) BreakInfo() BreakInfo
- func (s Kelp) CanDisplace(b world.Liquid) bool
- func (Kelp) CompostChance() float64
- func (k Kelp) EncodeBlock() (name string, properties map[string]any)
- func (Kelp) EncodeItem() (name string, meta int16)
- func (k Kelp) Hash() (uint64, uint64)
- func (Kelp) LightDiffusionLevel() uint8
- func (Kelp) Model() world.BlockModel
- func (k Kelp) NeighbourUpdateTick(pos, changedNeighbour cube.Pos, tx *world.Tx)
- func (k Kelp) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (Kelp) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (k Kelp) SmeltInfo() item.SmeltInfo
- func (k Kelp) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type Ladder
- func (l Ladder) BreakInfo() BreakInfo
- func (s Ladder) CanDisplace(b world.Liquid) bool
- func (l Ladder) EncodeBlock() (string, map[string]any)
- func (l Ladder) EncodeItem() (name string, meta int16)
- func (l Ladder) EntityInside(_ cube.Pos, _ *world.Tx, e world.Entity)
- func (b Ladder) FacingDirection() cube.Direction
- func (Ladder) FuelInfo() item.FuelInfo
- func (l Ladder) Hash() (uint64, uint64)
- func (Ladder) LightDiffusionLevel() uint8
- func (l Ladder) Model() world.BlockModel
- func (l Ladder) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (l Ladder) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (l Ladder) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (b Ladder) WithFacing(facing cube.Direction) world.Block
- type Lantern
- func (l Lantern) BreakInfo() BreakInfo
- func (s Lantern) CanDisplace(b world.Liquid) bool
- func (l Lantern) EncodeBlock() (name string, properties map[string]any)
- func (l Lantern) EncodeItem() (name string, meta int16)
- func (l Lantern) Hash() (uint64, uint64)
- func (Lantern) LightDiffusionLevel() uint8
- func (l Lantern) LightEmissionLevel() uint8
- func (l Lantern) Model() world.BlockModel
- func (l Lantern) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (l Lantern) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (l Lantern) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Lapis
- type LapisOre
- func (l LapisOre) BreakInfo() BreakInfo
- func (l LapisOre) EncodeBlock() (string, map[string]any)
- func (l LapisOre) EncodeItem() (name string, meta int16)
- func (l LapisOre) Hash() (uint64, uint64)
- func (LapisOre) Instrument() sound.Instrument
- func (LapisOre) Model() world.BlockModel
- func (LapisOre) SmeltInfo() item.SmeltInfo
- type Lava
- func (Lava) BlastResistance() float64
- func (l Lava) EncodeBlock() (name string, properties map[string]any)
- func (l Lava) EntityInside(_ cube.Pos, _ *world.Tx, e world.Entity)
- func (l Lava) Harden(pos cube.Pos, tx *world.Tx, flownIntoBy *cube.Pos) bool
- func (Lava) HasLiquidDrops() bool
- func (l Lava) Hash() (uint64, uint64)
- func (Lava) LightDiffusionLevel() uint8
- func (Lava) LightEmissionLevel() uint8
- func (l Lava) LiquidDepth() int
- func (l Lava) LiquidFalling() bool
- func (Lava) LiquidRemoveBlock(pos cube.Pos, tx *world.Tx, _ world.Block)
- func (Lava) LiquidType() string
- func (Lava) Model() world.BlockModel
- func (l Lava) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (l Lava) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (l Lava) ReplaceableBy(b world.Block) bool
- func (l Lava) ScheduledTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (Lava) SpreadDecay() int
- func (l Lava) WithDepth(depth int, falling bool) world.Liquid
- type LavaDamageSource
- type Leaves
- func (l Leaves) BreakInfo() BreakInfo
- func (s Leaves) CanDisplace(b world.Liquid) bool
- func (Leaves) CompostChance() float64
- func (l Leaves) EncodeBlock() (name string, properties map[string]any)
- func (l Leaves) EncodeItem() (name string, meta int16)
- func (l Leaves) FlammabilityInfo() FlammabilityInfo
- func (l Leaves) Hash() (uint64, uint64)
- func (Leaves) LightDiffusionLevel() uint8
- func (Leaves) Model() world.BlockModel
- func (l Leaves) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (l Leaves) RandomTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (Leaves) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (l Leaves) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type LeavesType
- func AcaciaLeaves() LeavesType
- func AzaleaLeaves() LeavesType
- func BirchLeaves() LeavesType
- func CherryLeaves() LeavesType
- func DarkOakLeaves() LeavesType
- func FloweringAzaleaLeaves() LeavesType
- func JungleLeaves() LeavesType
- func LeavesTypes() []LeavesType
- func MangroveLeaves() LeavesType
- func OakLeaves() LeavesType
- func PaleOakLeaves() LeavesType
- func SpruceLeaves() LeavesType
- func WoodLeavesTypes() []LeavesType
- type Lectern
- func (l Lectern) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, ctx *item.UseContext) bool
- func (l Lectern) BreakInfo() BreakInfo
- func (s Lectern) CanDisplace(b world.Liquid) bool
- func (l Lectern) DecodeNBT(m map[string]any) any
- func (l Lectern) EncodeBlock() (string, map[string]any)
- func (Lectern) EncodeItem() (name string, meta int16)
- func (l Lectern) EncodeNBT() map[string]any
- func (b Lectern) FacingDirection() cube.Direction
- func (Lectern) FuelInfo() item.FuelInfo
- func (l Lectern) Hash() (uint64, uint64)
- func (Lectern) Instrument() sound.Instrument
- func (Lectern) Model() world.BlockModel
- func (l Lectern) Punch(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User)
- func (Lectern) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (l Lectern) TurnPage(pos cube.Pos, tx *world.Tx, page int) error
- func (l Lectern) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Lectern) WithFacing(facing cube.Direction) world.Block
- type Lever
- func (l Lever) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User, _ *item.UseContext) bool
- func (l Lever) BreakInfo() BreakInfo
- func (s Lever) CanDisplace(b world.Liquid) bool
- func (l Lever) EncodeBlock() (string, map[string]any)
- func (l Lever) EncodeItem() (name string, meta int16)
- func (l Lever) Hash() (uint64, uint64)
- func (Lever) LightDiffusionLevel() uint8
- func (Lever) Model() world.BlockModel
- func (l Lever) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (l Lever) RedstonePower(cube.Pos, *world.Tx, cube.Face) int
- func (l Lever) RedstoneStrongPower(_ cube.Pos, _ *world.Tx, face cube.Face) int
- func (l Lever) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (l Lever) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Light
- func (s Light) CanDisplace(b world.Liquid) bool
- func (l Light) EncodeBlock() (name string, properties map[string]any)
- func (l Light) EncodeItem() (name string, meta int16)
- func (l Light) Hash() (uint64, uint64)
- func (Light) LightDiffusionLevel() uint8
- func (l Light) LightEmissionLevel() uint8
- func (Light) Model() world.BlockModel
- func (Light) ReplaceableBy(world.Block) bool
- func (Light) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- type LightDiffuser
- type LightEmitter
- type LilyPad
- func (l LilyPad) BreakInfo() BreakInfo
- func (LilyPad) CompostChance() float64
- func (LilyPad) EncodeBlock() (string, map[string]any)
- func (LilyPad) EncodeItem() (name string, meta int16)
- func (LilyPad) HasLiquidDrops() bool
- func (LilyPad) Hash() (uint64, uint64)
- func (LilyPad) LightDiffusionLevel() uint8
- func (LilyPad) Model() world.BlockModel
- func (l LilyPad) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (l LilyPad) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type LiquidRemovable
- type LitPumpkin
- func (l LitPumpkin) BreakInfo() BreakInfo
- func (l LitPumpkin) EncodeBlock() (name string, properties map[string]any)
- func (l LitPumpkin) EncodeItem() (name string, meta int16)
- func (b LitPumpkin) FacingDirection() cube.Direction
- func (l LitPumpkin) Hash() (uint64, uint64)
- func (l LitPumpkin) LightEmissionLevel() uint8
- func (LitPumpkin) Model() world.BlockModel
- func (l LitPumpkin) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b LitPumpkin) WithFacing(facing cube.Direction) world.Block
- type Log
- func (l Log) BreakInfo() BreakInfo
- func (l Log) EncodeBlock() (name string, properties map[string]any)
- func (l Log) EncodeItem() (name string, meta int16)
- func (l Log) FlammabilityInfo() FlammabilityInfo
- func (l Log) FuelInfo() item.FuelInfo
- func (l Log) Hash() (uint64, uint64)
- func (Log) Instrument() sound.Instrument
- func (Log) Model() world.BlockModel
- func (b Log) PillarAxis() cube.Axis
- func (Log) SmeltInfo() item.SmeltInfo
- func (l Log) Strip() (world.Block, world.Sound, bool)
- func (l Log) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Log) WithAxis(axis cube.Axis) world.Block
- type Loom
- func (Loom) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (l Loom) BreakInfo() BreakInfo
- func (l Loom) EncodeBlock() (name string, properties map[string]interface{})
- func (Loom) EncodeItem() (name string, meta int16)
- func (b Loom) FacingDirection() cube.Direction
- func (Loom) FuelInfo() item.FuelInfo
- func (l Loom) Hash() (uint64, uint64)
- func (Loom) Instrument() sound.Instrument
- func (Loom) Model() world.BlockModel
- func (l Loom) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Loom) WithFacing(facing cube.Direction) world.Block
- type Magma
- func (m Magma) BreakInfo() BreakInfo
- func (Magma) EncodeBlock() (string, map[string]any)
- func (Magma) EncodeItem() (name string, meta int16)
- func (Magma) EntityStepOn(_ cube.Pos, _ *world.Tx, e world.Entity)
- func (Magma) Hash() (uint64, uint64)
- func (Magma) Instrument() sound.Instrument
- func (Magma) LightEmissionLevel() uint8
- func (Magma) Model() world.BlockModel
- type MagmaDamageSource
- type Melon
- type MelonSeeds
- func (m MelonSeeds) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (m MelonSeeds) BreakInfo() BreakInfo
- func (c MelonSeeds) CalculateGrowthChance(pos cube.Pos, tx *world.Tx) float64
- func (MelonSeeds) CompostChance() float64
- func (m MelonSeeds) EncodeBlock() (name string, properties map[string]any)
- func (m MelonSeeds) EncodeItem() (name string, meta int16)
- func (c MelonSeeds) GrowthStage() int
- func (c MelonSeeds) HasLiquidDrops() bool
- func (m MelonSeeds) Hash() (uint64, uint64)
- func (m MelonSeeds) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (m MelonSeeds) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (MelonSeeds) SameCrop(c Crop) bool
- func (m MelonSeeds) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type MossCarpet
- func (m MossCarpet) BreakInfo() BreakInfo
- func (s MossCarpet) CanDisplace(b world.Liquid) bool
- func (MossCarpet) CompostChance() float64
- func (m MossCarpet) EncodeBlock() (string, map[string]any)
- func (m MossCarpet) EncodeItem() (name string, meta int16)
- func (MossCarpet) HasLiquidDrops() bool
- func (MossCarpet) Hash() (uint64, uint64)
- func (MossCarpet) LightDiffusionLevel() uint8
- func (MossCarpet) Model() world.BlockModel
- func (m MossCarpet) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (MossCarpet) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (m MossCarpet) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type Mud
- type MudBricks
- type MuddyMangroveRoots
- func (m MuddyMangroveRoots) BreakInfo() BreakInfo
- func (m MuddyMangroveRoots) EncodeBlock() (string, map[string]any)
- func (MuddyMangroveRoots) EncodeItem() (name string, meta int16)
- func (m MuddyMangroveRoots) Hash() (uint64, uint64)
- func (MuddyMangroveRoots) Model() world.BlockModel
- func (b MuddyMangroveRoots) PillarAxis() cube.Axis
- func (MuddyMangroveRoots) SoilFor(block world.Block) bool
- func (m MuddyMangroveRoots) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b MuddyMangroveRoots) WithAxis(axis cube.Axis) world.Block
- type NetherBrickFence
- func (n NetherBrickFence) BreakInfo() BreakInfo
- func (s NetherBrickFence) CanDisplace(b world.Liquid) bool
- func (NetherBrickFence) EncodeBlock() (string, map[string]any)
- func (NetherBrickFence) EncodeItem() (name string, meta int16)
- func (NetherBrickFence) Hash() (uint64, uint64)
- func (NetherBrickFence) LightDiffusionLevel() uint8
- func (n NetherBrickFence) Model() world.BlockModel
- func (NetherBrickFence) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- type NetherBricks
- func (n NetherBricks) BreakInfo() BreakInfo
- func (n NetherBricks) EncodeBlock() (name string, properties map[string]any)
- func (n NetherBricks) EncodeItem() (id string, meta int16)
- func (n NetherBricks) Hash() (uint64, uint64)
- func (NetherBricks) Instrument() sound.Instrument
- func (NetherBricks) Model() world.BlockModel
- func (n NetherBricks) SmeltInfo() item.SmeltInfo
- type NetherBricksType
- type NetherGoldOre
- func (n NetherGoldOre) BreakInfo() BreakInfo
- func (NetherGoldOre) EncodeBlock() (string, map[string]any)
- func (NetherGoldOre) EncodeItem() (name string, meta int16)
- func (NetherGoldOre) Hash() (uint64, uint64)
- func (NetherGoldOre) Model() world.BlockModel
- func (NetherGoldOre) SmeltInfo() item.SmeltInfo
- type NetherQuartzOre
- func (q NetherQuartzOre) BreakInfo() BreakInfo
- func (NetherQuartzOre) EncodeBlock() (string, map[string]any)
- func (NetherQuartzOre) EncodeItem() (name string, meta int16)
- func (NetherQuartzOre) Hash() (uint64, uint64)
- func (NetherQuartzOre) Instrument() sound.Instrument
- func (NetherQuartzOre) Model() world.BlockModel
- func (NetherQuartzOre) SmeltInfo() item.SmeltInfo
- type NetherSprouts
- func (n NetherSprouts) BreakInfo() BreakInfo
- func (NetherSprouts) CompostChance() float64
- func (n NetherSprouts) EncodeBlock() (string, map[string]any)
- func (n NetherSprouts) EncodeItem() (name string, meta int16)
- func (n NetherSprouts) FlammabilityInfo() FlammabilityInfo
- func (n NetherSprouts) HasLiquidDrops() bool
- func (NetherSprouts) Hash() (uint64, uint64)
- func (NetherSprouts) LightDiffusionLevel() uint8
- func (NetherSprouts) Model() world.BlockModel
- func (n NetherSprouts) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (NetherSprouts) ReplaceableBy(world.Block) bool
- func (n NetherSprouts) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type NetherWart
- func (n NetherWart) BreakInfo() BreakInfo
- func (NetherWart) CompostChance() float64
- func (n NetherWart) EncodeBlock() (name string, properties map[string]any)
- func (NetherWart) EncodeItem() (name string, meta int16)
- func (n NetherWart) HasLiquidDrops() bool
- func (n NetherWart) Hash() (uint64, uint64)
- func (NetherWart) LightDiffusionLevel() uint8
- func (NetherWart) Model() world.BlockModel
- func (n NetherWart) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (n NetherWart) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (n NetherWart) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type NetherWartBlock
- func (n NetherWartBlock) BreakInfo() BreakInfo
- func (NetherWartBlock) CompostChance() float64
- func (n NetherWartBlock) EncodeBlock() (name string, properties map[string]interface{})
- func (n NetherWartBlock) EncodeItem() (name string, meta int16)
- func (n NetherWartBlock) Hash() (uint64, uint64)
- func (NetherWartBlock) Model() world.BlockModel
- type Netherite
- func (n Netherite) BreakInfo() BreakInfo
- func (Netherite) EncodeBlock() (string, map[string]any)
- func (Netherite) EncodeItem() (name string, meta int16)
- func (Netherite) Hash() (uint64, uint64)
- func (Netherite) Instrument() sound.Instrument
- func (Netherite) Model() world.BlockModel
- func (Netherite) PowersBeacon() bool
- type Netherrack
- func (n Netherrack) BreakInfo() BreakInfo
- func (Netherrack) EncodeBlock() (string, map[string]any)
- func (Netherrack) EncodeItem() (name string, meta int16)
- func (Netherrack) Hash() (uint64, uint64)
- func (Netherrack) Instrument() sound.Instrument
- func (Netherrack) Model() world.BlockModel
- func (Netherrack) SmeltInfo() item.SmeltInfo
- func (n Netherrack) SoilFor(block world.Block) bool
- type Note
- func (n Note) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User, _ *item.UseContext) bool
- func (n Note) BreakInfo() BreakInfo
- func (n Note) DecodeNBT(data map[string]any) any
- func (n Note) EncodeBlock() (name string, properties map[string]any)
- func (n Note) EncodeItem() (name string, meta int16)
- func (n Note) EncodeNBT() map[string]any
- func (Note) FuelInfo() item.FuelInfo
- func (Note) Hash() (uint64, uint64)
- func (Note) Instrument() sound.Instrument
- func (Note) Model() world.BlockModel
- func (n Note) RedstonePowerPostUpdate(pos cube.Pos, tx *world.Tx, before, after world.Block, _, _ int)
- func (n Note) RedstonePowerUpdate(pos cube.Pos, tx *world.Tx, power int) (world.Block, bool)
- type Obsidian
- func (o Obsidian) BreakInfo() BreakInfo
- func (o Obsidian) EncodeBlock() (string, map[string]any)
- func (o Obsidian) EncodeItem() (name string, meta int16)
- func (o Obsidian) Frame(dimension world.Dimension) bool
- func (o Obsidian) Hash() (uint64, uint64)
- func (Obsidian) Instrument() sound.Instrument
- func (o Obsidian) LightEmissionLevel() uint8
- func (Obsidian) Model() world.BlockModel
- type OpenAction
- type OreType
- type OxidationType
- type Oxidisable
- type PackedIce
- func (p PackedIce) BreakInfo() BreakInfo
- func (PackedIce) EncodeBlock() (string, map[string]any)
- func (PackedIce) EncodeItem() (name string, meta int16)
- func (p PackedIce) Friction() float64
- func (PackedIce) Hash() (uint64, uint64)
- func (PackedIce) Instrument() sound.Instrument
- func (PackedIce) Model() world.BlockModel
- type PackedMud
- type Permutable
- type Pickable
- type PinkPetals
- func (p PinkPetals) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (p PinkPetals) BreakInfo() BreakInfo
- func (PinkPetals) CompostChance() float64
- func (p PinkPetals) EncodeBlock() (string, map[string]any)
- func (PinkPetals) EncodeItem() (name string, meta int16)
- func (b PinkPetals) FacingDirection() cube.Direction
- func (p PinkPetals) FlammabilityInfo() FlammabilityInfo
- func (PinkPetals) HasLiquidDrops() bool
- func (p PinkPetals) Hash() (uint64, uint64)
- func (PinkPetals) LightDiffusionLevel() uint8
- func (PinkPetals) Model() world.BlockModel
- func (p PinkPetals) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (p PinkPetals) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (b PinkPetals) WithFacing(facing cube.Direction) world.Block
- type Placer
- type Planks
- func (p Planks) BreakInfo() BreakInfo
- func (p Planks) EncodeBlock() (name string, properties map[string]any)
- func (p Planks) EncodeItem() (name string, meta int16)
- func (p Planks) FlammabilityInfo() FlammabilityInfo
- func (p Planks) FuelInfo() item.FuelInfo
- func (p Planks) Hash() (uint64, uint64)
- func (Planks) Instrument() sound.Instrument
- func (Planks) Model() world.BlockModel
- func (p Planks) RepairsWoodTools() bool
- type Podzol
- func (p Podzol) BreakInfo() BreakInfo
- func (Podzol) EncodeBlock() (string, map[string]any)
- func (Podzol) EncodeItem() (name string, meta int16)
- func (Podzol) Hash() (uint64, uint64)
- func (Podzol) Model() world.BlockModel
- func (Podzol) Shovel() (world.Block, bool)
- func (p Podzol) SoilFor(block world.Block) bool
- type PolishedBlackstoneBrick
- func (b PolishedBlackstoneBrick) BreakInfo() BreakInfo
- func (b PolishedBlackstoneBrick) EncodeBlock() (string, map[string]any)
- func (b PolishedBlackstoneBrick) EncodeItem() (name string, meta int16)
- func (b PolishedBlackstoneBrick) Hash() (uint64, uint64)
- func (PolishedBlackstoneBrick) Instrument() sound.Instrument
- func (PolishedBlackstoneBrick) Model() world.BlockModel
- func (b PolishedBlackstoneBrick) SmeltInfo() item.SmeltInfo
- type PolishedCinnabar
- func (c PolishedCinnabar) BreakInfo() BreakInfo
- func (PolishedCinnabar) EncodeBlock() (string, map[string]any)
- func (PolishedCinnabar) EncodeItem() (name string, meta int16)
- func (PolishedCinnabar) Hash() (uint64, uint64)
- func (PolishedCinnabar) Instrument() sound.Instrument
- func (PolishedCinnabar) Model() world.BlockModel
- type PolishedSulfur
- func (s PolishedSulfur) BreakInfo() BreakInfo
- func (PolishedSulfur) EncodeBlock() (string, map[string]any)
- func (PolishedSulfur) EncodeItem() (name string, meta int16)
- func (PolishedSulfur) Hash() (uint64, uint64)
- func (PolishedSulfur) Instrument() sound.Instrument
- func (PolishedSulfur) Model() world.BlockModel
- type PolishedTuff
- func (t PolishedTuff) BreakInfo() BreakInfo
- func (t PolishedTuff) EncodeBlock() (string, map[string]any)
- func (t PolishedTuff) EncodeItem() (name string, meta int16)
- func (PolishedTuff) Hash() (uint64, uint64)
- func (PolishedTuff) Instrument() sound.Instrument
- func (PolishedTuff) Model() world.BlockModel
- type Portal
- func (p Portal) EncodeBlock() (string, map[string]any)
- func (p Portal) EntityInside(_ cube.Pos, tx *world.Tx, e world.Entity)
- func (p Portal) HasLiquidDrops() bool
- func (p Portal) Hash() (uint64, uint64)
- func (Portal) LightDiffusionLevel() uint8
- func (Portal) LightEmissionLevel() uint8
- func (p Portal) Model() world.BlockModel
- func (p Portal) NeighbourUpdateTick(pos, neighbour cube.Pos, tx *world.Tx)
- func (b Portal) PillarAxis() cube.Axis
- func (Portal) Portal() world.Dimension
- func (b Portal) WithAxis(axis cube.Axis) world.Block
- type PotDecoration
- type Potato
- func (p Potato) AlwaysConsumable() bool
- func (p Potato) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (p Potato) BreakInfo() BreakInfo
- func (c Potato) CalculateGrowthChance(pos cube.Pos, tx *world.Tx) float64
- func (Potato) CompostChance() float64
- func (p Potato) Consume(_ *world.Tx, c item.Consumer) item.Stack
- func (p Potato) ConsumeDuration() time.Duration
- func (p Potato) EncodeBlock() (name string, properties map[string]any)
- func (p Potato) EncodeItem() (name string, meta int16)
- func (c Potato) GrowthStage() int
- func (c Potato) HasLiquidDrops() bool
- func (p Potato) Hash() (uint64, uint64)
- func (c Potato) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (p Potato) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (Potato) SameCrop(c Crop) bool
- func (p Potato) SmeltInfo() item.SmeltInfo
- func (p Potato) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Prismarine
- func (p Prismarine) BreakInfo() BreakInfo
- func (p Prismarine) EncodeBlock() (name string, properties map[string]any)
- func (p Prismarine) EncodeItem() (id string, meta int16)
- func (p Prismarine) Hash() (uint64, uint64)
- func (Prismarine) Instrument() sound.Instrument
- func (Prismarine) Model() world.BlockModel
- type PrismarineType
- type ProjectileHitter
- type Pumpkin
- func (p Pumpkin) BreakInfo() BreakInfo
- func (p Pumpkin) Carve(f cube.Face) (world.Block, bool)
- func (Pumpkin) CompostChance() float64
- func (p Pumpkin) DefencePoints() float64
- func (p Pumpkin) EncodeBlock() (name string, properties map[string]any)
- func (p Pumpkin) EncodeItem() (name string, meta int16)
- func (b Pumpkin) FacingDirection() cube.Direction
- func (p Pumpkin) Hash() (uint64, uint64)
- func (p Pumpkin) Helmet() bool
- func (p Pumpkin) Instrument() sound.Instrument
- func (p Pumpkin) KnockBackResistance() float64
- func (Pumpkin) Model() world.BlockModel
- func (p Pumpkin) Toughness() float64
- func (p Pumpkin) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Pumpkin) WithFacing(facing cube.Direction) world.Block
- type PumpkinSeeds
- func (p PumpkinSeeds) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (p PumpkinSeeds) BreakInfo() BreakInfo
- func (c PumpkinSeeds) CalculateGrowthChance(pos cube.Pos, tx *world.Tx) float64
- func (PumpkinSeeds) CompostChance() float64
- func (p PumpkinSeeds) EncodeBlock() (name string, properties map[string]any)
- func (p PumpkinSeeds) EncodeItem() (name string, meta int16)
- func (c PumpkinSeeds) GrowthStage() int
- func (c PumpkinSeeds) HasLiquidDrops() bool
- func (p PumpkinSeeds) Hash() (uint64, uint64)
- func (p PumpkinSeeds) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (p PumpkinSeeds) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (PumpkinSeeds) SameCrop(c Crop) bool
- func (p PumpkinSeeds) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Punchable
- type Purpur
- type PurpurPillar
- func (p PurpurPillar) BreakInfo() BreakInfo
- func (p PurpurPillar) EncodeBlock() (name string, properties map[string]interface{})
- func (p PurpurPillar) EncodeItem() (name string, meta int16)
- func (p PurpurPillar) Hash() (uint64, uint64)
- func (PurpurPillar) Instrument() sound.Instrument
- func (PurpurPillar) Model() world.BlockModel
- func (b PurpurPillar) PillarAxis() cube.Axis
- func (p PurpurPillar) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b PurpurPillar) WithAxis(axis cube.Axis) world.Block
- type Quartz
- func (q Quartz) BreakInfo() BreakInfo
- func (q Quartz) EncodeBlock() (name string, properties map[string]any)
- func (q Quartz) EncodeItem() (name string, meta int16)
- func (q Quartz) Hash() (uint64, uint64)
- func (Quartz) Instrument() sound.Instrument
- func (Quartz) Model() world.BlockModel
- func (q Quartz) SmeltInfo() item.SmeltInfo
- type QuartzBricks
- func (q QuartzBricks) BreakInfo() BreakInfo
- func (QuartzBricks) EncodeBlock() (string, map[string]any)
- func (QuartzBricks) EncodeItem() (name string, meta int16)
- func (QuartzBricks) Hash() (uint64, uint64)
- func (QuartzBricks) Instrument() sound.Instrument
- func (QuartzBricks) Model() world.BlockModel
- type QuartzPillar
- func (q QuartzPillar) BreakInfo() BreakInfo
- func (q QuartzPillar) EncodeBlock() (name string, properties map[string]any)
- func (q QuartzPillar) EncodeItem() (name string, meta int16)
- func (q QuartzPillar) Hash() (uint64, uint64)
- func (QuartzPillar) Instrument() sound.Instrument
- func (QuartzPillar) Model() world.BlockModel
- func (b QuartzPillar) PillarAxis() cube.Axis
- func (q QuartzPillar) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b QuartzPillar) WithAxis(axis cube.Axis) world.Block
- type RawCopper
- type RawGold
- type RawIron
- type RedstoneBlock
- func (r RedstoneBlock) BreakInfo() BreakInfo
- func (r RedstoneBlock) EncodeBlock() (string, map[string]any)
- func (r RedstoneBlock) EncodeItem() (name string, meta int16)
- func (RedstoneBlock) Hash() (uint64, uint64)
- func (RedstoneBlock) Model() world.BlockModel
- func (RedstoneBlock) RedstoneNonConductive()
- func (RedstoneBlock) RedstonePower(cube.Pos, *world.Tx, cube.Face) int
- func (RedstoneBlock) RedstoneStrongPower(cube.Pos, *world.Tx, cube.Face) int
- func (r RedstoneBlock) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type RedstoneOre
- func (r RedstoneOre) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (r RedstoneOre) BreakInfo() BreakInfo
- func (r RedstoneOre) EncodeBlock() (string, map[string]any)
- func (r RedstoneOre) EncodeItem() (name string, meta int16)
- func (r RedstoneOre) EntityStepOn(pos cube.Pos, tx *world.Tx, e world.Entity)
- func (r RedstoneOre) Hash() (uint64, uint64)
- func (RedstoneOre) Instrument() sound.Instrument
- func (r RedstoneOre) LightEmissionLevel() uint8
- func (RedstoneOre) Model() world.BlockModel
- func (r RedstoneOre) Punch(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User)
- func (r RedstoneOre) RandomTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (RedstoneOre) SmeltInfo() item.SmeltInfo
- type RedstoneTorch
- func (t RedstoneTorch) BreakInfo() BreakInfo
- func (t RedstoneTorch) EncodeBlock() (name string, properties map[string]any)
- func (RedstoneTorch) EncodeItem() (name string, meta int16)
- func (RedstoneTorch) HasLiquidDrops() bool
- func (t RedstoneTorch) Hash() (uint64, uint64)
- func (RedstoneTorch) LightDiffusionLevel() uint8
- func (t RedstoneTorch) LightEmissionLevel() uint8
- func (RedstoneTorch) Model() world.BlockModel
- func (t RedstoneTorch) NeighbourUpdateTick(pos, changed cube.Pos, tx *world.Tx)
- func (t RedstoneTorch) RedstonePower(_ cube.Pos, _ *world.Tx, face cube.Face) int
- func (t RedstoneTorch) RedstonePowerActionUpdate(pos cube.Pos, tx *world.Tx, update world.RedstoneUpdate)
- func (t RedstoneTorch) RedstoneStrongPower(pos cube.Pos, tx *world.Tx, face cube.Face) int
- func (t RedstoneTorch) ScheduledTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (t RedstoneTorch) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type RedstoneWire
- func (r RedstoneWire) BreakInfo() BreakInfo
- func (r RedstoneWire) EncodeBlock() (string, map[string]any)
- func (RedstoneWire) EncodeItem() (name string, meta int16)
- func (RedstoneWire) HasLiquidDrops() bool
- func (r RedstoneWire) Hash() (uint64, uint64)
- func (RedstoneWire) LightDiffusionLevel() uint8
- func (RedstoneWire) MaterialColour() string
- func (RedstoneWire) Model() world.BlockModel
- func (r RedstoneWire) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (r RedstoneWire) RedstonePower(pos cube.Pos, tx *world.Tx, face cube.Face) int
- func (r RedstoneWire) RedstonePowerUpdate(_ cube.Pos, _ *world.Tx, power int) (world.Block, bool)
- func (RedstoneWire) RedstoneRelayerNeighbours(pos cube.Pos, tx *world.Tx) []cube.Pos
- func (RedstoneWire) RedstoneSignalLoss(cube.Pos, *world.Tx) int
- func (RedstoneWire) RedstoneWeaklyPowersBlocks() bool
- func (RedstoneWire) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (RedstoneWire) TrimMaterial() string
- func (r RedstoneWire) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type RedstoneWireStepDowner
- type ReinforcedDeepslate
- func (r ReinforcedDeepslate) BreakInfo() BreakInfo
- func (ReinforcedDeepslate) EncodeBlock() (string, map[string]interface{})
- func (ReinforcedDeepslate) EncodeItem() (name string, meta int16)
- func (ReinforcedDeepslate) Hash() (uint64, uint64)
- func (ReinforcedDeepslate) Instrument() sound.Instrument
- func (ReinforcedDeepslate) Model() world.BlockModel
- type Replaceable
- type Resin
- type ResinBricks
- func (r ResinBricks) BreakInfo() BreakInfo
- func (r ResinBricks) EncodeBlock() (string, map[string]any)
- func (r ResinBricks) EncodeItem() (name string, meta int16)
- func (r ResinBricks) Hash() (uint64, uint64)
- func (ResinBricks) Instrument() sound.Instrument
- func (ResinBricks) Model() world.BlockModel
- type Sand
- func (s Sand) BreakInfo() BreakInfo
- func (s Sand) EncodeBlock() (string, map[string]any)
- func (s Sand) EncodeItem() (name string, meta int16)
- func (s Sand) Hash() (uint64, uint64)
- func (Sand) Instrument() sound.Instrument
- func (Sand) Model() world.BlockModel
- func (s Sand) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (Sand) SmeltInfo() item.SmeltInfo
- func (s Sand) SoilFor(block world.Block) bool
- func (g Sand) Solidifies(cube.Pos, *world.Tx) bool
- type Sandstone
- func (s Sandstone) BreakInfo() BreakInfo
- func (s Sandstone) EncodeBlock() (string, map[string]any)
- func (s Sandstone) EncodeItem() (name string, meta int16)
- func (s Sandstone) Hash() (uint64, uint64)
- func (Sandstone) Instrument() sound.Instrument
- func (Sandstone) Model() world.BlockModel
- func (s Sandstone) SmeltInfo() item.SmeltInfo
- type SandstoneType
- type SeaLantern
- func (s SeaLantern) BreakInfo() BreakInfo
- func (SeaLantern) EncodeBlock() (string, map[string]any)
- func (SeaLantern) EncodeItem() (name string, meta int16)
- func (SeaLantern) Hash() (uint64, uint64)
- func (SeaLantern) Instrument() sound.Instrument
- func (SeaLantern) LightDiffusionLevel() uint8
- func (SeaLantern) LightEmissionLevel() uint8
- func (SeaLantern) Model() world.BlockModel
- type SeaPickle
- func (s SeaPickle) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (s SeaPickle) BreakInfo() BreakInfo
- func (s SeaPickle) CanDisplace(b world.Liquid) bool
- func (SeaPickle) CompostChance() float64
- func (s SeaPickle) EncodeBlock() (string, map[string]any)
- func (SeaPickle) EncodeItem() (name string, meta int16)
- func (SeaPickle) FlammabilityInfo() FlammabilityInfo
- func (SeaPickle) HasLiquidDrops() bool
- func (s SeaPickle) Hash() (uint64, uint64)
- func (SeaPickle) LightDiffusionLevel() uint8
- func (s SeaPickle) LightEmissionLevel() uint8
- func (SeaPickle) Model() world.BlockModel
- func (s SeaPickle) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (SeaPickle) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (SeaPickle) SmeltInfo() item.SmeltInfo
- func (s SeaPickle) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type ShortGrass
- func (g ShortGrass) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (g ShortGrass) BreakInfo() BreakInfo
- func (g ShortGrass) CompostChance() float64
- func (g ShortGrass) EncodeBlock() (name string, properties map[string]any)
- func (g ShortGrass) EncodeItem() (name string, meta int16)
- func (g ShortGrass) FlammabilityInfo() FlammabilityInfo
- func (g ShortGrass) HasLiquidDrops() bool
- func (ShortGrass) Hash() (uint64, uint64)
- func (ShortGrass) LightDiffusionLevel() uint8
- func (ShortGrass) Model() world.BlockModel
- func (g ShortGrass) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (ShortGrass) ReplaceableBy(world.Block) bool
- func (g ShortGrass) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Shroomlight
- func (s Shroomlight) BreakInfo() BreakInfo
- func (Shroomlight) CompostChance() float64
- func (Shroomlight) EncodeBlock() (string, map[string]any)
- func (Shroomlight) EncodeItem() (name string, meta int16)
- func (Shroomlight) Hash() (uint64, uint64)
- func (Shroomlight) LightEmissionLevel() uint8
- func (Shroomlight) Model() world.BlockModel
- type ShulkerBox
- func (s ShulkerBox) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (s ShulkerBox) AddViewer(v ContainerViewer, tx *world.Tx, pos cube.Pos)
- func (s ShulkerBox) BreakInfo() BreakInfo
- func (s ShulkerBox) CanDisplace(b world.Liquid) bool
- func (s ShulkerBox) DecodeNBT(data map[string]any) any
- func (s ShulkerBox) EncodeBlock() (name string, properties map[string]any)
- func (s ShulkerBox) EncodeItem() (id string, meta int16)
- func (s ShulkerBox) EncodeNBT() map[string]any
- func (s ShulkerBox) Hash() (uint64, uint64)
- func (s ShulkerBox) Inventory(*world.Tx, cube.Pos) *inventory.Inventory
- func (ShulkerBox) LightDiffusionLevel() uint8
- func (s ShulkerBox) MaxCount() int
- func (s ShulkerBox) Model() world.BlockModel
- func (s ShulkerBox) RemoveViewer(v ContainerViewer, tx *world.Tx, pos cube.Pos)
- func (s ShulkerBox) ScheduledTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (s ShulkerBox) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (s ShulkerBox) WithName(a ...any) world.Item
- type Sign
- func (s Sign) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (s Sign) BreakInfo() BreakInfo
- func (s Sign) CanDisplace(b world.Liquid) bool
- func (s Sign) DecodeNBT(data map[string]any) any
- func (s Sign) Dye(pos cube.Pos, userPos mgl64.Vec3, c item.Colour) (world.Block, bool)
- func (s Sign) EditingFrontSide(pos cube.Pos, userPos mgl64.Vec3) bool
- func (s Sign) EncodeBlock() (name string, properties map[string]any)
- func (s Sign) EncodeItem() (name string, meta int16)
- func (s Sign) EncodeNBT() map[string]any
- func (s Sign) FlammabilityInfo() FlammabilityInfo
- func (s Sign) FuelInfo() item.FuelInfo
- func (s Sign) Hash() (uint64, uint64)
- func (s Sign) Ink(pos cube.Pos, userPos mgl64.Vec3, glowing bool) (world.Block, bool)
- func (Sign) Instrument() sound.Instrument
- func (Sign) LightDiffusionLevel() uint8
- func (s Sign) MaxCount() int
- func (Sign) Model() world.BlockModel
- func (s Sign) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (s Sign) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (s Sign) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (s Sign) Wax(cube.Pos, mgl64.Vec3) (world.Block, bool)
- type SignEditor
- type SignText
- type Skull
- func (s Skull) BreakInfo() BreakInfo
- func (s Skull) CanDisplace(b world.Liquid) bool
- func (s Skull) DecodeNBT(data map[string]interface{}) interface{}
- func (Skull) DefencePoints() float64
- func (s Skull) EncodeBlock() (string, map[string]interface{})
- func (s Skull) EncodeItem() (name string, meta int16)
- func (s Skull) EncodeNBT() map[string]interface{}
- func (Skull) HasLiquidDrops() bool
- func (s Skull) Hash() (uint64, uint64)
- func (Skull) Helmet() bool
- func (Skull) KnockBackResistance() float64
- func (Skull) LightDiffusionLevel() uint8
- func (s Skull) Model() world.BlockModel
- func (Skull) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (Skull) Toughness() float64
- func (s Skull) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type SkullType
- type Slab
- func (s Slab) BreakInfo() BreakInfo
- func (s Slab) CanDisplace(b world.Liquid) bool
- func (s Slab) CanRedstoneWireStepDown(cube.Pos, cube.Pos, *world.Tx) bool
- func (s Slab) EncodeBlock() (string, map[string]any)
- func (s Slab) EncodeItem() (string, int16)
- func (s Slab) FlammabilityInfo() FlammabilityInfo
- func (s Slab) FuelInfo() item.FuelInfo
- func (s Slab) Hash() (uint64, uint64)
- func (s Slab) Instrument() sound.Instrument
- func (s Slab) LightDiffusionLevel() uint8
- func (s Slab) Model() world.BlockModel
- func (s Slab) SideClosed(pos, side cube.Pos, _ *world.Tx) bool
- func (s Slab) UseOnBlock(pos cube.Pos, face cube.Face, clickPos mgl64.Vec3, tx *world.Tx, ...) (used bool)
- type Slime
- func (s Slime) BreakInfo() BreakInfo
- func (Slime) EncodeBlock() (string, map[string]any)
- func (Slime) EncodeItem() (name string, meta int16)
- func (Slime) EntityLand(_ cube.Pos, _ *world.Tx, e world.Entity, distance *float64)
- func (Slime) Friction() float64
- func (Slime) Hash() (uint64, uint64)
- func (Slime) LightDiffusionLevel() uint8
- func (Slime) Model() world.BlockModel
- type SmithingTable
- func (SmithingTable) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (s SmithingTable) BreakInfo() BreakInfo
- func (SmithingTable) EncodeBlock() (name string, properties map[string]interface{})
- func (SmithingTable) EncodeItem() (name string, meta int16)
- func (SmithingTable) Hash() (uint64, uint64)
- func (SmithingTable) Instrument() sound.Instrument
- func (SmithingTable) Model() world.BlockModel
- type Smoker
- func (s Smoker) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (s Smoker) AddViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (s Smoker) BreakInfo() BreakInfo
- func (s Smoker) DecodeNBT(data map[string]interface{}) interface{}
- func (s Smoker) Durations() (remaining time.Duration, max time.Duration, cook time.Duration)
- func (s Smoker) EncodeBlock() (name string, properties map[string]interface{})
- func (s Smoker) EncodeItem() (name string, meta int16)
- func (s Smoker) EncodeNBT() map[string]interface{}
- func (s Smoker) Experience() int
- func (s Smoker) ExtractItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (b Smoker) FacingDirection() cube.Direction
- func (s Smoker) Hash() (uint64, uint64)
- func (s Smoker) InsertItem(h Hopper, pos cube.Pos, tx *world.Tx) bool
- func (Smoker) Instrument() sound.Instrument
- func (s Smoker) Inventory(*world.Tx, cube.Pos) *inventory.Inventory
- func (s Smoker) LightEmissionLevel() uint8
- func (Smoker) Model() world.BlockModel
- func (s Smoker) RemoveViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
- func (s Smoker) ResetExperience() int
- func (s Smoker) Tick(_ int64, pos cube.Pos, tx *world.Tx)
- func (s Smoker) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (b Smoker) WithFacing(facing cube.Direction) world.Block
- type SmoothBasalt
- func (s SmoothBasalt) BreakInfo() BreakInfo
- func (SmoothBasalt) EncodeBlock() (string, map[string]any)
- func (SmoothBasalt) EncodeItem() (name string, meta int16)
- func (SmoothBasalt) Hash() (uint64, uint64)
- func (SmoothBasalt) Instrument() sound.Instrument
- func (SmoothBasalt) Model() world.BlockModel
- type Snow
- type Soil
- type SoulSand
- func (s SoulSand) BreakInfo() BreakInfo
- func (SoulSand) EncodeBlock() (string, map[string]any)
- func (SoulSand) EncodeItem() (name string, meta int16)
- func (SoulSand) Hash() (uint64, uint64)
- func (s SoulSand) Instrument() sound.Instrument
- func (SoulSand) Model() world.BlockModel
- func (s SoulSand) SoilFor(block world.Block) bool
- type SoulSoil
- type Sponge
- func (s Sponge) BreakInfo() BreakInfo
- func (s Sponge) EncodeBlock() (string, map[string]any)
- func (s Sponge) EncodeItem() (name string, meta int16)
- func (s Sponge) Hash() (uint64, uint64)
- func (Sponge) Model() world.BlockModel
- func (s Sponge) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (s Sponge) SmeltInfo() item.SmeltInfo
- func (s Sponge) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type SporeBlossom
- func (s SporeBlossom) BreakInfo() BreakInfo
- func (SporeBlossom) CompostChance() float64
- func (s SporeBlossom) EncodeBlock() (string, map[string]any)
- func (s SporeBlossom) EncodeItem() (name string, meta int16)
- func (SporeBlossom) FlammabilityInfo() FlammabilityInfo
- func (s SporeBlossom) HasLiquidDrops() bool
- func (SporeBlossom) Hash() (uint64, uint64)
- func (SporeBlossom) LightDiffusionLevel() uint8
- func (SporeBlossom) Model() world.BlockModel
- func (s SporeBlossom) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (s SporeBlossom) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type StainedGlass
- func (g StainedGlass) BreakInfo() BreakInfo
- func (b StainedGlass) DyeColour() item.Colour
- func (g StainedGlass) EncodeBlock() (name string, properties map[string]any)
- func (g StainedGlass) EncodeItem() (name string, meta int16)
- func (g StainedGlass) Hash() (uint64, uint64)
- func (StainedGlass) Instrument() sound.Instrument
- func (StainedGlass) LightDiffusionLevel() uint8
- func (StainedGlass) Model() world.BlockModel
- func (b StainedGlass) WithColour(colour item.Colour) world.Block
- type StainedGlassPane
- func (p StainedGlassPane) BreakInfo() BreakInfo
- func (s StainedGlassPane) CanDisplace(b world.Liquid) bool
- func (b StainedGlassPane) DyeColour() item.Colour
- func (p StainedGlassPane) EncodeBlock() (name string, properties map[string]any)
- func (p StainedGlassPane) EncodeItem() (name string, meta int16)
- func (p StainedGlassPane) Hash() (uint64, uint64)
- func (StainedGlassPane) Instrument() sound.Instrument
- func (StainedGlassPane) LightDiffusionLevel() uint8
- func (StainedGlassPane) Model() world.BlockModel
- func (p StainedGlassPane) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (b StainedGlassPane) WithColour(colour item.Colour) world.Block
- type StainedTerracotta
- func (t StainedTerracotta) BreakInfo() BreakInfo
- func (b StainedTerracotta) DyeColour() item.Colour
- func (t StainedTerracotta) EncodeBlock() (name string, properties map[string]any)
- func (t StainedTerracotta) EncodeItem() (name string, meta int16)
- func (t StainedTerracotta) Hash() (uint64, uint64)
- func (StainedTerracotta) Instrument() sound.Instrument
- func (StainedTerracotta) Model() world.BlockModel
- func (t StainedTerracotta) SmeltInfo() item.SmeltInfo
- func (t StainedTerracotta) SoilFor(block world.Block) bool
- func (b StainedTerracotta) WithColour(colour item.Colour) world.Block
- type Stairs
- func (s Stairs) BreakInfo() BreakInfo
- func (s Stairs) CanDisplace(b world.Liquid) bool
- func (Stairs) CanRedstoneWireStepDown(cube.Pos, cube.Pos, *world.Tx) bool
- func (s Stairs) EncodeBlock() (name string, properties map[string]any)
- func (s Stairs) EncodeItem() (name string, meta int16)
- func (b Stairs) FacingDirection() cube.Direction
- func (s Stairs) FlammabilityInfo() FlammabilityInfo
- func (s Stairs) FuelInfo() item.FuelInfo
- func (s Stairs) Hash() (uint64, uint64)
- func (s Stairs) Instrument() sound.Instrument
- func (Stairs) LightDiffusionLevel() uint8
- func (s Stairs) Model() world.BlockModel
- func (s Stairs) SideClosed(pos, side cube.Pos, tx *world.Tx) bool
- func (s Stairs) UseOnBlock(pos cube.Pos, face cube.Face, clickPos mgl64.Vec3, tx *world.Tx, ...) (used bool)
- func (b Stairs) WithFacing(facing cube.Direction) world.Block
- type StartCrackAction
- type Stone
- func (s Stone) BreakInfo() BreakInfo
- func (s Stone) EncodeBlock() (string, map[string]any)
- func (s Stone) EncodeItem() (name string, meta int16)
- func (s Stone) Hash() (uint64, uint64)
- func (Stone) Instrument() sound.Instrument
- func (Stone) Model() world.BlockModel
- func (s Stone) SmeltInfo() item.SmeltInfo
- type StoneBricks
- func (s StoneBricks) BreakInfo() BreakInfo
- func (s StoneBricks) EncodeBlock() (string, map[string]any)
- func (s StoneBricks) EncodeItem() (name string, meta int16)
- func (s StoneBricks) Hash() (uint64, uint64)
- func (StoneBricks) Instrument() sound.Instrument
- func (StoneBricks) Model() world.BlockModel
- func (s StoneBricks) SmeltInfo() item.SmeltInfo
- type StoneBricksType
- type Stonecutter
- func (Stonecutter) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (s Stonecutter) BreakInfo() BreakInfo
- func (s Stonecutter) EncodeBlock() (name string, properties map[string]interface{})
- func (Stonecutter) EncodeItem() (name string, meta int16)
- func (b Stonecutter) FacingDirection() cube.Direction
- func (s Stonecutter) Hash() (uint64, uint64)
- func (Stonecutter) Instrument() sound.Instrument
- func (Stonecutter) Model() world.BlockModel
- func (s Stonecutter) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Stonecutter) WithFacing(facing cube.Direction) world.Block
- type StopCrackAction
- type String
- func (s String) BreakInfo() BreakInfo
- func (s String) EncodeBlock() (name string, properties map[string]any)
- func (s String) EncodeItem() (name string, meta int16)
- func (s String) HasLiquidDrops() bool
- func (s String) Hash() (uint64, uint64)
- func (String) LightDiffusionLevel() uint8
- func (String) Model() world.BlockModel
- func (s String) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (s String) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type SugarCane
- func (c SugarCane) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (c SugarCane) BreakInfo() BreakInfo
- func (c SugarCane) EncodeBlock() (name string, properties map[string]any)
- func (c SugarCane) EncodeItem() (name string, meta int16)
- func (c SugarCane) HasLiquidDrops() bool
- func (c SugarCane) Hash() (uint64, uint64)
- func (SugarCane) LightDiffusionLevel() uint8
- func (SugarCane) Model() world.BlockModel
- func (c SugarCane) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (c SugarCane) RandomTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (c SugarCane) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- type Sulfur
- type SulfurBricks
- func (s SulfurBricks) BreakInfo() BreakInfo
- func (SulfurBricks) EncodeBlock() (string, map[string]any)
- func (SulfurBricks) EncodeItem() (name string, meta int16)
- func (SulfurBricks) Hash() (uint64, uint64)
- func (SulfurBricks) Instrument() sound.Instrument
- func (SulfurBricks) Model() world.BlockModel
- type TNT
- func (t TNT) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, ctx *item.UseContext) bool
- func (t TNT) BreakInfo() BreakInfo
- func (t TNT) EncodeBlock() (name string, properties map[string]interface{})
- func (t TNT) EncodeItem() (name string, meta int16)
- func (t TNT) Explode(_ mgl64.Vec3, pos cube.Pos, tx *world.Tx, _ ExplosionConfig)
- func (t TNT) FlammabilityInfo() FlammabilityInfo
- func (TNT) Hash() (uint64, uint64)
- func (t TNT) Ignite(pos cube.Pos, tx *world.Tx, _ world.Entity) bool
- func (TNT) Model() world.BlockModel
- func (t TNT) ProjectileHit(pos cube.Pos, tx *world.Tx, e world.Entity, _ cube.Face)
- func (TNT) RedstoneNonConductive()
- func (t TNT) RedstonePowerAction(pos cube.Pos, tx *world.Tx, oldPower, newPower int)
- type Terracotta
- func (t Terracotta) BreakInfo() BreakInfo
- func (Terracotta) EncodeBlock() (string, map[string]any)
- func (Terracotta) EncodeItem() (name string, meta int16)
- func (Terracotta) Hash() (uint64, uint64)
- func (Terracotta) Instrument() sound.Instrument
- func (Terracotta) Model() world.BlockModel
- func (Terracotta) SoilFor(block world.Block) bool
- type Torch
- func (t Torch) BreakInfo() BreakInfo
- func (t Torch) EncodeBlock() (name string, properties map[string]any)
- func (t Torch) EncodeItem() (name string, meta int16)
- func (t Torch) HasLiquidDrops() bool
- func (t Torch) Hash() (uint64, uint64)
- func (Torch) LightDiffusionLevel() uint8
- func (t Torch) LightEmissionLevel() uint8
- func (Torch) Model() world.BlockModel
- func (t Torch) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (t Torch) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Tuff
- type TuffBricks
- type Vines
- func (v Vines) Attachment(direction cube.Direction) bool
- func (v Vines) Attachments() (attachments []cube.Direction)
- func (v Vines) BreakInfo() BreakInfo
- func (s Vines) CanDisplace(b world.Liquid) bool
- func (Vines) CompostChance() float64
- func (v Vines) EncodeBlock() (string, map[string]any)
- func (Vines) EncodeItem() (name string, meta int16)
- func (Vines) EntityInside(_ cube.Pos, _ *world.Tx, e world.Entity)
- func (Vines) FlammabilityInfo() FlammabilityInfo
- func (Vines) HasLiquidDrops() bool
- func (v Vines) Hash() (uint64, uint64)
- func (Vines) LightDiffusionLevel() uint8
- func (Vines) Model() world.BlockModel
- func (v Vines) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (v Vines) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (Vines) ReplaceableBy(world.Block) bool
- func (Vines) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (v Vines) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (v Vines) WithAttachment(direction cube.Direction, attached bool) Vines
- type Wall
- func (w Wall) BreakInfo() BreakInfo
- func (s Wall) CanDisplace(b world.Liquid) bool
- func (w Wall) ConnectionType(direction cube.Direction) WallConnectionType
- func (w Wall) EncodeBlock() (string, map[string]any)
- func (w Wall) EncodeItem() (string, int16)
- func (w Wall) Hash() (uint64, uint64)
- func (Wall) LightDiffusionLevel() uint8
- func (w Wall) Model() world.BlockModel
- func (w Wall) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (Wall) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (w Wall) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (w Wall) WithConnectionType(direction cube.Direction, connection WallConnectionType) Wall
- type WallConnectionType
- type Water
- func (Water) BlastResistance() float64
- func (w Water) EncodeBlock() (name string, properties map[string]any)
- func (w Water) EntityInside(_ cube.Pos, _ *world.Tx, e world.Entity)
- func (w Water) FillBottle() (world.Block, item.Stack, bool)
- func (w Water) Harden(pos cube.Pos, tx *world.Tx, flownIntoBy *cube.Pos) bool
- func (Water) HasLiquidDrops() bool
- func (w Water) Hash() (uint64, uint64)
- func (Water) LightDiffusionLevel() uint8
- func (w Water) LiquidDepth() int
- func (w Water) LiquidFalling() bool
- func (Water) LiquidRemoveBlock(pos cube.Pos, tx *world.Tx, removed world.Block)
- func (Water) LiquidType() string
- func (Water) Model() world.BlockModel
- func (w Water) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (w Water) ReplaceableBy(b world.Block) bool
- func (w Water) ScheduledTick(pos cube.Pos, tx *world.Tx, _ *rand.Rand)
- func (Water) SpreadDecay() int
- func (w Water) WithDepth(depth int, falling bool) world.Liquid
- type WheatSeeds
- func (s WheatSeeds) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
- func (s WheatSeeds) BreakInfo() BreakInfo
- func (c WheatSeeds) CalculateGrowthChance(pos cube.Pos, tx *world.Tx) float64
- func (WheatSeeds) CompostChance() float64
- func (s WheatSeeds) EncodeBlock() (name string, properties map[string]any)
- func (s WheatSeeds) EncodeItem() (name string, meta int16)
- func (c WheatSeeds) GrowthStage() int
- func (c WheatSeeds) HasLiquidDrops() bool
- func (s WheatSeeds) Hash() (uint64, uint64)
- func (c WheatSeeds) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (s WheatSeeds) RandomTick(pos cube.Pos, tx *world.Tx, r *rand.Rand)
- func (WheatSeeds) SameCrop(c Crop) bool
- func (s WheatSeeds) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- type Wood
- func (w Wood) BreakInfo() BreakInfo
- func (w Wood) EncodeBlock() (name string, properties map[string]any)
- func (w Wood) EncodeItem() (name string, meta int16)
- func (w Wood) FlammabilityInfo() FlammabilityInfo
- func (w Wood) FuelInfo() item.FuelInfo
- func (w Wood) Hash() (uint64, uint64)
- func (Wood) Instrument() sound.Instrument
- func (Wood) Model() world.BlockModel
- func (b Wood) PillarAxis() cube.Axis
- func (Wood) SmeltInfo() item.SmeltInfo
- func (w Wood) Strip() (world.Block, world.Sound, bool)
- func (w Wood) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) (used bool)
- func (b Wood) WithAxis(axis cube.Axis) world.Block
- type WoodDoor
- func (d WoodDoor) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User, _ *item.UseContext) bool
- func (d WoodDoor) BreakInfo() BreakInfo
- func (s WoodDoor) CanDisplace(b world.Liquid) bool
- func (d WoodDoor) EncodeBlock() (name string, properties map[string]any)
- func (d WoodDoor) EncodeItem() (name string, meta int16)
- func (b WoodDoor) FacingDirection() cube.Direction
- func (d WoodDoor) FlammabilityInfo() FlammabilityInfo
- func (d WoodDoor) FuelInfo() item.FuelInfo
- func (d WoodDoor) Hash() (uint64, uint64)
- func (WoodDoor) Instrument() sound.Instrument
- func (WoodDoor) LightDiffusionLevel() uint8
- func (d WoodDoor) Model() world.BlockModel
- func (d WoodDoor) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (d WoodDoor) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (d WoodDoor) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (b WoodDoor) WithFacing(facing cube.Direction) world.Block
- type WoodFence
- func (w WoodFence) BreakInfo() BreakInfo
- func (s WoodFence) CanDisplace(b world.Liquid) bool
- func (w WoodFence) EncodeBlock() (name string, properties map[string]any)
- func (w WoodFence) EncodeItem() (name string, meta int16)
- func (w WoodFence) FlammabilityInfo() FlammabilityInfo
- func (w WoodFence) FuelInfo() item.FuelInfo
- func (w WoodFence) Hash() (uint64, uint64)
- func (WoodFence) Instrument() sound.Instrument
- func (WoodFence) LightDiffusionLevel() uint8
- func (w WoodFence) Model() world.BlockModel
- func (WoodFence) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- type WoodFenceGate
- func (f WoodFenceGate) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, u item.User, _ *item.UseContext) bool
- func (f WoodFenceGate) BreakInfo() BreakInfo
- func (s WoodFenceGate) CanDisplace(b world.Liquid) bool
- func (f WoodFenceGate) EncodeBlock() (name string, properties map[string]any)
- func (f WoodFenceGate) EncodeItem() (name string, meta int16)
- func (b WoodFenceGate) FacingDirection() cube.Direction
- func (f WoodFenceGate) FlammabilityInfo() FlammabilityInfo
- func (f WoodFenceGate) FuelInfo() item.FuelInfo
- func (f WoodFenceGate) Hash() (uint64, uint64)
- func (WoodFenceGate) Instrument() sound.Instrument
- func (WoodFenceGate) LightDiffusionLevel() uint8
- func (f WoodFenceGate) Model() world.BlockModel
- func (f WoodFenceGate) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
- func (f WoodFenceGate) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (f WoodFenceGate) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world.Tx, user item.User, ...) bool
- func (b WoodFenceGate) WithFacing(facing cube.Direction) world.Block
- type WoodTrapdoor
- func (t WoodTrapdoor) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User, _ *item.UseContext) bool
- func (t WoodTrapdoor) BreakInfo() BreakInfo
- func (s WoodTrapdoor) CanDisplace(b world.Liquid) bool
- func (t WoodTrapdoor) EncodeBlock() (name string, properties map[string]any)
- func (t WoodTrapdoor) EncodeItem() (name string, meta int16)
- func (b WoodTrapdoor) FacingDirection() cube.Direction
- func (t WoodTrapdoor) FlammabilityInfo() FlammabilityInfo
- func (t WoodTrapdoor) FuelInfo() item.FuelInfo
- func (t WoodTrapdoor) Hash() (uint64, uint64)
- func (WoodTrapdoor) Instrument() sound.Instrument
- func (WoodTrapdoor) LightDiffusionLevel() uint8
- func (t WoodTrapdoor) Model() world.BlockModel
- func (t WoodTrapdoor) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool
- func (t WoodTrapdoor) UseOnBlock(pos cube.Pos, face cube.Face, clickPos mgl64.Vec3, tx *world.Tx, ...) bool
- func (b WoodTrapdoor) WithFacing(facing cube.Direction) world.Block
- type WoodType
- func AcaciaWood() WoodType
- func BambooWood() WoodType
- func BirchWood() WoodType
- func CherryWood() WoodType
- func CrimsonWood() WoodType
- func DarkOakWood() WoodType
- func JungleWood() WoodType
- func MangroveWood() WoodType
- func OakWood() WoodType
- func PaleOakWood() WoodType
- func SpruceWood() WoodType
- func WarpedWood() WoodType
- func WoodTypes() []WoodType
- type Wool
- func (w Wool) BreakInfo() BreakInfo
- func (b Wool) DyeColour() item.Colour
- func (w Wool) EncodeBlock() (name string, properties map[string]any)
- func (w Wool) EncodeItem() (name string, meta int16)
- func (w Wool) FlammabilityInfo() FlammabilityInfo
- func (w Wool) Hash() (uint64, uint64)
- func (w Wool) Instrument() sound.Instrument
- func (Wool) Model() world.BlockModel
- func (b Wool) WithColour(colour item.Colour) world.Block
- type XPDropRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BreakDuration ¶
func BreaksInstantly ¶
func SlabBlocks ¶
func StairsBlocks ¶
func WallBlocks ¶
Types ¶
type Activatable ¶
type Air ¶
type Air struct {
// contains filtered or unexported fields
}
func (Air) EncodeItem ¶
func (Air) HasLiquidDrops ¶
func (Air) LightDiffusionLevel ¶
func (Air) LightDiffusionLevel() uint8
func (Air) Model ¶
func (Air) Model() world.BlockModel
func (Air) ReplaceableBy ¶
type Amethyst ¶
type Amethyst struct {
// contains filtered or unexported fields
}
func (Amethyst) EncodeItem ¶
func (Amethyst) Model ¶
func (Amethyst) Model() world.BlockModel
type AncientDebris ¶
type AncientDebris struct {
// contains filtered or unexported fields
}
func (AncientDebris) BreakInfo ¶
func (a AncientDebris) BreakInfo() BreakInfo
func (AncientDebris) EncodeBlock ¶
func (AncientDebris) EncodeBlock() (string, map[string]any)
func (AncientDebris) EncodeItem ¶
func (AncientDebris) EncodeItem() (name string, meta int16)
func (AncientDebris) Hash ¶
func (AncientDebris) Hash() (uint64, uint64)
func (AncientDebris) Model ¶
func (AncientDebris) Model() world.BlockModel
func (AncientDebris) SmeltInfo ¶
func (AncientDebris) SmeltInfo() item.SmeltInfo
type Anvil ¶
type Anvil struct {
Type AnvilType
Facing cube.Direction
// contains filtered or unexported fields
}
func (Anvil) EncodeItem ¶
func (Anvil) FacingDirection ¶
func (Anvil) LightDiffusionLevel ¶
func (Anvil) LightDiffusionLevel() uint8
func (Anvil) Model ¶
func (a Anvil) Model() world.BlockModel
func (Anvil) NeighbourUpdateTick ¶
func (Anvil) UseOnBlock ¶
type AnvilType ¶
type AnvilType struct {
// contains filtered or unexported fields
}
func AnvilTypes ¶
func AnvilTypes() []AnvilType
func SlightlyDamagedAnvil ¶
func SlightlyDamagedAnvil() AnvilType
func UndamagedAnvil ¶
func UndamagedAnvil() AnvilType
func VeryDamagedAnvil ¶
func VeryDamagedAnvil() AnvilType
type Attachment ¶
type Attachment struct {
// contains filtered or unexported fields
}
func StandingAttachment ¶
func StandingAttachment(o cube.Orientation) Attachment
func WallAttachment ¶
func WallAttachment(facing cube.Direction) Attachment
func (Attachment) FaceUint8 ¶
func (a Attachment) FaceUint8() uint8
func (Attachment) RotateLeft ¶
func (a Attachment) RotateLeft() Attachment
func (Attachment) RotateRight ¶
func (a Attachment) RotateRight() Attachment
func (Attachment) Rotation ¶
func (a Attachment) Rotation() cube.Rotation
func (Attachment) Uint8 ¶
func (a Attachment) Uint8() uint8
type Bamboo ¶
type Bamboo struct {
Ready bool
Thick bool
LeafSize BambooLeafSize
// contains filtered or unexported fields
}
func (Bamboo) EncodeItem ¶
func (Bamboo) FlammabilityInfo ¶
func (b Bamboo) FlammabilityInfo() FlammabilityInfo
func (Bamboo) Instrument ¶
func (Bamboo) Instrument() sound.Instrument
func (Bamboo) LightDiffusionLevel ¶
func (Bamboo) LightDiffusionLevel() uint8
func (Bamboo) Model ¶
func (b Bamboo) Model() world.BlockModel
func (Bamboo) NeighbourUpdateTick ¶
type BambooBlock ¶
func (BambooBlock) BreakInfo ¶
func (b BambooBlock) BreakInfo() BreakInfo
func (BambooBlock) EncodeBlock ¶
func (b BambooBlock) EncodeBlock() (name string, properties map[string]any)
func (BambooBlock) EncodeItem ¶
func (b BambooBlock) EncodeItem() (name string, meta int16)
func (BambooBlock) FlammabilityInfo ¶
func (BambooBlock) FlammabilityInfo() FlammabilityInfo
func (BambooBlock) FuelInfo ¶
func (BambooBlock) FuelInfo() item.FuelInfo
func (BambooBlock) Hash ¶
func (b BambooBlock) Hash() (uint64, uint64)
func (BambooBlock) Instrument ¶
func (BambooBlock) Instrument() sound.Instrument
func (BambooBlock) Model ¶
func (BambooBlock) Model() world.BlockModel
func (BambooBlock) PillarAxis ¶
func (b BambooBlock) PillarAxis() cube.Axis
func (BambooBlock) UseOnBlock ¶
type BambooLeafSize ¶
type BambooLeafSize struct {
// contains filtered or unexported fields
}
func BambooLeafSizes ¶
func BambooLeafSizes() []BambooLeafSize
func BambooSizeLargeLeaves ¶
func BambooSizeLargeLeaves() BambooLeafSize
func BambooSizeNoLeaves ¶
func BambooSizeNoLeaves() BambooLeafSize
func BambooSizeSmallLeaves ¶
func BambooSizeSmallLeaves() BambooLeafSize
type BambooMosaic ¶
type BambooMosaic struct {
// contains filtered or unexported fields
}
func (BambooMosaic) BreakInfo ¶
func (b BambooMosaic) BreakInfo() BreakInfo
func (BambooMosaic) EncodeBlock ¶
func (BambooMosaic) EncodeBlock() (string, map[string]any)
func (BambooMosaic) EncodeItem ¶
func (BambooMosaic) EncodeItem() (name string, meta int16)
func (BambooMosaic) FlammabilityInfo ¶
func (BambooMosaic) FlammabilityInfo() FlammabilityInfo
func (BambooMosaic) FuelInfo ¶
func (BambooMosaic) FuelInfo() item.FuelInfo
func (BambooMosaic) Hash ¶
func (BambooMosaic) Hash() (uint64, uint64)
func (BambooMosaic) Instrument ¶
func (BambooMosaic) Instrument() sound.Instrument
func (BambooMosaic) Model ¶
func (BambooMosaic) Model() world.BlockModel
func (BambooMosaic) RepairsWoodTools ¶
func (BambooMosaic) RepairsWoodTools() bool
type BambooSapling ¶
type BambooSapling struct {
Ready bool
// contains filtered or unexported fields
}
func (BambooSapling) BoneMeal ¶
func (b BambooSapling) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
func (BambooSapling) BreakInfo ¶
func (b BambooSapling) BreakInfo() BreakInfo
func (BambooSapling) EncodeBlock ¶
func (b BambooSapling) EncodeBlock() (string, map[string]any)
func (BambooSapling) FlammabilityInfo ¶
func (b BambooSapling) FlammabilityInfo() FlammabilityInfo
func (BambooSapling) HasLiquidDrops ¶
func (b BambooSapling) HasLiquidDrops() bool
func (BambooSapling) Hash ¶
func (b BambooSapling) Hash() (uint64, uint64)
func (BambooSapling) Instrument ¶
func (BambooSapling) Instrument() sound.Instrument
func (BambooSapling) LightDiffusionLevel ¶
func (BambooSapling) LightDiffusionLevel() uint8
func (BambooSapling) Model ¶
func (BambooSapling) Model() world.BlockModel
func (BambooSapling) NeighbourUpdateTick ¶
func (b BambooSapling) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (BambooSapling) RandomTick ¶
type Banner ¶
type Banner struct {
Colour item.Colour
Attach Attachment
Patterns []BannerPatternLayer
Illager bool
// contains filtered or unexported fields
}
func (Banner) EncodeItem ¶
func (Banner) LightDiffusionLevel ¶
func (Banner) LightDiffusionLevel() uint8
func (Banner) Model ¶
func (Banner) Model() world.BlockModel
func (Banner) NeighbourUpdateTick ¶
func (Banner) UseOnBlock ¶
type BannerPatternLayer ¶
type BannerPatternLayer struct {
Type BannerPatternType
Colour item.Colour
}
func (BannerPatternLayer) DecodeNBT ¶
func (b BannerPatternLayer) DecodeNBT(data map[string]any) any
func (BannerPatternLayer) EncodeNBT ¶
func (b BannerPatternLayer) EncodeNBT() map[string]any
type BannerPatternType ¶
type BannerPatternType struct {
// contains filtered or unexported fields
}
func BannerPatternByID ¶
func BannerPatternByID(id string) (BannerPatternType, bool)
func BannerPatternTypes ¶
func BannerPatternTypes() []BannerPatternType
func BorderBannerPattern ¶
func BorderBannerPattern() BannerPatternType
func BricksBannerPattern ¶
func BricksBannerPattern() BannerPatternType
func CircleBannerPattern ¶
func CircleBannerPattern() BannerPatternType
func CreeperBannerPattern ¶
func CreeperBannerPattern() BannerPatternType
func CrossBannerPattern ¶
func CrossBannerPattern() BannerPatternType
func CurlyBorderBannerPattern ¶
func CurlyBorderBannerPattern() BannerPatternType
func DiagonalLeftBannerPattern ¶
func DiagonalLeftBannerPattern() BannerPatternType
func DiagonalRightBannerPattern ¶
func DiagonalRightBannerPattern() BannerPatternType
func DiagonalUpLeftBannerPattern ¶
func DiagonalUpLeftBannerPattern() BannerPatternType
func DiagonalUpRightBannerPattern ¶
func DiagonalUpRightBannerPattern() BannerPatternType
func FlowBannerPattern ¶
func FlowBannerPattern() BannerPatternType
func FlowerBannerPattern ¶
func FlowerBannerPattern() BannerPatternType
func GlobeBannerPattern ¶
func GlobeBannerPattern() BannerPatternType
func GradientBannerPattern ¶
func GradientBannerPattern() BannerPatternType
func GradientUpBannerPattern ¶
func GradientUpBannerPattern() BannerPatternType
func GusterBannerPattern ¶
func GusterBannerPattern() BannerPatternType
func HalfHorizontalBannerPattern ¶
func HalfHorizontalBannerPattern() BannerPatternType
func HalfHorizontalBottomBannerPattern ¶
func HalfHorizontalBottomBannerPattern() BannerPatternType
func HalfVerticalBannerPattern ¶
func HalfVerticalBannerPattern() BannerPatternType
func HalfVerticalRightBannerPattern ¶
func HalfVerticalRightBannerPattern() BannerPatternType
func MojangBannerPattern ¶
func MojangBannerPattern() BannerPatternType
func PiglinBannerPattern ¶
func PiglinBannerPattern() BannerPatternType
func RhombusBannerPattern ¶
func RhombusBannerPattern() BannerPatternType
func SkullBannerPattern ¶
func SkullBannerPattern() BannerPatternType
func SmallStripesBannerPattern ¶
func SmallStripesBannerPattern() BannerPatternType
func SquareBottomLeftBannerPattern ¶
func SquareBottomLeftBannerPattern() BannerPatternType
func SquareBottomRightBannerPattern ¶
func SquareBottomRightBannerPattern() BannerPatternType
func SquareTopLeftBannerPattern ¶
func SquareTopLeftBannerPattern() BannerPatternType
func SquareTopRightBannerPattern ¶
func SquareTopRightBannerPattern() BannerPatternType
func StraightCrossBannerPattern ¶
func StraightCrossBannerPattern() BannerPatternType
func StripeBottomBannerPattern ¶
func StripeBottomBannerPattern() BannerPatternType
func StripeCentreBannerPattern ¶
func StripeCentreBannerPattern() BannerPatternType
func StripeDownLeftBannerPattern ¶
func StripeDownLeftBannerPattern() BannerPatternType
func StripeDownRightBannerPattern ¶
func StripeDownRightBannerPattern() BannerPatternType
func StripeLeftBannerPattern ¶
func StripeLeftBannerPattern() BannerPatternType
func StripeMiddleBannerPattern ¶
func StripeMiddleBannerPattern() BannerPatternType
func StripeRightBannerPattern ¶
func StripeRightBannerPattern() BannerPatternType
func StripeTopBannerPattern ¶
func StripeTopBannerPattern() BannerPatternType
func TriangleBottomBannerPattern ¶
func TriangleBottomBannerPattern() BannerPatternType
func TriangleTopBannerPattern ¶
func TriangleTopBannerPattern() BannerPatternType
func TrianglesBottomBannerPattern ¶
func TrianglesBottomBannerPattern() BannerPatternType
func TrianglesTopBannerPattern ¶
func TrianglesTopBannerPattern() BannerPatternType
func (BannerPatternType) Item ¶
func (b BannerPatternType) Item() (item.BannerPatternType, bool)
type Barrel ¶
type Barrel struct {
Facing cube.Face
Open bool
CustomName string
// contains filtered or unexported fields
}
func (Barrel) EncodeItem ¶
func (Barrel) FlammabilityInfo ¶
func (b Barrel) FlammabilityInfo() FlammabilityInfo
func (Barrel) Instrument ¶
func (Barrel) Instrument() sound.Instrument
func (Barrel) Model ¶
func (Barrel) Model() world.BlockModel
func (Barrel) RemoveViewer ¶
func (Barrel) UseOnBlock ¶
type Barrier ¶
type Barrier struct {
// contains filtered or unexported fields
}
func (Barrier) CanDisplace ¶
func (Barrier) EncodeItem ¶
func (Barrier) LightDiffusionLevel ¶
func (Barrier) LightDiffusionLevel() uint8
func (Barrier) Model ¶
func (Barrier) Model() world.BlockModel
type Basalt ¶
func (Basalt) EncodeItem ¶
func (Basalt) Instrument ¶
func (Basalt) Instrument() sound.Instrument
func (Basalt) Model ¶
func (Basalt) Model() world.BlockModel
func (Basalt) PillarAxis ¶
func (Basalt) UseOnBlock ¶
type Beacon ¶
type Beacon struct {
Primary, Secondary effect.LastingType
// contains filtered or unexported fields
}
func (Beacon) CanDisplace ¶
func (Beacon) EncodeItem ¶
func (Beacon) Instrument ¶
func (Beacon) Instrument() sound.Instrument
func (Beacon) LightDiffusionLevel ¶
func (Beacon) LightDiffusionLevel() uint8
func (Beacon) LightEmissionLevel ¶
func (Beacon) Model ¶
func (Beacon) Model() world.BlockModel
type BeaconSource ¶
type BeaconSource interface {
PowersBeacon() bool
}
type Bed ¶
type Bed struct {
Colour item.Colour
Facing cube.Direction
Head bool
Sleeper *world.EntityHandle
// contains filtered or unexported fields
}
func (Bed) CanDisplace ¶
func (Bed) CanRespawnOn ¶
func (Bed) EncodeBlock ¶
func (Bed) EncodeItem ¶
func (Bed) EntityLand ¶
func (Bed) FacingDirection ¶
func (Bed) LightDiffusionLevel ¶
func (Bed) LightDiffusionLevel() uint8
func (Bed) Model ¶
func (Bed) Model() world.BlockModel
func (Bed) UseOnBlock ¶
type Bedrock ¶
type Bedrock struct {
InfiniteBurning bool
// contains filtered or unexported fields
}
func (Bedrock) EncodeBlock ¶
func (Bedrock) EncodeItem ¶
func (Bedrock) Instrument ¶
func (Bedrock) Instrument() sound.Instrument
func (Bedrock) Model ¶
func (Bedrock) Model() world.BlockModel
type BeetrootSeeds ¶
type BeetrootSeeds struct {
// contains filtered or unexported fields
}
func (BeetrootSeeds) BoneMeal ¶
func (b BeetrootSeeds) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
func (BeetrootSeeds) BreakInfo ¶
func (b BeetrootSeeds) BreakInfo() BreakInfo
func (BeetrootSeeds) CalculateGrowthChance ¶
func (BeetrootSeeds) CompostChance ¶
func (BeetrootSeeds) CompostChance() float64
func (BeetrootSeeds) EncodeBlock ¶
func (b BeetrootSeeds) EncodeBlock() (name string, properties map[string]any)
func (BeetrootSeeds) EncodeItem ¶
func (b BeetrootSeeds) EncodeItem() (name string, meta int16)
func (BeetrootSeeds) GrowthStage ¶
func (c BeetrootSeeds) GrowthStage() int
func (BeetrootSeeds) HasLiquidDrops ¶
func (c BeetrootSeeds) HasLiquidDrops() bool
func (BeetrootSeeds) Hash ¶
func (b BeetrootSeeds) Hash() (uint64, uint64)
func (BeetrootSeeds) NeighbourUpdateTick ¶
func (BeetrootSeeds) RandomTick ¶
func (BeetrootSeeds) SameCrop ¶
func (BeetrootSeeds) SameCrop(c Crop) bool
type Blackstone ¶
type Blackstone struct {
Type BlackstoneType
// contains filtered or unexported fields
}
func (Blackstone) BreakInfo ¶
func (b Blackstone) BreakInfo() BreakInfo
func (Blackstone) EncodeBlock ¶
func (b Blackstone) EncodeBlock() (string, map[string]any)
func (Blackstone) EncodeItem ¶
func (b Blackstone) EncodeItem() (name string, meta int16)
func (Blackstone) Hash ¶
func (b Blackstone) Hash() (uint64, uint64)
func (Blackstone) Instrument ¶
func (Blackstone) Instrument() sound.Instrument
func (Blackstone) Model ¶
func (Blackstone) Model() world.BlockModel
type BlackstoneType ¶
type BlackstoneType struct {
// contains filtered or unexported fields
}
func BlackstoneTypes ¶
func BlackstoneTypes() []BlackstoneType
func ChiseledPolishedBlackstone ¶
func ChiseledPolishedBlackstone() BlackstoneType
func GildedBlackstone ¶
func GildedBlackstone() BlackstoneType
func NormalBlackstone ¶
func NormalBlackstone() BlackstoneType
func PolishedBlackstone ¶
func PolishedBlackstone() BlackstoneType
type BlastFurnace ¶
type BlastFurnace struct {
Facing cube.Direction
Lit bool
// contains filtered or unexported fields
}
func NewBlastFurnace ¶
func NewBlastFurnace(face cube.Direction) BlastFurnace
func (BlastFurnace) AddViewer ¶
func (s BlastFurnace) AddViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
func (BlastFurnace) BreakInfo ¶
func (b BlastFurnace) BreakInfo() BreakInfo
func (BlastFurnace) DecodeNBT ¶
func (b BlastFurnace) DecodeNBT(data map[string]interface{}) interface{}
func (BlastFurnace) EncodeBlock ¶
func (b BlastFurnace) EncodeBlock() (name string, properties map[string]interface{})
func (BlastFurnace) EncodeItem ¶
func (b BlastFurnace) EncodeItem() (name string, meta int16)
func (BlastFurnace) EncodeNBT ¶
func (b BlastFurnace) EncodeNBT() map[string]interface{}
func (BlastFurnace) Experience ¶
func (s BlastFurnace) Experience() int
func (BlastFurnace) ExtractItem ¶
func (BlastFurnace) FacingDirection ¶
func (b BlastFurnace) FacingDirection() cube.Direction
func (BlastFurnace) Hash ¶
func (b BlastFurnace) Hash() (uint64, uint64)
func (BlastFurnace) InsertItem ¶
func (BlastFurnace) Instrument ¶
func (BlastFurnace) Instrument() sound.Instrument
func (BlastFurnace) LightEmissionLevel ¶
func (b BlastFurnace) LightEmissionLevel() uint8
func (BlastFurnace) Model ¶
func (BlastFurnace) Model() world.BlockModel
func (BlastFurnace) RemoveViewer ¶
func (s BlastFurnace) RemoveViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
func (BlastFurnace) ResetExperience ¶
func (s BlastFurnace) ResetExperience() int
func (BlastFurnace) UseOnBlock ¶
func (BlastFurnace) WithFacing ¶
func (b BlastFurnace) WithFacing(facing cube.Direction) world.Block
type BlueIce ¶
type BlueIce struct {
// contains filtered or unexported fields
}
func (BlueIce) EncodeItem ¶
func (BlueIce) Model ¶
func (BlueIce) Model() world.BlockModel
type Bone ¶
func (Bone) EncodeItem ¶
func (Bone) Instrument ¶
func (b Bone) Instrument() sound.Instrument
func (Bone) Model ¶
func (Bone) Model() world.BlockModel
func (Bone) PillarAxis ¶
func (Bone) UseOnBlock ¶
type Bookshelf ¶
type Bookshelf struct {
// contains filtered or unexported fields
}
func (Bookshelf) EncodeItem ¶
func (Bookshelf) FlammabilityInfo ¶
func (Bookshelf) FlammabilityInfo() FlammabilityInfo
func (Bookshelf) Instrument ¶
func (Bookshelf) Instrument() sound.Instrument
func (Bookshelf) Model ¶
func (Bookshelf) Model() world.BlockModel
type BreakContext ¶
type BrewingStand ¶
type BrewingStand struct {
LeftSlot bool
MiddleSlot bool
RightSlot bool
// contains filtered or unexported fields
}
func NewBrewingStand ¶
func NewBrewingStand() BrewingStand
func (BrewingStand) AddViewer ¶
func (b BrewingStand) AddViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
func (BrewingStand) BreakInfo ¶
func (b BrewingStand) BreakInfo() BreakInfo
func (BrewingStand) CanDisplace ¶
func (BrewingStand) EncodeBlock ¶
func (b BrewingStand) EncodeBlock() (string, map[string]any)
func (BrewingStand) EncodeItem ¶
func (b BrewingStand) EncodeItem() (name string, meta int16)
func (BrewingStand) EncodeNBT ¶
func (b BrewingStand) EncodeNBT() map[string]any
func (BrewingStand) ExtractItem ¶
func (BrewingStand) Hash ¶
func (b BrewingStand) Hash() (uint64, uint64)
func (BrewingStand) InsertItem ¶
func (BrewingStand) LightDiffusionLevel ¶
func (BrewingStand) LightDiffusionLevel() uint8
func (BrewingStand) Model ¶
func (b BrewingStand) Model() world.BlockModel
func (BrewingStand) RemoveViewer ¶
func (b BrewingStand) RemoveViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
func (BrewingStand) SideClosed ¶
type Bricks ¶
type Bricks struct {
// contains filtered or unexported fields
}
func (Bricks) EncodeItem ¶
func (Bricks) Instrument ¶
func (Bricks) Instrument() sound.Instrument
func (Bricks) Model ¶
func (Bricks) Model() world.BlockModel
type Cactus ¶
type Cactus struct {
Age int
// contains filtered or unexported fields
}
func (Cactus) CompostChance ¶
func (Cactus) EncodeItem ¶
func (Cactus) LightDiffusionLevel ¶
func (Cactus) LightDiffusionLevel() uint8
func (Cactus) Model ¶
func (c Cactus) Model() world.BlockModel
func (Cactus) NeighbourUpdateTick ¶
type Cake ¶
type Cake struct {
Bites int
Candle bool
CandleColour item.OptionalColour
CandleLit bool
// contains filtered or unexported fields
}
func (Cake) CanDisplace ¶
func (Cake) EncodeItem ¶
func (Cake) LightDiffusionLevel ¶
func (Cake) LightDiffusionLevel() uint8
func (Cake) LightEmissionLevel ¶
func (Cake) Model ¶
func (c Cake) Model() world.BlockModel
type Calcite ¶
type Calcite struct {
// contains filtered or unexported fields
}
func (Calcite) EncodeItem ¶
func (Calcite) Instrument ¶
func (Calcite) Instrument() sound.Instrument
func (Calcite) Model ¶
func (Calcite) Model() world.BlockModel
type Campfire ¶
type Campfire struct {
Items [4]CampfireItem
Facing cube.Direction
Extinguished bool
Type FireType
// contains filtered or unexported fields
}
func (Campfire) CanDisplace ¶
func (Campfire) EncodeBlock ¶
func (Campfire) EncodeItem ¶
func (Campfire) EntityInside ¶
func (Campfire) FacingDirection ¶
func (Campfire) Instrument ¶
func (Campfire) Instrument() sound.Instrument
func (Campfire) LightDiffusionLevel ¶
func (Campfire) LightDiffusionLevel() uint8
func (Campfire) LightEmissionLevel ¶
func (Campfire) Model ¶
func (Campfire) Model() world.BlockModel
func (Campfire) NeighbourUpdateTick ¶
func (Campfire) UseOnBlock ¶
type Candle ¶
type Candle struct {
Colour item.OptionalColour
AdditionalCandles int
Lit bool
// contains filtered or unexported fields
}
func (Candle) CanDisplace ¶
func (Candle) EncodeItem ¶
func (Candle) EntityInside ¶
func (Candle) LightDiffusionLevel ¶
func (Candle) LightDiffusionLevel() uint8
func (Candle) LightEmissionLevel ¶
func (Candle) Model ¶
func (c Candle) Model() world.BlockModel
func (Candle) NeighbourUpdateTick ¶
type Carpet ¶
func (Carpet) CanDisplace ¶
func (Carpet) EncodeItem ¶
func (Carpet) FlammabilityInfo ¶
func (c Carpet) FlammabilityInfo() FlammabilityInfo
func (Carpet) HasLiquidDrops ¶
func (Carpet) LightDiffusionLevel ¶
func (Carpet) LightDiffusionLevel() uint8
func (Carpet) Model ¶
func (Carpet) Model() world.BlockModel
func (Carpet) NeighbourUpdateTick ¶
func (Carpet) UseOnBlock ¶
type Carrot ¶
type Carrot struct {
// contains filtered or unexported fields
}
func (Carrot) AlwaysConsumable ¶
func (Carrot) CalculateGrowthChance ¶
func (Carrot) CompostChance ¶
func (Carrot) ConsumeDuration ¶
func (Carrot) EncodeItem ¶
func (Carrot) GrowthStage ¶
func (c Carrot) GrowthStage() int
func (Carrot) HasLiquidDrops ¶
func (c Carrot) HasLiquidDrops() bool
func (Carrot) NeighbourUpdateTick ¶
type Chest ¶
type Chest struct {
Facing cube.Direction
CustomName string
// contains filtered or unexported fields
}
func (Chest) CanDisplace ¶
func (Chest) EncodeItem ¶
func (Chest) FacingDirection ¶
func (Chest) FlammabilityInfo ¶
func (c Chest) FlammabilityInfo() FlammabilityInfo
func (Chest) Instrument ¶
func (Chest) Instrument() sound.Instrument
func (Chest) LightDiffusionLevel ¶
func (Chest) LightDiffusionLevel() uint8
func (Chest) Model ¶
func (Chest) Model() world.BlockModel
func (Chest) RemoveViewer ¶
func (Chest) UseOnBlock ¶
type ChiseledQuartz ¶
type ChiseledQuartz struct {
// contains filtered or unexported fields
}
func (ChiseledQuartz) BreakInfo ¶
func (c ChiseledQuartz) BreakInfo() BreakInfo
func (ChiseledQuartz) EncodeBlock ¶
func (ChiseledQuartz) EncodeBlock() (name string, properties map[string]any)
func (ChiseledQuartz) EncodeItem ¶
func (c ChiseledQuartz) EncodeItem() (name string, meta int16)
func (ChiseledQuartz) Hash ¶
func (ChiseledQuartz) Hash() (uint64, uint64)
func (ChiseledQuartz) Instrument ¶
func (ChiseledQuartz) Instrument() sound.Instrument
func (ChiseledQuartz) Model ¶
func (ChiseledQuartz) Model() world.BlockModel
type Cinnabar ¶
type Cinnabar struct {
Chiseled bool
// contains filtered or unexported fields
}
func (Cinnabar) EncodeItem ¶
func (Cinnabar) Instrument ¶
func (Cinnabar) Instrument() sound.Instrument
func (Cinnabar) Model ¶
func (Cinnabar) Model() world.BlockModel
type CinnabarBricks ¶
type CinnabarBricks struct {
// contains filtered or unexported fields
}
func (CinnabarBricks) BreakInfo ¶
func (c CinnabarBricks) BreakInfo() BreakInfo
func (CinnabarBricks) EncodeBlock ¶
func (CinnabarBricks) EncodeBlock() (string, map[string]any)
func (CinnabarBricks) EncodeItem ¶
func (CinnabarBricks) EncodeItem() (name string, meta int16)
func (CinnabarBricks) Hash ¶
func (CinnabarBricks) Hash() (uint64, uint64)
func (CinnabarBricks) Instrument ¶
func (CinnabarBricks) Instrument() sound.Instrument
func (CinnabarBricks) Model ¶
func (CinnabarBricks) Model() world.BlockModel
type Clay ¶
type Clay struct {
// contains filtered or unexported fields
}
func (Clay) EncodeItem ¶
func (Clay) Instrument ¶
func (c Clay) Instrument() sound.Instrument
func (Clay) Model ¶
func (Clay) Model() world.BlockModel
type CloseAction ¶
type CloseAction struct {
// contains filtered or unexported fields
}
func (CloseAction) BlockAction ¶
func (CloseAction) BlockAction()
type Coal ¶
type Coal struct {
// contains filtered or unexported fields
}
func (Coal) EncodeItem ¶
func (Coal) FlammabilityInfo ¶
func (Coal) FlammabilityInfo() FlammabilityInfo
func (Coal) Instrument ¶
func (Coal) Instrument() sound.Instrument
func (Coal) Model ¶
func (Coal) Model() world.BlockModel
type CoalOre ¶
type CoalOre struct {
Type OreType
// contains filtered or unexported fields
}
func (CoalOre) EncodeItem ¶
func (CoalOre) Instrument ¶
func (CoalOre) Instrument() sound.Instrument
func (CoalOre) Model ¶
func (CoalOre) Model() world.BlockModel
type Cobblestone ¶
type Cobblestone struct {
Mossy bool
// contains filtered or unexported fields
}
func (Cobblestone) BreakInfo ¶
func (c Cobblestone) BreakInfo() BreakInfo
func (Cobblestone) EncodeBlock ¶
func (c Cobblestone) EncodeBlock() (string, map[string]any)
func (Cobblestone) EncodeItem ¶
func (c Cobblestone) EncodeItem() (name string, meta int16)
func (Cobblestone) Hash ¶
func (c Cobblestone) Hash() (uint64, uint64)
func (Cobblestone) Instrument ¶
func (Cobblestone) Instrument() sound.Instrument
func (Cobblestone) Model ¶
func (Cobblestone) Model() world.BlockModel
func (Cobblestone) RepairsStoneTools ¶
func (c Cobblestone) RepairsStoneTools() bool
func (Cobblestone) SmeltInfo ¶
func (Cobblestone) SmeltInfo() item.SmeltInfo
type Cobweb ¶
type Cobweb struct {
// contains filtered or unexported fields
}
func (Cobweb) EncodeItem ¶
func (Cobweb) HasLiquidDrops ¶
func (Cobweb) LightDiffusionLevel ¶
func (Cobweb) LightDiffusionLevel() uint8
func (Cobweb) Model ¶
func (Cobweb) Model() world.BlockModel
type CocoaBean ¶
func (CocoaBean) CompostChance ¶
func (CocoaBean) EncodeBlock ¶
func (CocoaBean) EncodeItem ¶
func (CocoaBean) FacingDirection ¶
func (CocoaBean) HasLiquidDrops ¶
func (CocoaBean) LightDiffusionLevel ¶
func (CocoaBean) LightDiffusionLevel() uint8
func (CocoaBean) Model ¶
func (c CocoaBean) Model() world.BlockModel
func (CocoaBean) NeighbourUpdateTick ¶
func (CocoaBean) RandomTick ¶
func (CocoaBean) UseOnBlock ¶
type CommandBlock ¶
type CommandBlock struct {
Facing cube.Face
Conditional bool
// contains filtered or unexported fields
}
func (CommandBlock) CanDisplace ¶
func (CommandBlock) EncodeBlock ¶
func (c CommandBlock) EncodeBlock() (name string, properties map[string]any)
func (CommandBlock) EncodeItem ¶
func (CommandBlock) EncodeItem() (name string, meta int16)
func (CommandBlock) Hash ¶
func (c CommandBlock) Hash() (uint64, uint64)
func (CommandBlock) Model ¶
func (CommandBlock) Model() world.BlockModel
func (CommandBlock) SideClosed ¶
type Composter ¶
type Composter struct {
Level int
// contains filtered or unexported fields
}
func (Composter) CanDisplace ¶
func (Composter) EncodeItem ¶
func (Composter) ExtractItem ¶
func (Composter) FlammabilityInfo ¶
func (c Composter) FlammabilityInfo() FlammabilityInfo
func (Composter) InsertItem ¶
func (Composter) Instrument ¶
func (Composter) Instrument() sound.Instrument
func (Composter) LightDiffusionLevel ¶
func (Composter) LightDiffusionLevel() uint8
func (Composter) Model ¶
func (c Composter) Model() world.BlockModel
func (Composter) ScheduledTick ¶
type Concrete ¶
func (Concrete) EncodeBlock ¶
func (Concrete) EncodeItem ¶
func (Concrete) Instrument ¶
func (Concrete) Instrument() sound.Instrument
func (Concrete) Model ¶
func (Concrete) Model() world.BlockModel
type ConcretePowder ¶
func (ConcretePowder) BreakInfo ¶
func (c ConcretePowder) BreakInfo() BreakInfo
func (ConcretePowder) DyeColour ¶
func (b ConcretePowder) DyeColour() item.Colour
func (ConcretePowder) EncodeBlock ¶
func (c ConcretePowder) EncodeBlock() (name string, properties map[string]any)
func (ConcretePowder) EncodeItem ¶
func (c ConcretePowder) EncodeItem() (name string, meta int16)
func (ConcretePowder) Hash ¶
func (c ConcretePowder) Hash() (uint64, uint64)
func (ConcretePowder) Instrument ¶
func (ConcretePowder) Instrument() sound.Instrument
func (ConcretePowder) Model ¶
func (ConcretePowder) Model() world.BlockModel
func (ConcretePowder) NeighbourUpdateTick ¶
func (c ConcretePowder) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (ConcretePowder) Solidifies ¶
func (ConcretePowder) WithColour ¶
func (b ConcretePowder) WithColour(colour item.Colour) world.Block
type ContainerOpener ¶
type ContainerViewer ¶
type ContinueCrackAction ¶
type ContinueCrackAction struct {
BreakTime time.Duration
// contains filtered or unexported fields
}
func (ContinueCrackAction) BlockAction ¶
func (ContinueCrackAction) BlockAction()
type Copper ¶
type Copper struct {
Type CopperType
Oxidation OxidationType
Waxed bool
// contains filtered or unexported fields
}
func (Copper) CanOxidate ¶
func (Copper) EncodeItem ¶
func (Copper) Instrument ¶
func (Copper) Instrument() sound.Instrument
func (Copper) Model ¶
func (Copper) Model() world.BlockModel
func (Copper) OxidationLevel ¶
func (c Copper) OxidationLevel() OxidationType
func (Copper) WithOxidationLevel ¶
func (c Copper) WithOxidationLevel(o OxidationType) Oxidisable
type CopperBars ¶
type CopperBars struct {
Oxidation OxidationType
Waxed bool
// contains filtered or unexported fields
}
func (CopperBars) BreakInfo ¶
func (c CopperBars) BreakInfo() BreakInfo
func (CopperBars) CanDisplace ¶
func (CopperBars) CanOxidate ¶
func (c CopperBars) CanOxidate() bool
func (CopperBars) EncodeBlock ¶
func (c CopperBars) EncodeBlock() (name string, properties map[string]any)
func (CopperBars) EncodeItem ¶
func (c CopperBars) EncodeItem() (name string, meta int16)
func (CopperBars) Hash ¶
func (c CopperBars) Hash() (uint64, uint64)
func (CopperBars) LightDiffusionLevel ¶
func (CopperBars) LightDiffusionLevel() uint8
func (CopperBars) Model ¶
func (CopperBars) Model() world.BlockModel
func (CopperBars) OxidationLevel ¶
func (c CopperBars) OxidationLevel() OxidationType
func (CopperBars) RandomTick ¶
func (CopperBars) SideClosed ¶
func (CopperBars) WithOxidationLevel ¶
func (c CopperBars) WithOxidationLevel(o OxidationType) Oxidisable
type CopperChain ¶
type CopperChain struct {
Axis cube.Axis
Oxidation OxidationType
Waxed bool
// contains filtered or unexported fields
}
func (CopperChain) BreakInfo ¶
func (c CopperChain) BreakInfo() BreakInfo
func (CopperChain) CanDisplace ¶
func (CopperChain) CanOxidate ¶
func (c CopperChain) CanOxidate() bool
func (CopperChain) EncodeBlock ¶
func (c CopperChain) EncodeBlock() (name string, properties map[string]any)
func (CopperChain) EncodeItem ¶
func (c CopperChain) EncodeItem() (name string, meta int16)
func (CopperChain) Hash ¶
func (c CopperChain) Hash() (uint64, uint64)
func (CopperChain) LightDiffusionLevel ¶
func (CopperChain) LightDiffusionLevel() uint8
func (CopperChain) Model ¶
func (c CopperChain) Model() world.BlockModel
func (CopperChain) OxidationLevel ¶
func (c CopperChain) OxidationLevel() OxidationType
func (CopperChain) PillarAxis ¶
func (b CopperChain) PillarAxis() cube.Axis
func (CopperChain) RandomTick ¶
func (CopperChain) SideClosed ¶
func (CopperChain) UseOnBlock ¶
func (CopperChain) WithOxidationLevel ¶
func (c CopperChain) WithOxidationLevel(o OxidationType) Oxidisable
type CopperDoor ¶
type CopperDoor struct {
Oxidation OxidationType
Waxed bool
Facing cube.Direction
Open bool
Top bool
Right bool
// contains filtered or unexported fields
}
func (CopperDoor) BreakInfo ¶
func (d CopperDoor) BreakInfo() BreakInfo
func (CopperDoor) CanDisplace ¶
func (CopperDoor) CanOxidate ¶
func (d CopperDoor) CanOxidate() bool
func (CopperDoor) EncodeBlock ¶
func (d CopperDoor) EncodeBlock() (name string, properties map[string]any)
func (CopperDoor) EncodeItem ¶
func (d CopperDoor) EncodeItem() (name string, meta int16)
func (CopperDoor) FacingDirection ¶
func (b CopperDoor) FacingDirection() cube.Direction
func (CopperDoor) Hash ¶
func (d CopperDoor) Hash() (uint64, uint64)
func (CopperDoor) Instrument ¶
func (CopperDoor) Instrument() sound.Instrument
func (CopperDoor) LightDiffusionLevel ¶
func (CopperDoor) LightDiffusionLevel() uint8
func (CopperDoor) Model ¶
func (d CopperDoor) Model() world.BlockModel
func (CopperDoor) NeighbourUpdateTick ¶
func (d CopperDoor) NeighbourUpdateTick(pos, changedNeighbour cube.Pos, tx *world.Tx)
func (CopperDoor) OxidationLevel ¶
func (d CopperDoor) OxidationLevel() OxidationType
func (CopperDoor) RandomTick ¶
func (CopperDoor) SideClosed ¶
func (CopperDoor) UseOnBlock ¶
func (CopperDoor) WithFacing ¶
func (b CopperDoor) WithFacing(facing cube.Direction) world.Block
func (CopperDoor) WithOxidationLevel ¶
func (d CopperDoor) WithOxidationLevel(o OxidationType) Oxidisable
type CopperGolemPose ¶
type CopperGolemPose struct {
// contains filtered or unexported fields
}
func CopperGolemPoses ¶
func CopperGolemPoses() []CopperGolemPose
func RunningPose ¶
func RunningPose() CopperGolemPose
func SittingPose ¶
func SittingPose() CopperGolemPose
func StandingPose ¶
func StandingPose() CopperGolemPose
func StarPose ¶
func StarPose() CopperGolemPose
type CopperGolemStatue ¶
type CopperGolemStatue struct {
Facing cube.Direction
Pose CopperGolemPose
Oxidation OxidationType
Waxed bool
// contains filtered or unexported fields
}
func (CopperGolemStatue) BreakInfo ¶
func (c CopperGolemStatue) BreakInfo() BreakInfo
func (CopperGolemStatue) CanDisplace ¶
func (CopperGolemStatue) CanOxidate ¶
func (c CopperGolemStatue) CanOxidate() bool
func (CopperGolemStatue) EncodeBlock ¶
func (c CopperGolemStatue) EncodeBlock() (string, map[string]any)
func (CopperGolemStatue) EncodeItem ¶
func (c CopperGolemStatue) EncodeItem() (name string, meta int16)
func (CopperGolemStatue) EncodeNBT ¶
func (c CopperGolemStatue) EncodeNBT() map[string]any
func (CopperGolemStatue) FacingDirection ¶
func (b CopperGolemStatue) FacingDirection() cube.Direction
func (CopperGolemStatue) Hash ¶
func (c CopperGolemStatue) Hash() (uint64, uint64)
func (CopperGolemStatue) LightDiffusionLevel ¶
func (CopperGolemStatue) LightDiffusionLevel() uint8
func (CopperGolemStatue) Model ¶
func (CopperGolemStatue) Model() world.BlockModel
func (CopperGolemStatue) OxidationLevel ¶
func (c CopperGolemStatue) OxidationLevel() OxidationType
func (CopperGolemStatue) RandomTick ¶
func (CopperGolemStatue) UseOnBlock ¶
func (CopperGolemStatue) WithFacing ¶
func (b CopperGolemStatue) WithFacing(facing cube.Direction) world.Block
func (CopperGolemStatue) WithOxidationLevel ¶
func (c CopperGolemStatue) WithOxidationLevel(o OxidationType) Oxidisable
type CopperGrate ¶
type CopperGrate struct {
Oxidation OxidationType
Waxed bool
// contains filtered or unexported fields
}
func (CopperGrate) BreakInfo ¶
func (c CopperGrate) BreakInfo() BreakInfo
func (CopperGrate) CanDisplace ¶
func (CopperGrate) CanOxidate ¶
func (c CopperGrate) CanOxidate() bool
func (CopperGrate) EncodeBlock ¶
func (c CopperGrate) EncodeBlock() (string, map[string]any)
func (CopperGrate) EncodeItem ¶
func (c CopperGrate) EncodeItem() (name string, meta int16)
func (CopperGrate) Hash ¶
func (c CopperGrate) Hash() (uint64, uint64)
func (CopperGrate) Instrument ¶
func (CopperGrate) Instrument() sound.Instrument
func (CopperGrate) LightDiffusionLevel ¶
func (CopperGrate) LightDiffusionLevel() uint8
func (CopperGrate) Model ¶
func (CopperGrate) Model() world.BlockModel
func (CopperGrate) OxidationLevel ¶
func (c CopperGrate) OxidationLevel() OxidationType
func (CopperGrate) RandomTick ¶
func (CopperGrate) WithOxidationLevel ¶
func (c CopperGrate) WithOxidationLevel(o OxidationType) Oxidisable
type CopperLantern ¶
type CopperLantern struct {
Hanging bool
Oxidation OxidationType
Waxed bool
// contains filtered or unexported fields
}
func (CopperLantern) BreakInfo ¶
func (c CopperLantern) BreakInfo() BreakInfo
func (CopperLantern) CanDisplace ¶
func (CopperLantern) CanOxidate ¶
func (c CopperLantern) CanOxidate() bool
func (CopperLantern) EncodeBlock ¶
func (c CopperLantern) EncodeBlock() (name string, properties map[string]any)
func (CopperLantern) EncodeItem ¶
func (c CopperLantern) EncodeItem() (name string, meta int16)
func (CopperLantern) Hash ¶
func (c CopperLantern) Hash() (uint64, uint64)
func (CopperLantern) LightDiffusionLevel ¶
func (CopperLantern) LightDiffusionLevel() uint8
func (CopperLantern) LightEmissionLevel ¶
func (CopperLantern) LightEmissionLevel() uint8
func (CopperLantern) Model ¶
func (c CopperLantern) Model() world.BlockModel
func (CopperLantern) NeighbourUpdateTick ¶
func (c CopperLantern) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (CopperLantern) OxidationLevel ¶
func (c CopperLantern) OxidationLevel() OxidationType
func (CopperLantern) RandomTick ¶
func (CopperLantern) SideClosed ¶
func (CopperLantern) UseOnBlock ¶
func (CopperLantern) WithOxidationLevel ¶
func (c CopperLantern) WithOxidationLevel(o OxidationType) Oxidisable
type CopperOre ¶
type CopperOre struct {
Type OreType
// contains filtered or unexported fields
}
func (CopperOre) EncodeItem ¶
func (CopperOre) Instrument ¶
func (CopperOre) Instrument() sound.Instrument
func (CopperOre) Model ¶
func (CopperOre) Model() world.BlockModel
type CopperTorch ¶
func (CopperTorch) BreakInfo ¶
func (t CopperTorch) BreakInfo() BreakInfo
func (CopperTorch) EncodeBlock ¶
func (t CopperTorch) EncodeBlock() (name string, properties map[string]any)
func (CopperTorch) EncodeItem ¶
func (t CopperTorch) EncodeItem() (name string, meta int16)
func (CopperTorch) HasLiquidDrops ¶
func (t CopperTorch) HasLiquidDrops() bool
func (CopperTorch) Hash ¶
func (t CopperTorch) Hash() (uint64, uint64)
func (CopperTorch) LightDiffusionLevel ¶
func (CopperTorch) LightDiffusionLevel() uint8
func (CopperTorch) LightEmissionLevel ¶
func (t CopperTorch) LightEmissionLevel() uint8
func (CopperTorch) Model ¶
func (CopperTorch) Model() world.BlockModel
func (CopperTorch) NeighbourUpdateTick ¶
func (t CopperTorch) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
type CopperTrapdoor ¶
type CopperTrapdoor struct {
Oxidation OxidationType
Waxed bool
Facing cube.Direction
Open bool
Top bool
// contains filtered or unexported fields
}
func (CopperTrapdoor) BreakInfo ¶
func (t CopperTrapdoor) BreakInfo() BreakInfo
func (CopperTrapdoor) CanDisplace ¶
func (CopperTrapdoor) CanOxidate ¶
func (t CopperTrapdoor) CanOxidate() bool
func (CopperTrapdoor) EncodeBlock ¶
func (t CopperTrapdoor) EncodeBlock() (name string, properties map[string]any)
func (CopperTrapdoor) EncodeItem ¶
func (t CopperTrapdoor) EncodeItem() (name string, meta int16)
func (CopperTrapdoor) FacingDirection ¶
func (b CopperTrapdoor) FacingDirection() cube.Direction
func (CopperTrapdoor) Hash ¶
func (t CopperTrapdoor) Hash() (uint64, uint64)
func (CopperTrapdoor) Instrument ¶
func (CopperTrapdoor) Instrument() sound.Instrument
func (CopperTrapdoor) LightDiffusionLevel ¶
func (CopperTrapdoor) LightDiffusionLevel() uint8
func (CopperTrapdoor) Model ¶
func (t CopperTrapdoor) Model() world.BlockModel
func (CopperTrapdoor) OxidationLevel ¶
func (t CopperTrapdoor) OxidationLevel() OxidationType
func (CopperTrapdoor) RandomTick ¶
func (CopperTrapdoor) SideClosed ¶
func (CopperTrapdoor) UseOnBlock ¶
func (CopperTrapdoor) WithFacing ¶
func (b CopperTrapdoor) WithFacing(facing cube.Direction) world.Block
func (CopperTrapdoor) WithOxidationLevel ¶
func (t CopperTrapdoor) WithOxidationLevel(o OxidationType) Oxidisable
type CopperType ¶
type CopperType struct {
// contains filtered or unexported fields
}
func ChiseledCopper ¶
func ChiseledCopper() CopperType
func CopperTypes ¶
func CopperTypes() []CopperType
func CutCopper ¶
func CutCopper() CopperType
func NormalCopper ¶
func NormalCopper() CopperType
type Coral ¶
func (Coral) CanDisplace ¶
func (Coral) EncodeItem ¶
func (Coral) HasLiquidDrops ¶
func (Coral) Instrument ¶
func (Coral) Instrument() sound.Instrument
func (Coral) LightDiffusionLevel ¶
func (Coral) LightDiffusionLevel() uint8
func (Coral) Model ¶
func (Coral) Model() world.BlockModel
func (Coral) NeighbourUpdateTick ¶
type CoralBlock ¶
func (CoralBlock) BreakInfo ¶
func (c CoralBlock) BreakInfo() BreakInfo
func (CoralBlock) EncodeBlock ¶
func (c CoralBlock) EncodeBlock() (name string, properties map[string]any)
func (CoralBlock) EncodeItem ¶
func (c CoralBlock) EncodeItem() (name string, meta int16)
func (CoralBlock) Hash ¶
func (c CoralBlock) Hash() (uint64, uint64)
func (CoralBlock) Instrument ¶
func (CoralBlock) Instrument() sound.Instrument
func (CoralBlock) Model ¶
func (CoralBlock) Model() world.BlockModel
func (CoralBlock) NeighbourUpdateTick ¶
func (c CoralBlock) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (CoralBlock) ScheduledTick ¶
type CoralType ¶
type CoralType struct {
// contains filtered or unexported fields
}
func BrainCoral ¶
func BrainCoral() CoralType
func BubbleCoral ¶
func BubbleCoral() CoralType
func CoralTypes ¶
func CoralTypes() []CoralType
type CraftingTable ¶
type CraftingTable struct {
// contains filtered or unexported fields
}
func (CraftingTable) BreakInfo ¶
func (c CraftingTable) BreakInfo() BreakInfo
func (CraftingTable) EncodeBlock ¶
func (c CraftingTable) EncodeBlock() (name string, properties map[string]interface{})
func (CraftingTable) EncodeItem ¶
func (c CraftingTable) EncodeItem() (name string, meta int16)
func (CraftingTable) FuelInfo ¶
func (CraftingTable) FuelInfo() item.FuelInfo
func (CraftingTable) Hash ¶
func (CraftingTable) Hash() (uint64, uint64)
func (CraftingTable) Instrument ¶
func (CraftingTable) Instrument() sound.Instrument
func (CraftingTable) Model ¶
func (CraftingTable) Model() world.BlockModel
type DamageSource ¶
func (DamageSource) Fire ¶
func (DamageSource) Fire() bool
func (DamageSource) IgnoreTotem ¶
func (DamageSource) IgnoreTotem() bool
func (DamageSource) ReducedByArmour ¶
func (DamageSource) ReducedByArmour() bool
func (DamageSource) ReducedByResistance ¶
func (DamageSource) ReducedByResistance() bool
type DeadBush ¶
type DeadBush struct {
// contains filtered or unexported fields
}
func (DeadBush) CanDisplace ¶
func (DeadBush) EncodeItem ¶
func (DeadBush) FlammabilityInfo ¶
func (d DeadBush) FlammabilityInfo() FlammabilityInfo
func (DeadBush) HasLiquidDrops ¶
func (DeadBush) LightDiffusionLevel ¶
func (DeadBush) LightDiffusionLevel() uint8
func (DeadBush) Model ¶
func (DeadBush) Model() world.BlockModel
func (DeadBush) NeighbourUpdateTick ¶
func (DeadBush) ReplaceableBy ¶
type DecoratedPot ¶
type DecoratedPot struct {
Item item.Stack
Facing cube.Direction
Decorations [4]PotDecoration
// contains filtered or unexported fields
}
func (DecoratedPot) BreakInfo ¶
func (p DecoratedPot) BreakInfo() BreakInfo
func (DecoratedPot) CanDisplace ¶
func (DecoratedPot) EncodeBlock ¶
func (p DecoratedPot) EncodeBlock() (name string, properties map[string]any)
func (DecoratedPot) EncodeItem ¶
func (p DecoratedPot) EncodeItem() (name string, meta int16)
func (DecoratedPot) EncodeNBT ¶
func (p DecoratedPot) EncodeNBT() map[string]any
func (DecoratedPot) ExtractItem ¶
func (DecoratedPot) FacingDirection ¶
func (b DecoratedPot) FacingDirection() cube.Direction
func (DecoratedPot) Hash ¶
func (p DecoratedPot) Hash() (uint64, uint64)
func (DecoratedPot) InsertItem ¶
func (DecoratedPot) LightDiffusionLevel ¶
func (DecoratedPot) LightDiffusionLevel() uint8
func (DecoratedPot) Model ¶
func (p DecoratedPot) Model() world.BlockModel
func (DecoratedPot) Pick ¶
func (p DecoratedPot) Pick() item.Stack
func (DecoratedPot) ProjectileHit ¶
func (DecoratedPot) SideClosed ¶
func (DecoratedPot) UseOnBlock ¶
func (DecoratedPot) WithFacing ¶
func (b DecoratedPot) WithFacing(facing cube.Direction) world.Block
type DecoratedPotWobbleAction ¶
type DecoratedPotWobbleAction struct {
DecoratedPot DecoratedPot
Success bool
// contains filtered or unexported fields
}
func (DecoratedPotWobbleAction) BlockAction ¶
func (DecoratedPotWobbleAction) BlockAction()
type Deepslate ¶
type Deepslate struct {
Type DeepslateType
Axis cube.Axis
// contains filtered or unexported fields
}
func (Deepslate) EncodeItem ¶
func (Deepslate) Instrument ¶
func (Deepslate) Instrument() sound.Instrument
func (Deepslate) Model ¶
func (Deepslate) Model() world.BlockModel
func (Deepslate) PillarAxis ¶
func (Deepslate) UseOnBlock ¶
type DeepslateBricks ¶
type DeepslateBricks struct {
Cracked bool
// contains filtered or unexported fields
}
func (DeepslateBricks) BreakInfo ¶
func (d DeepslateBricks) BreakInfo() BreakInfo
func (DeepslateBricks) EncodeBlock ¶
func (d DeepslateBricks) EncodeBlock() (string, map[string]any)
func (DeepslateBricks) EncodeItem ¶
func (d DeepslateBricks) EncodeItem() (name string, meta int16)
func (DeepslateBricks) Hash ¶
func (d DeepslateBricks) Hash() (uint64, uint64)
func (DeepslateBricks) Instrument ¶
func (DeepslateBricks) Instrument() sound.Instrument
func (DeepslateBricks) Model ¶
func (DeepslateBricks) Model() world.BlockModel
func (DeepslateBricks) SmeltInfo ¶
func (d DeepslateBricks) SmeltInfo() item.SmeltInfo
type DeepslateTiles ¶
type DeepslateTiles struct {
Cracked bool
// contains filtered or unexported fields
}
func (DeepslateTiles) BreakInfo ¶
func (d DeepslateTiles) BreakInfo() BreakInfo
func (DeepslateTiles) EncodeBlock ¶
func (d DeepslateTiles) EncodeBlock() (string, map[string]any)
func (DeepslateTiles) EncodeItem ¶
func (d DeepslateTiles) EncodeItem() (name string, meta int16)
func (DeepslateTiles) Hash ¶
func (d DeepslateTiles) Hash() (uint64, uint64)
func (DeepslateTiles) Instrument ¶
func (DeepslateTiles) Instrument() sound.Instrument
func (DeepslateTiles) Model ¶
func (DeepslateTiles) Model() world.BlockModel
func (DeepslateTiles) SmeltInfo ¶
func (d DeepslateTiles) SmeltInfo() item.SmeltInfo
type DeepslateType ¶
type DeepslateType struct {
// contains filtered or unexported fields
}
func ChiseledDeepslate ¶
func ChiseledDeepslate() DeepslateType
func CobbledDeepslate ¶
func CobbledDeepslate() DeepslateType
func DeepslateTypes ¶
func DeepslateTypes() []DeepslateType
func NormalDeepslate ¶
func NormalDeepslate() DeepslateType
func PolishedDeepslate ¶
func PolishedDeepslate() DeepslateType
type Diamond ¶
type Diamond struct {
// contains filtered or unexported fields
}
func (Diamond) EncodeItem ¶
func (Diamond) Model ¶
func (Diamond) Model() world.BlockModel
func (Diamond) PowersBeacon ¶
type DiamondOre ¶
type DiamondOre struct {
Type OreType
// contains filtered or unexported fields
}
func (DiamondOre) BreakInfo ¶
func (d DiamondOre) BreakInfo() BreakInfo
func (DiamondOre) EncodeBlock ¶
func (d DiamondOre) EncodeBlock() (string, map[string]any)
func (DiamondOre) EncodeItem ¶
func (d DiamondOre) EncodeItem() (name string, meta int16)
func (DiamondOre) Hash ¶
func (d DiamondOre) Hash() (uint64, uint64)
func (DiamondOre) Instrument ¶
func (DiamondOre) Instrument() sound.Instrument
func (DiamondOre) Model ¶
func (DiamondOre) Model() world.BlockModel
func (DiamondOre) SmeltInfo ¶
func (DiamondOre) SmeltInfo() item.SmeltInfo
type Dirt ¶
type Dirt struct {
Coarse bool
// contains filtered or unexported fields
}
func (Dirt) EncodeItem ¶
func (Dirt) Model ¶
func (Dirt) Model() world.BlockModel
type DirtPath ¶
type DirtPath struct {
// contains filtered or unexported fields
}
func (DirtPath) EncodeItem ¶
func (DirtPath) LightDiffusionLevel ¶
func (DirtPath) LightDiffusionLevel() uint8
func (DirtPath) Model ¶
func (DirtPath) Model() world.BlockModel
func (DirtPath) NeighbourUpdateTick ¶
type DoubleFlower ¶
type DoubleFlower struct {
UpperPart bool
Type DoubleFlowerType
// contains filtered or unexported fields
}
func (DoubleFlower) BoneMeal ¶
func (d DoubleFlower) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
func (DoubleFlower) BreakInfo ¶
func (d DoubleFlower) BreakInfo() BreakInfo
func (DoubleFlower) CompostChance ¶
func (DoubleFlower) CompostChance() float64
func (DoubleFlower) EncodeBlock ¶
func (d DoubleFlower) EncodeBlock() (string, map[string]any)
func (DoubleFlower) EncodeItem ¶
func (d DoubleFlower) EncodeItem() (name string, meta int16)
func (DoubleFlower) FlammabilityInfo ¶
func (d DoubleFlower) FlammabilityInfo() FlammabilityInfo
func (DoubleFlower) HasLiquidDrops ¶
func (d DoubleFlower) HasLiquidDrops() bool
func (DoubleFlower) Hash ¶
func (d DoubleFlower) Hash() (uint64, uint64)
func (DoubleFlower) LightDiffusionLevel ¶
func (DoubleFlower) LightDiffusionLevel() uint8
func (DoubleFlower) Model ¶
func (DoubleFlower) Model() world.BlockModel
func (DoubleFlower) NeighbourUpdateTick ¶
func (d DoubleFlower) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
type DoubleFlowerType ¶
type DoubleFlowerType struct {
// contains filtered or unexported fields
}
func DoubleFlowerTypes ¶
func DoubleFlowerTypes() []DoubleFlowerType
func Lilac ¶
func Lilac() DoubleFlowerType
func Peony ¶
func Peony() DoubleFlowerType
func RoseBush ¶
func RoseBush() DoubleFlowerType
func Sunflower ¶
func Sunflower() DoubleFlowerType
type DoubleTallGrass ¶
type DoubleTallGrass struct {
UpperPart bool
Type DoubleTallGrassType
// contains filtered or unexported fields
}
func (DoubleTallGrass) BreakInfo ¶
func (d DoubleTallGrass) BreakInfo() BreakInfo
func (DoubleTallGrass) CompostChance ¶
func (d DoubleTallGrass) CompostChance() float64
func (DoubleTallGrass) EncodeBlock ¶
func (d DoubleTallGrass) EncodeBlock() (string, map[string]any)
func (DoubleTallGrass) EncodeItem ¶
func (d DoubleTallGrass) EncodeItem() (name string, meta int16)
func (DoubleTallGrass) FlammabilityInfo ¶
func (d DoubleTallGrass) FlammabilityInfo() FlammabilityInfo
func (DoubleTallGrass) HasLiquidDrops ¶
func (d DoubleTallGrass) HasLiquidDrops() bool
func (DoubleTallGrass) Hash ¶
func (d DoubleTallGrass) Hash() (uint64, uint64)
func (DoubleTallGrass) LightDiffusionLevel ¶
func (DoubleTallGrass) LightDiffusionLevel() uint8
func (DoubleTallGrass) Model ¶
func (DoubleTallGrass) Model() world.BlockModel
func (DoubleTallGrass) NeighbourUpdateTick ¶
func (d DoubleTallGrass) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (DoubleTallGrass) ReplaceableBy ¶
type DoubleTallGrassType ¶
type DoubleTallGrassType struct {
// contains filtered or unexported fields
}
func DoubleTallGrassTypes ¶
func DoubleTallGrassTypes() []DoubleTallGrassType
func FernDoubleTallGrass ¶
func FernDoubleTallGrass() DoubleTallGrassType
func NormalDoubleTallGrass ¶
func NormalDoubleTallGrass() DoubleTallGrassType
type DragonEgg ¶
type DragonEgg struct {
// contains filtered or unexported fields
}
func (DragonEgg) CanDisplace ¶
func (DragonEgg) EncodeItem ¶
func (DragonEgg) LightDiffusionLevel ¶
func (DragonEgg) LightDiffusionLevel() uint8
func (DragonEgg) LightEmissionLevel ¶
func (DragonEgg) Model ¶
func (DragonEgg) Model() world.BlockModel
func (DragonEgg) NeighbourUpdateTick ¶
type DriedKelp ¶
type DriedKelp struct {
// contains filtered or unexported fields
}
func (DriedKelp) CompostChance ¶
func (DriedKelp) EncodeItem ¶
func (DriedKelp) FlammabilityInfo ¶
func (DriedKelp) FlammabilityInfo() FlammabilityInfo
func (DriedKelp) Model ¶
func (DriedKelp) Model() world.BlockModel
type Dripstone ¶
type Dripstone struct {
// contains filtered or unexported fields
}
func (Dripstone) EncodeItem ¶
func (Dripstone) Instrument ¶
func (Dripstone) Instrument() sound.Instrument
func (Dripstone) Model ¶
func (Dripstone) Model() world.BlockModel
type Emerald ¶
type Emerald struct {
// contains filtered or unexported fields
}
func (Emerald) EncodeItem ¶
func (Emerald) Instrument ¶
func (e Emerald) Instrument() sound.Instrument
func (Emerald) Model ¶
func (Emerald) Model() world.BlockModel
func (Emerald) PowersBeacon ¶
type EmeraldOre ¶
type EmeraldOre struct {
Type OreType
// contains filtered or unexported fields
}
func (EmeraldOre) BreakInfo ¶
func (e EmeraldOre) BreakInfo() BreakInfo
func (EmeraldOre) EncodeBlock ¶
func (e EmeraldOre) EncodeBlock() (string, map[string]any)
func (EmeraldOre) EncodeItem ¶
func (e EmeraldOre) EncodeItem() (name string, meta int16)
func (EmeraldOre) Hash ¶
func (e EmeraldOre) Hash() (uint64, uint64)
func (EmeraldOre) Instrument ¶
func (EmeraldOre) Instrument() sound.Instrument
func (EmeraldOre) Model ¶
func (EmeraldOre) Model() world.BlockModel
func (EmeraldOre) SmeltInfo ¶
func (EmeraldOre) SmeltInfo() item.SmeltInfo
type EnchantingTable ¶
type EnchantingTable struct {
// contains filtered or unexported fields
}
func (EnchantingTable) BreakInfo ¶
func (e EnchantingTable) BreakInfo() BreakInfo
func (EnchantingTable) CanDisplace ¶
func (EnchantingTable) EncodeBlock ¶
func (EnchantingTable) EncodeBlock() (string, map[string]any)
func (EnchantingTable) EncodeItem ¶
func (EnchantingTable) EncodeItem() (name string, meta int16)
func (EnchantingTable) EncodeNBT ¶
func (e EnchantingTable) EncodeNBT() map[string]any
func (EnchantingTable) Hash ¶
func (EnchantingTable) Hash() (uint64, uint64)
func (EnchantingTable) Instrument ¶
func (EnchantingTable) Instrument() sound.Instrument
func (EnchantingTable) LightDiffusionLevel ¶
func (EnchantingTable) LightDiffusionLevel() uint8
func (EnchantingTable) LightEmissionLevel ¶
func (EnchantingTable) LightEmissionLevel() uint8
func (EnchantingTable) Model ¶
func (e EnchantingTable) Model() world.BlockModel
func (EnchantingTable) SideClosed ¶
type EndBricks ¶
type EndBricks struct {
// contains filtered or unexported fields
}
func (EndBricks) EncodeItem ¶
func (EndBricks) Instrument ¶
func (EndBricks) Instrument() sound.Instrument
func (EndBricks) Model ¶
func (EndBricks) Model() world.BlockModel
type EndPortal ¶
type EndPortal struct {
// contains filtered or unexported fields
}
func (EndPortal) EntityInside ¶
func (EndPortal) HasLiquidDrops ¶
func (EndPortal) LightDiffusionLevel ¶
func (EndPortal) LightDiffusionLevel() uint8
func (EndPortal) LightEmissionLevel ¶
func (EndPortal) Model ¶
func (EndPortal) Model() world.BlockModel
func (EndPortal) NeighbourUpdateTick ¶
type EndPortalFrame ¶
type EndPortalFrame struct {
Eye bool
Facing cube.Direction
// contains filtered or unexported fields
}
func (EndPortalFrame) EncodeBlock ¶
func (f EndPortalFrame) EncodeBlock() (string, map[string]any)
func (EndPortalFrame) EncodeItem ¶
func (EndPortalFrame) EncodeItem() (name string, meta int16)
func (EndPortalFrame) EncodeNBT ¶
func (EndPortalFrame) EncodeNBT() map[string]any
func (EndPortalFrame) EndPortalFrameState ¶
func (f EndPortalFrame) EndPortalFrameState() (eye bool, facing cube.Direction)
func (EndPortalFrame) FacingDirection ¶
func (b EndPortalFrame) FacingDirection() cube.Direction
func (EndPortalFrame) Hash ¶
func (f EndPortalFrame) Hash() (uint64, uint64)
func (EndPortalFrame) InsertEndPortalEye ¶
func (f EndPortalFrame) InsertEndPortalEye() (world.Block, bool)
func (EndPortalFrame) Instrument ¶
func (EndPortalFrame) Instrument() sound.Instrument
func (EndPortalFrame) LightEmissionLevel ¶
func (EndPortalFrame) LightEmissionLevel() uint8
func (EndPortalFrame) Model ¶
func (f EndPortalFrame) Model() world.BlockModel
func (EndPortalFrame) UseOnBlock ¶
func (EndPortalFrame) WithFacing ¶
func (b EndPortalFrame) WithFacing(facing cube.Direction) world.Block
type EndRod ¶
func (EndRod) CanDisplace ¶
func (EndRod) EncodeItem ¶
func (EndRod) LightDiffusionLevel ¶
func (EndRod) LightDiffusionLevel() uint8
func (EndRod) LightEmissionLevel ¶
func (EndRod) Model ¶
func (e EndRod) Model() world.BlockModel
type EndStone ¶
type EndStone struct {
// contains filtered or unexported fields
}
func (EndStone) EncodeItem ¶
func (EndStone) Instrument ¶
func (EndStone) Instrument() sound.Instrument
func (EndStone) Model ¶
func (EndStone) Model() world.BlockModel
type EnderChest ¶
func NewEnderChest ¶
func NewEnderChest() EnderChest
func (EnderChest) BreakInfo ¶
func (c EnderChest) BreakInfo() BreakInfo
func (EnderChest) CanDisplace ¶
func (EnderChest) DecodeNBT ¶
func (c EnderChest) DecodeNBT(map[string]interface{}) interface{}
func (EnderChest) EncodeBlock ¶
func (c EnderChest) EncodeBlock() (name string, properties map[string]interface{})
func (EnderChest) EncodeItem ¶
func (EnderChest) EncodeItem() (name string, meta int16)
func (EnderChest) EncodeNBT ¶
func (c EnderChest) EncodeNBT() map[string]interface{}
func (EnderChest) FacingDirection ¶
func (b EnderChest) FacingDirection() cube.Direction
func (EnderChest) Hash ¶
func (c EnderChest) Hash() (uint64, uint64)
func (EnderChest) Instrument ¶
func (EnderChest) Instrument() sound.Instrument
func (EnderChest) LightDiffusionLevel ¶
func (EnderChest) LightDiffusionLevel() uint8
func (EnderChest) LightEmissionLevel ¶
func (c EnderChest) LightEmissionLevel() uint8
func (EnderChest) Model ¶
func (EnderChest) Model() world.BlockModel
func (EnderChest) RemoveViewer ¶
func (c EnderChest) RemoveViewer(tx *world.Tx, pos cube.Pos)
func (EnderChest) SideClosed ¶
func (EnderChest) UseOnBlock ¶
func (EnderChest) WithFacing ¶
func (b EnderChest) WithFacing(facing cube.Direction) world.Block
type EntityInsider ¶
type EntityLander ¶
type EntityStepper ¶
type Explodable ¶
type ExplodableEntity ¶
type ExplodableEntity interface {
Explode(explosionPos mgl64.Vec3, impact float64, c ExplosionConfig)
}
type ExplosionConfig ¶
type Farmland ¶
type Farmland struct {
Hydration int
// contains filtered or unexported fields
}
func (Farmland) EncodeBlock ¶
func (Farmland) EncodeItem ¶
func (Farmland) EntityLand ¶
func (Farmland) Model ¶
func (Farmland) Model() world.BlockModel
func (Farmland) NeighbourUpdateTick ¶
type Fern ¶
type Fern struct {
// contains filtered or unexported fields
}
func (Fern) CompostChance ¶
func (Fern) EncodeItem ¶
func (Fern) FlammabilityInfo ¶
func (g Fern) FlammabilityInfo() FlammabilityInfo
func (Fern) HasLiquidDrops ¶
func (Fern) LightDiffusionLevel ¶
func (Fern) LightDiffusionLevel() uint8
func (Fern) Model ¶
func (Fern) Model() world.BlockModel
func (Fern) ReplaceableBy ¶
type Fire ¶
func (Fire) HasLiquidDrops ¶
func (Fire) LightDiffusionLevel ¶
func (Fire) LightDiffusionLevel() uint8
func (Fire) LightEmissionLevel ¶
func (Fire) Model ¶
func (Fire) Model() world.BlockModel
func (Fire) NeighbourUpdateTick ¶
func (Fire) ReplaceableBy ¶
type FireDamageSource ¶
type FireDamageSource struct{}
func (FireDamageSource) AffectedByEnchantment ¶
func (FireDamageSource) AffectedByEnchantment(e item.EnchantmentType) bool
func (FireDamageSource) Fire ¶
func (FireDamageSource) Fire() bool
func (FireDamageSource) IgnoreTotem ¶
func (FireDamageSource) IgnoreTotem() bool
func (FireDamageSource) ReducedByArmour ¶
func (FireDamageSource) ReducedByArmour() bool
func (FireDamageSource) ReducedByResistance ¶
func (FireDamageSource) ReducedByResistance() bool
type FireType ¶
type FireType struct {
// contains filtered or unexported fields
}
func NormalFire ¶
func NormalFire() FireType
func (FireType) LightLevel ¶
func (f FireType) LightLevel() uint8
type FlammabilityInfo ¶
type Flammable ¶
type Flammable interface {
FlammabilityInfo() FlammabilityInfo
}
type FletchingTable ¶
type FletchingTable struct {
// contains filtered or unexported fields
}
func (FletchingTable) BreakInfo ¶
func (f FletchingTable) BreakInfo() BreakInfo
func (FletchingTable) EncodeBlock ¶
func (FletchingTable) EncodeBlock() (string, map[string]any)
func (FletchingTable) EncodeItem ¶
func (FletchingTable) EncodeItem() (string, int16)
func (FletchingTable) FuelInfo ¶
func (FletchingTable) FuelInfo() item.FuelInfo
func (FletchingTable) Hash ¶
func (FletchingTable) Hash() (uint64, uint64)
func (FletchingTable) Instrument ¶
func (FletchingTable) Instrument() sound.Instrument
func (FletchingTable) Model ¶
func (FletchingTable) Model() world.BlockModel
type Flower ¶
type Flower struct {
Type FlowerType
// contains filtered or unexported fields
}
func (Flower) CompostChance ¶
func (Flower) EncodeItem ¶
func (Flower) FlammabilityInfo ¶
func (f Flower) FlammabilityInfo() FlammabilityInfo
func (Flower) HasLiquidDrops ¶
func (Flower) LightDiffusionLevel ¶
func (Flower) LightDiffusionLevel() uint8
func (Flower) Model ¶
func (Flower) Model() world.BlockModel
func (Flower) NeighbourUpdateTick ¶
type FlowerType ¶
type FlowerType struct {
// contains filtered or unexported fields
}
func Allium ¶
func Allium() FlowerType
func AzureBluet ¶
func AzureBluet() FlowerType
func BlueOrchid ¶
func BlueOrchid() FlowerType
func Cornflower ¶
func Cornflower() FlowerType
func Dandelion ¶
func Dandelion() FlowerType
func FlowerTypes ¶
func FlowerTypes() []FlowerType
func LilyOfTheValley ¶
func LilyOfTheValley() FlowerType
func OrangeTulip ¶
func OrangeTulip() FlowerType
func OxeyeDaisy ¶
func OxeyeDaisy() FlowerType
func PinkTulip ¶
func PinkTulip() FlowerType
func Poppy ¶
func Poppy() FlowerType
func RedTulip ¶
func RedTulip() FlowerType
func WhiteTulip ¶
func WhiteTulip() FlowerType
func WitherRose ¶
func WitherRose() FlowerType
type Frictional ¶
type Frictional interface {
Friction() float64
}
type Froglight ¶
type Froglight struct {
Type FroglightType
Axis cube.Axis
// contains filtered or unexported fields
}
func (Froglight) EncodeBlock ¶
func (Froglight) EncodeItem ¶
func (Froglight) LightEmissionLevel ¶
func (Froglight) Model ¶
func (Froglight) Model() world.BlockModel
func (Froglight) PillarAxis ¶
func (Froglight) UseOnBlock ¶
type FroglightType ¶
type FroglightType struct {
// contains filtered or unexported fields
}
func FroglightTypes ¶
func FroglightTypes() []FroglightType
func Ochre ¶
func Ochre() FroglightType
func Pearlescent ¶
func Pearlescent() FroglightType
func Verdant ¶
func Verdant() FroglightType
type Furnace ¶
func NewFurnace ¶
func (Furnace) EncodeBlock ¶
func (Furnace) EncodeItem ¶
func (Furnace) Experience ¶
func (s Furnace) Experience() int
func (Furnace) ExtractItem ¶
func (Furnace) FacingDirection ¶
func (Furnace) Instrument ¶
func (Furnace) Instrument() sound.Instrument
func (Furnace) LightEmissionLevel ¶
func (Furnace) Model ¶
func (Furnace) Model() world.BlockModel
func (Furnace) RemoveViewer ¶
func (s Furnace) RemoveViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
func (Furnace) ResetExperience ¶
func (s Furnace) ResetExperience() int
func (Furnace) UseOnBlock ¶
type Glass ¶
type Glass struct {
// contains filtered or unexported fields
}
func (Glass) EncodeItem ¶
func (Glass) Instrument ¶
func (Glass) Instrument() sound.Instrument
func (Glass) LightDiffusionLevel ¶
func (Glass) LightDiffusionLevel() uint8
func (Glass) Model ¶
func (Glass) Model() world.BlockModel
type GlassPane ¶
type GlassPane struct {
// contains filtered or unexported fields
}
func (GlassPane) CanDisplace ¶
func (GlassPane) EncodeItem ¶
func (GlassPane) Instrument ¶
func (GlassPane) Instrument() sound.Instrument
func (GlassPane) LightDiffusionLevel ¶
func (GlassPane) LightDiffusionLevel() uint8
func (GlassPane) Model ¶
func (GlassPane) Model() world.BlockModel
type GlazedTerracotta ¶
type GlazedTerracotta struct {
Colour item.Colour
Facing cube.Direction
// contains filtered or unexported fields
}
func (GlazedTerracotta) BreakInfo ¶
func (t GlazedTerracotta) BreakInfo() BreakInfo
func (GlazedTerracotta) DyeColour ¶
func (b GlazedTerracotta) DyeColour() item.Colour
func (GlazedTerracotta) EncodeBlock ¶
func (t GlazedTerracotta) EncodeBlock() (name string, properties map[string]any)
func (GlazedTerracotta) EncodeItem ¶
func (t GlazedTerracotta) EncodeItem() (name string, meta int16)
func (GlazedTerracotta) FacingDirection ¶
func (b GlazedTerracotta) FacingDirection() cube.Direction
func (GlazedTerracotta) Hash ¶
func (t GlazedTerracotta) Hash() (uint64, uint64)
func (GlazedTerracotta) Instrument ¶
func (GlazedTerracotta) Instrument() sound.Instrument
func (GlazedTerracotta) Model ¶
func (GlazedTerracotta) Model() world.BlockModel
func (GlazedTerracotta) UseOnBlock ¶
func (GlazedTerracotta) WithColour ¶
func (b GlazedTerracotta) WithColour(colour item.Colour) world.Block
func (GlazedTerracotta) WithFacing ¶
func (b GlazedTerracotta) WithFacing(facing cube.Direction) world.Block
type Glowstone ¶
type Glowstone struct {
// contains filtered or unexported fields
}
func (Glowstone) CanRedstoneWireStepDown ¶
func (Glowstone) EncodeItem ¶
func (Glowstone) Instrument ¶
func (g Glowstone) Instrument() sound.Instrument
func (Glowstone) LightEmissionLevel ¶
func (Glowstone) Model ¶
func (Glowstone) Model() world.BlockModel
func (Glowstone) RedstoneNonConductive ¶
func (Glowstone) RedstoneNonConductive()
type Gold ¶
type Gold struct {
// contains filtered or unexported fields
}
func (Gold) EncodeItem ¶
func (Gold) Instrument ¶
func (g Gold) Instrument() sound.Instrument
func (Gold) Model ¶
func (Gold) Model() world.BlockModel
func (Gold) PowersBeacon ¶
type GoldOre ¶
type GoldOre struct {
Type OreType
// contains filtered or unexported fields
}
func (GoldOre) EncodeItem ¶
func (GoldOre) Instrument ¶
func (GoldOre) Instrument() sound.Instrument
func (GoldOre) Model ¶
func (GoldOre) Model() world.BlockModel
type Grass ¶
type Grass struct {
// contains filtered or unexported fields
}
func (Grass) CompostChance ¶
func (Grass) EncodeItem ¶
func (Grass) Model ¶
func (Grass) Model() world.BlockModel
type Gravel ¶
type Gravel struct {
// contains filtered or unexported fields
}
func (Gravel) EncodeItem ¶
func (Gravel) Instrument ¶
func (Gravel) Instrument() sound.Instrument
func (Gravel) Model ¶
func (Gravel) Model() world.BlockModel
func (Gravel) NeighbourUpdateTick ¶
type Grindstone ¶
type Grindstone struct {
Attach GrindstoneAttachment
Facing cube.Direction
// contains filtered or unexported fields
}
func (Grindstone) BreakInfo ¶
func (g Grindstone) BreakInfo() BreakInfo
func (Grindstone) EncodeBlock ¶
func (g Grindstone) EncodeBlock() (string, map[string]any)
func (Grindstone) EncodeItem ¶
func (g Grindstone) EncodeItem() (name string, meta int16)
func (Grindstone) FacingDirection ¶
func (b Grindstone) FacingDirection() cube.Direction
func (Grindstone) Hash ¶
func (g Grindstone) Hash() (uint64, uint64)
func (Grindstone) LightDiffusionLevel ¶
func (Grindstone) LightDiffusionLevel() uint8
func (Grindstone) Model ¶
func (g Grindstone) Model() world.BlockModel
func (Grindstone) NeighbourUpdateTick ¶
func (g Grindstone) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (Grindstone) UseOnBlock ¶
func (Grindstone) WithFacing ¶
func (b Grindstone) WithFacing(facing cube.Direction) world.Block
type GrindstoneAttachment ¶
type GrindstoneAttachment struct {
// contains filtered or unexported fields
}
func GrindstoneAttachments ¶
func GrindstoneAttachments() []GrindstoneAttachment
func HangingGrindstoneAttachment ¶
func HangingGrindstoneAttachment() GrindstoneAttachment
func StandingGrindstoneAttachment ¶
func StandingGrindstoneAttachment() GrindstoneAttachment
func WallGrindstoneAttachment ¶
func WallGrindstoneAttachment() GrindstoneAttachment
type HayBale ¶
func (HayBale) CompostChance ¶
func (HayBale) EncodeBlock ¶
func (HayBale) EncodeItem ¶
func (HayBale) EntityLand ¶
func (HayBale) FlammabilityInfo ¶
func (HayBale) FlammabilityInfo() FlammabilityInfo
func (HayBale) Instrument ¶
func (HayBale) Instrument() sound.Instrument
func (HayBale) Model ¶
func (HayBale) Model() world.BlockModel
func (HayBale) PillarAxis ¶
func (HayBale) UseOnBlock ¶
type Honeycomb ¶
type Honeycomb struct {
// contains filtered or unexported fields
}
func (Honeycomb) EncodeItem ¶
func (Honeycomb) Instrument ¶
func (h Honeycomb) Instrument() sound.Instrument
func (Honeycomb) Model ¶
func (Honeycomb) Model() world.BlockModel
type Hopper ¶
type Hopper struct {
Facing cube.Face
Powered bool
CustomName string
TransferCooldown int64
CollectCooldown int64
// contains filtered or unexported fields
}
func (Hopper) CanDisplace ¶
func (Hopper) CanRedstoneWireStepDown ¶
func (Hopper) EncodeItem ¶
func (Hopper) LightDiffusionLevel ¶
func (Hopper) LightDiffusionLevel() uint8
func (Hopper) Model ¶
func (Hopper) Model() world.BlockModel
func (Hopper) RemoveViewer ¶
func (Hopper) UseOnBlock ¶
type HopperExtractable ¶
type HopperInsertable ¶
type InfestedCobblestone ¶
type InfestedCobblestone struct {
// contains filtered or unexported fields
}
func (InfestedCobblestone) BreakInfo ¶
func (i InfestedCobblestone) BreakInfo() BreakInfo
func (InfestedCobblestone) EncodeBlock ¶
func (InfestedCobblestone) EncodeBlock() (string, map[string]any)
func (InfestedCobblestone) EncodeItem ¶
func (InfestedCobblestone) EncodeItem() (name string, meta int16)
func (InfestedCobblestone) Hash ¶
func (InfestedCobblestone) Hash() (uint64, uint64)
func (InfestedCobblestone) Instrument ¶
func (InfestedCobblestone) Instrument() sound.Instrument
func (InfestedCobblestone) Model ¶
func (InfestedCobblestone) Model() world.BlockModel
type InfestedDeepslate ¶
func (InfestedDeepslate) BreakInfo ¶
func (i InfestedDeepslate) BreakInfo() BreakInfo
func (InfestedDeepslate) EncodeBlock ¶
func (i InfestedDeepslate) EncodeBlock() (string, map[string]any)
func (InfestedDeepslate) EncodeItem ¶
func (InfestedDeepslate) EncodeItem() (name string, meta int16)
func (InfestedDeepslate) Hash ¶
func (i InfestedDeepslate) Hash() (uint64, uint64)
func (InfestedDeepslate) Instrument ¶
func (InfestedDeepslate) Instrument() sound.Instrument
func (InfestedDeepslate) Model ¶
func (InfestedDeepslate) Model() world.BlockModel
func (InfestedDeepslate) PillarAxis ¶
func (b InfestedDeepslate) PillarAxis() cube.Axis
func (InfestedDeepslate) UseOnBlock ¶
type InfestedStone ¶
type InfestedStone struct {
// contains filtered or unexported fields
}
func (InfestedStone) BreakInfo ¶
func (i InfestedStone) BreakInfo() BreakInfo
func (InfestedStone) EncodeBlock ¶
func (InfestedStone) EncodeBlock() (string, map[string]any)
func (InfestedStone) EncodeItem ¶
func (InfestedStone) EncodeItem() (name string, meta int16)
func (InfestedStone) Hash ¶
func (InfestedStone) Hash() (uint64, uint64)
func (InfestedStone) Instrument ¶
func (InfestedStone) Instrument() sound.Instrument
func (InfestedStone) Model ¶
func (InfestedStone) Model() world.BlockModel
type InfestedStoneBricks ¶
type InfestedStoneBricks struct {
Type StoneBricksType
// contains filtered or unexported fields
}
func (InfestedStoneBricks) BreakInfo ¶
func (i InfestedStoneBricks) BreakInfo() BreakInfo
func (InfestedStoneBricks) EncodeBlock ¶
func (i InfestedStoneBricks) EncodeBlock() (string, map[string]any)
func (InfestedStoneBricks) EncodeItem ¶
func (i InfestedStoneBricks) EncodeItem() (name string, meta int16)
func (InfestedStoneBricks) Hash ¶
func (i InfestedStoneBricks) Hash() (uint64, uint64)
func (InfestedStoneBricks) Instrument ¶
func (InfestedStoneBricks) Instrument() sound.Instrument
func (InfestedStoneBricks) Model ¶
func (InfestedStoneBricks) Model() world.BlockModel
type InvisibleBedrock ¶
type InvisibleBedrock struct {
// contains filtered or unexported fields
}
func (InvisibleBedrock) EncodeBlock ¶
func (InvisibleBedrock) EncodeBlock() (string, map[string]any)
func (InvisibleBedrock) EncodeItem ¶
func (InvisibleBedrock) EncodeItem() (name string, meta int16)
func (InvisibleBedrock) Hash ¶
func (InvisibleBedrock) Hash() (uint64, uint64)
func (InvisibleBedrock) LightDiffusionLevel ¶
func (InvisibleBedrock) LightDiffusionLevel() uint8
func (InvisibleBedrock) Model ¶
func (InvisibleBedrock) Model() world.BlockModel
type Iron ¶
type Iron struct {
// contains filtered or unexported fields
}
func (Iron) EncodeItem ¶
func (Iron) Instrument ¶
func (i Iron) Instrument() sound.Instrument
func (Iron) Model ¶
func (Iron) Model() world.BlockModel
func (Iron) PowersBeacon ¶
type IronBars ¶
type IronBars struct {
// contains filtered or unexported fields
}
func (IronBars) CanDisplace ¶
func (IronBars) EncodeItem ¶
func (IronBars) LightDiffusionLevel ¶
func (IronBars) LightDiffusionLevel() uint8
func (IronBars) Model ¶
func (IronBars) Model() world.BlockModel
type IronChain ¶
func (IronChain) CanDisplace ¶
func (IronChain) EncodeItem ¶
func (IronChain) LightDiffusionLevel ¶
func (IronChain) LightDiffusionLevel() uint8
func (IronChain) Model ¶
func (c IronChain) Model() world.BlockModel
func (IronChain) PillarAxis ¶
func (IronChain) UseOnBlock ¶
type IronOre ¶
type IronOre struct {
Type OreType
// contains filtered or unexported fields
}
func (IronOre) EncodeItem ¶
func (IronOre) Instrument ¶
func (IronOre) Instrument() sound.Instrument
func (IronOre) Model ¶
func (IronOre) Model() world.BlockModel
type ItemFrame ¶
type ItemFrame struct {
Facing cube.Face
Item item.Stack
Rotations int
DropChance float64
Glowing bool
// contains filtered or unexported fields
}
func (ItemFrame) CanDisplace ¶
func (ItemFrame) EncodeBlock ¶
func (ItemFrame) EncodeItem ¶
func (ItemFrame) LightDiffusionLevel ¶
func (ItemFrame) LightDiffusionLevel() uint8
func (ItemFrame) Model ¶
func (ItemFrame) Model() world.BlockModel
func (ItemFrame) NeighbourUpdateTick ¶
type Jukebox ¶
func (Jukebox) EncodeItem ¶
func (Jukebox) Instrument ¶
func (Jukebox) Instrument() sound.Instrument
func (Jukebox) Model ¶
func (Jukebox) Model() world.BlockModel
type Kelp ¶
type Kelp struct {
Age int
// contains filtered or unexported fields
}
func (Kelp) CanDisplace ¶
func (Kelp) CompostChance ¶
func (Kelp) EncodeItem ¶
func (Kelp) LightDiffusionLevel ¶
func (Kelp) LightDiffusionLevel() uint8
func (Kelp) Model ¶
func (Kelp) Model() world.BlockModel
func (Kelp) NeighbourUpdateTick ¶
type Ladder ¶
func (Ladder) CanDisplace ¶
func (Ladder) EncodeItem ¶
func (Ladder) FacingDirection ¶
func (Ladder) LightDiffusionLevel ¶
func (Ladder) LightDiffusionLevel() uint8
func (Ladder) Model ¶
func (l Ladder) Model() world.BlockModel
func (Ladder) NeighbourUpdateTick ¶
func (Ladder) UseOnBlock ¶
type Lantern ¶
func (Lantern) CanDisplace ¶
func (Lantern) EncodeBlock ¶
func (Lantern) EncodeItem ¶
func (Lantern) LightDiffusionLevel ¶
func (Lantern) LightDiffusionLevel() uint8
func (Lantern) LightEmissionLevel ¶
func (Lantern) Model ¶
func (l Lantern) Model() world.BlockModel
func (Lantern) NeighbourUpdateTick ¶
type Lapis ¶
type Lapis struct {
// contains filtered or unexported fields
}
func (Lapis) EncodeItem ¶
func (Lapis) Model ¶
func (Lapis) Model() world.BlockModel
type LapisOre ¶
type LapisOre struct {
Type OreType
// contains filtered or unexported fields
}
func (LapisOre) EncodeItem ¶
func (LapisOre) Instrument ¶
func (LapisOre) Instrument() sound.Instrument
func (LapisOre) Model ¶
func (LapisOre) Model() world.BlockModel
type Lava ¶
func (Lava) BlastResistance ¶
func (Lava) HasLiquidDrops ¶
func (Lava) LightDiffusionLevel ¶
func (Lava) LightEmissionLevel ¶
func (Lava) LiquidDepth ¶
func (Lava) LiquidFalling ¶
func (Lava) LiquidRemoveBlock ¶
func (Lava) LiquidType ¶
func (Lava) Model ¶
func (Lava) Model() world.BlockModel
func (Lava) SpreadDecay ¶
type LavaDamageSource ¶
type LavaDamageSource struct{}
func (LavaDamageSource) Fire ¶
func (LavaDamageSource) Fire() bool
func (LavaDamageSource) IgnoreTotem ¶
func (LavaDamageSource) IgnoreTotem() bool
func (LavaDamageSource) ReducedByArmour ¶
func (LavaDamageSource) ReducedByArmour() bool
func (LavaDamageSource) ReducedByResistance ¶
func (LavaDamageSource) ReducedByResistance() bool
type Leaves ¶
type Leaves struct {
Type LeavesType
Persistent bool
ShouldUpdate bool
// contains filtered or unexported fields
}
func (Leaves) CanDisplace ¶
func (Leaves) CompostChance ¶
func (Leaves) EncodeItem ¶
func (Leaves) FlammabilityInfo ¶
func (l Leaves) FlammabilityInfo() FlammabilityInfo
func (Leaves) LightDiffusionLevel ¶
func (Leaves) Model ¶
func (Leaves) Model() world.BlockModel
func (Leaves) NeighbourUpdateTick ¶
type LeavesType ¶
type LeavesType struct {
// contains filtered or unexported fields
}
func AcaciaLeaves ¶
func AcaciaLeaves() LeavesType
func AzaleaLeaves ¶
func AzaleaLeaves() LeavesType
func BirchLeaves ¶
func BirchLeaves() LeavesType
func CherryLeaves ¶
func CherryLeaves() LeavesType
func DarkOakLeaves ¶
func DarkOakLeaves() LeavesType
func FloweringAzaleaLeaves ¶
func FloweringAzaleaLeaves() LeavesType
func JungleLeaves ¶
func JungleLeaves() LeavesType
func LeavesTypes ¶
func LeavesTypes() []LeavesType
func MangroveLeaves ¶
func MangroveLeaves() LeavesType
func OakLeaves ¶
func OakLeaves() LeavesType
func PaleOakLeaves ¶
func PaleOakLeaves() LeavesType
func SpruceLeaves ¶
func SpruceLeaves() LeavesType
func WoodLeavesTypes ¶
func WoodLeavesTypes() []LeavesType
type Lectern ¶
type Lectern struct {
Facing cube.Direction
Book item.Stack
Page int
// contains filtered or unexported fields
}
func (Lectern) CanDisplace ¶
func (Lectern) EncodeItem ¶
func (Lectern) FacingDirection ¶
func (Lectern) Instrument ¶
func (Lectern) Instrument() sound.Instrument
func (Lectern) Model ¶
func (Lectern) Model() world.BlockModel
func (Lectern) UseOnBlock ¶
type Lever ¶
type Lever struct {
Powered bool
Facing cube.Face
Direction cube.Direction
// contains filtered or unexported fields
}
func (Lever) CanDisplace ¶
func (Lever) EncodeItem ¶
func (Lever) LightDiffusionLevel ¶
func (Lever) LightDiffusionLevel() uint8
func (Lever) Model ¶
func (Lever) Model() world.BlockModel
func (Lever) NeighbourUpdateTick ¶
func (Lever) RedstoneStrongPower ¶
type Light ¶
type Light struct {
Level int
// contains filtered or unexported fields
}
func (Light) CanDisplace ¶
func (Light) EncodeItem ¶
func (Light) LightDiffusionLevel ¶
func (Light) LightDiffusionLevel() uint8
func (Light) LightEmissionLevel ¶
func (Light) Model ¶
func (Light) Model() world.BlockModel
func (Light) ReplaceableBy ¶
type LightDiffuser ¶
type LightDiffuser interface {
LightDiffusionLevel() uint8
}
type LightEmitter ¶
type LightEmitter interface {
LightEmissionLevel() uint8
}
type LilyPad ¶
type LilyPad struct {
// contains filtered or unexported fields
}
func (LilyPad) CompostChance ¶
func (LilyPad) EncodeItem ¶
func (LilyPad) HasLiquidDrops ¶
func (LilyPad) LightDiffusionLevel ¶
func (LilyPad) LightDiffusionLevel() uint8
func (LilyPad) Model ¶
func (LilyPad) Model() world.BlockModel
func (LilyPad) NeighbourUpdateTick ¶
type LiquidRemovable ¶
type LiquidRemovable interface {
HasLiquidDrops() bool
}
type LitPumpkin ¶
func (LitPumpkin) BreakInfo ¶
func (l LitPumpkin) BreakInfo() BreakInfo
func (LitPumpkin) EncodeBlock ¶
func (l LitPumpkin) EncodeBlock() (name string, properties map[string]any)
func (LitPumpkin) EncodeItem ¶
func (l LitPumpkin) EncodeItem() (name string, meta int16)
func (LitPumpkin) FacingDirection ¶
func (b LitPumpkin) FacingDirection() cube.Direction
func (LitPumpkin) Hash ¶
func (l LitPumpkin) Hash() (uint64, uint64)
func (LitPumpkin) LightEmissionLevel ¶
func (l LitPumpkin) LightEmissionLevel() uint8
func (LitPumpkin) Model ¶
func (LitPumpkin) Model() world.BlockModel
func (LitPumpkin) UseOnBlock ¶
func (LitPumpkin) WithFacing ¶
func (b LitPumpkin) WithFacing(facing cube.Direction) world.Block
type Log ¶
type Log struct {
Wood WoodType
Stripped bool
Axis cube.Axis
// contains filtered or unexported fields
}
func (Log) EncodeItem ¶
func (Log) FlammabilityInfo ¶
func (l Log) FlammabilityInfo() FlammabilityInfo
func (Log) Instrument ¶
func (Log) Instrument() sound.Instrument
func (Log) Model ¶
func (Log) Model() world.BlockModel
func (Log) PillarAxis ¶
func (Log) UseOnBlock ¶
type Loom ¶
func (Loom) EncodeBlock ¶
func (Loom) EncodeItem ¶
func (Loom) FacingDirection ¶
func (Loom) Instrument ¶
func (Loom) Instrument() sound.Instrument
func (Loom) Model ¶
func (Loom) Model() world.BlockModel
func (Loom) UseOnBlock ¶
type Magma ¶
type Magma struct {
// contains filtered or unexported fields
}
func (Magma) EncodeItem ¶
func (Magma) Instrument ¶
func (Magma) Instrument() sound.Instrument
func (Magma) LightEmissionLevel ¶
func (Magma) Model ¶
func (Magma) Model() world.BlockModel
type MagmaDamageSource ¶
type MagmaDamageSource struct{}
func (MagmaDamageSource) AffectedByEnchantment ¶
func (MagmaDamageSource) AffectedByEnchantment(e item.EnchantmentType) bool
func (MagmaDamageSource) Fire ¶
func (MagmaDamageSource) Fire() bool
func (MagmaDamageSource) IgnoreTotem ¶
func (MagmaDamageSource) IgnoreTotem() bool
func (MagmaDamageSource) ReducedByArmour ¶
func (MagmaDamageSource) ReducedByArmour() bool
func (MagmaDamageSource) ReducedByResistance ¶
func (MagmaDamageSource) ReducedByResistance() bool
type Melon ¶
type Melon struct {
// contains filtered or unexported fields
}
func (Melon) CompostChance ¶
func (Melon) EncodeItem ¶
func (Melon) Model ¶
func (Melon) Model() world.BlockModel
type MelonSeeds ¶
func (MelonSeeds) BoneMeal ¶
func (m MelonSeeds) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
func (MelonSeeds) BreakInfo ¶
func (m MelonSeeds) BreakInfo() BreakInfo
func (MelonSeeds) CalculateGrowthChance ¶
func (MelonSeeds) CompostChance ¶
func (MelonSeeds) CompostChance() float64
func (MelonSeeds) EncodeBlock ¶
func (m MelonSeeds) EncodeBlock() (name string, properties map[string]any)
func (MelonSeeds) EncodeItem ¶
func (m MelonSeeds) EncodeItem() (name string, meta int16)
func (MelonSeeds) GrowthStage ¶
func (c MelonSeeds) GrowthStage() int
func (MelonSeeds) HasLiquidDrops ¶
func (c MelonSeeds) HasLiquidDrops() bool
func (MelonSeeds) Hash ¶
func (m MelonSeeds) Hash() (uint64, uint64)
func (MelonSeeds) NeighbourUpdateTick ¶
func (m MelonSeeds) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (MelonSeeds) RandomTick ¶
func (MelonSeeds) SameCrop ¶
func (MelonSeeds) SameCrop(c Crop) bool
type MossCarpet ¶
type MossCarpet struct {
// contains filtered or unexported fields
}
func (MossCarpet) BreakInfo ¶
func (m MossCarpet) BreakInfo() BreakInfo
func (MossCarpet) CanDisplace ¶
func (MossCarpet) CompostChance ¶
func (MossCarpet) CompostChance() float64
func (MossCarpet) EncodeBlock ¶
func (m MossCarpet) EncodeBlock() (string, map[string]any)
func (MossCarpet) EncodeItem ¶
func (m MossCarpet) EncodeItem() (name string, meta int16)
func (MossCarpet) HasLiquidDrops ¶
func (MossCarpet) HasLiquidDrops() bool
func (MossCarpet) Hash ¶
func (MossCarpet) Hash() (uint64, uint64)
func (MossCarpet) LightDiffusionLevel ¶
func (MossCarpet) LightDiffusionLevel() uint8
func (MossCarpet) Model ¶
func (MossCarpet) Model() world.BlockModel
func (MossCarpet) NeighbourUpdateTick ¶
func (m MossCarpet) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (MossCarpet) SideClosed ¶
type Mud ¶
type Mud struct {
// contains filtered or unexported fields
}
func (Mud) EncodeItem ¶
func (Mud) Model ¶
func (Mud) Model() world.BlockModel
type MudBricks ¶
type MudBricks struct {
// contains filtered or unexported fields
}
func (MudBricks) EncodeItem ¶
func (MudBricks) Instrument ¶
func (MudBricks) Instrument() sound.Instrument
func (MudBricks) Model ¶
func (MudBricks) Model() world.BlockModel
type MuddyMangroveRoots ¶
func (MuddyMangroveRoots) BreakInfo ¶
func (m MuddyMangroveRoots) BreakInfo() BreakInfo
func (MuddyMangroveRoots) EncodeBlock ¶
func (m MuddyMangroveRoots) EncodeBlock() (string, map[string]any)
func (MuddyMangroveRoots) EncodeItem ¶
func (MuddyMangroveRoots) EncodeItem() (name string, meta int16)
func (MuddyMangroveRoots) Hash ¶
func (m MuddyMangroveRoots) Hash() (uint64, uint64)
func (MuddyMangroveRoots) Model ¶
func (MuddyMangroveRoots) Model() world.BlockModel
func (MuddyMangroveRoots) PillarAxis ¶
func (b MuddyMangroveRoots) PillarAxis() cube.Axis
func (MuddyMangroveRoots) UseOnBlock ¶
type NetherBrickFence ¶
type NetherBrickFence struct {
// contains filtered or unexported fields
}
func (NetherBrickFence) BreakInfo ¶
func (n NetherBrickFence) BreakInfo() BreakInfo
func (NetherBrickFence) CanDisplace ¶
func (NetherBrickFence) EncodeBlock ¶
func (NetherBrickFence) EncodeBlock() (string, map[string]any)
func (NetherBrickFence) EncodeItem ¶
func (NetherBrickFence) EncodeItem() (name string, meta int16)
func (NetherBrickFence) Hash ¶
func (NetherBrickFence) Hash() (uint64, uint64)
func (NetherBrickFence) LightDiffusionLevel ¶
func (NetherBrickFence) LightDiffusionLevel() uint8
func (NetherBrickFence) Model ¶
func (n NetherBrickFence) Model() world.BlockModel
func (NetherBrickFence) SideClosed ¶
type NetherBricks ¶
type NetherBricks struct {
Type NetherBricksType
// contains filtered or unexported fields
}
func (NetherBricks) BreakInfo ¶
func (n NetherBricks) BreakInfo() BreakInfo
func (NetherBricks) EncodeBlock ¶
func (n NetherBricks) EncodeBlock() (name string, properties map[string]any)
func (NetherBricks) EncodeItem ¶
func (n NetherBricks) EncodeItem() (id string, meta int16)
func (NetherBricks) Hash ¶
func (n NetherBricks) Hash() (uint64, uint64)
func (NetherBricks) Instrument ¶
func (NetherBricks) Instrument() sound.Instrument
func (NetherBricks) Model ¶
func (NetherBricks) Model() world.BlockModel
func (NetherBricks) SmeltInfo ¶
func (n NetherBricks) SmeltInfo() item.SmeltInfo
type NetherBricksType ¶
type NetherBricksType struct {
// contains filtered or unexported fields
}
func ChiseledNetherBricks ¶
func ChiseledNetherBricks() NetherBricksType
func CrackedNetherBricks ¶
func CrackedNetherBricks() NetherBricksType
func NetherBricksTypes ¶
func NetherBricksTypes() []NetherBricksType
func NormalNetherBricks ¶
func NormalNetherBricks() NetherBricksType
func RedNetherBricks ¶
func RedNetherBricks() NetherBricksType
type NetherGoldOre ¶
type NetherGoldOre struct {
// contains filtered or unexported fields
}
func (NetherGoldOre) BreakInfo ¶
func (n NetherGoldOre) BreakInfo() BreakInfo
func (NetherGoldOre) EncodeBlock ¶
func (NetherGoldOre) EncodeBlock() (string, map[string]any)
func (NetherGoldOre) EncodeItem ¶
func (NetherGoldOre) EncodeItem() (name string, meta int16)
func (NetherGoldOre) Hash ¶
func (NetherGoldOre) Hash() (uint64, uint64)
func (NetherGoldOre) Model ¶
func (NetherGoldOre) Model() world.BlockModel
func (NetherGoldOre) SmeltInfo ¶
func (NetherGoldOre) SmeltInfo() item.SmeltInfo
type NetherQuartzOre ¶
type NetherQuartzOre struct {
// contains filtered or unexported fields
}
func (NetherQuartzOre) BreakInfo ¶
func (q NetherQuartzOre) BreakInfo() BreakInfo
func (NetherQuartzOre) EncodeBlock ¶
func (NetherQuartzOre) EncodeBlock() (string, map[string]any)
func (NetherQuartzOre) EncodeItem ¶
func (NetherQuartzOre) EncodeItem() (name string, meta int16)
func (NetherQuartzOre) Hash ¶
func (NetherQuartzOre) Hash() (uint64, uint64)
func (NetherQuartzOre) Instrument ¶
func (NetherQuartzOre) Instrument() sound.Instrument
func (NetherQuartzOre) Model ¶
func (NetherQuartzOre) Model() world.BlockModel
func (NetherQuartzOre) SmeltInfo ¶
func (NetherQuartzOre) SmeltInfo() item.SmeltInfo
type NetherSprouts ¶
type NetherSprouts struct {
// contains filtered or unexported fields
}
func (NetherSprouts) BreakInfo ¶
func (n NetherSprouts) BreakInfo() BreakInfo
func (NetherSprouts) CompostChance ¶
func (NetherSprouts) CompostChance() float64
func (NetherSprouts) EncodeBlock ¶
func (n NetherSprouts) EncodeBlock() (string, map[string]any)
func (NetherSprouts) EncodeItem ¶
func (n NetherSprouts) EncodeItem() (name string, meta int16)
func (NetherSprouts) FlammabilityInfo ¶
func (n NetherSprouts) FlammabilityInfo() FlammabilityInfo
func (NetherSprouts) HasLiquidDrops ¶
func (n NetherSprouts) HasLiquidDrops() bool
func (NetherSprouts) Hash ¶
func (NetherSprouts) Hash() (uint64, uint64)
func (NetherSprouts) LightDiffusionLevel ¶
func (NetherSprouts) LightDiffusionLevel() uint8
func (NetherSprouts) Model ¶
func (NetherSprouts) Model() world.BlockModel
func (NetherSprouts) NeighbourUpdateTick ¶
func (n NetherSprouts) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (NetherSprouts) ReplaceableBy ¶
type NetherWart ¶
type NetherWart struct {
Age int
// contains filtered or unexported fields
}
func (NetherWart) BreakInfo ¶
func (n NetherWart) BreakInfo() BreakInfo
func (NetherWart) CompostChance ¶
func (NetherWart) CompostChance() float64
func (NetherWart) EncodeBlock ¶
func (n NetherWart) EncodeBlock() (name string, properties map[string]any)
func (NetherWart) EncodeItem ¶
func (NetherWart) EncodeItem() (name string, meta int16)
func (NetherWart) HasLiquidDrops ¶
func (n NetherWart) HasLiquidDrops() bool
func (NetherWart) Hash ¶
func (n NetherWart) Hash() (uint64, uint64)
func (NetherWart) LightDiffusionLevel ¶
func (NetherWart) LightDiffusionLevel() uint8
func (NetherWart) Model ¶
func (NetherWart) Model() world.BlockModel
func (NetherWart) NeighbourUpdateTick ¶
func (n NetherWart) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (NetherWart) RandomTick ¶
type NetherWartBlock ¶
type NetherWartBlock struct {
Warped bool
// contains filtered or unexported fields
}
func (NetherWartBlock) BreakInfo ¶
func (n NetherWartBlock) BreakInfo() BreakInfo
func (NetherWartBlock) CompostChance ¶
func (NetherWartBlock) CompostChance() float64
func (NetherWartBlock) EncodeBlock ¶
func (n NetherWartBlock) EncodeBlock() (name string, properties map[string]interface{})
func (NetherWartBlock) EncodeItem ¶
func (n NetherWartBlock) EncodeItem() (name string, meta int16)
func (NetherWartBlock) Hash ¶
func (n NetherWartBlock) Hash() (uint64, uint64)
func (NetherWartBlock) Model ¶
func (NetherWartBlock) Model() world.BlockModel
type Netherite ¶
type Netherite struct {
// contains filtered or unexported fields
}
func (Netherite) EncodeItem ¶
func (Netherite) Instrument ¶
func (Netherite) Instrument() sound.Instrument
func (Netherite) Model ¶
func (Netherite) Model() world.BlockModel
func (Netherite) PowersBeacon ¶
type Netherrack ¶
type Netherrack struct {
// contains filtered or unexported fields
}
func (Netherrack) BreakInfo ¶
func (n Netherrack) BreakInfo() BreakInfo
func (Netherrack) EncodeBlock ¶
func (Netherrack) EncodeBlock() (string, map[string]any)
func (Netherrack) EncodeItem ¶
func (Netherrack) EncodeItem() (name string, meta int16)
func (Netherrack) Hash ¶
func (Netherrack) Hash() (uint64, uint64)
func (Netherrack) Instrument ¶
func (Netherrack) Instrument() sound.Instrument
func (Netherrack) Model ¶
func (Netherrack) Model() world.BlockModel
func (Netherrack) SmeltInfo ¶
func (Netherrack) SmeltInfo() item.SmeltInfo
type Note ¶
func (Note) EncodeItem ¶
func (Note) Instrument ¶
func (Note) Instrument() sound.Instrument
func (Note) Model ¶
func (Note) Model() world.BlockModel
func (Note) RedstonePowerPostUpdate ¶
type Obsidian ¶
type Obsidian struct {
Crying bool
// contains filtered or unexported fields
}
func (Obsidian) EncodeItem ¶
func (Obsidian) Instrument ¶
func (Obsidian) Instrument() sound.Instrument
func (Obsidian) LightEmissionLevel ¶
func (Obsidian) Model ¶
func (Obsidian) Model() world.BlockModel
type OpenAction ¶
type OpenAction struct {
// contains filtered or unexported fields
}
func (OpenAction) BlockAction ¶
func (OpenAction) BlockAction()
type OreType ¶
type OreType struct {
// contains filtered or unexported fields
}
func DeepslateOre ¶
func DeepslateOre() OreType
type OxidationType ¶
type OxidationType struct {
// contains filtered or unexported fields
}
func ExposedOxidation ¶
func ExposedOxidation() OxidationType
func OxidationTypes ¶
func OxidationTypes() []OxidationType
func OxidisedOxidation ¶
func OxidisedOxidation() OxidationType
func UnoxidisedOxidation ¶
func UnoxidisedOxidation() OxidationType
func WeatheredOxidation ¶
func WeatheredOxidation() OxidationType
func (OxidationType) Decrease ¶
func (s OxidationType) Decrease() (OxidationType, bool)
func (OxidationType) Increase ¶
func (s OxidationType) Increase() (OxidationType, bool)
type Oxidisable ¶
type Oxidisable interface {
world.Block
CanOxidate() bool
OxidationLevel() OxidationType
WithOxidationLevel(OxidationType) Oxidisable
}
type PackedIce ¶
type PackedIce struct {
// contains filtered or unexported fields
}
func (PackedIce) EncodeItem ¶
func (PackedIce) Instrument ¶
func (PackedIce) Instrument() sound.Instrument
func (PackedIce) Model ¶
func (PackedIce) Model() world.BlockModel
type PackedMud ¶
type PackedMud struct {
// contains filtered or unexported fields
}
func (PackedMud) EncodeItem ¶
func (PackedMud) Model ¶
func (PackedMud) Model() world.BlockModel
type Permutable ¶
type Permutable interface {
States() map[string][]any
Permutations() []customblock.Permutation
}
type PinkPetals ¶
type PinkPetals struct {
AdditionalCount int
Facing cube.Direction
// contains filtered or unexported fields
}
func (PinkPetals) BoneMeal ¶
func (p PinkPetals) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
func (PinkPetals) BreakInfo ¶
func (p PinkPetals) BreakInfo() BreakInfo
func (PinkPetals) CompostChance ¶
func (PinkPetals) CompostChance() float64
func (PinkPetals) EncodeBlock ¶
func (p PinkPetals) EncodeBlock() (string, map[string]any)
func (PinkPetals) EncodeItem ¶
func (PinkPetals) EncodeItem() (name string, meta int16)
func (PinkPetals) FacingDirection ¶
func (b PinkPetals) FacingDirection() cube.Direction
func (PinkPetals) FlammabilityInfo ¶
func (p PinkPetals) FlammabilityInfo() FlammabilityInfo
func (PinkPetals) HasLiquidDrops ¶
func (PinkPetals) HasLiquidDrops() bool
func (PinkPetals) Hash ¶
func (p PinkPetals) Hash() (uint64, uint64)
func (PinkPetals) LightDiffusionLevel ¶
func (PinkPetals) LightDiffusionLevel() uint8
func (PinkPetals) Model ¶
func (PinkPetals) Model() world.BlockModel
func (PinkPetals) NeighbourUpdateTick ¶
func (p PinkPetals) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (PinkPetals) UseOnBlock ¶
func (PinkPetals) WithFacing ¶
func (b PinkPetals) WithFacing(facing cube.Direction) world.Block
type Planks ¶
type Planks struct {
Wood WoodType
// contains filtered or unexported fields
}
func (Planks) EncodeItem ¶
func (Planks) FlammabilityInfo ¶
func (p Planks) FlammabilityInfo() FlammabilityInfo
func (Planks) Instrument ¶
func (Planks) Instrument() sound.Instrument
func (Planks) Model ¶
func (Planks) Model() world.BlockModel
func (Planks) RepairsWoodTools ¶
type Podzol ¶
type Podzol struct {
// contains filtered or unexported fields
}
func (Podzol) EncodeItem ¶
func (Podzol) Model ¶
func (Podzol) Model() world.BlockModel
type PolishedBlackstoneBrick ¶
type PolishedBlackstoneBrick struct {
Cracked bool
// contains filtered or unexported fields
}
func (PolishedBlackstoneBrick) BreakInfo ¶
func (b PolishedBlackstoneBrick) BreakInfo() BreakInfo
func (PolishedBlackstoneBrick) EncodeBlock ¶
func (b PolishedBlackstoneBrick) EncodeBlock() (string, map[string]any)
func (PolishedBlackstoneBrick) EncodeItem ¶
func (b PolishedBlackstoneBrick) EncodeItem() (name string, meta int16)
func (PolishedBlackstoneBrick) Hash ¶
func (b PolishedBlackstoneBrick) Hash() (uint64, uint64)
func (PolishedBlackstoneBrick) Instrument ¶
func (PolishedBlackstoneBrick) Instrument() sound.Instrument
func (PolishedBlackstoneBrick) Model ¶
func (PolishedBlackstoneBrick) Model() world.BlockModel
func (PolishedBlackstoneBrick) SmeltInfo ¶
func (b PolishedBlackstoneBrick) SmeltInfo() item.SmeltInfo
type PolishedCinnabar ¶
type PolishedCinnabar struct {
// contains filtered or unexported fields
}
func (PolishedCinnabar) BreakInfo ¶
func (c PolishedCinnabar) BreakInfo() BreakInfo
func (PolishedCinnabar) EncodeBlock ¶
func (PolishedCinnabar) EncodeBlock() (string, map[string]any)
func (PolishedCinnabar) EncodeItem ¶
func (PolishedCinnabar) EncodeItem() (name string, meta int16)
func (PolishedCinnabar) Hash ¶
func (PolishedCinnabar) Hash() (uint64, uint64)
func (PolishedCinnabar) Instrument ¶
func (PolishedCinnabar) Instrument() sound.Instrument
func (PolishedCinnabar) Model ¶
func (PolishedCinnabar) Model() world.BlockModel
type PolishedSulfur ¶
type PolishedSulfur struct {
// contains filtered or unexported fields
}
func (PolishedSulfur) BreakInfo ¶
func (s PolishedSulfur) BreakInfo() BreakInfo
func (PolishedSulfur) EncodeBlock ¶
func (PolishedSulfur) EncodeBlock() (string, map[string]any)
func (PolishedSulfur) EncodeItem ¶
func (PolishedSulfur) EncodeItem() (name string, meta int16)
func (PolishedSulfur) Hash ¶
func (PolishedSulfur) Hash() (uint64, uint64)
func (PolishedSulfur) Instrument ¶
func (PolishedSulfur) Instrument() sound.Instrument
func (PolishedSulfur) Model ¶
func (PolishedSulfur) Model() world.BlockModel
type PolishedTuff ¶
type PolishedTuff struct {
// contains filtered or unexported fields
}
func (PolishedTuff) BreakInfo ¶
func (t PolishedTuff) BreakInfo() BreakInfo
func (PolishedTuff) EncodeBlock ¶
func (t PolishedTuff) EncodeBlock() (string, map[string]any)
func (PolishedTuff) EncodeItem ¶
func (t PolishedTuff) EncodeItem() (name string, meta int16)
func (PolishedTuff) Hash ¶
func (PolishedTuff) Hash() (uint64, uint64)
func (PolishedTuff) Instrument ¶
func (PolishedTuff) Instrument() sound.Instrument
func (PolishedTuff) Model ¶
func (PolishedTuff) Model() world.BlockModel
type Portal ¶
func (Portal) HasLiquidDrops ¶
func (Portal) LightDiffusionLevel ¶
func (Portal) LightDiffusionLevel() uint8
func (Portal) LightEmissionLevel ¶
func (Portal) Model ¶
func (p Portal) Model() world.BlockModel
func (Portal) NeighbourUpdateTick ¶
func (Portal) PillarAxis ¶
type PotDecoration ¶
type Potato ¶
type Potato struct {
// contains filtered or unexported fields
}
func (Potato) AlwaysConsumable ¶
func (Potato) CalculateGrowthChance ¶
func (Potato) CompostChance ¶
func (Potato) ConsumeDuration ¶
func (Potato) EncodeItem ¶
func (Potato) GrowthStage ¶
func (c Potato) GrowthStage() int
func (Potato) HasLiquidDrops ¶
func (c Potato) HasLiquidDrops() bool
func (Potato) NeighbourUpdateTick ¶
type Prismarine ¶
type Prismarine struct {
Type PrismarineType
// contains filtered or unexported fields
}
func (Prismarine) BreakInfo ¶
func (p Prismarine) BreakInfo() BreakInfo
func (Prismarine) EncodeBlock ¶
func (p Prismarine) EncodeBlock() (name string, properties map[string]any)
func (Prismarine) EncodeItem ¶
func (p Prismarine) EncodeItem() (id string, meta int16)
func (Prismarine) Hash ¶
func (p Prismarine) Hash() (uint64, uint64)
func (Prismarine) Instrument ¶
func (Prismarine) Instrument() sound.Instrument
func (Prismarine) Model ¶
func (Prismarine) Model() world.BlockModel
type PrismarineType ¶
type PrismarineType struct {
// contains filtered or unexported fields
}
func BrickPrismarine ¶
func BrickPrismarine() PrismarineType
func DarkPrismarine ¶
func DarkPrismarine() PrismarineType
func NormalPrismarine ¶
func NormalPrismarine() PrismarineType
func PrismarineTypes ¶
func PrismarineTypes() []PrismarineType
type ProjectileHitter ¶
type Pumpkin ¶
func (Pumpkin) CompostChance ¶
func (Pumpkin) DefencePoints ¶
func (Pumpkin) EncodeBlock ¶
func (Pumpkin) EncodeItem ¶
func (Pumpkin) FacingDirection ¶
func (Pumpkin) Instrument ¶
func (p Pumpkin) Instrument() sound.Instrument
func (Pumpkin) KnockBackResistance ¶
func (Pumpkin) Model ¶
func (Pumpkin) Model() world.BlockModel
func (Pumpkin) UseOnBlock ¶
type PumpkinSeeds ¶
func (PumpkinSeeds) BoneMeal ¶
func (p PumpkinSeeds) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
func (PumpkinSeeds) BreakInfo ¶
func (p PumpkinSeeds) BreakInfo() BreakInfo
func (PumpkinSeeds) CalculateGrowthChance ¶
func (PumpkinSeeds) CompostChance ¶
func (PumpkinSeeds) CompostChance() float64
func (PumpkinSeeds) EncodeBlock ¶
func (p PumpkinSeeds) EncodeBlock() (name string, properties map[string]any)
func (PumpkinSeeds) EncodeItem ¶
func (p PumpkinSeeds) EncodeItem() (name string, meta int16)
func (PumpkinSeeds) GrowthStage ¶
func (c PumpkinSeeds) GrowthStage() int
func (PumpkinSeeds) HasLiquidDrops ¶
func (c PumpkinSeeds) HasLiquidDrops() bool
func (PumpkinSeeds) Hash ¶
func (p PumpkinSeeds) Hash() (uint64, uint64)
func (PumpkinSeeds) NeighbourUpdateTick ¶
func (p PumpkinSeeds) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (PumpkinSeeds) RandomTick ¶
func (PumpkinSeeds) SameCrop ¶
func (PumpkinSeeds) SameCrop(c Crop) bool
type Purpur ¶
type Purpur struct {
// contains filtered or unexported fields
}
func (Purpur) EncodeBlock ¶
func (Purpur) EncodeItem ¶
func (Purpur) Instrument ¶
func (Purpur) Instrument() sound.Instrument
func (Purpur) Model ¶
func (Purpur) Model() world.BlockModel
type PurpurPillar ¶
func (PurpurPillar) BreakInfo ¶
func (p PurpurPillar) BreakInfo() BreakInfo
func (PurpurPillar) EncodeBlock ¶
func (p PurpurPillar) EncodeBlock() (name string, properties map[string]interface{})
func (PurpurPillar) EncodeItem ¶
func (p PurpurPillar) EncodeItem() (name string, meta int16)
func (PurpurPillar) Hash ¶
func (p PurpurPillar) Hash() (uint64, uint64)
func (PurpurPillar) Instrument ¶
func (PurpurPillar) Instrument() sound.Instrument
func (PurpurPillar) Model ¶
func (PurpurPillar) Model() world.BlockModel
func (PurpurPillar) PillarAxis ¶
func (b PurpurPillar) PillarAxis() cube.Axis
func (PurpurPillar) UseOnBlock ¶
type Quartz ¶
type Quartz struct {
Smooth bool
// contains filtered or unexported fields
}
func (Quartz) EncodeItem ¶
func (Quartz) Instrument ¶
func (Quartz) Instrument() sound.Instrument
func (Quartz) Model ¶
func (Quartz) Model() world.BlockModel
type QuartzBricks ¶
type QuartzBricks struct {
// contains filtered or unexported fields
}
func (QuartzBricks) BreakInfo ¶
func (q QuartzBricks) BreakInfo() BreakInfo
func (QuartzBricks) EncodeBlock ¶
func (QuartzBricks) EncodeBlock() (string, map[string]any)
func (QuartzBricks) EncodeItem ¶
func (QuartzBricks) EncodeItem() (name string, meta int16)
func (QuartzBricks) Hash ¶
func (QuartzBricks) Hash() (uint64, uint64)
func (QuartzBricks) Instrument ¶
func (QuartzBricks) Instrument() sound.Instrument
func (QuartzBricks) Model ¶
func (QuartzBricks) Model() world.BlockModel
type QuartzPillar ¶
func (QuartzPillar) BreakInfo ¶
func (q QuartzPillar) BreakInfo() BreakInfo
func (QuartzPillar) EncodeBlock ¶
func (q QuartzPillar) EncodeBlock() (name string, properties map[string]any)
func (QuartzPillar) EncodeItem ¶
func (q QuartzPillar) EncodeItem() (name string, meta int16)
func (QuartzPillar) Hash ¶
func (q QuartzPillar) Hash() (uint64, uint64)
func (QuartzPillar) Instrument ¶
func (QuartzPillar) Instrument() sound.Instrument
func (QuartzPillar) Model ¶
func (QuartzPillar) Model() world.BlockModel
func (QuartzPillar) PillarAxis ¶
func (b QuartzPillar) PillarAxis() cube.Axis
func (QuartzPillar) UseOnBlock ¶
type RawCopper ¶
type RawCopper struct {
// contains filtered or unexported fields
}
func (RawCopper) EncodeItem ¶
func (RawCopper) Instrument ¶
func (RawCopper) Instrument() sound.Instrument
func (RawCopper) Model ¶
func (RawCopper) Model() world.BlockModel
type RawGold ¶
type RawGold struct {
// contains filtered or unexported fields
}
func (RawGold) EncodeItem ¶
func (RawGold) Instrument ¶
func (RawGold) Instrument() sound.Instrument
func (RawGold) Model ¶
func (RawGold) Model() world.BlockModel
type RawIron ¶
type RawIron struct {
// contains filtered or unexported fields
}
func (RawIron) EncodeItem ¶
func (RawIron) Instrument ¶
func (RawIron) Instrument() sound.Instrument
func (RawIron) Model ¶
func (RawIron) Model() world.BlockModel
type RedstoneBlock ¶
type RedstoneBlock struct {
// contains filtered or unexported fields
}
func (RedstoneBlock) BreakInfo ¶
func (r RedstoneBlock) BreakInfo() BreakInfo
func (RedstoneBlock) EncodeBlock ¶
func (r RedstoneBlock) EncodeBlock() (string, map[string]any)
func (RedstoneBlock) EncodeItem ¶
func (r RedstoneBlock) EncodeItem() (name string, meta int16)
func (RedstoneBlock) Hash ¶
func (RedstoneBlock) Hash() (uint64, uint64)
func (RedstoneBlock) Model ¶
func (RedstoneBlock) Model() world.BlockModel
func (RedstoneBlock) RedstoneNonConductive ¶
func (RedstoneBlock) RedstoneNonConductive()
func (RedstoneBlock) RedstonePower ¶
func (RedstoneBlock) RedstoneStrongPower ¶
type RedstoneOre ¶
func (RedstoneOre) BreakInfo ¶
func (r RedstoneOre) BreakInfo() BreakInfo
func (RedstoneOre) EncodeBlock ¶
func (r RedstoneOre) EncodeBlock() (string, map[string]any)
func (RedstoneOre) EncodeItem ¶
func (r RedstoneOre) EncodeItem() (name string, meta int16)
func (RedstoneOre) EntityStepOn ¶
func (RedstoneOre) Hash ¶
func (r RedstoneOre) Hash() (uint64, uint64)
func (RedstoneOre) Instrument ¶
func (RedstoneOre) Instrument() sound.Instrument
func (RedstoneOre) LightEmissionLevel ¶
func (r RedstoneOre) LightEmissionLevel() uint8
func (RedstoneOre) Model ¶
func (RedstoneOre) Model() world.BlockModel
func (RedstoneOre) RandomTick ¶
func (RedstoneOre) SmeltInfo ¶
func (RedstoneOre) SmeltInfo() item.SmeltInfo
type RedstoneTorch ¶
func (RedstoneTorch) BreakInfo ¶
func (t RedstoneTorch) BreakInfo() BreakInfo
func (RedstoneTorch) EncodeBlock ¶
func (t RedstoneTorch) EncodeBlock() (name string, properties map[string]any)
func (RedstoneTorch) EncodeItem ¶
func (RedstoneTorch) EncodeItem() (name string, meta int16)
func (RedstoneTorch) HasLiquidDrops ¶
func (RedstoneTorch) HasLiquidDrops() bool
func (RedstoneTorch) Hash ¶
func (t RedstoneTorch) Hash() (uint64, uint64)
func (RedstoneTorch) LightDiffusionLevel ¶
func (RedstoneTorch) LightDiffusionLevel() uint8
func (RedstoneTorch) LightEmissionLevel ¶
func (t RedstoneTorch) LightEmissionLevel() uint8
func (RedstoneTorch) Model ¶
func (RedstoneTorch) Model() world.BlockModel
func (RedstoneTorch) NeighbourUpdateTick ¶
func (t RedstoneTorch) NeighbourUpdateTick(pos, changed cube.Pos, tx *world.Tx)
func (RedstoneTorch) RedstonePower ¶
func (RedstoneTorch) RedstonePowerActionUpdate ¶
func (t RedstoneTorch) RedstonePowerActionUpdate(pos cube.Pos, tx *world.Tx, update world.RedstoneUpdate)
func (RedstoneTorch) RedstoneStrongPower ¶
func (RedstoneTorch) ScheduledTick ¶
type RedstoneWire ¶
type RedstoneWire struct {
Power int
// contains filtered or unexported fields
}
func (RedstoneWire) BreakInfo ¶
func (r RedstoneWire) BreakInfo() BreakInfo
func (RedstoneWire) EncodeBlock ¶
func (r RedstoneWire) EncodeBlock() (string, map[string]any)
func (RedstoneWire) EncodeItem ¶
func (RedstoneWire) EncodeItem() (name string, meta int16)
func (RedstoneWire) HasLiquidDrops ¶
func (RedstoneWire) HasLiquidDrops() bool
func (RedstoneWire) Hash ¶
func (r RedstoneWire) Hash() (uint64, uint64)
func (RedstoneWire) LightDiffusionLevel ¶
func (RedstoneWire) LightDiffusionLevel() uint8
func (RedstoneWire) MaterialColour ¶
func (RedstoneWire) MaterialColour() string
func (RedstoneWire) Model ¶
func (RedstoneWire) Model() world.BlockModel
func (RedstoneWire) NeighbourUpdateTick ¶
func (r RedstoneWire) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (RedstoneWire) RedstonePower ¶
func (RedstoneWire) RedstonePowerUpdate ¶
func (RedstoneWire) RedstoneRelayerNeighbours ¶
func (RedstoneWire) RedstoneSignalLoss ¶
func (RedstoneWire) RedstoneWeaklyPowersBlocks ¶
func (RedstoneWire) RedstoneWeaklyPowersBlocks() bool
func (RedstoneWire) SideClosed ¶
func (RedstoneWire) TrimMaterial ¶
func (RedstoneWire) TrimMaterial() string
type RedstoneWireStepDowner ¶
type ReinforcedDeepslate ¶
type ReinforcedDeepslate struct {
// contains filtered or unexported fields
}
func (ReinforcedDeepslate) BreakInfo ¶
func (r ReinforcedDeepslate) BreakInfo() BreakInfo
func (ReinforcedDeepslate) EncodeBlock ¶
func (ReinforcedDeepslate) EncodeBlock() (string, map[string]interface{})
func (ReinforcedDeepslate) EncodeItem ¶
func (ReinforcedDeepslate) EncodeItem() (name string, meta int16)
func (ReinforcedDeepslate) Hash ¶
func (ReinforcedDeepslate) Hash() (uint64, uint64)
func (ReinforcedDeepslate) Instrument ¶
func (ReinforcedDeepslate) Instrument() sound.Instrument
func (ReinforcedDeepslate) Model ¶
func (ReinforcedDeepslate) Model() world.BlockModel
type Replaceable ¶
type Resin ¶
type Resin struct {
// contains filtered or unexported fields
}
func (Resin) EncodeItem ¶
func (Resin) Model ¶
func (Resin) Model() world.BlockModel
type ResinBricks ¶
type ResinBricks struct {
Chiseled bool
// contains filtered or unexported fields
}
func (ResinBricks) BreakInfo ¶
func (r ResinBricks) BreakInfo() BreakInfo
func (ResinBricks) EncodeBlock ¶
func (r ResinBricks) EncodeBlock() (string, map[string]any)
func (ResinBricks) EncodeItem ¶
func (r ResinBricks) EncodeItem() (name string, meta int16)
func (ResinBricks) Hash ¶
func (r ResinBricks) Hash() (uint64, uint64)
func (ResinBricks) Instrument ¶
func (ResinBricks) Instrument() sound.Instrument
func (ResinBricks) Model ¶
func (ResinBricks) Model() world.BlockModel
type Sand ¶
type Sand struct {
Red bool
// contains filtered or unexported fields
}
func (Sand) EncodeItem ¶
func (Sand) Instrument ¶
func (Sand) Instrument() sound.Instrument
func (Sand) Model ¶
func (Sand) Model() world.BlockModel
type Sandstone ¶
type Sandstone struct {
Type SandstoneType
Red bool
// contains filtered or unexported fields
}
func (Sandstone) EncodeItem ¶
func (Sandstone) Instrument ¶
func (Sandstone) Instrument() sound.Instrument
func (Sandstone) Model ¶
func (Sandstone) Model() world.BlockModel
type SandstoneType ¶
type SandstoneType struct {
// contains filtered or unexported fields
}
func ChiseledSandstone ¶
func ChiseledSandstone() SandstoneType
func CutSandstone ¶
func CutSandstone() SandstoneType
func NormalSandstone ¶
func NormalSandstone() SandstoneType
func SandstoneTypes ¶
func SandstoneTypes() []SandstoneType
func SmoothSandstone ¶
func SmoothSandstone() SandstoneType
type SeaLantern ¶
type SeaLantern struct {
// contains filtered or unexported fields
}
func (SeaLantern) BreakInfo ¶
func (s SeaLantern) BreakInfo() BreakInfo
func (SeaLantern) EncodeBlock ¶
func (SeaLantern) EncodeBlock() (string, map[string]any)
func (SeaLantern) EncodeItem ¶
func (SeaLantern) EncodeItem() (name string, meta int16)
func (SeaLantern) Hash ¶
func (SeaLantern) Hash() (uint64, uint64)
func (SeaLantern) Instrument ¶
func (SeaLantern) Instrument() sound.Instrument
func (SeaLantern) LightDiffusionLevel ¶
func (SeaLantern) LightDiffusionLevel() uint8
func (SeaLantern) LightEmissionLevel ¶
func (SeaLantern) LightEmissionLevel() uint8
func (SeaLantern) Model ¶
func (SeaLantern) Model() world.BlockModel
type SeaPickle ¶
func (SeaPickle) CanDisplace ¶
func (SeaPickle) CompostChance ¶
func (SeaPickle) EncodeItem ¶
func (SeaPickle) FlammabilityInfo ¶
func (SeaPickle) FlammabilityInfo() FlammabilityInfo
func (SeaPickle) HasLiquidDrops ¶
func (SeaPickle) LightDiffusionLevel ¶
func (SeaPickle) LightDiffusionLevel() uint8
func (SeaPickle) LightEmissionLevel ¶
func (SeaPickle) Model ¶
func (SeaPickle) Model() world.BlockModel
func (SeaPickle) NeighbourUpdateTick ¶
type ShortGrass ¶
type ShortGrass struct {
Double bool
// contains filtered or unexported fields
}
func (ShortGrass) BoneMeal ¶
func (g ShortGrass) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
func (ShortGrass) BreakInfo ¶
func (g ShortGrass) BreakInfo() BreakInfo
func (ShortGrass) CompostChance ¶
func (g ShortGrass) CompostChance() float64
func (ShortGrass) EncodeBlock ¶
func (g ShortGrass) EncodeBlock() (name string, properties map[string]any)
func (ShortGrass) EncodeItem ¶
func (g ShortGrass) EncodeItem() (name string, meta int16)
func (ShortGrass) FlammabilityInfo ¶
func (g ShortGrass) FlammabilityInfo() FlammabilityInfo
func (ShortGrass) HasLiquidDrops ¶
func (g ShortGrass) HasLiquidDrops() bool
func (ShortGrass) Hash ¶
func (ShortGrass) Hash() (uint64, uint64)
func (ShortGrass) LightDiffusionLevel ¶
func (ShortGrass) LightDiffusionLevel() uint8
func (ShortGrass) Model ¶
func (ShortGrass) Model() world.BlockModel
func (ShortGrass) NeighbourUpdateTick ¶
func (g ShortGrass) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (ShortGrass) ReplaceableBy ¶
type Shroomlight ¶
type Shroomlight struct {
// contains filtered or unexported fields
}
func (Shroomlight) BreakInfo ¶
func (s Shroomlight) BreakInfo() BreakInfo
func (Shroomlight) CompostChance ¶
func (Shroomlight) CompostChance() float64
func (Shroomlight) EncodeBlock ¶
func (Shroomlight) EncodeBlock() (string, map[string]any)
func (Shroomlight) EncodeItem ¶
func (Shroomlight) EncodeItem() (name string, meta int16)
func (Shroomlight) Hash ¶
func (Shroomlight) Hash() (uint64, uint64)
func (Shroomlight) LightEmissionLevel ¶
func (Shroomlight) LightEmissionLevel() uint8
func (Shroomlight) Model ¶
func (Shroomlight) Model() world.BlockModel
type ShulkerBox ¶
type ShulkerBox struct {
Colour item.OptionalColour
Facing cube.Face
CustomName string
// contains filtered or unexported fields
}
func NewShulkerBox ¶
func NewShulkerBox() ShulkerBox
func (ShulkerBox) AddViewer ¶
func (s ShulkerBox) AddViewer(v ContainerViewer, tx *world.Tx, pos cube.Pos)
func (ShulkerBox) BreakInfo ¶
func (s ShulkerBox) BreakInfo() BreakInfo
func (ShulkerBox) CanDisplace ¶
func (ShulkerBox) EncodeBlock ¶
func (s ShulkerBox) EncodeBlock() (name string, properties map[string]any)
func (ShulkerBox) EncodeItem ¶
func (s ShulkerBox) EncodeItem() (id string, meta int16)
func (ShulkerBox) EncodeNBT ¶
func (s ShulkerBox) EncodeNBT() map[string]any
func (ShulkerBox) Hash ¶
func (s ShulkerBox) Hash() (uint64, uint64)
func (ShulkerBox) LightDiffusionLevel ¶
func (ShulkerBox) LightDiffusionLevel() uint8
func (ShulkerBox) MaxCount ¶
func (s ShulkerBox) MaxCount() int
func (ShulkerBox) Model ¶
func (s ShulkerBox) Model() world.BlockModel
func (ShulkerBox) RemoveViewer ¶
func (s ShulkerBox) RemoveViewer(v ContainerViewer, tx *world.Tx, pos cube.Pos)
func (ShulkerBox) ScheduledTick ¶
func (ShulkerBox) UseOnBlock ¶
type Sign ¶
type Sign struct {
Wood WoodType
Attach Attachment
Waxed bool
Front SignText
Back SignText
// contains filtered or unexported fields
}
func (Sign) CanDisplace ¶
func (Sign) EditingFrontSide ¶
func (Sign) EncodeItem ¶
func (Sign) FlammabilityInfo ¶
func (s Sign) FlammabilityInfo() FlammabilityInfo
func (Sign) Instrument ¶
func (Sign) Instrument() sound.Instrument
func (Sign) LightDiffusionLevel ¶
func (Sign) LightDiffusionLevel() uint8
func (Sign) Model ¶
func (Sign) Model() world.BlockModel
func (Sign) UseOnBlock ¶
type SignEditor ¶
type Skull ¶
type Skull struct {
Type SkullType
Attach Attachment
// contains filtered or unexported fields
}
func (Skull) CanDisplace ¶
func (Skull) DefencePoints ¶
func (Skull) EncodeBlock ¶
func (Skull) EncodeItem ¶
func (Skull) HasLiquidDrops ¶
func (Skull) KnockBackResistance ¶
func (Skull) LightDiffusionLevel ¶
func (Skull) LightDiffusionLevel() uint8
func (Skull) Model ¶
func (s Skull) Model() world.BlockModel
type SkullType ¶
type SkullType struct {
// contains filtered or unexported fields
}
func CreeperHead ¶
func CreeperHead() SkullType
func DragonHead ¶
func DragonHead() SkullType
func PiglinHead ¶
func PiglinHead() SkullType
func PlayerHead ¶
func PlayerHead() SkullType
func SkeletonSkull ¶
func SkeletonSkull() SkullType
func SkullTypes ¶
func SkullTypes() []SkullType
func WitherSkeletonSkull ¶
func WitherSkeletonSkull() SkullType
func ZombieHead ¶
func ZombieHead() SkullType
type Slab ¶
func (Slab) CanRedstoneWireStepDown ¶
func (Slab) EncodeItem ¶
func (Slab) FlammabilityInfo ¶
func (s Slab) FlammabilityInfo() FlammabilityInfo
func (Slab) Instrument ¶
func (s Slab) Instrument() sound.Instrument
func (Slab) LightDiffusionLevel ¶
func (Slab) Model ¶
func (s Slab) Model() world.BlockModel
type Slime ¶
type Slime struct {
// contains filtered or unexported fields
}
func (Slime) EncodeItem ¶
func (Slime) EntityLand ¶
func (Slime) LightDiffusionLevel ¶
func (Slime) LightDiffusionLevel() uint8
func (Slime) Model ¶
func (Slime) Model() world.BlockModel
type SmithingTable ¶
type SmithingTable struct {
// contains filtered or unexported fields
}
func (SmithingTable) BreakInfo ¶
func (s SmithingTable) BreakInfo() BreakInfo
func (SmithingTable) EncodeBlock ¶
func (SmithingTable) EncodeBlock() (name string, properties map[string]interface{})
func (SmithingTable) EncodeItem ¶
func (SmithingTable) EncodeItem() (name string, meta int16)
func (SmithingTable) Hash ¶
func (SmithingTable) Hash() (uint64, uint64)
func (SmithingTable) Instrument ¶
func (SmithingTable) Instrument() sound.Instrument
func (SmithingTable) Model ¶
func (SmithingTable) Model() world.BlockModel
type Smoker ¶
func (Smoker) EncodeBlock ¶
func (Smoker) EncodeItem ¶
func (Smoker) Experience ¶
func (s Smoker) Experience() int
func (Smoker) FacingDirection ¶
func (Smoker) Instrument ¶
func (Smoker) Instrument() sound.Instrument
func (Smoker) LightEmissionLevel ¶
func (Smoker) Model ¶
func (Smoker) Model() world.BlockModel
func (Smoker) RemoveViewer ¶
func (s Smoker) RemoveViewer(v ContainerViewer, _ *world.Tx, _ cube.Pos)
func (Smoker) ResetExperience ¶
func (s Smoker) ResetExperience() int
func (Smoker) UseOnBlock ¶
type SmoothBasalt ¶
type SmoothBasalt struct {
// contains filtered or unexported fields
}
func (SmoothBasalt) BreakInfo ¶
func (s SmoothBasalt) BreakInfo() BreakInfo
func (SmoothBasalt) EncodeBlock ¶
func (SmoothBasalt) EncodeBlock() (string, map[string]any)
func (SmoothBasalt) EncodeItem ¶
func (SmoothBasalt) EncodeItem() (name string, meta int16)
func (SmoothBasalt) Hash ¶
func (SmoothBasalt) Hash() (uint64, uint64)
func (SmoothBasalt) Instrument ¶
func (SmoothBasalt) Instrument() sound.Instrument
func (SmoothBasalt) Model ¶
func (SmoothBasalt) Model() world.BlockModel
type Snow ¶
type Snow struct {
// contains filtered or unexported fields
}
func (Snow) EncodeItem ¶
func (Snow) Model ¶
func (Snow) Model() world.BlockModel
type SoulSand ¶
type SoulSand struct {
// contains filtered or unexported fields
}
func (SoulSand) EncodeItem ¶
func (SoulSand) Instrument ¶
func (s SoulSand) Instrument() sound.Instrument
func (SoulSand) Model ¶
func (SoulSand) Model() world.BlockModel
type SoulSoil ¶
type SoulSoil struct {
// contains filtered or unexported fields
}
func (SoulSoil) EncodeItem ¶
func (SoulSoil) Model ¶
func (SoulSoil) Model() world.BlockModel
type Sponge ¶
type Sponge struct {
Wet bool
// contains filtered or unexported fields
}
func (Sponge) EncodeItem ¶
func (Sponge) Model ¶
func (Sponge) Model() world.BlockModel
func (Sponge) NeighbourUpdateTick ¶
type SporeBlossom ¶
type SporeBlossom struct {
// contains filtered or unexported fields
}
func (SporeBlossom) BreakInfo ¶
func (s SporeBlossom) BreakInfo() BreakInfo
func (SporeBlossom) CompostChance ¶
func (SporeBlossom) CompostChance() float64
func (SporeBlossom) EncodeBlock ¶
func (s SporeBlossom) EncodeBlock() (string, map[string]any)
func (SporeBlossom) EncodeItem ¶
func (s SporeBlossom) EncodeItem() (name string, meta int16)
func (SporeBlossom) FlammabilityInfo ¶
func (SporeBlossom) FlammabilityInfo() FlammabilityInfo
func (SporeBlossom) HasLiquidDrops ¶
func (s SporeBlossom) HasLiquidDrops() bool
func (SporeBlossom) Hash ¶
func (SporeBlossom) Hash() (uint64, uint64)
func (SporeBlossom) LightDiffusionLevel ¶
func (SporeBlossom) LightDiffusionLevel() uint8
func (SporeBlossom) Model ¶
func (SporeBlossom) Model() world.BlockModel
func (SporeBlossom) NeighbourUpdateTick ¶
func (s SporeBlossom) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
type StainedGlass ¶
func (StainedGlass) BreakInfo ¶
func (g StainedGlass) BreakInfo() BreakInfo
func (StainedGlass) DyeColour ¶
func (b StainedGlass) DyeColour() item.Colour
func (StainedGlass) EncodeBlock ¶
func (g StainedGlass) EncodeBlock() (name string, properties map[string]any)
func (StainedGlass) EncodeItem ¶
func (g StainedGlass) EncodeItem() (name string, meta int16)
func (StainedGlass) Hash ¶
func (g StainedGlass) Hash() (uint64, uint64)
func (StainedGlass) Instrument ¶
func (StainedGlass) Instrument() sound.Instrument
func (StainedGlass) LightDiffusionLevel ¶
func (StainedGlass) LightDiffusionLevel() uint8
func (StainedGlass) Model ¶
func (StainedGlass) Model() world.BlockModel
func (StainedGlass) WithColour ¶
func (b StainedGlass) WithColour(colour item.Colour) world.Block
type StainedGlassPane ¶
func (StainedGlassPane) BreakInfo ¶
func (p StainedGlassPane) BreakInfo() BreakInfo
func (StainedGlassPane) CanDisplace ¶
func (StainedGlassPane) DyeColour ¶
func (b StainedGlassPane) DyeColour() item.Colour
func (StainedGlassPane) EncodeBlock ¶
func (p StainedGlassPane) EncodeBlock() (name string, properties map[string]any)
func (StainedGlassPane) EncodeItem ¶
func (p StainedGlassPane) EncodeItem() (name string, meta int16)
func (StainedGlassPane) Hash ¶
func (p StainedGlassPane) Hash() (uint64, uint64)
func (StainedGlassPane) Instrument ¶
func (StainedGlassPane) Instrument() sound.Instrument
func (StainedGlassPane) LightDiffusionLevel ¶
func (StainedGlassPane) LightDiffusionLevel() uint8
func (StainedGlassPane) Model ¶
func (StainedGlassPane) Model() world.BlockModel
func (StainedGlassPane) SideClosed ¶
func (StainedGlassPane) WithColour ¶
func (b StainedGlassPane) WithColour(colour item.Colour) world.Block
type StainedTerracotta ¶
func (StainedTerracotta) BreakInfo ¶
func (t StainedTerracotta) BreakInfo() BreakInfo
func (StainedTerracotta) DyeColour ¶
func (b StainedTerracotta) DyeColour() item.Colour
func (StainedTerracotta) EncodeBlock ¶
func (t StainedTerracotta) EncodeBlock() (name string, properties map[string]any)
func (StainedTerracotta) EncodeItem ¶
func (t StainedTerracotta) EncodeItem() (name string, meta int16)
func (StainedTerracotta) Hash ¶
func (t StainedTerracotta) Hash() (uint64, uint64)
func (StainedTerracotta) Instrument ¶
func (StainedTerracotta) Instrument() sound.Instrument
func (StainedTerracotta) Model ¶
func (StainedTerracotta) Model() world.BlockModel
func (StainedTerracotta) SmeltInfo ¶
func (t StainedTerracotta) SmeltInfo() item.SmeltInfo
func (StainedTerracotta) WithColour ¶
func (b StainedTerracotta) WithColour(colour item.Colour) world.Block
type Stairs ¶
type Stairs struct {
Block world.Block
UpsideDown bool
Facing cube.Direction
// contains filtered or unexported fields
}
func (Stairs) CanDisplace ¶
func (Stairs) CanRedstoneWireStepDown ¶
func (Stairs) EncodeItem ¶
func (Stairs) FacingDirection ¶
func (Stairs) FlammabilityInfo ¶
func (s Stairs) FlammabilityInfo() FlammabilityInfo
func (Stairs) Instrument ¶
func (s Stairs) Instrument() sound.Instrument
func (Stairs) LightDiffusionLevel ¶
func (Stairs) LightDiffusionLevel() uint8
func (Stairs) Model ¶
func (s Stairs) Model() world.BlockModel
func (Stairs) UseOnBlock ¶
type StartCrackAction ¶
func (StartCrackAction) BlockAction ¶
func (StartCrackAction) BlockAction()
type Stone ¶
type Stone struct {
Smooth bool
// contains filtered or unexported fields
}
func (Stone) EncodeItem ¶
func (Stone) Instrument ¶
func (Stone) Instrument() sound.Instrument
func (Stone) Model ¶
func (Stone) Model() world.BlockModel
type StoneBricks ¶
type StoneBricks struct {
Type StoneBricksType
// contains filtered or unexported fields
}
func (StoneBricks) BreakInfo ¶
func (s StoneBricks) BreakInfo() BreakInfo
func (StoneBricks) EncodeBlock ¶
func (s StoneBricks) EncodeBlock() (string, map[string]any)
func (StoneBricks) EncodeItem ¶
func (s StoneBricks) EncodeItem() (name string, meta int16)
func (StoneBricks) Hash ¶
func (s StoneBricks) Hash() (uint64, uint64)
func (StoneBricks) Instrument ¶
func (StoneBricks) Instrument() sound.Instrument
func (StoneBricks) Model ¶
func (StoneBricks) Model() world.BlockModel
func (StoneBricks) SmeltInfo ¶
func (s StoneBricks) SmeltInfo() item.SmeltInfo
type StoneBricksType ¶
type StoneBricksType struct {
// contains filtered or unexported fields
}
func ChiseledStoneBricks ¶
func ChiseledStoneBricks() StoneBricksType
func CrackedStoneBricks ¶
func CrackedStoneBricks() StoneBricksType
func MossyStoneBricks ¶
func MossyStoneBricks() StoneBricksType
func NormalStoneBricks ¶
func NormalStoneBricks() StoneBricksType
func StoneBricksTypes ¶
func StoneBricksTypes() []StoneBricksType
type Stonecutter ¶
func (Stonecutter) BreakInfo ¶
func (s Stonecutter) BreakInfo() BreakInfo
func (Stonecutter) EncodeBlock ¶
func (s Stonecutter) EncodeBlock() (name string, properties map[string]interface{})
func (Stonecutter) EncodeItem ¶
func (Stonecutter) EncodeItem() (name string, meta int16)
func (Stonecutter) FacingDirection ¶
func (b Stonecutter) FacingDirection() cube.Direction
func (Stonecutter) Hash ¶
func (s Stonecutter) Hash() (uint64, uint64)
func (Stonecutter) Instrument ¶
func (Stonecutter) Instrument() sound.Instrument
func (Stonecutter) Model ¶
func (Stonecutter) Model() world.BlockModel
func (Stonecutter) UseOnBlock ¶
func (Stonecutter) WithFacing ¶
func (b Stonecutter) WithFacing(facing cube.Direction) world.Block
type StopCrackAction ¶
type StopCrackAction struct {
// contains filtered or unexported fields
}
func (StopCrackAction) BlockAction ¶
func (StopCrackAction) BlockAction()
type String ¶
type String struct {
Attached bool
Disarmed bool
Powered bool
Suspended bool
// contains filtered or unexported fields
}
func (String) EncodeItem ¶
func (String) HasLiquidDrops ¶
func (String) LightDiffusionLevel ¶
func (String) LightDiffusionLevel() uint8
func (String) Model ¶
func (String) Model() world.BlockModel
func (String) NeighbourUpdateTick ¶
type SugarCane ¶
type SugarCane struct {
Age int
// contains filtered or unexported fields
}
func (SugarCane) EncodeBlock ¶
func (SugarCane) EncodeItem ¶
func (SugarCane) HasLiquidDrops ¶
func (SugarCane) LightDiffusionLevel ¶
func (SugarCane) LightDiffusionLevel() uint8
func (SugarCane) Model ¶
func (SugarCane) Model() world.BlockModel
func (SugarCane) NeighbourUpdateTick ¶
func (SugarCane) RandomTick ¶
type Sulfur ¶
type Sulfur struct {
Chiseled bool
// contains filtered or unexported fields
}
func (Sulfur) EncodeItem ¶
func (Sulfur) Instrument ¶
func (Sulfur) Instrument() sound.Instrument
func (Sulfur) Model ¶
func (Sulfur) Model() world.BlockModel
type SulfurBricks ¶
type SulfurBricks struct {
// contains filtered or unexported fields
}
func (SulfurBricks) BreakInfo ¶
func (s SulfurBricks) BreakInfo() BreakInfo
func (SulfurBricks) EncodeBlock ¶
func (SulfurBricks) EncodeBlock() (string, map[string]any)
func (SulfurBricks) EncodeItem ¶
func (SulfurBricks) EncodeItem() (name string, meta int16)
func (SulfurBricks) Hash ¶
func (SulfurBricks) Hash() (uint64, uint64)
func (SulfurBricks) Instrument ¶
func (SulfurBricks) Instrument() sound.Instrument
func (SulfurBricks) Model ¶
func (SulfurBricks) Model() world.BlockModel
type TNT ¶
type TNT struct {
// contains filtered or unexported fields
}
func (TNT) EncodeBlock ¶
func (TNT) EncodeItem ¶
func (TNT) FlammabilityInfo ¶
func (t TNT) FlammabilityInfo() FlammabilityInfo
func (TNT) Model ¶
func (TNT) Model() world.BlockModel
func (TNT) ProjectileHit ¶
func (TNT) RedstoneNonConductive ¶
func (TNT) RedstoneNonConductive()
type Terracotta ¶
type Terracotta struct {
// contains filtered or unexported fields
}
func (Terracotta) BreakInfo ¶
func (t Terracotta) BreakInfo() BreakInfo
func (Terracotta) EncodeBlock ¶
func (Terracotta) EncodeBlock() (string, map[string]any)
func (Terracotta) EncodeItem ¶
func (Terracotta) EncodeItem() (name string, meta int16)
func (Terracotta) Hash ¶
func (Terracotta) Hash() (uint64, uint64)
func (Terracotta) Instrument ¶
func (Terracotta) Instrument() sound.Instrument
func (Terracotta) Model ¶
func (Terracotta) Model() world.BlockModel
type Torch ¶
func (Torch) EncodeItem ¶
func (Torch) HasLiquidDrops ¶
func (Torch) LightDiffusionLevel ¶
func (Torch) LightDiffusionLevel() uint8
func (Torch) LightEmissionLevel ¶
func (Torch) Model ¶
func (Torch) Model() world.BlockModel
func (Torch) NeighbourUpdateTick ¶
type Tuff ¶
type Tuff struct {
Chiseled bool
// contains filtered or unexported fields
}
func (Tuff) EncodeItem ¶
func (Tuff) Instrument ¶
func (Tuff) Instrument() sound.Instrument
func (Tuff) Model ¶
func (Tuff) Model() world.BlockModel
type TuffBricks ¶
type TuffBricks struct {
Chiseled bool
// contains filtered or unexported fields
}
func (TuffBricks) BreakInfo ¶
func (t TuffBricks) BreakInfo() BreakInfo
func (TuffBricks) EncodeBlock ¶
func (t TuffBricks) EncodeBlock() (string, map[string]any)
func (TuffBricks) EncodeItem ¶
func (t TuffBricks) EncodeItem() (name string, meta int16)
func (TuffBricks) Hash ¶
func (t TuffBricks) Hash() (uint64, uint64)
func (TuffBricks) Instrument ¶
func (TuffBricks) Instrument() sound.Instrument
func (TuffBricks) Model ¶
func (TuffBricks) Model() world.BlockModel
type Vines ¶
type Vines struct {
NorthDirection bool
EastDirection bool
SouthDirection bool
WestDirection bool
// contains filtered or unexported fields
}
func (Vines) Attachments ¶
func (Vines) CanDisplace ¶
func (Vines) CompostChance ¶
func (Vines) EncodeItem ¶
func (Vines) FlammabilityInfo ¶
func (Vines) FlammabilityInfo() FlammabilityInfo
func (Vines) HasLiquidDrops ¶
func (Vines) LightDiffusionLevel ¶
func (Vines) LightDiffusionLevel() uint8
func (Vines) Model ¶
func (Vines) Model() world.BlockModel
func (Vines) NeighbourUpdateTick ¶
func (Vines) ReplaceableBy ¶
func (Vines) UseOnBlock ¶
type Wall ¶
type Wall struct {
Block world.Block
NorthConnection WallConnectionType
EastConnection WallConnectionType
SouthConnection WallConnectionType
WestConnection WallConnectionType
Post bool
// contains filtered or unexported fields
}
func (Wall) CanDisplace ¶
func (Wall) ConnectionType ¶
func (w Wall) ConnectionType(direction cube.Direction) WallConnectionType
func (Wall) EncodeItem ¶
func (Wall) LightDiffusionLevel ¶
func (Wall) LightDiffusionLevel() uint8
func (Wall) Model ¶
func (w Wall) Model() world.BlockModel
func (Wall) UseOnBlock ¶
func (Wall) WithConnectionType ¶
func (w Wall) WithConnectionType(direction cube.Direction, connection WallConnectionType) Wall
type WallConnectionType ¶
type WallConnectionType struct {
// contains filtered or unexported fields
}
func NoWallConnection ¶
func NoWallConnection() WallConnectionType
func ShortWallConnection ¶
func ShortWallConnection() WallConnectionType
func TallWallConnection ¶
func TallWallConnection() WallConnectionType
func WallConnectionTypes ¶
func WallConnectionTypes() []WallConnectionType
type Water ¶
func (Water) BlastResistance ¶
func (Water) HasLiquidDrops ¶
func (Water) LightDiffusionLevel ¶
func (Water) LiquidDepth ¶
func (Water) LiquidFalling ¶
func (Water) LiquidRemoveBlock ¶
func (Water) LiquidType ¶
func (Water) Model ¶
func (Water) Model() world.BlockModel
func (Water) NeighbourUpdateTick ¶
func (Water) SpreadDecay ¶
type WheatSeeds ¶
type WheatSeeds struct {
// contains filtered or unexported fields
}
func (WheatSeeds) BoneMeal ¶
func (s WheatSeeds) BoneMeal(pos cube.Pos, tx *world.Tx) item.BoneMealResult
func (WheatSeeds) BreakInfo ¶
func (s WheatSeeds) BreakInfo() BreakInfo
func (WheatSeeds) CalculateGrowthChance ¶
func (WheatSeeds) CompostChance ¶
func (WheatSeeds) CompostChance() float64
func (WheatSeeds) EncodeBlock ¶
func (s WheatSeeds) EncodeBlock() (name string, properties map[string]any)
func (WheatSeeds) EncodeItem ¶
func (s WheatSeeds) EncodeItem() (name string, meta int16)
func (WheatSeeds) GrowthStage ¶
func (c WheatSeeds) GrowthStage() int
func (WheatSeeds) HasLiquidDrops ¶
func (c WheatSeeds) HasLiquidDrops() bool
func (WheatSeeds) Hash ¶
func (s WheatSeeds) Hash() (uint64, uint64)
func (WheatSeeds) NeighbourUpdateTick ¶
func (WheatSeeds) RandomTick ¶
func (WheatSeeds) SameCrop ¶
func (WheatSeeds) SameCrop(c Crop) bool
type Wood ¶
type Wood struct {
Wood WoodType
Stripped bool
Axis cube.Axis
// contains filtered or unexported fields
}
func (Wood) EncodeItem ¶
func (Wood) FlammabilityInfo ¶
func (w Wood) FlammabilityInfo() FlammabilityInfo
func (Wood) Instrument ¶
func (Wood) Instrument() sound.Instrument
func (Wood) Model ¶
func (Wood) Model() world.BlockModel
func (Wood) PillarAxis ¶
func (Wood) UseOnBlock ¶
type WoodDoor ¶
type WoodDoor struct {
Wood WoodType
Facing cube.Direction
Open bool
Top bool
Right bool
// contains filtered or unexported fields
}
func (WoodDoor) CanDisplace ¶
func (WoodDoor) EncodeBlock ¶
func (WoodDoor) EncodeItem ¶
func (WoodDoor) FacingDirection ¶
func (WoodDoor) FlammabilityInfo ¶
func (d WoodDoor) FlammabilityInfo() FlammabilityInfo
func (WoodDoor) Instrument ¶
func (WoodDoor) Instrument() sound.Instrument
func (WoodDoor) LightDiffusionLevel ¶
func (WoodDoor) LightDiffusionLevel() uint8
func (WoodDoor) Model ¶
func (d WoodDoor) Model() world.BlockModel
func (WoodDoor) NeighbourUpdateTick ¶
func (WoodDoor) UseOnBlock ¶
type WoodFence ¶
type WoodFence struct {
Wood WoodType
// contains filtered or unexported fields
}
func (WoodFence) CanDisplace ¶
func (WoodFence) EncodeBlock ¶
func (WoodFence) EncodeItem ¶
func (WoodFence) FlammabilityInfo ¶
func (w WoodFence) FlammabilityInfo() FlammabilityInfo
func (WoodFence) Instrument ¶
func (WoodFence) Instrument() sound.Instrument
func (WoodFence) LightDiffusionLevel ¶
func (WoodFence) LightDiffusionLevel() uint8
func (WoodFence) Model ¶
func (w WoodFence) Model() world.BlockModel
type WoodFenceGate ¶
type WoodFenceGate struct {
Wood WoodType
Facing cube.Direction
Open bool
Lowered bool
// contains filtered or unexported fields
}
func (WoodFenceGate) BreakInfo ¶
func (f WoodFenceGate) BreakInfo() BreakInfo
func (WoodFenceGate) CanDisplace ¶
func (WoodFenceGate) EncodeBlock ¶
func (f WoodFenceGate) EncodeBlock() (name string, properties map[string]any)
func (WoodFenceGate) EncodeItem ¶
func (f WoodFenceGate) EncodeItem() (name string, meta int16)
func (WoodFenceGate) FacingDirection ¶
func (b WoodFenceGate) FacingDirection() cube.Direction
func (WoodFenceGate) FlammabilityInfo ¶
func (f WoodFenceGate) FlammabilityInfo() FlammabilityInfo
func (WoodFenceGate) FuelInfo ¶
func (f WoodFenceGate) FuelInfo() item.FuelInfo
func (WoodFenceGate) Hash ¶
func (f WoodFenceGate) Hash() (uint64, uint64)
func (WoodFenceGate) Instrument ¶
func (WoodFenceGate) Instrument() sound.Instrument
func (WoodFenceGate) LightDiffusionLevel ¶
func (WoodFenceGate) LightDiffusionLevel() uint8
func (WoodFenceGate) Model ¶
func (f WoodFenceGate) Model() world.BlockModel
func (WoodFenceGate) NeighbourUpdateTick ¶
func (f WoodFenceGate) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx)
func (WoodFenceGate) SideClosed ¶
func (WoodFenceGate) UseOnBlock ¶
func (WoodFenceGate) WithFacing ¶
func (b WoodFenceGate) WithFacing(facing cube.Direction) world.Block
type WoodTrapdoor ¶
type WoodTrapdoor struct {
Wood WoodType
Facing cube.Direction
Open bool
Top bool
// contains filtered or unexported fields
}
func (WoodTrapdoor) BreakInfo ¶
func (t WoodTrapdoor) BreakInfo() BreakInfo
func (WoodTrapdoor) CanDisplace ¶
func (WoodTrapdoor) EncodeBlock ¶
func (t WoodTrapdoor) EncodeBlock() (name string, properties map[string]any)
func (WoodTrapdoor) EncodeItem ¶
func (t WoodTrapdoor) EncodeItem() (name string, meta int16)
func (WoodTrapdoor) FacingDirection ¶
func (b WoodTrapdoor) FacingDirection() cube.Direction
func (WoodTrapdoor) FlammabilityInfo ¶
func (t WoodTrapdoor) FlammabilityInfo() FlammabilityInfo
func (WoodTrapdoor) FuelInfo ¶
func (t WoodTrapdoor) FuelInfo() item.FuelInfo
func (WoodTrapdoor) Hash ¶
func (t WoodTrapdoor) Hash() (uint64, uint64)
func (WoodTrapdoor) Instrument ¶
func (WoodTrapdoor) Instrument() sound.Instrument
func (WoodTrapdoor) LightDiffusionLevel ¶
func (WoodTrapdoor) LightDiffusionLevel() uint8
func (WoodTrapdoor) Model ¶
func (t WoodTrapdoor) Model() world.BlockModel
func (WoodTrapdoor) SideClosed ¶
func (WoodTrapdoor) UseOnBlock ¶
func (WoodTrapdoor) WithFacing ¶
func (b WoodTrapdoor) WithFacing(facing cube.Direction) world.Block
type WoodType ¶
type WoodType struct {
// contains filtered or unexported fields
}
func AcaciaWood ¶
func AcaciaWood() WoodType
func BambooWood ¶
func BambooWood() WoodType
func CherryWood ¶
func CherryWood() WoodType
func CrimsonWood ¶
func CrimsonWood() WoodType
func DarkOakWood ¶
func DarkOakWood() WoodType
func JungleWood ¶
func JungleWood() WoodType
func MangroveWood ¶
func MangroveWood() WoodType
func PaleOakWood ¶
func PaleOakWood() WoodType
func SpruceWood ¶
func SpruceWood() WoodType
func WarpedWood ¶
func WarpedWood() WoodType
func (WoodType) Leaves ¶
func (w WoodType) Leaves() (LeavesType, bool)
type Wool ¶
func (Wool) EncodeItem ¶
func (Wool) FlammabilityInfo ¶
func (w Wool) FlammabilityInfo() FlammabilityInfo
func (Wool) Instrument ¶
func (w Wool) Instrument() sound.Instrument
func (Wool) Model ¶
func (Wool) Model() world.BlockModel
type XPDropRange ¶
type XPDropRange [2]int
func (XPDropRange) RandomValue ¶
func (r XPDropRange) RandomValue() int
Source Files
¶
- accessor.go
- action.go
- air.go
- amethyst.go
- ancient_debris.go
- anvil.go
- anvil_type.go
- attachment.go
- bamboo.go
- bamboo_block.go
- bamboo_leaf_size.go
- bamboo_mosaic.go
- bamboo_sapling.go
- banner.go
- banner_pattern_layer.go
- banner_pattern_type.go
- banner_pattern_type_register.go
- barrel.go
- barrier.go
- basalt.go
- beacon.go
- bed.go
- bedrock.go
- beetroot_seeds.go
- blackstone.go
- blackstone_type.go
- blast_furnace.go
- block.go
- blue_ice.go
- bone.go
- bookshelf.go
- break_info.go
- brewer.go
- brewing_stand.go
- bricks.go
- cactus.go
- cake.go
- calcite.go
- campfire.go
- candle.go
- carpet.go
- carrot.go
- chest.go
- cinnabar.go
- cinnabar_bricks.go
- clay.go
- coal.go
- coal_ore.go
- cobblestone.go
- cobweb.go
- cocoa_bean.go
- command_block.go
- composter.go
- concrete.go
- concrete_powder.go
- container.go
- copper.go
- copper_bars.go
- copper_chain.go
- copper_door.go
- copper_golem_pose.go
- copper_golem_statue.go
- copper_grate.go
- copper_lantern.go
- copper_ore.go
- copper_torch.go
- copper_trapdoor.go
- copper_type.go
- coral.go
- coral_block.go
- coral_type.go
- crafting_table.go
- crop.go
- deadbush.go
- decorated_pot.go
- deepslate.go
- deepslate_bricks.go
- deepslate_tiles.go
- deepslate_type.go
- diamond.go
- diamond_ore.go
- dirt.go
- dirt_path.go
- doc.go
- double_flower.go
- double_flower_type.go
- double_tall_grass.go
- double_tall_grass_type.go
- dragon_egg.go
- dried_kelp.go
- dripstone.go
- emerald.go
- emerald_ore.go
- enchanting_table.go
- end_bricks.go
- end_portal.go
- end_portal_frame.go
- end_rod.go
- end_stone.go
- ender_chest.go
- explosion.go
- farmland.go
- fern.go
- fire.go
- fire_type.go
- fletching_table.go
- flower.go
- flower_type.go
- froglight.go
- froglight_type.go
- furnace.go
- glass.go
- glass_pane.go
- glazed_terracotta.go
- glowstone.go
- gold.go
- gold_ore.go
- grass.go
- gravel.go
- grindstone.go
- grindstone_attachment.go
- hash.go
- hay_bale.go
- honeycomb.go
- hopper.go
- infested_cobblestone.go
- infested_deepslate.go
- infested_stone.go
- infested_stone_bricks.go
- invisible_bedrock.go
- iron.go
- iron_bars.go
- iron_chain.go
- iron_ore.go
- item_frame.go
- jukebox.go
- kelp.go
- ladder.go
- lantern.go
- lapis.go
- lapis_ore.go
- lava.go
- leaves.go
- leaves_type.go
- lectern.go
- lever.go
- light.go
- lily_pad.go
- liquid.go
- lit_pumpkin.go
- log.go
- loom.go
- magma.go
- melon.go
- melon_seeds.go
- model.go
- moss_carpet.go
- mud.go
- mud_bricks.go
- muddy_mangrove_roots.go
- nether_brick_fence.go
- nether_bricks.go
- nether_bricks_type.go
- nether_gold_ore.go
- nether_sprouts.go
- nether_wart.go
- nether_wart_block.go
- netherite.go
- netherrack.go
- note.go
- obsidian.go
- ore_type.go
- oxidation_type.go
- oxidizable.go
- packed_ice.go
- packed_mud.go
- pink_petals.go
- placer.go
- planks.go
- podzol.go
- polished_blackstone_brick.go
- polished_cinnabar.go
- polished_sulfur.go
- polished_tuff.go
- portal.go
- potato.go
- prismarine.go
- prismarine_type.go
- pumpkin.go
- pumpkin_seeds.go
- purpur.go
- quartz.go
- quartz_bricks.go
- quartz_ore.go
- raw_copper.go
- raw_gold.go
- raw_iron.go
- redstone_block.go
- redstone_ore.go
- redstone_torch.go
- redstone_wire.go
- register.go
- reinforced_deepslate.go
- resin.go
- resin_bricks.go
- sand.go
- sandstone.go
- sandstone_type.go
- sea_lantern.go
- sea_pickle.go
- short_grass.go
- shroomlight.go
- shulker_box.go
- sign.go
- skull.go
- skull_type.go
- slab.go
- slab_type.go
- slime.go
- smelter.go
- smithing_table.go
- smoker.go
- smooth_basalt.go
- snow.go
- soul_sand.go
- soul_soil.go
- sponge.go
- spore_blossom.go
- stained_glass.go
- stained_glass_pane.go
- stained_terracotta.go
- stairs.go
- stairs_type.go
- stone.go
- stone_bricks.go
- stone_bricks_type.go
- stonecutter.go
- string.go
- sugar_cane.go
- sulfur.go
- sulfur_bricks.go
- terracotta.go
- tnt.go
- torch.go
- tuff.go
- tuff_bricks.go
- vine.go
- wall.go
- wall_connection_type.go
- wall_type.go
- water.go
- wheat_seeds.go
- wood.go
- wood_door.go
- wood_fence.go
- wood_fence_gate.go
- wood_trapdoor.go
- wood_type.go
- wool.go
Click to show internal directories.
Click to hide internal directories.