Package wtf.choco.alchema.config
Class CauldronConfigurationContext.CauldronConfigurationContextBuilder
java.lang.Object
wtf.choco.alchema.config.CauldronConfigurationContext.CauldronConfigurationContextBuilder
- Enclosing interface:
- CauldronConfigurationContext
public static final class CauldronConfigurationContext.CauldronConfigurationContextBuilder
extends java.lang.Object
A class to construct instances of
CauldronConfigurationContext
.-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
itemSearchInterval
@NotNull public @NotNull CauldronConfigurationContext.CauldronConfigurationContextBuilder itemSearchInterval(int itemSearchInterval)Set the item search interval.- Parameters:
itemSearchInterval
- the value to set- Returns:
- this instance. Allows for chained method calls
-
millisecondsToHeatUp
@NotNull public @NotNull CauldronConfigurationContext.CauldronConfigurationContextBuilder millisecondsToHeatUp(int millisecondsToHeatUp)Set the milliseconds to heat up.- Parameters:
millisecondsToHeatUp
- the value to set- Returns:
- this instance. Allows for chained method calls
-
damageEntities
@NotNull public @NotNull CauldronConfigurationContext.CauldronConfigurationContextBuilder damageEntities(boolean damageEntities)Set the damage entities value- Parameters:
damageEntities
- the value to set- Returns:
- this instance. Allows for chained method calls
-
minEssenceOnDeath
@NotNull public @NotNull CauldronConfigurationContext.CauldronConfigurationContextBuilder minEssenceOnDeath(int minEssenceOnDeath)Set the minimum essence on death.- Parameters:
minEssenceOnDeath
- the value to set- Returns:
- this instance. Allows for chained method calls
-
maxEssenceOnDeath
@NotNull public @NotNull CauldronConfigurationContext.CauldronConfigurationContextBuilder maxEssenceOnDeath(int maxEssenceOnDeath)Set the maximum essence on death.- Parameters:
maxEssenceOnDeath
- the value to set- Returns:
- this instance. Allows for chained method calls
-
ambientBubbleVolume
@NotNull public @NotNull CauldronConfigurationContext.CauldronConfigurationContextBuilder ambientBubbleVolume(float ambientBubbleVolume)Set the ambient bubble volume.- Parameters:
ambientBubbleVolume
- the value to set- Returns:
- this instance. Allows for chained method calls
-
itemSplashVolume
@NotNull public @NotNull CauldronConfigurationContext.CauldronConfigurationContextBuilder itemSplashVolume(float itemSplashVolume)Set the item splash volume.- Parameters:
itemSplashVolume
- the value to set- Returns:
- this instance. Allows for chained method calls
-
successfulCraftVolume
@NotNull public @NotNull CauldronConfigurationContext.CauldronConfigurationContextBuilder successfulCraftVolume(float successfulCraftVolume)Set the successful craft volume.- Parameters:
successfulCraftVolume
- the value to set- Returns:
- this instance. Allows for chained method calls
-
build
Build theCauldronConfigurationContext
.- Returns:
- the built instance
-