Class FabricPlatformHelper
java.lang.Object
com.mrbysco.durabilitynotifier.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.ChatFormattingGet the messageColor config valueintGet the percentage config valuebooleanGet the playSound config valuebooleanGet the sendMessage config valueGet the soundLocation config valuefloatGet the soundVolume config value
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
getPercentage
public int getPercentage()Description copied from interface:IPlatformHelperGet the percentage config value- Specified by:
getPercentagein interfaceIPlatformHelper
-
getSendMessage
public boolean getSendMessage()Description copied from interface:IPlatformHelperGet the sendMessage config value- Specified by:
getSendMessagein interfaceIPlatformHelper
-
getMessageColor
public net.minecraft.ChatFormatting getMessageColor()Description copied from interface:IPlatformHelperGet the messageColor config value- Specified by:
getMessageColorin interfaceIPlatformHelper
-
getPlaySound
public boolean getPlaySound()Description copied from interface:IPlatformHelperGet the playSound config value- Specified by:
getPlaySoundin interfaceIPlatformHelper
-
getSoundVolume
public float getSoundVolume()Description copied from interface:IPlatformHelperGet the soundVolume config value- Specified by:
getSoundVolumein interfaceIPlatformHelper
-
getSoundLocation
Description copied from interface:IPlatformHelperGet the soundLocation config value- Specified by:
getSoundLocationin interfaceIPlatformHelper
-