SybSafetyFirst
Toggle table of contents
unknown
jvm
Platform filter
jvm
Switch theme
Search in API
SybSafetyFirst
SybSafetyFirst
/
com.sybsuper.sybsafetyfirst.modules
/
ExpensiveTrades
Expensive
Trades
class
ExpensiveTrades
:
Module
Members
Constructors
Expensive
Trades
Link copied to clipboard
constructor
(
)
Types
Expensive
Trades
Options
Link copied to clipboard
@
Serializable
data
class
ExpensiveTradesOptions
(
var
enabled
:
Boolean
=
true
,
var
priceMultiplierMultiplier
:
Float
=
3.0f
,
var
startingDemand
:
Int
=
5
,
var
restockMinimumDemand
:
Int
=
5
,
var
ignoreDiscounts
:
Boolean
=
true
)
:
ModuleOptions
Properties
description
Link copied to clipboard
open
override
val
description
:
String
id
Link copied to clipboard
open
val
id
:
String
name
Link copied to clipboard
open
val
name
:
String
options
Link copied to clipboard
open
override
var
options
:
ModuleOptions
type
Safe
Options
Link copied to clipboard
val
typeSafeOptions
:
<Error class: unknown class>
Functions
current
Enabled
Instance
Link copied to clipboard
open
fun
currentEnabledInstance
(
)
:
Module
?
on
Link copied to clipboard
fun
on
(
e
:
VillagerAcquireTradeEvent
)
fun
on
(
e
:
VillagerReplenishTradeEvent
)
on
Disable
Link copied to clipboard
open
fun
onDisable
(
)
Called when the module is disabled.
on
Enable
Link copied to clipboard
open
fun
onEnable
(
)
Called when the module is enabled.