public record ClientSetBeaconEffectPacket(@Nullable PotionType primaryEffect, @Nullable PotionType secondaryEffect)
extends Record
implements ClientPacket
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).