Interface CauldronConfigurationContext

All Known Implementing Classes:
SimpleCauldronConfigurationContext

public interface CauldronConfigurationContext
Represents a collection of configurable values for alchemical cauldrons.
Author:
Parker Hawke - Choco
  • Method Details

    • getItemSearchInterval

      int getItemSearchInterval()
      Get the interval of time (in ticks) cauldrons will wait before searching for nearby items to collect them as ingredients.
      Returns:
      the item search interval
    • getMillisecondsToHeatUp

      int getMillisecondsToHeatUp()
      Get the time (in milliseconds) it takes for cauldrons to heat up.
      Returns:
      the milliseconds to heat up
    • shouldDamageEntities

      boolean shouldDamageEntities()
      Check whether or not cauldrons should damage entities in boiling water.
      Returns:
      true if damage should be inflicted, false otherwise
    • getMinEssenceOnDeath

      int getMinEssenceOnDeath()
      Get the minimum amount of essence generated by entities killed in a cauldron.
      Returns:
      the minimum essence on death
    • getMaxEssenceOnDeath

      int getMaxEssenceOnDeath()
      Get the maximum amount of essence generated by entities killed in a cauldron.
      Returns:
      the maximum essence on death
    • getAmbientBubbleVolume

      float getAmbientBubbleVolume()
      Get the volume at which the ambient bubbling sound will be played.
      Returns:
      the ambient bubble volume
    • getItemSplashVolume

      float getItemSplashVolume()
      Get the volume at which the item splash sound will be played.
      Returns:
      the item splash volume
    • getSuccessfulCraftVolume

      float getSuccessfulCraftVolume()
      Get the volume at which the successful craft sound will be played.
      Returns:
      the successful craft volume
    • builder

      Get a new builder instance to construct an instance of CauldronConfigurationContext.
      Returns:
      a context builder