Class BackpackMechanic
-
- All Implemented Interfaces:
public final class BackpackMechanic extends Mechanic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBackpackMechanic.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integerrowsprivate final Stringtitleprivate final StringopenSoundprivate final StringcloseSoundprivate final Floatvolumeprivate final Floatpitchprivate final BackpackBlacklistblacklistprivate final StringitemIDprivate final MechanicFactoryfactoryprivate final ConfigurationSectionsectionprivate final Array<out ItemModifier>itemModifierspublic final static BackpackMechanic.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description BackpackMechanic(BackpackMechanicFactory factory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final IntegergetRows()final StringgetTitle()final StringgetOpenSound()final StringgetCloseSound()final FloatgetVolume()final FloatgetPitch()final BackpackBlacklistgetBlacklist()final BooleanisBlacklisted(ItemStack item)-
-
Constructor Detail
-
BackpackMechanic
BackpackMechanic(BackpackMechanicFactory factory, ConfigurationSection section)
-
-
Method Detail
-
getOpenSound
final String getOpenSound()
-
getCloseSound
final String getCloseSound()
-
getBlacklist
final BackpackBlacklist getBlacklist()
-
isBlacklisted
final Boolean isBlacklisted(ItemStack item)
-
-
-
-