File tree Expand file tree Collapse file tree
src/main/java/minevalley/fastcar/api/production/shape Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66import minevalley .core .api .Core ;
77import minevalley .core .api .utils .ItemBuilder ;
88import net .kyori .adventure .text .format .NamedTextColor ;
9+ import net .kyori .adventure .text .format .TextColor ;
910
1011import javax .annotation .Nonnull ;
1112
1213@ SuppressWarnings ("unused" )
1314@ RequiredArgsConstructor (access = AccessLevel .PRIVATE )
1415public enum InherentProperty implements ShapeProperty {
15- SCALE ("Modell-Skalierung" , "c5e72a71efd4842730274612b93a4de6ea0785ea2c724b139b63b6f926d7e24f" ),
16- BOUNDING_BOX ("Bound-Box" , "3ed1aba73f639f4bc42bd48196c715197be2712c3b962c97ebf9e9ed8efa025" );
16+ SCALE (
17+ "Modell-Skalierung" ,
18+ "c5e72a71efd4842730274612b93a4de6ea0785ea2c724b139b63b6f926d7e24f" ,
19+ NamedTextColor .GREEN
20+ ),
21+ BOUNDING_BOX (
22+ "Bounding-Box" ,
23+ "3ed1aba73f639f4bc42bd48196c715197be2712c3b962c97ebf9e9ed8efa025" ,
24+ NamedTextColor .RED
25+ );
1726
1827 @ Getter
1928 @ Nonnull
2029 private final String displayName ;
2130 private final String skull ;
31+ private final TextColor color ;
2232
2333 @ Override
2434 public @ Nonnull ItemBuilder getItem () {
25- return Core .createItem (skull ).setDisplayName (displayName , NamedTextColor . GOLD );
35+ return Core .createItem (skull ).setDisplayName (displayName , color );
2636 }
2737}
You can’t perform that action at this time.
0 commit comments