java.lang.Object
java.lang.Enum<SoundEffect>
io.github.thebusybiscuit.slimefun4.core.services.sounds.SoundEffect
All Implemented Interfaces:
Serializable, Comparable<SoundEffect>, Constable

public enum SoundEffect extends Enum<SoundEffect>
This enum holds references to all our sounds.
Author:
TheBusyBiscuit, J3fftw1
See Also:
  • Enum Constant Details

    • ANCIENT_ALTAR_ITEM_CHECK_SOUND

      public static final SoundEffect ANCIENT_ALTAR_ITEM_CHECK_SOUND
    • ANCIENT_ALTAR_ITEM_DROP_SOUND

      public static final SoundEffect ANCIENT_ALTAR_ITEM_DROP_SOUND
    • ANCIENT_ALTAR_ITEM_PICK_UP_SOUND

      public static final SoundEffect ANCIENT_ALTAR_ITEM_PICK_UP_SOUND
    • ANCIENT_ALTAR_FINISH_SOUND

      public static final SoundEffect ANCIENT_ALTAR_FINISH_SOUND
    • ANCIENT_ALTAR_START_SOUND

      public static final SoundEffect ANCIENT_ALTAR_START_SOUND
    • ANCIENT_PEDESTAL_ITEM_PLACE_SOUND

      public static final SoundEffect ANCIENT_PEDESTAL_ITEM_PLACE_SOUND
    • ARMOR_FORGE_FINISH_SOUND

      public static final SoundEffect ARMOR_FORGE_FINISH_SOUND
    • ARMOR_FORGE_WORKING_SOUND

      public static final SoundEffect ARMOR_FORGE_WORKING_SOUND
    • AUTO_CRAFTER_GUI_CLICK_SOUND

      public static final SoundEffect AUTO_CRAFTER_GUI_CLICK_SOUND
    • AUTO_CRAFTER_UPDATE_RECIPE

      public static final SoundEffect AUTO_CRAFTER_UPDATE_RECIPE
    • AUTOMATED_PANNING_MACHINE_FAIL_SOUND

      public static final SoundEffect AUTOMATED_PANNING_MACHINE_FAIL_SOUND
    • AUTOMATED_PANNING_MACHINE_SUCCESS_SOUND

      public static final SoundEffect AUTOMATED_PANNING_MACHINE_SUCCESS_SOUND
    • BEE_BOOTS_FALL_SOUND

      public static final SoundEffect BEE_BOOTS_FALL_SOUND
    • BACKPACK_CLOSE_SOUND

      public static final SoundEffect BACKPACK_CLOSE_SOUND
    • BACKPACK_OPEN_SOUND

      public static final SoundEffect BACKPACK_OPEN_SOUND
    • COMPOSTER_COMPOST_SOUND

      public static final SoundEffect COMPOSTER_COMPOST_SOUND
    • COMPRESSOR_CRAFT_SOUND

      public static final SoundEffect COMPRESSOR_CRAFT_SOUND
    • COMPRESSOR_CRAFT_CONTRACT_SOUND

      public static final SoundEffect COMPRESSOR_CRAFT_CONTRACT_SOUND
    • COMPRESSOR_CRAFT_EXTEND_SOUND

      public static final SoundEffect COMPRESSOR_CRAFT_EXTEND_SOUND
    • COOLER_CONSUME_SOUND

      public static final SoundEffect COOLER_CONSUME_SOUND
    • CRUCIBLE_ADD_WATER_SOUND

      public static final SoundEffect CRUCIBLE_ADD_WATER_SOUND
    • CRUCIBLE_ADD_LAVA_SOUND

      public static final SoundEffect CRUCIBLE_ADD_LAVA_SOUND
    • CRUCIBLE_BLOCK_BREAK_SOUND

      public static final SoundEffect CRUCIBLE_BLOCK_BREAK_SOUND
    • CRUCIBLE_GENERATE_LIQUID_SOUND

      public static final SoundEffect CRUCIBLE_GENERATE_LIQUID_SOUND
    • CRUCIBLE_INTERACT_SOUND

      public static final SoundEffect CRUCIBLE_INTERACT_SOUND
    • CRUCIBLE_PLACE_LAVA_SOUND

      public static final SoundEffect CRUCIBLE_PLACE_LAVA_SOUND
    • CRUCIBLE_PLACE_WATER_SOUND

      public static final SoundEffect CRUCIBLE_PLACE_WATER_SOUND
    • DEBUG_FISH_CLICK_SOUND

      public static final SoundEffect DEBUG_FISH_CLICK_SOUND
    • ENCHANTMENT_RUNE_ADD_ENCHANT_SOUND

      public static final SoundEffect ENCHANTMENT_RUNE_ADD_ENCHANT_SOUND
    • ENDER_BACKPACK_OPEN_SOUND

      public static final SoundEffect ENDER_BACKPACK_OPEN_SOUND
    • ENHANCED_CRAFTING_TABLE_CRAFT_SOUND

      public static final SoundEffect ENHANCED_CRAFTING_TABLE_CRAFT_SOUND
    • ELYTRA_CAP_IMPACT_SOUND

      public static final SoundEffect ELYTRA_CAP_IMPACT_SOUND
    • EXPLOSIVE_BOW_HIT_SOUND

      public static final SoundEffect EXPLOSIVE_BOW_HIT_SOUND
    • EXPLOSIVE_TOOL_EXPLODE_SOUND

      public static final SoundEffect EXPLOSIVE_TOOL_EXPLODE_SOUND
    • FISHERMAN_ANDROID_FISHING_SOUND

      public static final SoundEffect FISHERMAN_ANDROID_FISHING_SOUND
    • FLASK_OF_KNOWLEDGE_FILLUP_SOUND

      public static final SoundEffect FLASK_OF_KNOWLEDGE_FILLUP_SOUND
    • GUIDE_BUTTON_CLICK_SOUND

      public static final SoundEffect GUIDE_BUTTON_CLICK_SOUND
    • GUIDE_CONTRIBUTORS_OPEN_SOUND

      public static final SoundEffect GUIDE_CONTRIBUTORS_OPEN_SOUND
    • GUIDE_LANGUAGE_OPEN_SOUND

      public static final SoundEffect GUIDE_LANGUAGE_OPEN_SOUND
    • GUIDE_OPEN_SETTING_SOUND

      public static final SoundEffect GUIDE_OPEN_SETTING_SOUND
    • GRIND_STONE_INTERACT_SOUND

      public static final SoundEffect GRIND_STONE_INTERACT_SOUND
    • IGNITION_CHAMBER_USE_FLINT_AND_STEEL_SOUND

      public static final SoundEffect IGNITION_CHAMBER_USE_FLINT_AND_STEEL_SOUND
    • INFUSED_HOPPER_TELEPORT_SOUND

      public static final SoundEffect INFUSED_HOPPER_TELEPORT_SOUND
    • INFUSED_MAGNET_TELEPORT_SOUND

      public static final SoundEffect INFUSED_MAGNET_TELEPORT_SOUND
    • IRON_GOLEM_ASSEMBLER_ASSEMBLE_SOUND

      public static final SoundEffect IRON_GOLEM_ASSEMBLER_ASSEMBLE_SOUND
    • JETBOOTS_THRUST_SOUND

      public static final SoundEffect JETBOOTS_THRUST_SOUND
    • JETPACK_THRUST_SOUND

      public static final SoundEffect JETPACK_THRUST_SOUND
    • JUICER_USE_SOUND

      public static final SoundEffect JUICER_USE_SOUND
    • LIMITED_USE_ITEM_BREAK_SOUND

      public static final SoundEffect LIMITED_USE_ITEM_BREAK_SOUND
    • MAGICAL_EYE_OF_ENDER_USE_SOUND

      public static final SoundEffect MAGICAL_EYE_OF_ENDER_USE_SOUND
    • MAGIC_SUGAR_CONSUME_SOUND

      public static final SoundEffect MAGIC_SUGAR_CONSUME_SOUND
    • MAGIC_WORKBENCH_FINISH_SOUND

      public static final SoundEffect MAGIC_WORKBENCH_FINISH_SOUND
    • MAGIC_WORKBENCH_START_ANIMATION_SOUND

      public static final SoundEffect MAGIC_WORKBENCH_START_ANIMATION_SOUND
    • MINER_ANDROID_BLOCK_GENERATION_SOUND

      public static final SoundEffect MINER_ANDROID_BLOCK_GENERATION_SOUND
    • MINING_TASK_SOUND

      public static final SoundEffect MINING_TASK_SOUND
    • ORE_WASHER_WASH_SOUND

      public static final SoundEffect ORE_WASHER_WASH_SOUND
    • PLAYER_RESEARCHING_SOUND

      public static final SoundEffect PLAYER_RESEARCHING_SOUND
    • PORTABLE_DUSTBIN_OPEN_SOUND

      public static final SoundEffect PORTABLE_DUSTBIN_OPEN_SOUND
    • PORTABLE_CRAFTER_OPEN_SOUND

      public static final SoundEffect PORTABLE_CRAFTER_OPEN_SOUND
    • PRESSURE_CHAMBER_FINISH_SOUND

      public static final SoundEffect PRESSURE_CHAMBER_FINISH_SOUND
    • PRESSURE_CHAMBER_WORKING_SOUND

      public static final SoundEffect PRESSURE_CHAMBER_WORKING_SOUND
    • PROGRAMMABLE_ANDROID_SCRIPT_DOWNLOAD_SOUND

      public static final SoundEffect PROGRAMMABLE_ANDROID_SCRIPT_DOWNLOAD_SOUND
    • SLIME_BOOTS_FALL_SOUND

      public static final SoundEffect SLIME_BOOTS_FALL_SOUND
    • TELEPORTATION_MANAGER_OPEN_GUI

      public static final SoundEffect TELEPORTATION_MANAGER_OPEN_GUI
    • GPS_NETWORK_ADD_WAYPOINT

      public static final SoundEffect GPS_NETWORK_ADD_WAYPOINT
    • GPS_NETWORK_CREATE_WAYPOINT

      public static final SoundEffect GPS_NETWORK_CREATE_WAYPOINT
    • GPS_NETWORK_OPEN_PANEL_SOUND

      public static final SoundEffect GPS_NETWORK_OPEN_PANEL_SOUND
    • SMELTERY_CRAFT_SOUND

      public static final SoundEffect SMELTERY_CRAFT_SOUND
    • SOULBOUND_RUNE_RITUAL_SOUND

      public static final SoundEffect SOULBOUND_RUNE_RITUAL_SOUND
    • SPLINT_CONSUME_SOUND

      public static final SoundEffect SPLINT_CONSUME_SOUND
    • STOMPER_BOOTS_STOMP_SOUND

      public static final SoundEffect STOMPER_BOOTS_STOMP_SOUND
    • TAPE_MEASURE_MEASURE_SOUND

      public static final SoundEffect TAPE_MEASURE_MEASURE_SOUND
    • TOME_OF_KNOWLEDGE_USE_SOUND

      public static final SoundEffect TOME_OF_KNOWLEDGE_USE_SOUND
    • TELEPORT_UPDATE_SOUND

      public static final SoundEffect TELEPORT_UPDATE_SOUND
    • TELEPORT_SOUND

      public static final SoundEffect TELEPORT_SOUND
    • VAMPIRE_BLADE_HEALING_SOUND

      public static final SoundEffect VAMPIRE_BLADE_HEALING_SOUND
    • VANILLA_AUTO_CRAFTER_UPDATE_RECIPE_SOUND

      public static final SoundEffect VANILLA_AUTO_CRAFTER_UPDATE_RECIPE_SOUND
    • VILLAGER_RUNE_TRANSFORM_SOUND

      public static final SoundEffect VILLAGER_RUNE_TRANSFORM_SOUND
    • VITAMINS_CONSUME_SOUND

      public static final SoundEffect VITAMINS_CONSUME_SOUND
    • WIND_STAFF_USE_SOUND

      public static final SoundEffect WIND_STAFF_USE_SOUND
  • Method Details

    • values

      public static SoundEffect[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SoundEffect valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • playFor

      public void playFor(@Nonnull Player player)
      This method will play this SoundEffect only to the given Player using the eye Location of the Player and the SoundCategory PLAYERS.
      Parameters:
      player - The Player which to play the Sound to.
    • playAt

      public void playAt(@Nonnull Location loc, @Nonnull SoundCategory category)
      This method will play this SoundEffect at the given Location using the provided SoundCategory.
      Parameters:
      loc - The Location at which to play the SoundEffect.
      category - The SoundCategory that should be used.
    • playAt

      public void playAt(@Nonnull Block block)
      This method will play this SoundEffect at the Location of the given Block, the used SoundCategory will be BLOCKS.
      Parameters:
      block - The Block at which to play the SoundEffect
    • getDefaultSoundId

      @Nonnull public String getDefaultSoundId()
      This returns the default sound id.
      Returns:
      The default sound id.
    • getDefaultVolume

      public float getDefaultVolume()
      This returns the default volume.
      Returns:
      The default volume.
    • getDefaultPitch

      public float getDefaultPitch()
      This returns the default pitch.
      Returns:
      The default pitch.