Class FabricPlatformHelper
java.lang.Object
com.mrbysco.durabilitynotifier.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf item filtering is enabledGet the item filter listnet.minecraft.ChatFormattingGet the messageColor config valueintGet the percentage config valuebooleanGet the playSound config valuebooleanGet the sendMessage config valueintGet the cooldown 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
-
getSoundCooldown
public int getSoundCooldown()Description copied from interface:IPlatformHelperGet the cooldown config value- Specified by:
getSoundCooldownin 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
-
filterItems
public boolean filterItems()Description copied from interface:IPlatformHelperIf item filtering is enabled- Specified by:
filterItemsin interfaceIPlatformHelper
-
getItemFilter
Description copied from interface:IPlatformHelperGet the item filter list- Specified by:
getItemFilterin interfaceIPlatformHelper
-