- All Known Implementing Classes:
GlobalScript
,LoopingScript
,Script
,TickingScript
public interface ImmutableScript
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
isActive()
boolean
boolean
isPaused()
void
Logs the given object's toString to the console on the same line.void
Logs the given message to the console on the same line.void
Logs the given message on the same line.void
Logs a formatted string.void
Logs the given object's toString to the console.void
Logs a message to the console.void
Logs a formatted string.
-
Method Details
-
getConfiguration
ImmutableConfig getConfiguration() -
getName
String getName() -
getDescription
String getDescription() -
getAuthor
String getAuthor() -
isActive
boolean isActive() -
isPaused
boolean isPaused() -
isBackgroundScript
boolean isBackgroundScript() -
getDefinition
ImmutableScriptDefinition getDefinition() -
print
Logs the given object's toString to the console on the same line.- Parameters:
object
- The message to be logged to the console.
-
println
Logs the given object's toString to the console.- Parameters:
object
- The message to be logged to the console.
-
print
Logs the given message to the console on the same line.- Parameters:
message
- The message to be logged to the console.
-
print
Logs the given message on the same line.- Parameters:
message
- the message to logargs
- the arguments to format the message with
-
println
Logs a message to the console.- Parameters:
message
- The message to be logged.
-
println
Logs a formatted string.- Parameters:
format
- the format stringargs
- the arguments referenced by the format specifiers in the format string
-
print
Logs a formatted string.- Parameters:
t
- the throwable to log
-