Class RefreshInterval

java.lang.Object
com.hypixel.hytale.builtin.adventure.shop.barter.RefreshInterval

public class RefreshInterval extends Object
Represents a refresh interval for barter shop stock, in in-game days.

The restocking hour is configured separately on the shop asset.

  • Field Details

  • Constructor Details

    • RefreshInterval

      public RefreshInterval(int days)
  • Method Details

    • getDays

      public int getDays()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object