public interface IErrorLogic extends IErrorSource
| Modifier and Type | Method and Description |
|---|---|
void |
clearErrors()
Sets all active error states to false
|
boolean |
contains(IErrorState state) |
boolean |
hasErrors() |
void |
readData(net.minecraft.network.PacketBuffer data) |
boolean |
setCondition(boolean condition,
IErrorState errorState)
Sets the errorState when condition is true, and unsets it when condition is false.
|
void |
writeData(net.minecraft.network.PacketBuffer data)
Network serialization for syncing errors to the client from the server.
|
getErrorStatesboolean setCondition(boolean condition,
IErrorState errorState)
boolean contains(IErrorState state)
boolean hasErrors()
void clearErrors()
void writeData(net.minecraft.network.PacketBuffer data)
void readData(net.minecraft.network.PacketBuffer data)