Initialize Commit
This commit is contained in:
17
codec/component/tooltip_display.go
Normal file
17
codec/component/tooltip_display.go
Normal file
@ -0,0 +1,17 @@
|
||||
package component
|
||||
|
||||
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
|
||||
|
||||
//codec:gen
|
||||
type TooltipDisplay struct {
|
||||
HideTooltip bool
|
||||
HiddenComponents []int32 `mc:"VarInt"`
|
||||
}
|
||||
|
||||
func (*TooltipDisplay) Type() slot.ComponentID {
|
||||
return 15
|
||||
}
|
||||
|
||||
func (*TooltipDisplay) ID() string {
|
||||
return "minecraft:tooltip_display"
|
||||
}
|
Reference in New Issue
Block a user