log
fun log(debugType: DebugType, ruleInfo: RuleInfo, lmEntity: LivingEntityWrapper?, msg: Supplier<String?>)
fun log(debugType: DebugType, ruleInfo: RuleInfo, lmInterface: LivingEntityInterface?, ruleResult: Boolean, msg: Supplier<String?>)
fun log(debugType: DebugType, lmEntity: LivingEntityWrapper?, result: Boolean, msg: Supplier<String?>)
Sends a debug message to console if enabled in settings
Parameters
debug Type
Reference to whereabouts the debug log is called so that it can be traced back easily
msg
Message to help de-bugging