@Override public boolean equals(final @Nullable Object other) { if(this == other) return true; if(other == null || !(other instanceof TextComponent)) return false; if(!super.equals(other)) return false; final TextComponent component = (TextComponent) other; return Objects.equals(this.content, component.content); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), this.name, this.objective, this.value); }
@Override public @NonNull KeybindComponent decoration(final @NonNull TextDecoration decoration, final boolean flag) { return (KeybindComponent) super.decoration(decoration, flag); }
@Override public @NonNull ScoreComponent decoration(final @NonNull TextDecoration decoration, final boolean flag) { return (ScoreComponent) super.decoration(decoration, flag); }
@Override public boolean equals(final @Nullable Object other) { if(this == other) return true; if(other == null || !(other instanceof SelectorComponent)) return false; if(!super.equals(other)) return false; final SelectorComponent that = (SelectorComponent) other; return Objects.equals(this.pattern, that.pattern); }
@Override public @NonNull TextComponent decoration(final @NonNull TextDecoration decoration, final boolean flag) { return (TextComponent) super.decoration(decoration, flag); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), this.key, this.args); }
@Override public boolean equals(final @Nullable Object other) { if(this == other) return true; if(other == null || !(other instanceof TextComponent)) return false; if(!super.equals(other)) return false; final TextComponent component = (TextComponent) other; return Objects.equals(this.content, component.content); }
@Override public @NonNull TextComponent decoration(final @NonNull TextDecoration decoration, final boolean flag) { return (TextComponent) super.decoration(decoration, flag); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), this.content); }
@Override public boolean equals(final @Nullable Object other) { if(this == other) return true; if(other == null || !(other instanceof KeybindComponent)) return false; if(!super.equals(other)) return false; final KeybindComponent component = (KeybindComponent) other; return Objects.equals(this.keybind, component.keybind); }
@Override public @NonNull TranslatableComponent decoration(final @NonNull TextDecoration decoration, final boolean flag) { return (TranslatableComponent) super.decoration(decoration, flag); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), this.key, this.args); }
@Override public boolean equals(final @Nullable Object other) { if(this == other) return true; if(other == null || !(other instanceof SelectorComponent)) return false; if(!super.equals(other)) return false; final SelectorComponent that = (SelectorComponent) other; return Objects.equals(this.pattern, that.pattern); }
@Override public @NonNull TranslatableComponent decoration(final @NonNull TextDecoration decoration, final boolean flag) { return (TranslatableComponent) super.decoration(decoration, flag); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), this.content); }
@Override public boolean equals(final @Nullable Object other) { if(this == other) return true; if(other == null || !(other instanceof ScoreComponent)) return false; if(!super.equals(other)) return false; final ScoreComponent that = (ScoreComponent) other; return Objects.equals(this.name, that.name) && Objects.equals(this.objective, that.objective) && Objects.equals(this.value, that.value); }
@Override public @NonNull ScoreComponent decoration(final @NonNull TextDecoration decoration, final boolean flag) { return (ScoreComponent) super.decoration(decoration, flag); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), this.name, this.objective, this.value); }
@Override public boolean equals(final @Nullable Object other) { if(this == other) return true; if(other == null || !(other instanceof KeybindComponent)) return false; if(!super.equals(other)) return false; final KeybindComponent component = (KeybindComponent) other; return Objects.equals(this.keybind, component.keybind); }