Skip to content

Commit

Permalink
Port to 1.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dqu1J committed Aug 2, 2022
1 parent 9c0b2d1 commit 5659db5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.19
minecraft_version=1.19.1
loader_version=0.14.4
# Mod Properties
mod_version=5.0.1
mod_version=5.0.2
maven_group=AdditionalAdditions
archives_base_name=AdditionalAdditions
# Dependencies
fabric_version=0.55.1+1.19
fabric_version=0.58.5+1.19.1
modmenu_version=4.0.0
libgui_version=6.0.0-beta.5+1.19-pre1
lambdynamiclights_version=2.1.2+1.19
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import net.minecraft.world.item.RecordItem;

public class AdditionalMusicDiscItem extends RecordItem {
public AdditionalMusicDiscItem(int comparatorOutput, SoundEvent sound, Properties settings) {
super(comparatorOutput, sound, settings);
public AdditionalMusicDiscItem(int comparatorOutput, SoundEvent sound, Properties settings, int length) {
super(comparatorOutput, sound, settings, length);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public class AdditionalMusicDiscs {
public static final SoundEvent SOUND_EVENT_1007 = new SoundEvent(IDENTIFIER_1007);
public static final SoundEvent SOUND_EVENT_1507 = new SoundEvent(IDENTIFIER_1507);

public static final RecordItem MUSIC_DISC_0308 = new AdditionalMusicDiscItem(15, SOUND_EVENT_0308, new Item.Properties().tab(CreativeModeTab.TAB_MISC).stacksTo(1).rarity(Rarity.RARE));
public static final RecordItem MUSIC_DISC_1007 = new AdditionalMusicDiscItem(15, SOUND_EVENT_1007, new Item.Properties().tab(CreativeModeTab.TAB_MISC).stacksTo(1).rarity(Rarity.RARE));
public static final RecordItem MUSIC_DISC_1507 = new AdditionalMusicDiscItem(15, SOUND_EVENT_1507, new Item.Properties().tab(CreativeModeTab.TAB_MISC).stacksTo(1).rarity(Rarity.RARE));
public static final RecordItem MUSIC_DISC_0308 = new AdditionalMusicDiscItem(15, SOUND_EVENT_0308, new Item.Properties().tab(CreativeModeTab.TAB_MISC).stacksTo(1).rarity(Rarity.RARE), 83);
public static final RecordItem MUSIC_DISC_1007 = new AdditionalMusicDiscItem(15, SOUND_EVENT_1007, new Item.Properties().tab(CreativeModeTab.TAB_MISC).stacksTo(1).rarity(Rarity.RARE), 102);
public static final RecordItem MUSIC_DISC_1507 = new AdditionalMusicDiscItem(15, SOUND_EVENT_1507, new Item.Properties().tab(CreativeModeTab.TAB_MISC).stacksTo(1).rarity(Rarity.RARE), 214);

private static void registerSoundEvents() {
Registry.register(Registry.SOUND_EVENT, IDENTIFIER_0308, SOUND_EVENT_0308);
Expand Down

0 comments on commit 5659db5

Please sign in to comment.