public static class Types_v1_21_2.ConsumeEffect.PlaySound extends java.lang.Object implements Types_v1_21_2.ConsumeEffect
Types_v1_21_2.ConsumeEffect.ApplyEffects, Types_v1_21_2.ConsumeEffect.ClearAllEffects, Types_v1_21_2.ConsumeEffect.PlaySound, Types_v1_21_2.ConsumeEffect.RemoveEffects, Types_v1_21_2.ConsumeEffect.TeleportRandomly, Types_v1_21_2.ConsumeEffect.Type| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SOUND |
| Constructor and Description |
|---|
PlaySound() |
PlaySound(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> sound) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> |
getSound() |
Types_v1_21_2.ConsumeEffect.Type |
getType() |
int |
hashCode() |
void |
setSound(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> sound) |
java.lang.String |
toString() |
public static final java.lang.String SOUND
public PlaySound()
public PlaySound(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> sound)
public Types_v1_21_2.ConsumeEffect.Type getType()
getType in interface Types_v1_21_2.ConsumeEffectpublic net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> getSound()
public void setSound(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> sound)
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