Adds some events that trigger when NPC actions start or end, and when sounds are played
This commit is contained in:
@ -241,7 +241,8 @@ public enum BlacksmithSetting implements Setting {
|
||||
* The cost for repairing a damaged anvil
|
||||
*/
|
||||
ANVIL_DAMAGED_COST("damagedAnvilReforgingCost", SettingValueType.POSITIVE_DOUBLE, 20.0,
|
||||
"The cost of fully repairing a damaged anvil", false, false);
|
||||
"The cost of fully repairing a damaged anvil", false, false),
|
||||
;
|
||||
|
||||
private final String path;
|
||||
private final String childPath;
|
||||
@ -262,7 +263,7 @@ public enum BlacksmithSetting implements Setting {
|
||||
* @param isPerNPC <p>Whether this setting is per-NPC or global</p>
|
||||
* @param isMessage <p>Whether this option is for an NPC message</p>
|
||||
*/
|
||||
BlacksmithSetting(@NotNull String key, @NotNull SettingValueType valueType, @NotNull Object value,
|
||||
BlacksmithSetting(@NotNull String key, @NotNull SettingValueType valueType, @Nullable Object value,
|
||||
@NotNull String description, boolean isPerNPC, boolean isMessage) {
|
||||
if (isPerNPC) {
|
||||
if (isMessage) {
|
||||
|
@ -302,7 +302,7 @@ public enum ScrapperSetting implements Setting {
|
||||
* @param isPerNPC <p>Whether this setting is per-NPC or global</p>
|
||||
* @param isMessage <p>Whether this option is for an NPC message</p>
|
||||
*/
|
||||
ScrapperSetting(@NotNull String key, @NotNull SettingValueType valueType, @NotNull Object value,
|
||||
ScrapperSetting(@NotNull String key, @NotNull SettingValueType valueType, @Nullable Object value,
|
||||
@NotNull String description, boolean isPerNPC, boolean isMessage) {
|
||||
if (isPerNPC) {
|
||||
if (isMessage) {
|
||||
|
Reference in New Issue
Block a user