diff --git a/level/block/block_states.nbt b/level/block/block_states.nbt index 8d54da3..6b85ff4 100644 Binary files a/level/block/block_states.nbt and b/level/block/block_states.nbt differ diff --git a/level/block/generator/properties/main.go b/level/block/generator/properties/main.go index 3a30954..1733d3c 100644 --- a/level/block/generator/properties/main.go +++ b/level/block/generator/properties/main.go @@ -31,10 +31,10 @@ var EnumProperties = []EnumProperty{ {Name: "DripstoneThickness", Values: []string{"tip_merge", "tip", "frustum", "middle", "base"}}, {Name: "Half", TrimPrefix: true, Values: []string{"top", "bottom"}}, {Name: "NoteBlockInstrument", Values: []string{ - "harp", "basedrum", "snare", "hat", - "bass", "flute", "bell", "guitar", - "chime", "xylophone", "iron_xylophone", "cow_bell", - "didgeridoo", "bit", "banjo", "pling", + "harp", "basedrum", "snare", "hat", "bass", "flute", "bell", + "guitar", "chime", "xylophone", "iron_xylophone", "cow_bell", + "didgeridoo", "bit", "banjo", "pling", "zombie", "skeleton", + "creeper", "dragon", "wither_skeleton", "piglin", "custom_head", }}, {Name: "PistonType", Values: []string{"normal", "sticky"}}, {Name: "RailShape", Values: []string{ diff --git a/level/block/generator/properties/properties_enum.go.tmpl b/level/block/generator/properties/properties_enum.go.tmpl index 6a47a86..86182a2 100644 --- a/level/block/generator/properties/properties_enum.go.tmpl +++ b/level/block/generator/properties/properties_enum.go.tmpl @@ -1,4 +1,5 @@ // Code generated by {{Generator}}; DO NOT EDIT. + package block import ( diff --git a/level/block/properties_enum.go b/level/block/properties_enum.go index 5e9a63d..a5a5aba 100644 --- a/level/block/properties_enum.go +++ b/level/block/properties_enum.go @@ -1,4 +1,5 @@ // Code generated by generator/properties/main.go; DO NOT EDIT. + package block import ( @@ -484,9 +485,16 @@ const ( NoteBlockInstrumentBit NoteBlockInstrumentBanjo NoteBlockInstrumentPling + NoteBlockInstrumentZombie + NoteBlockInstrumentSkeleton + NoteBlockInstrumentCreeper + NoteBlockInstrumentDragon + NoteBlockInstrumentWitherSkeleton + NoteBlockInstrumentPiglin + NoteBlockInstrumentCustomHead ) -var strNoteBlockInstrument = [...]string{"harp", "basedrum", "snare", "hat", "bass", "flute", "bell", "guitar", "chime", "xylophone", "iron_xylophone", "cow_bell", "didgeridoo", "bit", "banjo", "pling"} +var strNoteBlockInstrument = [...]string{"harp", "basedrum", "snare", "hat", "bass", "flute", "bell", "guitar", "chime", "xylophone", "iron_xylophone", "cow_bell", "didgeridoo", "bit", "banjo", "pling", "zombie", "skeleton", "creeper", "dragon", "wither_skeleton", "piglin", "custom_head"} func (n NoteBlockInstrument) String() string { if int(n) < len(strNoteBlockInstrument) { @@ -536,6 +544,20 @@ func (n *NoteBlockInstrument) UnmarshalText(text []byte) error { *n = NoteBlockInstrumentBanjo case "pling": *n = NoteBlockInstrumentPling + case "zombie": + *n = NoteBlockInstrumentZombie + case "skeleton": + *n = NoteBlockInstrumentSkeleton + case "creeper": + *n = NoteBlockInstrumentCreeper + case "dragon": + *n = NoteBlockInstrumentDragon + case "wither_skeleton": + *n = NoteBlockInstrumentWitherSkeleton + case "piglin": + *n = NoteBlockInstrumentPiglin + case "custom_head": + *n = NoteBlockInstrumentCustomHead default: return errors.New("unknown NoteBlockInstrument: " + str) }