26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
27 lines
535 B
Go
27 lines
535 B
Go
package block
|
|
|
|
// BlueIce is a solid block similar to packed ice.
|
|
type BlueIce struct {
|
|
solid
|
|
}
|
|
|
|
// BreakInfo ...
|
|
func (b BlueIce) BreakInfo() BreakInfo {
|
|
return newBreakInfo(2.8, alwaysHarvestable, pickaxeEffective, silkTouchOnlyDrop(b))
|
|
}
|
|
|
|
// Friction ...
|
|
func (b BlueIce) Friction() float64 {
|
|
return 0.989
|
|
}
|
|
|
|
// EncodeItem ...
|
|
func (BlueIce) EncodeItem() (name string, meta int16) {
|
|
return "minecraft:blue_ice", 0
|
|
}
|
|
|
|
// EncodeBlock ...
|
|
func (BlueIce) EncodeBlock() (string, map[string]any) {
|
|
return "minecraft:blue_ice", nil
|
|
}
|