public static class Types_v1_21.JukeboxPlayable.JukeboxSong
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPARATOR_OUTPUT |
static java.lang.String |
DESCRIPTION |
static java.lang.String |
LENGTH_IN_SECONDS |
static java.lang.String |
SOUND_EVENT |
| Constructor and Description |
|---|
JukeboxSong() |
JukeboxSong(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> soundEvent,
net.lenni0451.mcstructs.text.ATextComponent description,
float lengthInSeconds,
int comparatorOutput) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
int |
getComparatorOutput() |
net.lenni0451.mcstructs.text.ATextComponent |
getDescription() |
float |
getLengthInSeconds() |
net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> |
getSoundEvent() |
int |
hashCode() |
void |
setComparatorOutput(int comparatorOutput) |
void |
setDescription(net.lenni0451.mcstructs.text.ATextComponent description) |
void |
setLengthInSeconds(float lengthInSeconds) |
void |
setSoundEvent(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> soundEvent) |
java.lang.String |
toString() |
public static final java.lang.String SOUND_EVENT
public static final java.lang.String DESCRIPTION
public static final java.lang.String LENGTH_IN_SECONDS
public static final java.lang.String COMPARATOR_OUTPUT
public JukeboxSong()
public JukeboxSong(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> soundEvent, net.lenni0451.mcstructs.text.ATextComponent description, float lengthInSeconds, int comparatorOutput)
public net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> getSoundEvent()
public net.lenni0451.mcstructs.text.ATextComponent getDescription()
public float getLengthInSeconds()
public int getComparatorOutput()
public void setSoundEvent(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> soundEvent)
public void setDescription(net.lenni0451.mcstructs.text.ATextComponent description)
public void setLengthInSeconds(float lengthInSeconds)
public void setComparatorOutput(int comparatorOutput)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object