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
15 lines
382 B
Go
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
|
|
}
|