Files
mc/server/item/nether_star.go
TarnaWijaya 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
up3
2026-07-09 08:33:57 +08:00

15 lines
382 B
Go

package item
// NetherStar is a rare item dropped by the wither that is used solely to craft beacons.
type NetherStar struct{}
// EncodeItem ...
func (NetherStar) EncodeItem() (name string, meta int16) {
return "minecraft:nether_star", 0
}
// BlastProof indicates that the item will withstand an explosion as an item entity.
func (NetherStar) BlastProof() bool {
return true
}