Class HorseHelper
java.lang.Object
net.guizhanss.guizhanlib.minecraft.helper.entity.HorseHelper
马(
Horse)- Author:
- ybw0014
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum所有马的颜色static enum所有马的样式 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String获取马的颜色(Horse.Color)的中文static StringgetColor(Horse.Color color) 获取马的颜色(Horse.Color)的中文static String获取马的样式(Horse.Style)的中文static StringgetStyle(Horse.Style style) 获取马的样式(Horse.Style)的中文
-
Constructor Details
-
HorseHelper
public HorseHelper()
-
-
Method Details
-
getColor
获取马的颜色(Horse.Color)的中文- Parameters:
color-Horse.Color马的颜色- Returns:
- 马的颜色的中文
-
getStyle
获取马的样式(Horse.Style)的中文- Parameters:
style-Horse.Style马的样式- Returns:
- 马的样式的中文
-
getColor
获取马的颜色(Horse.Color)的中文- Parameters:
color-String马的颜色- Returns:
- 马的颜色的中文
-
getStyle
获取马的样式(Horse.Style)的中文- Parameters:
style-String马的样式- Returns:
- 马的样式的中文
-