PetBehaviorSettings

public final class PetBehaviorSettings

A module's declared setting defaults with one creature's values on top, and the table Lua reads them from.

Functions

Link copied to clipboard
public static Map<String, Object> merge(String module, Map<String, Object> defaults, Map<String, Object> values, String where, Consumer<String> warn)
The defaults with the creature's values on top, read-only and in the defaults' order.
Link copied to clipboard
public static LuaTable toLua(Map<String, Object> settings)
The settings as the table a module reads as c.settings.