Skip to main content

steel_registry/generated/
vanilla_instruments.rs

1use crate::instrument::{Instrument, InstrumentRegistry};
2use steel_utils::Identifier;
3use text_components::{translation::TranslatedMessage, TextComponent};
4pub static CALL_GOAT_HORN: Instrument = Instrument {
5    key: Identifier::vanilla_static("call_goat_horn"),
6    sound_event: &crate::sound_events::ITEM_GOAT_HORN_SOUND_5,
7    use_duration: 7f32,
8    range: 256f32,
9    description: TextComponent::translated(TranslatedMessage::new(
10        "instrument.minecraft.call_goat_horn",
11        None,
12    )),
13};
14pub static ADMIRE_GOAT_HORN: Instrument = Instrument {
15    key: Identifier::vanilla_static("admire_goat_horn"),
16    sound_event: &crate::sound_events::ITEM_GOAT_HORN_SOUND_4,
17    use_duration: 7f32,
18    range: 256f32,
19    description: TextComponent::translated(TranslatedMessage::new(
20        "instrument.minecraft.admire_goat_horn",
21        None,
22    )),
23};
24pub static SEEK_GOAT_HORN: Instrument = Instrument {
25    key: Identifier::vanilla_static("seek_goat_horn"),
26    sound_event: &crate::sound_events::ITEM_GOAT_HORN_SOUND_2,
27    use_duration: 7f32,
28    range: 256f32,
29    description: TextComponent::translated(TranslatedMessage::new(
30        "instrument.minecraft.seek_goat_horn",
31        None,
32    )),
33};
34pub static SING_GOAT_HORN: Instrument = Instrument {
35    key: Identifier::vanilla_static("sing_goat_horn"),
36    sound_event: &crate::sound_events::ITEM_GOAT_HORN_SOUND_1,
37    use_duration: 7f32,
38    range: 256f32,
39    description: TextComponent::translated(TranslatedMessage::new(
40        "instrument.minecraft.sing_goat_horn",
41        None,
42    )),
43};
44pub static PONDER_GOAT_HORN: Instrument = Instrument {
45    key: Identifier::vanilla_static("ponder_goat_horn"),
46    sound_event: &crate::sound_events::ITEM_GOAT_HORN_SOUND_0,
47    use_duration: 7f32,
48    range: 256f32,
49    description: TextComponent::translated(TranslatedMessage::new(
50        "instrument.minecraft.ponder_goat_horn",
51        None,
52    )),
53};
54pub static YEARN_GOAT_HORN: Instrument = Instrument {
55    key: Identifier::vanilla_static("yearn_goat_horn"),
56    sound_event: &crate::sound_events::ITEM_GOAT_HORN_SOUND_6,
57    use_duration: 7f32,
58    range: 256f32,
59    description: TextComponent::translated(TranslatedMessage::new(
60        "instrument.minecraft.yearn_goat_horn",
61        None,
62    )),
63};
64pub static FEEL_GOAT_HORN: Instrument = Instrument {
65    key: Identifier::vanilla_static("feel_goat_horn"),
66    sound_event: &crate::sound_events::ITEM_GOAT_HORN_SOUND_3,
67    use_duration: 7f32,
68    range: 256f32,
69    description: TextComponent::translated(TranslatedMessage::new(
70        "instrument.minecraft.feel_goat_horn",
71        None,
72    )),
73};
74pub static DREAM_GOAT_HORN: Instrument = Instrument {
75    key: Identifier::vanilla_static("dream_goat_horn"),
76    sound_event: &crate::sound_events::ITEM_GOAT_HORN_SOUND_7,
77    use_duration: 7f32,
78    range: 256f32,
79    description: TextComponent::translated(TranslatedMessage::new(
80        "instrument.minecraft.dream_goat_horn",
81        None,
82    )),
83};
84pub fn register_instruments(registry: &mut InstrumentRegistry) {
85    registry.register(&CALL_GOAT_HORN);
86    registry.register(&ADMIRE_GOAT_HORN);
87    registry.register(&SEEK_GOAT_HORN);
88    registry.register(&SING_GOAT_HORN);
89    registry.register(&PONDER_GOAT_HORN);
90    registry.register(&YEARN_GOAT_HORN);
91    registry.register(&FEEL_GOAT_HORN);
92    registry.register(&DREAM_GOAT_HORN);
93}