Alex's Mobs

Alex's Mobs

81M Downloads

Daze and Thime music discs have incorrect length

shmove opened this issue ยท 0 comments

commented

The lengths for these two discs appear to have been erroneously swapped;

public static final RegistryObject<Item> MUSIC_DISC_THIME = DEF_REG.register("music_disc_thime", () -> new RecordItem(14, AMSoundRegistry.MUSIC_DISC_THIME, new Item.Properties().stacksTo(1).rarity(Rarity.RARE), 191 * 20));
public static final RegistryObject<Item> MUSIC_DISC_DAZE = DEF_REG.register("music_disc_daze", () -> new RecordItem(14, AMSoundRegistry.MUSIC_DISC_DAZE, new Item.Properties().stacksTo(1).rarity(Rarity.RARE), 314 * 20));

As a result Daze appears to play silently for a while after finishing, and the playback of Thime ends early.

This can be fixed by swapping the final parameter of the RecordItem constructors with one another, so that Thime has a length of 314*20, and Daze has a length of 191*20.