Package me.lokka30.levelledmobs.rules
Class FineTuningAttributes
java.lang.Object
me.lokka30.levelledmobs.rules.FineTuningAttributes
- All Implemented Interfaces:
Cloneable
,MergableRule
Holds any custom multipliers values parsed from rules.yml
- Since:
- 3.0.0
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addItem
(Addition addition, FineTuningAttributes.Multiplier multiplier) boolean
doMerge()
@NotNull Addition
getAdditionFromLMMultiplier
(@NotNull LMMultiplier lmMultiplier) @Nullable FineTuningAttributes.Multiplier
boolean
isEmpty()
void
merge
(@Nullable MergableRule mergableRule) toString()
-
Field Details
-
doNotMerge
public boolean doNotMerge -
useStacked
-
-
Constructor Details
-
FineTuningAttributes
public FineTuningAttributes()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
merge
- Specified by:
merge
in interfaceMergableRule
-
addItem
-
doMerge
public boolean doMerge()- Specified by:
doMerge
in interfaceMergableRule
-
getItem
@Nullable public @Nullable FineTuningAttributes.Multiplier getItem(@NotNull @NotNull Addition addition) -
getAdditionFromLMMultiplier
@NotNull public @NotNull Addition getAdditionFromLMMultiplier(@NotNull @NotNull LMMultiplier lmMultiplier) -
cloneItem
- Specified by:
cloneItem
in interfaceMergableRule
-
toString
-