-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: remove "TRAIT_" prefix from all traits
- Loading branch information
Showing
9 changed files
with
51 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,37 @@ | ||
package net.sigmarik.abilitymod.util; | ||
|
||
import java.util.Set; | ||
|
||
public class Traits { | ||
public static final String TRAIT_EASY_PEARLS = "easy_pearls"; | ||
public static final String TRAIT_NO_EYE_AGGRO = "no_eye_aggro"; | ||
public static final String TRAIT_FEAR_OF_WATER = "fear_of_water"; | ||
public static final String TRAIT_IGNORED_BY_UNDEAD = "ignored_by_undead"; | ||
public static final String TRAIT_DAMAGED_BY_LIGHT = "damaged_by_light"; | ||
public static final String TRAIT_HARMFUL_ROTTEN_FLESH = "harmful_rotten_flesh"; | ||
public static final String TRAIT_INVERT_EFFECTS = "invert_effects"; | ||
public static final String TRAIT_BOAT_MAGNET = "boat_magnet"; | ||
public static final String TRAIT_DIRT_SICKNESS = "dirt_sickness"; | ||
public static final String TRAIT_ADDICTION = "addiction"; | ||
public static final String TRAIT_FAST = "fast"; | ||
public static final String TRAIT_STRONG = "strong"; | ||
public static final String TRAIT_HATED = "hated"; | ||
public static final String TRAIT_HOT_IRON = "hot_iron"; | ||
public static final String EASY_PEARLS = "easy_pearls"; | ||
public static final String NO_EYE_AGGRO = "no_eye_aggro"; | ||
public static final String FEAR_OF_WATER = "fear_of_water"; | ||
public static final String IGNORED_BY_UNDEAD = "ignored_by_undead"; | ||
public static final String DAMAGED_BY_LIGHT = "damaged_by_light"; | ||
public static final String HARMFUL_ROTTEN_FLESH = "harmful_rotten_flesh"; | ||
public static final String INVERT_EFFECTS = "invert_effects"; | ||
public static final String BOAT_MAGNET = "boat_magnet"; | ||
public static final String DIRT_SICKNESS = "dirt_sickness"; | ||
public static final String ADDICTION = "addiction"; | ||
public static final String FAST = "fast"; | ||
public static final String STRONG = "strong"; | ||
public static final String HATED = "hated"; | ||
public static final String HOT_IRON = "hot_iron"; | ||
|
||
public static final Set<String> TRAITS = Set.of( | ||
EASY_PEARLS, | ||
NO_EYE_AGGRO, | ||
FEAR_OF_WATER, | ||
IGNORED_BY_UNDEAD, | ||
DAMAGED_BY_LIGHT, | ||
HARMFUL_ROTTEN_FLESH, | ||
INVERT_EFFECTS, | ||
BOAT_MAGNET, | ||
DIRT_SICKNESS, | ||
ADDICTION, | ||
FAST, | ||
STRONG, | ||
HATED, | ||
HOT_IRON | ||
); | ||
} |