Class TropicalFishHelper
java.lang.Object
net.guizhanss.guizhanlib.minecraft.helper.entity.TropicalFishHelper
热带鱼(
TropicalFish)- Author:
- ybw0014
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetPatternKey(TropicalFish.Pattern pattern) 获取热带鱼样式(TropicalFish.Pattern)的键名static StringgetPatternName(TropicalFish.Pattern pattern) 返回热带鱼样式(TropicalFish.Pattern)的中文名
-
Constructor Details
-
TropicalFishHelper
public TropicalFishHelper()
-
-
Method Details
-
getPatternName
返回热带鱼样式(TropicalFish.Pattern)的中文名- Parameters:
pattern-TropicalFish.Pattern热带鱼样式- Returns:
- 热带鱼样式的中文名称, 如果获取失败则返回键名
-
getPatternKey
获取热带鱼样式(TropicalFish.Pattern)的键名- Parameters:
pattern-TropicalFish.Pattern热带鱼样式- Returns:
- 热带鱼样式的键名
-