Interface JavaUseEffects.Builder

All Superinterfaces:
GenericBuilder<JavaUseEffects>
Enclosing interface:
JavaUseEffects

public static interface JavaUseEffects.Builder extends GenericBuilder<JavaUseEffects>
Builder for the use effects component.
Since:
2.9.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates the use effects component.
    speedMultiplier(@org.checkerframework.common.value.qual.IntRange(from=0L, to=1L) float speedMultiplier)
    Sets the speed multiplier to apply while using the item.
  • Method Details

    • speedMultiplier

      JavaUseEffects.Builder speedMultiplier(@org.checkerframework.common.value.qual.IntRange(from=0L, to=1L) float speedMultiplier)
      Sets the speed multiplier to apply while using the item.
      Parameters:
      speedMultiplier - the speed multiplier to apply while using the item
      Returns:
      this builder
      Since:
      2.9.3
    • build

      Creates the use effects component.
      Specified by:
      build in interface GenericBuilder<JavaUseEffects>
      Returns:
      the new component
      Since:
      2.9.3