Class NoteBlockMechanic
-
- All Implemented Interfaces:
public final class NoteBlockMechanic extends CustomBlockMechanic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNoteBlockMechanic.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringinstrumentprivate final DirectionalBlockdirectionalprivate final NoteBlockblockDataprivate final BooleanisLogprivate final BooleanisDirectionalprivate final Breakablebreakableprivate final BlockSoundsblockSoundsprivate final BooleanisInteractableprivate final CustomBlockType<?>typeprivate final IntegercustomVariationprivate final Keymodelprivate final LightMechaniclightprivate final LimitedPlacinglimitedPlacingprivate final List<ClickAction>clickActionsprivate final BlockLockerMechanicblockLockerprivate final BooleanisBlastResistantprivate final Booleanimmovableprivate final Array<out Function<ItemBuilder, ItemBuilder>>itemModifiersprivate final StringitemIDprivate final MechanicFactoryfactoryprivate final ConfigurationSectionsectionpublic final static NoteBlockMechanic.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description NoteBlockMechanic(MechanicFactory factory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final StringgetInstrument()final DirectionalBlockgetDirectional()NoteBlockgetBlockData()final BooleanisLog()final BooleanisDirectional()BreakablegetBreakable()BlockSoundsgetBlockSounds()final BooleanisInteractable()NoteBlockcreateBlockData()final BooleanisStorage()final StorageMechanicstorage()final LogStrippinglog()final BooleanisFalling()final BooleancanIgnite()final BooleanisBeaconBaseBlock()BooleanhasLight()-
Methods inherited from class com.nexomc.nexo.mechanics.custom_block.CustomBlockMechanic
getBlockLocker, getClickActions, getCustomVariation, getImmovable, getLight, getLimitedPlacing, getModel, getType, hasBlockSounds, hasClickActions, hasLimitedPlacing, isBlastResistant, runClickActions -
Methods inherited from class com.nexomc.nexo.mechanics.Mechanic
getFactory, getItemID, getItemModifiers, getSection -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NoteBlockMechanic
NoteBlockMechanic(MechanicFactory factory, ConfigurationSection section)
-
-
Method Detail
-
getInstrument
final String getInstrument()
-
getDirectional
final DirectionalBlock getDirectional()
-
getBlockData
NoteBlock getBlockData()
-
isDirectional
final Boolean isDirectional()
-
getBreakable
Breakable getBreakable()
-
getBlockSounds
BlockSounds getBlockSounds()
-
isInteractable
final Boolean isInteractable()
-
createBlockData
NoteBlock createBlockData()
-
storage
final StorageMechanic storage()
-
log
final LogStripping log()
-
isBeaconBaseBlock
final Boolean isBeaconBaseBlock()
-
-
-
-