2025-11-24 22:52:51 +03:00

27 lines
579 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.network.chat;
import net.minecraft.network.chat.Component;
public class ThrowingComponent
extends Exception {
private final Component component;
public ThrowingComponent(Component component) {
super(component.getString());
this.component = component;
}
public ThrowingComponent(Component component, Throwable cause) {
super(component.getString(), cause);
this.component = component;
}
public Component getComponent() {
return this.component;
}
}