Skip to content

Commit

Permalink
note an annoying constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
quat1024 committed Nov 11, 2023
1 parent 198c32f commit 2a6471b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class QuarkMusicDiscItem extends RecordItem implements IZetaItem {
private BooleanSupplier enabledSupplier = () -> true;

public QuarkMusicDiscItem(int comparatorValue, Supplier<SoundEvent> sound, String name, ZetaModule module, int lengthInTicks) {
//TODO: This constructor (with the supplier) is a Forge extension
super(comparatorValue, sound, (new Item.Properties()).stacksTo(1).tab(CreativeModeTab.TAB_MISC).rarity(Rarity.RARE), lengthInTicks);

Quark.ZETA.registry.registerItem(this, "music_disc_" + name);
Expand Down

0 comments on commit 2a6471b

Please sign in to comment.