44 lines
852 B
Java
44 lines
852 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.commands;
|
|
|
|
import net.minecraft.network.chat.Component;
|
|
|
|
public interface CommandSource {
|
|
public static final CommandSource NULL = new CommandSource(){
|
|
|
|
@Override
|
|
public void sendSystemMessage(Component message) {
|
|
}
|
|
|
|
@Override
|
|
public boolean acceptsSuccess() {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public boolean acceptsFailure() {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public boolean shouldInformAdmins() {
|
|
return false;
|
|
}
|
|
};
|
|
|
|
public void sendSystemMessage(Component var1);
|
|
|
|
public boolean acceptsSuccess();
|
|
|
|
public boolean acceptsFailure();
|
|
|
|
public boolean shouldInformAdmins();
|
|
|
|
default public boolean alwaysAccepts() {
|
|
return false;
|
|
}
|
|
}
|
|
|